Coding 2 Performance Final

Coding 2 Performance Final

6th - 8th Grade

20 Qs

quiz-placeholder

Similar activities

Python basics

Python basics

2nd - 9th Grade

20 Qs

Python Basics

Python Basics

KG - University

16 Qs

Python

Python

8th Grade

20 Qs

Python KS3

Python KS3

8th Grade

17 Qs

Python Recap

Python Recap

7th Grade - University

20 Qs

Intro to Python

Intro to Python

6th - 8th Grade

20 Qs

Python 1

Python 1

7th - 9th Grade

20 Qs

Programming Techniques Survey

Programming Techniques Survey

8th - 12th Grade

19 Qs

Coding 2 Performance Final

Coding 2 Performance Final

Assessment

Quiz

Computers

6th - 8th Grade

Hard

Created by

Heather Coombs

FREE Resource

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
*
/
%
#

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?