Search Header Logo

Marking Period 2 Test

Authored by Patrick Bryar

Computers

9th - 11th Grade

Marking Period 2 Test
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

34 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which character is used to give comments in python program?

&

@

&

#

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type can have one of two values: True or False?

boolean

variable

modulo

interpreter

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the output be from the following code?
print("Hello world!")

SyntaxError
Hello world!
"Hello world!"
print(Hello world!)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the output be from the following code? print(5+4)

5+4

9

SyntaxError

print(5+4)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

print("12"*3)

What would this print?

36

121212

24

12*3

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the output be from the following code?
print("3+4")

7
3+4
34
SyntaxError

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the output be from the following code?
print("Hello world!\nHello world!")

Hello world! Hello world!
Hello world!
Hello world!
SyntaxError
Hello world!

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?