Exam 12: Module Py: Coding With Python
Exam 1: Digital Content108 Questions
Exam 2: Digital Devices124 Questions
Exam 3: Networks103 Questions
Exam 4: The Web100 Questions
Exam 5: Social Media105 Questions
Exam 6: Software114 Questions
Exam 7: Digital Security109 Questions
Exam 8: The ICT Industry117 Questions
Exam 9: Information Systems121 Questions
Exam 10: Databases102 Questions
Exam 11: Programming120 Questions
Exam 12: Module Py: Coding With Python89 Questions
Select questions type
A ______ is a numeric variable used for counting something, such as the number of times to execute a loop.
(Short Answer)
4.8/5
(35)
The Python programming language was named after the TV show Monty Python's Flying Circus.
(True/False)
4.7/5
(30)
When programmers want one thing to happen when a condition is true and something else to happen when it is false they use the ______ statement.
(Multiple Choice)
4.9/5
(40)
The process of creating a variable is sometimes referred to as _____ a variable.
(Short Answer)
4.7/5
(42)
Statements that tell a computer what to do are referred to as code.
(True/False)
4.8/5
(45)
A sequence of steps for solving a problem or performing a task is called a code editor.
(True/False)
4.9/5
(40)
A class attribute defines the characteristics of a set of _______.
(Multiple Choice)
4.9/5
(34)
When storing data in a variable, programmers use which symbol to indicate the assignment operator?
(Multiple Choice)
4.7/5
(35)
The object-oriented ________ is based on objects and classes that can be defined and manipulated by program code.
(Short Answer)
4.9/5
(38)
To ______ a variable means to add an amount to its current value.
(Short Answer)
5.0/5
(36)
An instance of a class is said to be __________ (created) from the class.
(Short Answer)
4.8/5
(44)
To instruct the computer to perform a calculation, programmers use a(n) _______ expression, which contains values and operators, such as + and -.
(Short Answer)
4.8/5
(49)
Which of the following is a valid variable name in Python?
(Multiple Choice)
4.9/5
(45)
In object-oriented jargon, ______ refers to passing certain characteristics from one class to other classes.
(Short Answer)
4.9/5
(41)
The most famous program in the world is a single line of code that prints "Hello Earth!" on the screen.
(True/False)
4.8/5
(31)
Which of the following words is a logical operator in Python?
(Multiple Choice)
4.8/5
(36)
To include more than one line of comments in Python code, you must start each line with which of the following symbols?
(Multiple Choice)
4.9/5
(35)
Showing 61 - 80 of 89
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)