Com 204

Submitted by: Submitted by

Views: 10

Words: 2573

Pages: 11

Category: Science and Technology

Date Submitted: 03/13/2016 07:41 PM

Report This Essay

TRUE/FALSE (worth 1 point each)

1. Every programming language has rules governing its word usage and punctuation.

True

2. Besides the popular, comprehensive programming languages such as Java and C++, many programmers use scripting languages such as Python, Lua, Perl, and PHP.

True

3. A flowchart is an English-like representation of the logical steps necessary to solve a problem.

False

4. An infinite loop is a flow of program logic that repeats and never ends.

True

5. Programmers can use either procedural programming or object-oriented programming to develop programs.

True

6. In many programming languages, if you declare a variable and do not initialize it, the variable contains an unknown value until it is assigned a value.

True

7. The assignment operator has left-to-right-to-left associativity, which means that the value of the expression to the left of the assignment operator is evaluated first and that the result is assigned to the operand on the right.

False

8. A string variable can hold digits such as phone numbers and zip codes.

True

9. Modularization makes it harder for multiple programmers to work on a problem.

False

10. Program comments are a type of internal documentation.

True

11. Structured programs use spaghetti code logic.

False

12. In a selection structure, you perform an action or task, and then you perform the next action in order.

False

13. In a structured program, any structure can be nested within another structure.

True

14. As a general rule, an eof question should always come immediately after an input statement because the end-of-file condition will be detected at input.

True

15....