
Basic Python Programming Concepts
Quiz
•
Engineering
•
10th Grade
•
Hard
Rieza Wulandari
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to create a variable in Python?
let x = 10
x : 10
10 = x
x = 10
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid Python data type?
int
float
string
list
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What symbol is used for comments in Python?
#
//
%%
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you start a function definition in Python?
function_name(parameters) start with def
def function_name(parameters):
function_name(parameters) is defined using define
function_name(parameters) begin with func
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is used to create a loop in Python?
repeat
looping
for, while
iterate
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of print(2 ** 3)?
6
9
4
8
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you check the type of a variable in Python?
Use the 'checktype()' function.
Use the 'instanceof' operator.
Use the 'var_type()' method.
Use the 'type()' function.
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple

Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
V I R Quiz (Virtual Day Work)
Quiz
•
9th - 12th Grade
10 questions
Navigation Quiz
Quiz
•
10th Grade
20 questions
Engineering Ethics Test
Quiz
•
9th - 12th Grade
10 questions
Understanding Wind Turbine Blades
Quiz
•
8th Grade - University
15 questions
Quiz on Safety and Design
Quiz
•
9th Grade - University
11 questions
Fluid Power Question set 1
Quiz
•
9th - 12th Grade
11 questions
Understanding Generators
Quiz
•
9th Grade - University
20 questions
WELCOME TEST
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Engineering
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
29 questions
CCG 2.2.3 Area
Quiz
•
9th - 12th Grade
10 questions
SAT Focus: Geometry
Quiz
•
10th Grade
15 questions
PRESENTE CONTINUO
Quiz
•
9th - 12th Grade