COP MIDTERM

COP MIDTERM - 1. This step will uncover any syntax errors...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
1. This step will uncover any syntax errors in your program. Correct Answer:     Compiling 2. A variable declaration announces the name of a variable that will be used in a program, as well as: Correct Answer: The type of data it will be used to hold 3. The ________ decodes an instruction and generates electrical signals. Correct Answer: Control Unit 4. An Integrated Development Environment typically consists of: Correct Answer: A text editor 5. A(n) ____________ is a set of instructions that the computer follows to solve a problem. Correct Answer: Program 6. What does the term hardware refer to? Correct Answer: The physical components that a computer is made of 7. _______________ are used to translate each source code instruction into the appropriate machine language instruction. Correct Answer: Compilers 8. What statement best describes a variable and its primary purpose? Correct Answer: A variable is a named storage location in the computer's memory used for holding a piece of information. 9. Words that have a special meaning and may be used only for their intended purpose are known as: Correct Answer: Key Words 10. Programmer-defined names of memory locations that may hold data are: Correct Answer: Variables 11. Three primary activities of a program are: Correct Answer: Input, Processing, and Output 12. This is a complete instruction that causes the computer to perform some action. Correct Answer: Statement 13. Which of the following best describes an operator? Correct Answer: An operator allows you to perform operations on one or more pieces of data. 14. The statements written by the programmer are called: Correct Answer: Source code 15. What statement best describes a variable and its primary purpose? Correct A variable is a named storage location in the computer's memory used for
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Answer: holding a piece of information. 16. During which stage does the central processing unit retrieve from main memory the next instruction in the sequence of program instructions? Correct Answer: Fetch 17. The programming process consists of several steps, which include: Correct Answer: Design, Creation, Testing, and Debugging 18. A set of well-defined steps for performing a task or solving a problem is known as a(n): Correct Answer:
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 06/19/2008 for the course COP 2220 taught by Professor Bickford during the Spring '08 term at FSU.

Page1 / 8

COP MIDTERM - 1. This step will uncover any syntax errors...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online