IT1X54 Programming Essentials Week 2

Quiz
•
Professional Development
•
12th Grade
•
Hard

Bobby Liu
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
7 questions
Sistemas - Matemática 8º ano

Quiz
•
7th - 12th Grade
10 questions
BHD

Quiz
•
1st Grade - Professio...
10 questions
Robotics/Coding Pop Quiz

Quiz
•
4th Grade - Professio...
15 questions
The Rush Challenge

Quiz
•
1st - 12th Grade
15 questions
Xiaomi 12 Pro

Quiz
•
KG - University
10 questions
SAFETY GAME

Quiz
•
1st - 12th Grade
13 questions
Técnicas de conteo y probabilidad

Quiz
•
1st Grade - Professio...
8 questions
UTILITARIANISM

Quiz
•
11th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Professional Development
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
6 questions
Rule of Law

Quiz
•
6th - 12th Grade
15 questions
ACT Math Practice Test

Quiz
•
9th - 12th Grade
18 questions
Hispanic Heritage Month

Quiz
•
KG - 12th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
10 questions
Would you rather...

Quiz
•
KG - University
13 questions
BizInnovator Startup - Experience and Overview

Quiz
•
9th - 12th Grade