
Quick Lookup - Printing Variables
Quiz
•
Information Technology (IT)
•
8th Grade
•
Hard
Peter Billett
Used 1+ times
FREE Resource
19 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code print? age = 10 print('His age is:', age)
His age is: age
His age is: 10
His age is: {age}
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of using curly braces {} in an f-string?
Example:
print(f"Hello {name}")
To add comments
To insert the value of a variable
To create a list
3.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
The function int() is used to:
Convert a string to an integer
Convert an integer to a string
Convert a string to a float
Convert an integer to an integer
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fill in the blank: The '!=' operator means ________.
not equal to
equal to
greater than
less than
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the expression '1 > 2'?
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fill in the blank: The '<' operator is used to check if one value is ________ than another.
less
greater
equal
not equal
7.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What does the '+' operator represent in programming?
Addition
Subtraction
Multiplication
Division
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
17 questions
Loģiskās Standartfunkcijas un Diagrammas Exceli
Quiz
•
8th Grade
20 questions
Computer Basics Quiz
Quiz
•
7th Grade - University
15 questions
Quiz sobre el ornitorrinco y la programación
Quiz
•
8th Grade - University
20 questions
TEKNOLOGI INFORMASI DAN KOMUNIKASI
Quiz
•
8th Grade
20 questions
Checkboxes e Campos Somente Leitura
Quiz
•
3rd Grade - University
15 questions
SNLT-HP1-B5
Quiz
•
6th - 8th Grade
15 questions
Python List Questions
Quiz
•
8th Grade
20 questions
Ch. 15 Exam Review
Quiz
•
8th 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 Information Technology (IT)
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
20 questions
Figurative Language Review
Quiz
•
8th Grade
4 questions
End-of-month reflection
Quiz
•
6th - 8th Grade
20 questions
Distribute and Combine Like Terms
Quiz
•
7th - 9th Grade
20 questions
Physical and Chemical Changes
Quiz
•
8th Grade
22 questions
Newton's Laws of Motion
Lesson
•
8th Grade