
Quiz #5 - Python
Quiz
•
Instructional Technology
•
University
•
Practice Problem
•
Medium
Carmeli Marie Joy Samson
Used 9+ times
FREE Resource
Enhance your content in a minute
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
What is Python syntax for creating a variable and assigning the number 10 to it?
def variable_name = 10
variable_name = 10
new variable_name = 10
variable_name == 10
2.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
Which of the following defined variables is a string?
cool_variable_2
cool_variable_4
cool_variable_3
cool_variable_1
3.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
What is the value of modulo_varibale in the following expressions?
modulo_variable = 14 % 4
3.5
56
2
4
4.
MULTIPLE CHOICE QUESTION
45 sec • 3 pts
How does one define multi-line string in Python?
***
Like
This
***
###
Like
This
###
" " "
like
This
" " "
5.
MULTIPLE CHOICE QUESTION
45 sec • 3 pts
How do you combine two strings?
string1 + string2
string1.concatenate(string2)
string1.combine(string2)
6.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
What is the difference between float and int?
A float can only be used with whole numbers. An int can be any number with decimal point.
A float represents decimal quantities. An int represents whole numbers.
A float contains text information. An int is any number.
7.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
What number is saved to exponented_variable in the following expression?
exponented_variable = 2 ** 4
16
8
32
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
Already have an account?
Similar Resources on Wayground
17 questions
Software Engineering Design Phase
Quiz
•
University
15 questions
ICT 9 Q3 M5
Quiz
•
9th Grade - University
10 questions
Algoritmos y Programación
Quiz
•
7th Grade - University
10 questions
DIAGRAMA DE FLUJO
Quiz
•
University
18 questions
Programación Medio Curos
Quiz
•
University
15 questions
Understanding Motor Vehicle Engines
Quiz
•
12th Grade - University
10 questions
NodeMcu - Programacion Nivel Intermedio
Quiz
•
University
10 questions
Final Term Formative Assessment No. 2
Quiz
•
University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Instructional Technology
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
9 questions
Principles of the United States Constitution
Interactive video
•
University
18 questions
Realidades 2 2A reflexivos
Quiz
•
7th Grade - University
10 questions
Dichotomous Key
Quiz
•
KG - University
25 questions
Integer Operations
Quiz
•
KG - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University
20 questions
SER vs ESTAR
Quiz
•
7th Grade - University
