
IT1X54 Programming Essentials Week 2
Authored by Bobby Liu
Professional Development
12th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
x = 1
y = x
x = y + 2
y = y + y
What is the final value of x and y?
x = 3
y = 4
x = 4
y = 2
x = 2
y = 4
x = 3
y = 2
2.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What are variables and which is the correct example of a variable?
They are memory locations used to store data. x in x = 1 is a variable.
They are data stored in memory locations. 1 in x = 1 is a variable.
They are memory locations used to store data. 1 in x = 1 is a variable.
They are data stored in memory locations. x in x = 1 is a variable.
3.
MULTIPLE SELECT QUESTION
45 sec • 2 pts
Which of the following are valid variables?
name
1name
name1
name@1
n_a_m_e
4.
FILL IN THE BLANK QUESTION
1 min • 5 pts
Give 3 examples of reserved words that cannot be used for naming a variable.
5.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Which of the following are correct representation of literals?
print('123')
print(Hello World)
print(True)
6.
MULTIPLE SELECT QUESTION
1 min • 3 pts
Look at the following and choose the correct answers.
x = x + 10
x is a literal
x + 10 is an expression
+ is an operator
10 is a variable
7.
FILL IN THE BLANK QUESTION
5 mins • 10 pts
Given the following statement, put bracket(s) at the right spot to get a result of 10.
result = 1 + 2 / 3 * 4 - 5 + 6 * 2
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
10 questions
Hydraulics
Quiz
•
12th Grade
10 questions
Code of Ethics for Teachers
Quiz
•
KG - Professional Dev...
10 questions
3BGU PLAN COMERCIAL
Quiz
•
12th Grade
10 questions
Kuis Dasar K3 for Safety Leadership
Quiz
•
1st Grade - University
14 questions
Guess The Apps
Quiz
•
KG - Professional Dev...
15 questions
Interactive Game for WP Develophilia ID Batch 1
Quiz
•
KG - Professional Dev...
12 questions
Ẩm thực Hà Nội(2)
Quiz
•
9th - 12th Grade
10 questions
тест по стандартам 3
Quiz
•
1st 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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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