How can i write a computer program

This article is the first in a series of three. Part 1Part 2Part 3and research paper. Introduction Is it possible for a computer program to write its own programs? Could human software developers be replaced one day by the very computers that they master?

How can i write a computer program

History of computingHistory of programming languagesand History of software Early programmable machines[ edit ] The earliest programmable machines preceded the invention of the digital computer. InJoseph-Marie Jacquard devised a loom that would weave a pattern by following a series of perforated cards.

Patterns could be woven and repeated by arranging the cards. In the textile industry, yarn was brought from the store to be milled.

The device would have had a "store"—memory to hold 1, numbers of 40 decimal digits each. Numbers from the "store" would then have then been transferred to the "mill" analogous to the CPU of a modern machinefor processing. It was programmed using two sets of perforated cards—one to direct the operation and the other for the input variables.

The memoir covered the Analytical Engine. The translation contained Note G which completely detailed a method for calculating Bernoulli numbers using the Analytical Engine. The machine can move the tape back and forth, changing its contents as it performs an algorithm. The machine starts in the initial state, goes through a sequence of steps, and halts when it encounters the halt state.

The Z3 contained 2, relays to create the circuits. The circuits provided a binaryfloating-pointnine-instruction computer. Programming the Z3 was through a specially designed keyboard and punched tape.

What is the best program on computer to write a story? - Microsoft Community

The Electronic Numerical Integrator And Computer Fall was a Turing completegeneral-purpose computer that used 17, vacuum tubes to create the circuits. At its core, it was a series of Pascalines wired together. Function tables were connected to function panels using heavy black cables. Each function table had rotating knobs.

Debugging a program took a week. Different sets of accumulators could simultaneously work on different algorithms. It used punched card machines for input and output, and it was controlled with a clock signal. It ran for eight years, calculating hydrogen bomb parameters, predicting weather patterns, and producing firing tables to aim artillery guns.

Only three bits of memory were available to store each instruction, so it was limited to eight instructions.

Deciding on an editor

Later computers[ edit ] Switches for manual input on a Data General Nova 3, manufactured in the mids Computers manufactured until the s had front-panel switches for programming.

The computer program was written on paper for reference. After setting the configuration, an execute button was pressed.

This process was then repeated. Computer programs also were manually input via paper tape or punched cards. After the medium was loaded, the starting address was set via switches and the execute button pressed.

The hardware featured circuits to ease the compile phase.

What is the best program on computer to write a story? - Microsoft Community

The Model 30 was the smallest and least expensive. Customers could upgrade and retain the same application software. With operating system support, multiple programs could be in memory at once.The computer language that you use to write your program can determine its portability.

That’s why so many people use C/C++ — C and C++ programs tend to . If you can copy and run your program on another computer with little or no modification, your program is considered portable.

The computer language that you use . This article is the first in a series of three. See also: Part 1, Part 2, Part 3, and research paper. Introduction.

how can i write a computer program

Is it possible for a computer program to write its own programs? Could human software developers be replaced one day by the very computers that they master?

Jun 15,  · What is the best program on computer to write a story? i want to write a story, so what is the best program on my compute to do this This thread is locked.

A computer program can write a story about knights, princesses or fairies by assigning their emotions numerical values (Image: iStockphoto). Write your first computer program LESSON OVERVIEW In this lesson, learners of all ages get an introductory experience with coding and computer science in a safe, supportive environment.

Computer program - Wikipedia