SWE++ Review

SWE++ Review

6th - 8th Grade

30 Qs

quiz-placeholder

Similar activities

Technology Review Game

Technology Review Game

7th - 8th Grade

25 Qs

Study Guide For Computer Applications

Study Guide For Computer Applications

7th Grade

30 Qs

Latihan Word

Latihan Word

7th Grade

31 Qs

Kuiz Ulangkaji 10 - Reka Bentuk Elektronik

Kuiz Ulangkaji 10 - Reka Bentuk Elektronik

8th Grade

30 Qs

Maintenance AC system

Maintenance AC system

7th Grade

25 Qs

Gerena_Solana_Mechanisms

Gerena_Solana_Mechanisms

7th Grade

30 Qs

Basic Parts of a Computer

Basic Parts of a Computer

6th Grade

25 Qs

Pengaturcaraan

Pengaturcaraan

6th Grade

25 Qs

SWE++ Review

SWE++ Review

Assessment

Quiz

Other

6th - 8th Grade

Hard

Created by

Pitt SWE

Used 1+ times

FREE Resource

AI

Enhance your content

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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!

integer

name = "Sarah"

float

x = 5

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

for i in range():

For loops are written like:

We know how many times to run code

While loops are used when:

We don't know how many times to run code

While loops are controlled by:

a variable

While loops are written like:

while some_condition == True:

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

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?