Search Header Logo
Semester 1 review - student made questions

Semester 1 review - student made questions

Assessment

Flashcard

Computers

9th - 12th Grade

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

28 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What does my function do?

Media Image

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?