Exam 2: Input, Processing, and Output
Exam 1: Introduction to Computers and Programming35 Questions
Exam 2: Input, Processing, and Output35 Questions
Exam 3: Simple functions34 Questions
Exam 4: Decision Structures and Boolean Logic35 Questions
Exam 5: Repetition Structures35 Questions
Exam 6: Value-Returning functions and Modules35 Questions
Exam 7: files and Exceptions35 Questions
Exam 8: Lists and Tuples35 Questions
Exam 9: More About Strings35 Questions
Exam 10: Dictionaries and Sets35 Questions
Exam 11: Classes and Object-Oriented Programming35 Questions
Exam 12: Inheritance35 Questions
Exam 13: Recursion35 Questions
Exam 14: GUI Programming35 Questions
Select questions type
What is the informal language that programmers use to create models of programs that have no syntax rules and are not meant to be compiled or executed?
Free
(Multiple Choice)
4.9/5
(38)
Correct Answer:
D
The _____ built-in function is used to read a number that has been typed on the keyboard.
Free
(Multiple Choice)
4.8/5
(29)
Correct Answer:
A
According to the behavior of integer division, when an integer is divided by an integer, the result will be a float.
Free
(True/False)
5.0/5
(29)
Correct Answer:
False
When the + operator is used with two strings, it performs string _______________.
(Short Answer)
4.8/5
(35)
A(n) _____ is a diagram that graphically depicts the steps that take place in a program.
(Multiple Choice)
4.9/5
(46)
The _____ function reads a piece of data that has been entered at the keyboard and returns that piece of data, as a string, back to the program.
(Multiple Choice)
4.9/5
(43)
The output of the following print statement is: print 'I\'m ready to begin'
(Multiple Choice)
4.7/5
(41)
A(n) _______________ is a single task that the program must perform in order to satisfy the customer.
(Short Answer)
4.8/5
(35)
_______________ are notes of explanation that document lines or sections of a program.
(Short Answer)
4.8/5
(32)
In Python, print statements written on separate lines do not necessarily output on separate lines.
(True/False)
5.0/5
(30)
In a print statement, you can set the _____ argument to a space or empty string to stop the output from advancing to a new line.
(Multiple Choice)
4.9/5
(30)
What type of error produces incorrect results but does not prevent the program from running?
(Multiple Choice)
4.7/5
(33)
Python allows programmers to break a statement into multiple lines.
(True/False)
4.8/5
(31)
Computer programs typically perform three steps: Input is received, some process is performed on the input, and output is produced.
(True/False)
4.9/5
(37)
The _______________ specifier is a special set of characters that specify how a value should be formatted.
(Short Answer)
4.7/5
(32)
When using the camelCase naming convention, the first word of the variable name is written in lowercase letters and the first character of the second and subsequent words are written in uppercase letters.
(True/False)
4.9/5
(36)
In Python, math expressions are evaluated from left to right, no matter what the operators are.
(True/False)
4.8/5
(36)
Showing 1 - 20 of 35
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)