2,033
15
Essay, 2 pages (300 words)

Computer instructions, aka programs

Computer Instructions, aka Programs Using the information in the Lectures (Computer Instructions, aka Programs) presentation, answer the following: -Name and describe the only language that computers understand and explain how the instructions that people write for computers get into that form Computers only understand one language and that is the machine language (binary code). This type of language is represented in a two digit sequence zero (0) or one (1). Computers use this machine language to represent every task that they perform by means of electrical current that go through switches (capacitors). If a switch has current it means that the switch is “ ON” in machine language this will be represented as the number “ one”. If there is no current going through the switch then it is considered to be “ OFF” and represented in binary code as the number “ zero”. Now, the way people communicate with computers is not directly by the language that the computer understands (machine language), but instead a set of instructions have to be written in a different language that specializes in writing programs such as C++ or Visual Basic. These types of languages at the same time have to be translated into machine language either through compilers or interpreters. Compilers translate all the source codes (C++, Visual Basic, etc. language) in a program to machine language before it’s executed. Then after that the compiled program (in this case machine language) is executed by the Central Process Unit (CPU). At this time the machine language can be used every time the program is run unless the source code changes, in which then the machine language should be recompiled. Like compilers, interpreters also translate the source code into machine language, but they only translate each line of the code as it is executed. Difference is also that every time the program is run each line must be translated again. Which in comparison to compilers, interpreters are much slower.

Thank's for Your Vote!
Computer instructions, aka programs. Page 1
Computer instructions, aka programs. Page 2
Computer instructions, aka programs. Page 3

This work, titled "Computer instructions, aka programs" was written and willingly shared by a fellow student. This sample can be utilized as a research and reference resource to aid in the writing of your own work. Any use of the work that does not include an appropriate citation is banned.

If you are the owner of this work and don’t want it to be published on AssignBuster, request its removal.

Request Removal
Cite this Essay

References

AssignBuster. (2021) 'Computer instructions, aka programs'. 15 November.

Reference

AssignBuster. (2021, November 15). Computer instructions, aka programs. Retrieved from https://assignbuster.com/computer-instructions-aka-programs/

References

AssignBuster. 2021. "Computer instructions, aka programs." November 15, 2021. https://assignbuster.com/computer-instructions-aka-programs/.

1. AssignBuster. "Computer instructions, aka programs." November 15, 2021. https://assignbuster.com/computer-instructions-aka-programs/.


Bibliography


AssignBuster. "Computer instructions, aka programs." November 15, 2021. https://assignbuster.com/computer-instructions-aka-programs/.

Work Cited

"Computer instructions, aka programs." AssignBuster, 15 Nov. 2021, assignbuster.com/computer-instructions-aka-programs/.

Get in Touch

Please, let us know if you have any ideas on improving Computer instructions, aka programs, or our service. We will be happy to hear what you think: [email protected]