
SWE++ Review
Authored by Pitt SWE
Other
6th - 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
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec β’ 1 pt
Which of the following is NOT a valid variable name?
cookies_left = 0
cookiesLeft = 0
cookies left = 0
COOKIESLEFT = 0
2.
MATCH QUESTION
1 min β’ 1 pt
Match the variables to their correct data types!
float
x = 5
integer
name = "Sarah"
Boolean
result = True
string
y = 5.87
3.
MULTIPLE CHOICE QUESTION
30 sec β’ 1 pt
x = 5.5
y = 1.0
Result of x += (2 * y) is:
7.5
2.0
6.5
None of these
4.
MULTIPLE CHOICE QUESTION
30 sec β’ 1 pt
age = 11
What will happen if we write:
print("I am " + age + " years old!")
The code will output: I am 11 years old!
There will be an error because we forgot to convert the age variable to a string
There will be an error because you can't print variables
The code will output:
Iam11yearsold!
5.
MULTIPLE CHOICE QUESTION
30 sec β’ 1 pt
What will happen if we write:
number = input("Enter a number: ")
result = number - 2
print(result)
We will print out the result of number - 2
Nothing will happen
There will be an error because we forgot to convert number to an integer or a float
There will be an error because we can't print variables
6.
MATCH QUESTION
1 min β’ 1 pt
Match the following
We don't know how many times to run code
For loops are written like:
a variable
While loops are used when:
We know how many times to run code
While loops are controlled by:
while some_condition == True:
While loops are written like:
for i in range():
For loops are used when:
7.
MULTIPLE CHOICE QUESTION
30 sec β’ 1 pt
What will be the output of:
for i in range(3):
print(i)
0
1
2
1
2
3
0
1
2
3
0
0
0
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
25 questions
Recipe Terms
Quiz
β’
7th - 12th Grade
25 questions
IGCSE Economics - Edexcel - Section A - The Market System
Quiz
β’
8th - 12th Grade
26 questions
Food allergies
Quiz
β’
3rd Grade - Professio...
25 questions
SUMATIF TIK KELAS 7
Quiz
β’
7th Grade
25 questions
foods and drinks
Quiz
β’
7th - 9th Grade
25 questions
Soal Ulangan Kelas 7
Quiz
β’
7th Grade
27 questions
Python
Quiz
β’
6th - 12th Grade
28 questions
Google Slides
Quiz
β’
6th - 8th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
β’
KG - University
20 questions
Comparing Fractions
Quiz
β’
4th Grade
15 questions
Fractions on a Number Line
Quiz
β’
3rd Grade
20 questions
Equivalent Fractions
Quiz
β’
3rd Grade
25 questions
Multiplication Facts
Quiz
β’
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
β’
6th - 8th Grade
22 questions
fractions
Quiz
β’
3rd Grade
7 questions
The Story of Books
Quiz
β’
6th - 8th Grade
Discover more resources for Other
8 questions
2 Step Word Problems
Quiz
β’
KG - University
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
β’
6th - 8th Grade
7 questions
The Story of Books
Quiz
β’
6th - 8th Grade
20 questions
Context Clues
Quiz
β’
6th Grade
20 questions
Figurative Language Review
Quiz
β’
6th Grade
22 questions
distributive property
Quiz
β’
7th Grade
10 questions
Martin Luther King, Jr. For Kids
Interactive video
β’
1st - 12th Grade
20 questions
Slope from a Graph
Quiz
β’
8th Grade