Chapter 2 Flashcards
True/False
The best way to write a program is to immediately type in some code and then debug it until it works.
False
True/False
An algorithm can be written without using a programming language.
True
True/False
Programs no longer require modification after they are written and debugged.
False
True/false
Python identifiers must start with a letter or underscore
True
True/False
Keywords make good variable names.
False
True/False
Expressions are built from literals, variables, and operators.
True
True/false
In Python, x = x + 1 is a legal statement.
True
True/false
Python does not allow output of multiple values with a single statement.
False
True/false
A counted loop is designed to iterate a specific number of times.
True
True/false
In a flowchart, diamonds are used to show statement sequences, and rectangles are used for decision points.
False
Which of the following is not a step in the software development process?
Fee setting
What is the correct formula for converting Celsius to Fahrenheit?
F=9/5(C)+32
The process of describing exactly what a computer program will do to solve a problem is called
Specification
Which of the following is not a legal identifier?
2spam
Which of the following are not used in expressions?
Statement