Basics of Computer Programming Chapter Exam

Exam Instructions:

Choose your answers to the questions and click 'Next' to see the next set of questions. You can skip questions if you would like and come back to them later with the yellow "Go To First Skipped Question" button. When you have completed the practice exam, a green submit button will appear. Click it to see your results. Good luck!

Page 1

Question 1 1. Of the five basic blocks of programming, which two is used by every program?

Question 2 2. What is a loop?

Question 3 3. Which of the following is a characteristic of program design?

Question 4 4. Top down program design starts with the _____ and ends with the _____.

Question 5 5. Which of the following is not a primitive data type?

Page 2

Question 6 6. A list data type is also referred to as:

Question 7 7. Why is prototyping so important?

Question 8 8. Which of the following are NOT validation tools?

Question 9 9. A memory location that can store a value within a program is called a/an:

Question 10 10. Which of the following phrases best describes programming?

Page 3

Question 11 11. Why is the level of detail in an outline or flow chart so important when mapping code?

Question 12 12. Which statement is true of the relationship between the use of flow charts and the use of outlines?

Question 13 13. What is the purpose of Requirements Gathering?

Question 14 14. Which of these people is responsible for writing the Requirements Document?

Question 15 15. Which of the following is another term used for procedural programming?

Page 4

Question 16 16. Tisha needs to create a module that will do a specific calculation with only the values provided. She will use _____ programming to accomplish this task.

Question 17 17. What is the definition of analysis?

Question 18 18. How should a programmer start analyzing a problem?

Question 19 19. Which programming paradigm uses classes?

Question 20 20. A procedure in programming is also called _____.

Page 5

Question 21 21. A computer program can be best described as _____. Choose the best answer.

Question 22 22. What are the two main parts of a programmer's job?

Question 23 23. How is output from a program characterized?

Question 24 24. Which of the following is NOT a program design step?

Question 25 25. A data type where values can only represent one of a limited number of pre-defined categories is called a(n) _______ data type.

Page 6

Question 26 26. Besides being a way for you to make sure you and the customer agree on the user requirements, the review process can also

Question 27 27.

The following piece of code is an example of which of the following ways that workflow can be controlled in a program?

a = 1

if a > 7:

print 'I'm not feeling lucky.'

else:

print 'I'm a winner.'

Question 28 28. Why is it important to understand how to create both an outline and a flowchart?

Question 29 29. During the meetings and surveys step, the programmer should:

Question 30 30. Which approach to programming uses iteration to repeat a series of steps?

Basics of Computer Programming Chapter Exam Instructions

Choose your answers to the questions and click 'Next' to see the next set of questions. You can skip questions if you would like and come back to them later with the yellow "Go To First Skipped Question" button. When you have completed the practice exam, a green submit button will appear. Click it to see your results. Good luck!

MTTC Computer Science (050): Practice & Study Guide  /  Computer Science Courses
Support