
Quick Lookup - Printing Variables
Authored by Peter Billett
Information Technology (IT)
8th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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
20 questions
SOAL UJIAN INFORMATIKA KELAS VIII
Quiz
•
8th Grade
16 questions
4.1 Kod Arahan
Quiz
•
1st Grade - University
15 questions
5-sinf. Kompyuter va Internet Asoslari
Quiz
•
5th Grade - University
20 questions
TEKNOLOGI INFORMASI DAN KOMUNIKASI KELAS VIII
Quiz
•
8th Grade
15 questions
6-sinfl. Ofis dasturlari va Scratch
Quiz
•
6th Grade - University
20 questions
INFORMATIKA KELAS 8
Quiz
•
8th Grade
17 questions
Programski jezik Python
Quiz
•
8th Grade
21 questions
Direct Data Entry Devices, Advantages and Disadvantages
Quiz
•
7th Grade - 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
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
20 questions
7th grade ELA Vocabulary Review
Quiz
•
7th - 8th Grade
22 questions
Phases of the moon
Quiz
•
8th Grade
10 questions
Cell Organelles and Their Functions
Interactive video
•
6th - 10th Grade
14 questions
finding slope from a graph
Quiz
•
8th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
7 questions
Path and Ortho Greek bases
Quiz
•
6th - 8th Grade
20 questions
Relative Pronouns
Quiz
•
4th - 8th Grade
8 questions
8th U6L1: Organizing Data
Quiz
•
8th Grade