Exam 2: Input, Processing, and Output
Exam 1: Introduction to Computers and Programming39 Questions
Exam 2: Input, Processing, and Output40 Questions
Exam 3: Decision Structures and Boolean Logic40 Questions
Exam 4: Repetition Structures41 Questions
Exam 5: Functions66 Questions
Exam 6: Files and Exceptions40 Questions
Exam 7: Lists and Tuples40 Questions
Exam 8: More About Strings37 Questions
Exam 9: Dictionaries and Sets39 Questions
Exam 10: Classes and Object-Oriented Programming38 Questions
Exam 11: Inheritance36 Questions
Exam 12: Recursion35 Questions
Exam 13: Gui Programming42 Questions
Select questions type
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
(76)
Since a named constant is just a variable,it can change any time during a program's execution.
(True/False)
4.8/5
(80)
What symbol is used to mark the beginning and end of a string?
(Multiple Choice)
4.7/5
(87)
After the execution of the following statement,the variable sold will reference the numeric literal value as (n)__________ data type.
Sold = 256.752
(Multiple Choice)
4.9/5
(76)
What is the output of the following print statement?
Print 'I\'m ready to begin'
(Multiple Choice)
4.9/5
(74)
What is the informal language,used by programmers use to create models of programs,that has no syntax rules and is not meant to be compiled or executed?
(Multiple Choice)
4.7/5
(58)
___________ are notes of explanation that document lines or sections of a program.
(Short Answer)
4.7/5
(71)
When the + operator is used with two strings,it performs string __________.
(Short Answer)
4.9/5
(84)
The Python turtle is initially positioned in the __________ of a graphics window and it first appears,by default,to be heading __________.
(Multiple Choice)
4.9/5
(79)
The __________ specifier is a special set of characters that specify how a value should be formatted.
(Short Answer)
4.9/5
(77)
A __________ is a name that represents a value the cannot be changed during a program's execution.
(Short Answer)
4.9/5
(75)
According to the behavior of integer division,when an integer is divided by an integer,the result will be a float.
(True/False)
4.8/5
(83)
When applying the .3f formatting specifier to the number 76.15854,the result is __________.
(Short Answer)
4.8/5
(62)
Python formats all floating-point numbers to two decimal places when outputting with the print statement.
(True/False)
4.7/5
(76)
Python allows programmers to break a statement into multiple lines.
(True/False)
4.8/5
(81)
When using the camelCase naming convention,the first word of the variable name is written in lowercase and the first characters of all subsequent words are written in uppercase.
(True/False)
4.7/5
(91)
The __________ built-in function is used to read a number that has been typed on the keyboard.
(Multiple Choice)
4.8/5
(81)
A(n)__________ character is a special character that is preceded with a backslash (\),appearing inside a string literal.
(Short Answer)
4.9/5
(75)
To use Python's turtle graphics,you must include which of the following statements in your program?
(Multiple Choice)
4.9/5
(93)
In Python,print statements written on separate lines do not necessarily output on separate lines.
(True/False)
4.8/5
(89)
Showing 21 - 40 of 40
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)