Search Header Logo

1 Syntax and Variables

Authored by P Bailey

Computers

9th Grade

Used 182+ times

1 Syntax and Variables
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which syntax is correct?

print ("Hello world!)

print (Hello world!)

print "Hello world

Print ("Hello world!")

print ("Hello world!")

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

PREDICT: What will happen when this code is executed? Type what will be output to the screen!


print (" I like cheese! ")

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Type out this code correctly...


PRINT ("Hello")

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the output be from the following code?


print(Hello world!)

print(Hello world!)

Syntax Error

Hello world!

Hello world

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Type out this code correctly...


print ( Hello )

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the output be from the following code?


print("Hello world!")

Hello World!

Hello world!

Syntax error

"Hello world!"

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

PREDICT: What will be displayed when this code is executed / run?


biscuits = 20

print (biscuits)

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?