
Quiz #5 - Python
Authored by Carmeli Marie Joy Samson
Instructional Technology
University
Used 9+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
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
Técnicas e Instrumentos para la Recolección de Datos
Quiz
•
University
10 questions
Configuraciones de Amplificadores Operacionales
Quiz
•
University
10 questions
Sinarmas Training
Quiz
•
University
15 questions
Cuestionario sobre PLC y Automatización
Quiz
•
11th Grade - University
16 questions
UTS Metode Penelitian Pendidikan Matematika
Quiz
•
University
15 questions
Startup Survival Quiz 🔥
Quiz
•
University
10 questions
Sec. 8: Scripting Basics
Quiz
•
University
14 questions
Supervised & UnSupervised & Reinforcement Learning
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Instructional Technology
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University