















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!
















◉ What is hardware? Answer: Refers to all of the physical components of devices of which a computer is made. It is not one single device, but a system of devices that work together like a symphony. Each device in a computer plays its own part. ◉ List 5 major components of a computer system. Answer: The CPU, RAM (main memory), Disk or Disk Drives (secondary memory) Input Devices, Output Devices ◉ What part of the computer actually runs programs? Answer: Central Processing Unit (CPU) (It executes instructions) ◉ What part of the computer serves as a work area to store a program and its data when running? Answer: RAM (random access memory) ◉ What part of the computer holds data for a long period of time; even when there is no power to the computer?
Answer: Disk Drive/ Disk (inside the computer or external Disk Drive or Thumb Drive ◉ What part of the computer collects data from people and other devices? Answer: Input Devices such as - keyboard, Waacom tables, digital camera, mouse, scanner, microphone ◉ What part of the computer formats and presents data for people and other devices? Answer: Output Devices such as - Computer monitor, speaker, printer, disc drive ◉ What fundamental set of programs control the internal operations of the computers hardware? Answer: Operating Systems - the most fundamental set of programs on a computer ie. windows, macOC, Linus (system software) ◉ What do you call a program that performs a specialized task, such as virus scanner, a file compression program, or a data backup program? Answer: Utility Program
◉ RAM, random-access memory, is called that because Answer: you can pick any two random locations and it will take the same time to access the data ◉ external storage(memory) devices Answer: Flash drives, CDs, external disks are all examples of this ◉ An operating system does what? Answer: allocates resources like memory to programs that are running ◉ Application software is what? Answer: is any software that runs with the support of the operating systems. ◉ What amount of memory is enough to store a letter of the alphabet or a small number? Answer: one byte ◉ What do you call a tiny "switch" that can be set to either on or off? Answer: bit
◉ In what numbering system are all numeric values written as sequences of 0s and 1s? Answer: binary numbering system ◉ What is the purpose of ASCII? Answer: The American Standard Code for Information Interchange is a set of 128 numeric codes that represent the English letters, various punctuation marks, and other characters. ◉ What encoding scheme is extensive enough to represent the characters of many of the languages in the world? Answer: Unicode ◉ What is Two's complement? Answer: An advanced number storage encoding scheme used for negative numbers ◉ What is floating-point notations? Answer: An advanced number storage encoding scheme used for real numbers ◉ What is digital data? Answer: Digital data is any data that is stored in binary format
Answer: high-level language ◉ Each language has a strict set of rules that must be strictly followed when writing a program. What is this set of rules called? Answer: Syntax ◉ What do you call a program that translates a high-level language program into a separate machine language program? Answer: Compiler **Note: ASSEMBLY language is translated to Machine language by an ASSEMBLER. ◉ 3K means about 3 thousand bytes. How would you express five billion bytes? Answer: 5 GB ◉ 3k means about 3 thousand bytes. How would you express two hundred million bytes? Answer: 200 MB ◉ 3k means about 3 thousand bytes. How would you express four trillion bytes? Answer: 4 TB
◉ What do you call a program that both translates and executes the instructions in a high-level language program? Answer: an interpreter ◉ What type of mistake is usually caused by a misspelled word, a missing punctuation character, or the incorrect use of an operator? Answer: Syntax error ◉ The statements that a programmer writes in a high-level language are called what? Answer: Source code or code ◉ What happens when you have a syntax error? Answer: You receive an error message and the program can not be compiled or executed. ◉ What does the term bit stand for? Answer: binary digit ◉ A byte in memory is identified by a unique number called its Answer: address
◉ What best defines a "programming language"? Answer: It allows us to express an algorithm. ◉ Machine languages can be used to express Answer: algorithms ◉ Machine language consists of Answer: zeros and ones ◉ Machine language is produced by Answer: compilers ◉ A compiler does what? Answer: translates source code into executable code; it is a program that translates a high-level language program into a separate machine language program. ◉ An error in a program that involves a violation of language rules will be detected at ____ time. Answer: compile ◉ Words that have a special meaning in programming language are called
Answer: key words or reserved words ◉ The computer stores a program while the program is running, as well as the data that the program is working with in Answer: main memory ◉ A type of memory that can hold data for long periods of time, even when there is no power to the computer is called Answer: secondary storage ◉ Computers can only execute programs written in Answer: machine language ◉ How many bytes in a Kilobyte KB Answer: about 1 thousand bytes ◉ How many bytes in a Megabyte MB Answer: about 1 million bytes ◉ How many bytes in a Gigabyte GB Answer: about 1 billion bytes
◉ Computers can only execute programs that are written in __________. Answer: machine language ◉ A(n) is a set of instructions that a computer follows to perform a task. a. compiler b. program c. interpreter d. programming language Answer: program ◉ The physical devices that a computer is made of are referred to as __________. Answer: hardware ◉ The part of a computer that runs programs is called __________. Answer: CPU ◉ Today, CPUs are small chips known as __________. Answer: Microprocessors
◉ The computer stores a program while the program is running, as well as the data that the program is working with, in ____. Answer: main memory ◉ This is a volatile type of memory that is used only for temporary storage while a program is running. Answer: RAM (random access memory, a.k.a. main memory) ◉ A type of memory that can hold data for long periods of time, even when there is no power to the computer, is called ____. Answer: secondary storage such as a disk drive, thumb drive, CD- RW, hard disk ◉ A component that collects data from people or other devices and sends it to the computer is called ____. Answer: input device ◉ A video display is a(n) __________ device. Answer: output ◉ A______________is enough memory to store a letter of the alphabet or small number. Answer: byte
◉ Real numbers are encoded using the_____________technique. Answer: Floating point ◉ The tiny dots of color that digital images are composed of are called __________. Answer: pixels ◉ If you were to look at a machine language program, you would see _________. Answer: a stream of binary numbers ◉ The ________translates an assembly language program to a machine language program. Answer: assembler ◉ The Python language uses an______________, which is a program that both translates and executes the instructions in a high-level language program. Answer: interpreter ◉ The words that make up a high-level programming language are called __________.
Answer: key words ◉ The rules that must be followed when writing a program are called __________. Answer: syntax ◉ A(n)__________program translates a high-level language program into a separate machine language program. Answer: compiler ◉ True or False Today, CPUs are huge devices made of electrical and mechanical components such as vacuum tubes and switches. Answer: False ◉ Main memory is also known as ________. Answer: Random Access Memory (RAM) ◉ binary data Answer: Any piece of data that is stored in a computer's memory must be stored as a _______ ◉ Images, like the ones you make with your digital camera, cannot be stored as
Compiler is a program that translates a high level code into machine language. In case of this, compiling and executing are two different processes. Compiler scans the entire program on the whole and report for errors. Example: C++ programming language uses compiler. Interpreter Interpreter is a special program that does the translation and simultaneously executes each and every instruction also. In this, both translation and execution are done simultaneously. Interpreter performs the translation and execution line by line and reports the error if any. Example: Python Programming language uses interpreter. ◉ What is a high-level programming language? Answer: A language which enables a programmer to write programs that are close to human language. This makes the coding much easier to reader and write ◉ What is the difference between assembly language and high level language? Answer: An assembly language directly controls the physical hardware. A high level language is much more abstract, which must
be compliled; translated into machine language. Examples high level languages include Python, Java, JavaScript; etc. Examples of assembly language. Programs written in high level languages will never match the raw speed and efficiency of program written in assembly. Linux uses assembly language. Assembly language is one step up from machine language. ◉ What type of software controls the internal operations of the computer's hardware? Answer: System Software. Such as Windows, Linux, Mac OS ◉ What is a utility program? Answer: Systems software that provides additional functionality to the operating system and helps make the operating system/computer easier to use, examples are antivirus software, back up software and disk tools. ◉ Ada Answer: Was created in the 1970's, primarily, for applications used by the US Dept of Defense. The language is named in honor of Countess Ada Lovelace, an influential and historic figure in the fiueld of computing. ◉ BASIC