Coding 2 Performance Final

Coding 2 Performance Final

6th - 8th Grade

20 Qs

quiz-placeholder

Similar activities

Python programming

Python programming

6th - 12th Grade

16 Qs

Python basic commands

Python basic commands

8th Grade

20 Qs

Basics Python

Basics Python

8th - 10th Grade

20 Qs

Print command Quiz Day2

Print command Quiz Day2

5th - 12th Grade

16 Qs

Python-Basic

Python-Basic

3rd Grade - University

15 Qs

Python basics yr7

Python basics yr7

6th - 9th Grade

20 Qs

Python_2R

Python_2R

KG - Professional Development

20 Qs

quiz dasar python

quiz dasar python

1st Grade - University

20 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?