Quiz 1
23) The programmer usually enters source code into a computer using: A) Pseudocode B) A text editor C) A hierarchy chart D) A compiler E) None of the above
B) A text editor
9) A set of well-defined steps for performing a task or solving a problem is known as a(n): A) Hierarchy B) Algorithm C) Central Processing Unit D) Encoded instruction E) None of the above
B) Algorithm
7) This step will uncover any syntax errors in your program. A) Editing B) Compiling C) Linking D) Executing E) None of these
B) Compiling
17) Mistakes that cause a running program to produce incorrect results are called: You Answered A) Syntax errors B) Logic errors C) Compiler errors D) Linker errors E) None of the above
B) Logic errors
13) This is a complete instruction that causes the computer to perform some action. A) Line B) Statement C) Variable D) Key Word E) None of the above
B) Statement
3) Programmer-defined names of memory locations that may hold data are: A) Operators B) Variables C) Syntax D) Operands E) None of the above
B) Variables
19) A(n) ________ is the most fundamental set of programs on a computer. A) compiler B) operating system C) application D) utility program E) None of these
B) operating system
1) At the heart of a computer is its central processing unit. The CPU's job is: A) To fetch instructions B) To carry out the operations commanded by the instructions C) To produce some outcome or resultant information D) All of the above E) None of the above
D) All of the above
2) An Integrated Development Environment typically consists of: A) A text editor B) A compiler C) A debugger D) All of the above E) None of the above
D) All of the above
16) An example of a secondary storage device is: A) The computer's main memory B) The keyboard C) The monitor D) The disk drive E) None of the above
D) The disk drive
25) Which of the following is a common input device? A) Keyboard B) Mouse C) Scanner D) Microphone E) All of the above
E) All of the above
22) Which of the following is considered to be the world's first General Purpose, Electronic, Programmable, Digital Computer? A) TRADIC B) Collosus C) EDSAC D) IBM 7090 E) ENIAC
E) ENIAC
24) Which of the following is not one of the five major components of a computer system? A) Preprocessor B) The CPU (central processing unit) C) Main memory D) Input/Output device E) Secondary storage device
A) Preprocessor
11) Even when there is no power to the computer, data can be held in: A) Secondary storage B) The Input Device C) The Output Device D) The Algorithm E) None of the above
A) Secondary storage
21) This is a set of rules that must be followed when constructing a program. A) Syntax B) Punctuation C) Portability D) Operators E) Key words
A) Syntax
14) A variable declaration announces the name of a variable that will be used in a program, as well as: A) The type of data it will be used to hold B) The operators that will be used on it C) The number of times it will be used in the program D) The area of the code in which it will be used E) None of the above
A) The type of data it will be used to hold
6) ________ are used to translate each source code instruction into the appropriate machine language instruction. A) Modules B) Library routines C) Compilers D) Preprocessor directives E) None of the above
C) Compilers
15) Three primary activities of a program are: A) Variables, Operators, and Key Words B) Lines, Statements, and Punctuation C) Input, Processing, and Output D) Integer, Floating-point and Character E) None of the above
C) Input, Processing, and Output
12) Words that have a special meaning and may be used only for their intended purpose are known as: A) Operators B) Programmer Defined Words C) Key Words D) Syntax E) None of the above
C) Key Words
8) Which Computer listed is credited with being the first Mini Computer? A) MITS Altair 8800 B) Xerox PARC Alto C) LINC D) EDSAC E) TRADIC
C) LINC
5) A(n) ________ is a set of instructions that the computer follows to solve a problem. A) Compiler B) Linker C) Program D) Operator E) None of the above
C) Program
20) This is a volatile type of memory, used for temporary storage. A) Address B) ALU C) RAM D) Disk drive E) None of the above
C) RAM
4) The computer's main memory is commonly known as: A) The hard disk B) The floppy disk C) RAM D) Secondary storage E) None of the above
C) RAM
10) Internally, the CPU consists of two parts: A) The Output Device and the Input Device B) The Software and the Hardware C) The Control Unit and the Arithmetic and Logic Unit D) The Single-task Device and the Multi-task Device E) None of the above
C) The Control Unit and the Arithmetic and Logic Unit
18) Computer programs are also known as: A) hardware B) firmware C) software D) silverware E) None of the above
C) software