Search Header Logo

Coding 2 Performance Final

Authored by Heather Coombs

Computers

6th - 8th Grade

Coding 2 Performance Final
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 • 4 pts

What is a correct syntax to output "Hello World" in Python?

echo("Hello World");
print "Hello World"
print("Hello World")
PRINT("Hello World)

2.

MULTIPLE CHOICE QUESTION

30 sec • 4 pts

Which is NOT a legal variable name?

my_var2
Myvar
myVar1
2Var

3.

MULTIPLE CHOICE QUESTION

30 sec • 4 pts

What value would the following operation return: x=12%4

x=3
x=3.0
x=0
Syntax Error

4.

MULTIPLE CHOICE QUESTION

30 sec • 4 pts

What is the correct way to create a function called myFunction in Python?

function myFunction():
def myFunction():
create myFunction():
myFunction() =

5.

MULTIPLE CHOICE QUESTION

30 sec • 4 pts

In Python, "Hello" is the same as 'Hello'.

True
False

6.

MULTIPLE CHOICE QUESTION

30 sec • 4 pts

In Python, which symbol is used to multiply numbers?

X
*
/
%
#

7.

MULTIPLE CHOICE QUESTION

30 sec • 4 pts

In Python, which symbol is used to divide numbers?

X
*
/
%
#

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?