Semester 1 review - student made questions

Semester 1 review - student made questions

Assessment

Flashcard

Computers

9th - 12th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

28 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What does my function do?

Back

It checks if two numbers are the same.

2.

FLASHCARD QUESTION

Front

Which python code correctly initializes the variable and prints BOTH values SEPARATELY? Options: x = 10, y= “Hi” ,print(x) ,print(y), 10 = x ,“Hi” = y ,print(x) ,print(y), print(x = 10),print(y = “Hi”)

Back

x = 10
y= “Hi”
print(x)
print(y)

3.

FLASHCARD QUESTION

Front

for i in range(2, 10, 2):
print(i)

Back

Code will print 2, 4, 6, 8

4.

FLASHCARD QUESTION

Front

What will be printed?
x = 5
y= 4
z = 3
x=y
print( x+y+z)

Back

11

5.

FLASHCARD QUESTION

Front

When does the else block in an else statement execute?

Back

It executes when the if condition is false.

6.

FLASHCARD QUESTION

Front

The variable ‘is_raining’ determines whether or not it is raining. What is most likely the data type? Options: int, String, Boolean, float

Back

Boolean

7.

FLASHCARD QUESTION

Front

In the context of software, what is an “interface”?

Back

The part of the program that interacts with the user

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?