PYTHON EXAM

PYTHON EXAM

6th - 8th Grade

15 Qs

quiz-placeholder

Similar activities

Revision checkpoint 1

Revision checkpoint 1

7th Grade

10 Qs

7th grade CS exam

7th grade CS exam

6th - 8th Grade

20 Qs

NSI : Les fonctions en Python

NSI : Les fonctions en Python

2nd Grade - University

19 Qs

python (coding)

python (coding)

3rd - 6th Grade

20 Qs

Python Quiz For Starters

Python Quiz For Starters

3rd Grade - Professional Development

17 Qs

python quiz

python quiz

1st - 12th Grade

10 Qs

Python Kids Quiz 3

Python Kids Quiz 3

3rd - 8th Grade

10 Qs

Python (7 кл)

Python (7 кл)

7th Grade

16 Qs

PYTHON EXAM

PYTHON EXAM

Assessment

Quiz

Other

6th - 8th Grade

Hard

Created by

Segun Oguntunnbi

Used 15+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

What is the data type of print(type(10))

float

int

string

output

2.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

What is the type of the following variable x=-5j

float

Real

Complex

Input

3.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

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

Print("Hello world")

Echo "Hello world"

print("Hello World")

Print "HelloWorld

4.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

How do you insert COMMENTS in Python code?

#

/*

*\

$

5.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

Which one is NOT a legal variable name?

MY_segun

MYsegun

_mySeGUN

My-segun

6.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

In Python 3, the integer ranges from -2, 147,483,648 to +2,147,483,648

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

In Python 3, Whatever you enter as input, the input() function converts it into a string

True

False

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?