
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
Similar Resources on Wayground
20 questions
ICT G 7 Chapter 2.1 Input and Output Devices

Quiz
•
7th Grade - University
20 questions
Câu hỏi về PowerPoint

Quiz
•
4th Grade - University
15 questions
Understanding Loops in C Programming

Quiz
•
1st Grade - University
15 questions
Quiz về Kiểu Dữ Liệu List và Set (1)

Quiz
•
7th Grade - University
22 questions
Unit-8 (QB64) Year-6

Quiz
•
6th Grade - University
20 questions
List and Tuple Questions

Quiz
•
8th Grade
20 questions
Chapter 12 Exam Review

Quiz
•
8th Grade
15 questions
Python Data Structures

Quiz
•
6th - 8th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
20 questions
Figurative Language Review

Quiz
•
8th Grade
10 questions
Understanding the Scientific Method

Interactive video
•
5th - 8th Grade
20 questions
Scientific method and variables

Quiz
•
8th Grade
20 questions
Physical and Chemical Changes

Quiz
•
8th Grade