tag:blogger.com,1999:blog-70391236279104372322024-02-20T04:39:47.418-08:00programmingtipsvikasJohnhttp://www.blogger.com/profile/04092489739318880540noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-7039123627910437232.post-1563662117743529492021-02-23T21:09:00.001-08:002021-02-23T21:09:04.663-08:0049)Discussed: What to expect on Republic Time 2021and what not to
<a href="https://indiarepublicday.com/"><b>India Republic Day</b></a> -- Republic Day 2021: In 2020it was the agitation against the Citizenship Amendment Act (CAA). Nowthousands of farmersgenerally from Punjab and Haryanahave been camping at the borders of Delhi for more than 2 monthsdemanding the Centre repeal the three farm laws.
For that second year in a lineRepublic Day celebrations from the national capital will be presented under the shadow of strong protests against laws approved by the Centre. In 2020it was the agitation against the Citizenship Amendment Act (CAA). This timethousands of farmersgenerally from Punjab and Haryanahave been camping at the borders of Delhi for more than 2 monthsdemanding the Centre repeal the three farm laws. This kind of years Republic Day attend will also be the first major open event in pandemic times.
<br><br>
What is new this year
<br><br>
The case will be pared down in terms of the number of spectatorsthe size of walking in line contingents and other side destinations. The spectator size have been reduced to 25000 from around 1 . 30 lakh last year. The entry for the general public have been limited by 4500 this year. Along with keeping in mind social distancingthe dimensions of marching contingents has been minimized from 144 to ninety six. The gravity-defying stunts through motorcycle-borne men also would not make the cut.
<br><br>
The attend will also be shorter this year. Instead of marching up to the Red Fortificationthe parade will stop at National Stadium. Tableaux will be allowed to perform with Red Fort. Among the thirty two tableaux in the paradetypically the Union Territory of Ladakh will be participating for the first time. It is going to showcase the Indian Gargantuan Observatorylocated at Hanle near Lehone of the planets highest sites for opticalinfrared and gamma-ray telescopes.
<br><br>
After France in 2016UAE in 2017the particular contingent from Bangladesh will certainly mark the third instance of your military contingent from a welcoming foreign nation participating in the particular parade.
<br><br>
Who is this years chief guest
<br><br>
For the first time inside 55 yearsthere will also generally be no chief guest at this years paradeafter United kingdom Prime Minister Boris Rutherson expressed regret that he examine be able to visit India due to the rising Covid-19 cases within the uk. Last years chief invitee was the Trump of the TropicsBrazil president Jair Messias Bolsonaro.
<br><br>
Explained: What to expect to get Republic Day 2021and what not to The parade are likewise shorter this year. Instead of walking in line up to the Red Fortthe particular parade will end with National Stadium.
<br><br>
Will the farmers tractor rally disrupt the presentation
<br><br>
Unlikely. The rally acquired the nod from Delhi Police after farmers opted for begin only after the completion of the official parade on Rajpath and not to venture over and above areas adjoining the protest sites. Farmers union market leaders also underlined the move will be peaceful and they will go through pre-decided route. Moreoverthe particular Delhi Police has implemented a five-layer security around the city to maintain law in addition to order. Sources in the law enforcement officials said over 40000 policeITBP and CRPF personnel will be deployed with SinghuTikri and Ghazipur borders. To nab miscreantsfrisking at airporttour busMetro and railway programs has been tightened. And the Haryana Police has decided not to give leave to its personnel.
<br><br>
How big is the farmers move
<br><br>
According to police estimatesmore than 30000 are at Singhu border alone as countless continue to pour every almost instantlywith tractors and trolleys carrying protesters arriving by means of the Eastern Peripheral Highway.
<br><br>
On Saturday morningfarmer assemblages claimed that as many as 40000 tractors had passed through borders between Punjab in addition to Haryana.
<br><br>
Balwant Singh Ghudania farmer from Ghudani village of Ludhianainformed one of our reporters: The number of tractors which have gone to Delhiit seems that our attend will not end even in four days.
<br><br>
The protesting farmers also plan to present tableaux of different states. Cadre of farmers with a ploughbulls have been made by BKU (Ugrahan) committee with a concept on implementation of Swaminathan report.
<br><br>
What is the response from other states
<br><br>
At least 6
0 farmers widows from Vidarbha will certainly participate in the ongoing agitation against the Centres three farm regulations in Delhi on Republic Day. The widows will certainly narrate their stories in addition to voice their protest against the farm laws Vasantrao Naik Shetkari Swavlambhan Objective (VNSSM) chairman Kishore Tiwari said.
<br><br>
In a show regarding supportfarmers in Karnataka have planned a massive tractor rally in Bengaluru about Republic Day. Kodihalli Chandrashekharleader of Karnataka Rajya Raitha Sangha (KRRS)a new farmers movementsaid there is around 25000 farmers and over 10000 tractors participating in the parade about January 26.Johnhttp://www.blogger.com/profile/04092489739318880540noreply@blogger.com0tag:blogger.com,1999:blog-7039123627910437232.post-75940017590851052062020-11-26T17:22:00.009-08:002020-11-26T17:22:50.185-08:00Computer program<img alt="" class="thumbimage" data-file-height="640" data-file-width="584" decoding="async" height="241" src="//upload.wikimedia.org/wikipedia/commons/thumb/2/21/Hello_World_Brian_Kernighan_1978.jpg/220px-Hello_World_Brian_Kernighan_1978.jpg" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/2/21/Hello_World_Brian_Kernighan_1978.jpg/330px-Hello_World_Brian_Kernighan_1978.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/2/21/Hello_World_Brian_Kernighan_1978.jpg/440px-Hello_World_Brian_Kernighan_1978.jpg 2x" width="220"/><br/><br/><br/><p>A <b>computer program</b> is a collection of instructions that can be executed by a computer to perform a specific task.
</p><p>A computer program is usually written by a computer programmer in a programming language. From the program in its human-readable form of source code, a compiler or assembler can derive machine code—a form consisting of instructions that the computer can directly execute. Alternatively, a computer program may be executed with the aid of an interpreter.
</p><p>A collection of computer programs, libraries, and related data are referred to as software. Computer programs may be categorized along functional lines, such as application software and system software. The underlying method used for some calculation or manipulation is known as an algorithm.
</p>Johnhttp://www.blogger.com/profile/04092489739318880540noreply@blogger.com1tag:blogger.com,1999:blog-7039123627910437232.post-68803657349042688642020-11-26T17:22:00.007-08:002020-11-26T17:22:45.724-08:00History<img alt="" class="thumbimage" data-file-height="1400" data-file-width="2000" decoding="async" height="154" src="//upload.wikimedia.org/wikipedia/commons/thumb/c/cf/Diagram_for_the_computation_of_Bernoulli_numbers.jpg/220px-Diagram_for_the_computation_of_Bernoulli_numbers.jpg" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/c/cf/Diagram_for_the_computation_of_Bernoulli_numbers.jpg/330px-Diagram_for_the_computation_of_Bernoulli_numbers.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/c/cf/Diagram_for_the_computation_of_Bernoulli_numbers.jpg/440px-Diagram_for_the_computation_of_Bernoulli_numbers.jpg 2x" width="220"/><br/><br/><br/><p>Code-breaking algorithms have existed for centuries. In the 9th century, the Arab mathematician Al-Kindi described a cryptographic algorithm for deciphering encrypted code, in <i>A Manuscript On Deciphering Cryptographic Messages</i>. He gave the first description of cryptanalysis by frequency analysis, the earliest code-breaking algorithm.
</p><h3><span class="mw-headline" id="Early_programmable_machines">Early programmable machines</span><span class="mw-editsection"><span class="mw-editsection-bracket"></span>edit<span class="mw-editsection-bracket"></span></span></h3><p>The earliest programmable machines preceded the invention of the digital computer. As early as the 9th century, a programmable music sequencer was invented by the Persian Banu Musa brothers, who described an automated mechanical flute player in the <i>Book of Ingenious Devices</i>. In 1206, the Arab engineer Al-Jazari invented a programmable drum machine where musical mechanical automata could be made to play different rhythms and drum patterns. In 1801, Joseph-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.
</p><h3><span class="mw-headline" id="Analytical_Engine">Analytical Engine</span><span class="mw-editsection"><span class="mw-editsection-bracket"></span>edit<span class="mw-editsection-bracket"></span></span></h3><p>In 1837, Charles Babbage was inspired by Jacquard's loom to attempt to build the Analytical Engine.
The names of the components of the calculating device were borrowed from the textile industry. In the textile industry, yarn was brought from the store to be milled. The device would have had a "store"—memory to hold 1,000 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 machine), for processing. A "thread" is the execution of programmed instructions by the device. It was programmed using two sets of perforated cards—one to direct the operation and the other for the input variables.
However, after more than 17,000 pounds of the British government's money, the thousands of cogged wheels and gears never fully worked together.
</p><p>During a nine-month period in 1842–43, Ada Lovelace translated the memoir of Italian mathematician Luigi Menabrea. The memoir covered the Analytical Engine. The translation contained Note G which completely detailed a method for calculating Bernoulli numbers using the Analytical Engine. This note is recognized by some historians as the world's first written computer program.
</p><h3><span class="mw-headline" id="Universal_Turing_machine">Universal Turing machine</span><span class="mw-editsection"><span class="mw-editsection-bracket"></span>edit<span class="mw-editsection-bracket"></span></span></h3><p>In 1936, Alan Turing introduced the Universal Turing machine—a theoretical device that can model every computation that can be performed on a Turing complete computing machine.
It is a finite-state machine that has an infinitely long read/write tape. 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.
This machine is considered by some to be the origin of the stored-program computer—used by John von Neumann (1946) for the "Electronic Computing Instrument" that now bears the von Neumann architecture name.
</p><h3><span class="mw-headline" id="Early_programmable_computers">Early programmable computers</span><span class="mw-editsection"><span class="mw-editsection-bracket"></span>edit<span class="mw-editsection-bracket"></span></span></h3><p>The Z3 computer, invented by Konrad Zuse (1941) in Germany, was a digital and programmable computer. A digital computer uses electricity as the calculating component. The Z3 contained 2,400 relays to create the circuits. The circuits provided a binary, floating-point, nine-instruction computer. Programming the Z3 was through a specially designed keyboard and punched tape.
</p><p>The Electronic Numerical Integrator And Computer (Fall 1945) was a Turing complete, general-purpose computer that used 17,468 vacuum tubes to create the circuits. At its core, it was a series of Pascalines wired together. Its 40 units weighed 30 tons, occupied 1,800 square feet (167 m2), and consumed $650 per hour (in 1940s currency) in electricity when idle. It had 20 base-10 accumulators. Programming the ENIAC took up to two months. Three function tables were on wheels and needed to be rolled to fixed function panels. Function tables were connected to function panels using heavy black cables. Each function table had 728 rotating knobs. Programming the ENIAC also involved setting some of the 3,000 switches. Debugging a program took a week. The programmers of the ENIAC were women who were known collectively as the "ENIAC girls" and included Jean Jennings Bartik, Betty Holberton, Marlyn Wescoff, Kathleen McNulty, Ruth Teitelbaum, and Frances Spence.
The ENIAC featured parallel operations. 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.
</p><p>The Manchester Baby (June 1948) was a stored-program computer. Programming transitioned away from moving cables and setting dials; instead, a computer program was stored in memory as numbers. Only three bits of memory were available to store each instruction, so it was limited to eight instructions. 32 switches were available for programming.
</p><h3><span class="mw-headline" id="Later_computers">Later computers</span><span class="mw-editsection"><span class="mw-editsection-bracket"></span>edit<span class="mw-editsection-bracket"></span></span></h3><p>Computers manufactured until the 1970s had front-panel switches for programming. The computer program was written on paper for reference. An instruction was represented by a configuration of on/off settings. 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.
</p><p>In 1961, the Burroughs B5000 was built specifically to be programmed in the ALGOL 60 language. The hardware featured circuits to ease the compile phase.
</p><p>In 1964, the IBM System/360 was a line of six computers each having the same instruction set architecture. The Model 30 was the smallest and least expensive. Customers could upgrade and retain the same application software. Each System/360 model featured multiprogramming. With operating system support, multiple programs could be in memory at once. When one was waiting for input/output, another could compute. Each model also could emulate other computers. Customers could upgrade to the System/360 and retain their IBM 7094 or IBM 1401 application software.
</p>Johnhttp://www.blogger.com/profile/04092489739318880540noreply@blogger.com0tag:blogger.com,1999:blog-7039123627910437232.post-26202883732396047412020-11-26T17:22:00.005-08:002020-11-26T17:22:40.829-08:00Computer programming<img alt="" class="thumbimage" data-file-height="557" data-file-width="529" decoding="async" height="232" src="//upload.wikimedia.org/wikipedia/commons/thumb/3/37/Object-Oriented-Programming-Methods-And-Classes-with-Inheritance.png/220px-Object-Oriented-Programming-Methods-And-Classes-with-Inheritance.png" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/3/37/Object-Oriented-Programming-Methods-And-Classes-with-Inheritance.png/330px-Object-Oriented-Programming-Methods-And-Classes-with-Inheritance.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/3/37/Object-Oriented-Programming-Methods-And-Classes-with-Inheritance.png/440px-Object-Oriented-Programming-Methods-And-Classes-with-Inheritance.png 2x" width="220"/><br/><br/><br/><p>Computer programming is the process of writing or editing source code. Editing source code involves testing, analyzing, refining, and sometimes coordinating with other programmers on a jointly developed program. A person who practices this skill is referred to as a computer programmer, software developer, and sometimes coder.
</p><p>The sometimes lengthy process of computer programming is usually referred to as software development. The term software engineering is becoming popular as the process is seen as an engineering discipline.
</p><h3><span class="mw-headline" id="Programming_languages">Programming languages</span><span class="mw-editsection"><span class="mw-editsection-bracket"></span>edit<span class="mw-editsection-bracket"></span></span></h3><p>Computer programs can be categorized by the programming language paradigm used to produce them. Two of the main paradigms are imperative and declarative.
</p><h4><span class="mw-headline" id="Imperative_languages">Imperative languages</span><span class="mw-editsection"><span class="mw-editsection-bracket"></span>edit<span class="mw-editsection-bracket"></span></span></h4><p><i>Imperative programming languages</i> specify a sequential algorithm using declarations, expressions, and statements:
</p><ul><li>A <i>declaration</i> couples a variable name to a datatype – for example: <code> var x: integer; </code></li>
<li>An <i>expression</i> yields a value – for example: <code> 2 + 2 </code> yields 4</li>
<li>A <i>statement</i> might assign an expression to a variable or use the value of a variable to alter the program's control flow – for example: <code>x := 2 + 2; if x = 4 then do_something();</code></li></ul><p>One criticism of imperative languages is the side effect of an assignment statement on a class of variables called non-local variables.
</p><h4><span class="mw-headline" id="Declarative_languages">Declarative languages</span><span class="mw-editsection"><span class="mw-editsection-bracket"></span>edit<span class="mw-editsection-bracket"></span></span></h4><p><i>Declarative programming languages</i> describe <i>what</i> computation should be performed and not <i>how</i> to compute it. Declarative programs omit the control flow and are considered <i>sets</i> of instructions. Two broad categories of declarative languages are functional languages and logical languages. The principle behind functional languages (like Haskell) is to not allow side effects, which makes it easier to reason about programs like mathematical functions. The principle behind logical languages (like Prolog) is to define the problem to be solved – the goal – and leave the detailed solution to the Prolog system itself. The goal is defined by providing a list of subgoals. Then each subgoal is defined by further providing a list of its subgoals, etc. If a path of subgoals fails to find a solution, then that subgoal is backtracked and another path is systematically attempted.
</p><h3><span class="mw-headline" id="Compilation_and_interpretation">Compilation and interpretation</span><span class="mw-editsection"><span class="mw-editsection-bracket"></span>edit<span class="mw-editsection-bracket"></span></span></h3><p>A computer program in the form of a human-readable, computer programming language is called source code. Source code may be converted into an executable image by a compiler or assembler, or executed immediately with the aid of an interpreter.
</p><p>Compilers are used to translate source code from a programming language into either object code or machine code. Object code needs further processing to become machine code, and machine code consists of the central processing unit's native instructions, ready for execution. Compiled computer programs are commonly referred to as executables, binary images, or simply as binaries – a reference to the binary file format used to store the executable code.
</p><p>Some compiled and assembled object programs need to be combined as modules with a linker utility in order to produce an executable program.
</p><p>Interpreters are used to execute source code from a programming language line-by-line. The interpreter decodes each statement and performs its behavior. One advantage of interpreters is that they can easily be extended to an interactive session. The programmer is presented with a prompt, and individual lines of code are typed in and performed immediately.
</p><p>The main disadvantage of interpreters is computer programs run slower than when compiled. Interpreting code is slower because the interpreter must decode each statement and then perform it. However, software development may be faster using an interpreter because testing is immediate when the compiling step is omitted. Another disadvantage of interpreters is an interpreter must be present on the executing computer. By contrast, compiled computer programs need no compiler present during execution.
</p><p>Just in time compilers pre-compile computer programs just before execution. For example, the Java virtual machine Hotspot contains a Just In Time Compiler which selectively compiles Java bytecode into machine code – but only code which Hotspot predicts is likely to be used many times.
</p><p>Either compiled or interpreted programs might be executed in a batch process without human interaction.
</p><p>Scripting languages are often used to create batch processes. One common scripting language is Unix shell, and its executing environment is called the command-line interface.
</p><p>No properties of a programming language require it to be exclusively compiled or exclusively interpreted. The categorization usually reflects the most popular method of language execution. For example, Java is thought of as an interpreted language and C a compiled language, despite the existence of Java compilers and C interpreters.
</p>Johnhttp://www.blogger.com/profile/04092489739318880540noreply@blogger.com0tag:blogger.com,1999:blog-7039123627910437232.post-65579327619923159152020-11-26T17:22:00.003-08:002020-11-26T17:22:36.647-08:00Storage and execution<img alt="" class="thumbimage" data-file-height="1278" data-file-width="1944" decoding="async" height="145" src="//upload.wikimedia.org/wikipedia/commons/thumb/8/8c/Papertape3.jpg/220px-Papertape3.jpg" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/8/8c/Papertape3.jpg/330px-Papertape3.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/8/8c/Papertape3.jpg/440px-Papertape3.jpg 2x" width="220"/><br/><br/><br/><p>Typically, computer programs are stored in non-volatile memory until requested either directly or indirectly to be executed by the computer user. Upon such a request, the program is loaded into random-access memory, by a computer program called an operating system, where it can be accessed directly by the central processor. The central processor then executes ("runs") the program, instruction by instruction, until termination. A program in execution is called a process. Termination is either by normal self-termination, by user intervention, or by error – software or hardware error.
</p><h3><span class="mw-headline" id="Simultaneous_execution">Simultaneous execution</span><span class="mw-editsection"><span class="mw-editsection-bracket"></span>edit<span class="mw-editsection-bracket"></span></span></h3><p>Many operating systems support multitasking which enables many computer programs to appear to run simultaneously on one computer. Operating systems may run multiple programs through process scheduling – a software mechanism to switch the CPU among processes often so users can interact with each program while it runs. Within hardware, modern day multiprocessor computers or computers with multicore processors may run multiple programs.
</p><h3><span class="mw-headline" id="Self-modifying_programs">Self-modifying programs</span><span class="mw-editsection"><span class="mw-editsection-bracket"></span>edit<span class="mw-editsection-bracket"></span></span></h3><p>A computer program in execution is normally treated as being different from the data the program operates on. However, in some cases, this distinction is blurred when a computer program modifies itself. The modified computer program is subsequently executed as part of the same program. Self-modifying code is possible for programs written in machine code, assembly language, Lisp, C, COBOL, PL/1, and Prolog.
</p>Johnhttp://www.blogger.com/profile/04092489739318880540noreply@blogger.com0tag:blogger.com,1999:blog-7039123627910437232.post-83806257037125194772020-11-26T17:22:00.001-08:002020-11-26T17:22:31.692-08:00Functional categories<img alt="" class="thumbimage" data-file-height="484" data-file-width="520" decoding="async" height="205" src="//upload.wikimedia.org/wikipedia/commons/thumb/e/ef/Gcalctool-scientific.png/220px-Gcalctool-scientific.png" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/e/ef/Gcalctool-scientific.png/330px-Gcalctool-scientific.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/e/ef/Gcalctool-scientific.png/440px-Gcalctool-scientific.png 2x" width="220"/><br/><br/><br/><p>Computer programs may be categorized along functional lines. The main functional categories are application software and system software. System software includes the operating system which couples computer hardware with application software. The purpose of the operating system is to provide an environment in which application software executes in a convenient and efficient manner. In addition to the operating system, system software includes embedded programs, boot programs, and micro programs. Application software designed for end users have a user interface. Application software not designed for the end user includes middleware, which couples one application with another. Application software also includes utility programs. The distinction between system software and application software is under debate.
</p><h3><span class="mw-headline" id="Application_software">Application software</span><span class="mw-editsection"><span class="mw-editsection-bracket"></span>edit<span class="mw-editsection-bracket"></span></span></h3><p>There are many types of application software:
</p><ul><li>The word <b>app</b> came to being in 21st century. It is a clipping of the word "application". They have been designed for many platforms, but the word was first used for smaller mobile apps. Desktop apps are traditional computer programs that run on desktop computers. Mobile apps run on mobile devices. Web apps run inside a web browser. Both mobile and desktop apps may be downloaded from the developers' website or purchased from app stores such as Microsoft Store, Apple App Store, Mac App Store, Google Play or Intel AppUp.</li>
<li>An <b>application suite</b> consists of multiple applications bundled together. Examples include Microsoft Office, LibreOffice, and iWork. They bundle a word processor, spreadsheet, and other applications.</li>
<li><b>Enterprise applications</b> bundle accounting, personnel, customer, and vendor applications. Examples include enterprise resource planning, customer relationship management, and supply chain management software.</li>
<li><b>Enterprise infrastructure software</b> supports the enterprise's software systems. Examples include databases, email servers, and network servers.</li>
<li><b>Information worker software</b> are designed for workers at the departmental level. Examples include time management, resource management, analytical, collaborative and documentation tools. Word processors, spreadsheets, email and blog clients, personal information system, and individual media editors may aid in multiple information worker tasks.</li>
<li><b>Media development software</b> generates print and electronic media for others to consume, most often in a commercial or educational setting. These produce graphics, publications, animations, and videos.</li>
<li><b>Product engineering software</b> is used to help develop large machines and other application software. Examples includes computer-aided design (CAD), computer-aided engineering (CAE), and integrated development environments.</li>
<li><b>Entertainment Software</b> can refer to video games, movie recorders and players, and music recorders and players.</li></ul><h3><span class="mw-headline" id="Utility_programs">Utility programs</span><span class="mw-editsection"><span class="mw-editsection-bracket"></span>edit<span class="mw-editsection-bracket"></span></span></h3><p>Utility programs are application programs designed to aid system administrators and computer programmers.
</p><h3><span class="mw-headline" id="Operating_system">Operating system</span><span class="mw-editsection"><span class="mw-editsection-bracket"></span>edit<span class="mw-editsection-bracket"></span></span></h3><p>An operating system is the low-level software that supports a computer's basic functions, such as scheduling tasks and controlling peripherals.
</p><p>In the 1950s, the programmer, who was also the operator, would write a program and run it. After the program finished executing, the output may have been printed, or it may have been punched onto paper tape or cards for later processing.
More often than not the program did not work. The programmer then looked at the console lights and fiddled with the console switches. If less fortunate, a memory printout was made for further study. In the 1960s, programmers reduced the amount of wasted time by automating the operator's job. A program called an <i>operating system</i> was kept in the computer at all times.
</p><p>Originally, operating systems were programmed in assembly; however, modern operating systems are typically written in C.
</p><h3><span class="mw-headline" id="Boot_program">Boot program</span><span class="mw-editsection"><span class="mw-editsection-bracket"></span>edit<span class="mw-editsection-bracket"></span></span></h3><p>A stored-program computer requires an initial computer program stored in its read-only memory to boot. The boot process is to identify and initialize all aspects of the system, from processor registers to device controllers to memory contents. Following the initialization process, this initial computer program loads the operating system and sets the program counter to begin normal operations.
</p><h3><span class="mw-headline" id="Embedded_programs">Embedded programs</span><span class="mw-editsection"><span class="mw-editsection-bracket"></span>edit<span class="mw-editsection-bracket"></span></span></h3><p>Independent of the host computer, a hardware device might have embedded firmware to control its operation. Firmware is used when the computer program is rarely or never expected to change, or when the program must not be lost when the power is off.
</p><h3><span class="mw-headline" id="Microcode_programs">Microcode programs</span><span class="mw-editsection"><span class="mw-editsection-bracket"></span>edit<span class="mw-editsection-bracket"></span></span></h3><p>Microcode programs control some central processing units and some other hardware. This code moves data between the registers, buses, arithmetic logic units, and other functional units in the CPU. Unlike conventional programs, microcode is not usually written by, or even visible to, the end users of systems, and is usually provided by the manufacturer, and is considered internal to the device.
</p>Johnhttp://www.blogger.com/profile/04092489739318880540noreply@blogger.com0