Font size
WorksheetsCS201: Chapter 2
Total questions: 13
Worksheet time: 9mins
In which phase of the waterfall model does the programmer determine how the program will do its task?
analysis
design
implementation
integration
What is another name for a rough draft or skeletal version of a program?
(a)
True or False: In programming, a data type consists of a set of values and a set of operations that can be performed on those values.
True
False
The newline character \n is called which of the following?
escape sequence
backspace
horizontal tab
print function
Variables receive their initial values and can be reset to new values with which of the following?
variable reference
program comment
assignment statement
escape sequence
True or False: In the 1960s, the original ASCII set encoded each keyboard character and several control characters using the integers from 0 through 255.
True
False
True or False: The precedence rules you learned in algebra apply during the evaluation of arithmetic expressions in Python.
True
False
Which of the following provides an easy way to perform operations on data values to produce other data values?
strings
expressions
conversions
modules
What is a module?
Which of the following is a chunk of code that can be called by name to perform a task?
parameter
argument
function
script
True or False: Arguments are also known as literals.
True
False
Which are you most confident in?
Describe the basic phases of software development: analysis, design, coding, and testing
Use strings for the terminal input and output of text
Construct arithmetic expressions
Initialize and use variables with appropriate names
Call functions with arguments and use returned values appropriately
Which are you least confident in?
Describe the basic phases of software development: analysis, design, coding, and testing
Use strings for the terminal input and output of text
Construct arithmetic expressions
Initialize and use variables with appropriate names
Call functions with arguments and use returned values appropriately
