Login
Copyright

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. How should a programmer start analyzing a problem?

Question 2 2.

Excerpt from lesson: The rule when I grew up was simple: I could open my presents only on my birthday. So, each morning for about a week before my actual birthday, the first thing that popped into my head when I woke up was, 'Is it my birthday?' When I could answer 'yes,' then I could open my presents.


In the birthday present example from our lesson, what is the first step in creating a flowchart?

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

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

Question 5 5. What is a survey review?

Page 2

Question 6 6. Who is responsible for writing the Requirements Document Review?

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

Question 8 8.

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 9 9. 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 10 10. Helen is writing code that relies heavily on recursive functions. Which of these programming languages would she be using?

Page 3

Question 11 11. Which of the following is not a numeric data type?

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

Question 13 13. Why is FORTRAN considered a procedural programming language?

Question 14 14. How has object-oriented programming become the dominant paradigm?

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

Page 4

Question 16 16. How does a loop know when to stop?

Question 17 17. When is the Requirements Document finished?

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

Question 19 19. The programmer's toolbox contains _____.

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

Page 5

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

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

Question 23 23. Which symbol is used to represent a decision in a flowchart?

Question 24 24. Which of the following is good practice as a programmer, in terms of customer interaction?

Question 25 25. Why is prototyping so important?

Page 6

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

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

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

Question 29 29. Procedural programming is also referred to as _____.

Question 30 30. Why are conditional statements important?

Basics of Computer Programming Chapter Exam Instructions

Choose your answers to the questions and click 'Next' to see the next question. You can skip questions if you would like and come back to them later with the "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. You will lose your work if you close or refresh this page. Good luck!

MTTC Computer Science: Practice & Study Guide  /  Computer Science Courses
Support