Ch3

Quiz
•
Computers
•
University
•
Hard
Norita Ahmad
Used 2+ times
FREE Resource
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
In a Python program, a control structure:
Dictates what happens before the program starts and after it terminates.
Directs the order of execution of the statements in the program.
Manages the input and output of control characters.
Defines program-specific data structures.
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which one of the following if statements will not execute successfully:
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What signifies the end of a statement block or suite in Python?
A comment
A line that is indented less than the previous line
end
colon
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the code snippet:
1
2
4
4
1
2
3
4
It doesn't generate any output
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This if/elif/else statement will raise a KeyError exception
True
False
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the value of this expression:
'axb'
'axyb'
'ax'
'ab'
Similar Resources on Wayground
10 questions
J277 - 2.2 - Functions in Python

Quiz
•
10th Grade - University
9 questions
IT Participation 5

Quiz
•
University
10 questions
Python Sets

Quiz
•
University
11 questions
321-Quiz-08 - Names/Binding/Scope

Quiz
•
University
11 questions
Python If statement

Quiz
•
University
10 questions
Unit 2 Python

Quiz
•
University
11 questions
C/C++ Programming Chapter 3

Quiz
•
University
10 questions
Coding Basics

Quiz
•
5th Grade - University
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade