Question : TCO 1 Pseudocode and/or flowcharts are used in...

This preview shows page 1 - 5 out of 19 pages.

1. Question : (TCO 1) Pseudocode and/or flowcharts are used in which of the following steps in program development? Student Answer: Understand the problem Plan and design the logic Develop the logical solution Desk-check the solution
Instructor Explanation: Chapter 1, pages 3–4 and lecture notes Points Received: 0 of 2 Comments: Question 2 . Question : (TCO 1) The purpose of analyzing a problem is to determine the goal of solving the problem and the items that are needed to achieve that goal. Programmers refer to the goal as the _____.
Instructor Explanation: Chapter 1, page 3 and lecture notes Points Received: 0 of 2 Comments: Question 3 . Question : (TCO 1) What symbol represents input in a flowchart?
Instructor Explanation: Appendix 1, page 264 Points Received: 2 of 2 Comments: Question 4 . Question : (TCO 1) _____ uses standardized graphical symbols to describe the logical steps of an algorithm.
Instructor Explanation: Chapter 1, page 4 Points Received: 2 of 2 Comments: Question 5 . Question : (TCO 1) Which of the following is an invalid variable name? Student Answer: my_Name budget2013 Current$Balance All of the above are valid
Instructor Explanation: Chapter 2, page 16 and lecture notes Points Received: 2 of 2 Comments: Question 6 . Question : (TCO 1) What would be the appropriate data type for a variable that is used to represent a graduation date (example data: 10/22/2012)?
Integer String Boolean Instructor Explanation: Chapter 1, pages 8–10 and lecture notes Points Received: 2 of 2 Comments: Question 7 . Question : (TCO 1) Assume that the variable temp has a data type of string and val has a data type of integer. Which of the following assignment statements is invalid?
Instructor Explanation: Remember, the left side must be a variable, and string data types should have quotations around the data value. Chapter 1, pages 8–10 and lecture notes Points Received: 2 of 2 Comments: Question 8 . Question : (TCO 1) Which of the following is not one of the three control structures described by the structure theorem?
Points Received: 2 of 2
Comments: Question 9 . Question : (TCO 1) What is the value of x in this expression? x = (2 + 3) * 4 Student Answer: 20 14 21 15
Instructor Explanation: Follow order of operations of math (parenthesis, exponents, multiplication, division, addition, subtraction): x = 5 * 4, x = 20, from lecture notes Points Received: 2 of 2 Comments:

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture