Navs Python Quiz

Navs Python Quiz

8th - 10th Grade

12 Qs

quiz-placeholder

Similar activities

Accessing the Internet

Accessing the Internet

9th - 10th Grade

15 Qs

Kod Arahan

Kod Arahan

9th - 11th Grade

16 Qs

Micro:bit assessment 1

Micro:bit assessment 1

7th - 8th Grade

10 Qs

AI and Python: Ch.1 Revision

AI and Python: Ch.1 Revision

9th Grade

10 Qs

Computing figures

Computing figures

4th - 12th Grade

14 Qs

conditional constructs in Java

conditional constructs in Java

10th Grade

10 Qs

Internet

Internet

7th - 10th Grade

10 Qs

Bài 1: Từ máy tính đến mạng máy tính

Bài 1: Từ máy tính đến mạng máy tính

9th Grade

10 Qs

Navs Python Quiz

Navs Python Quiz

Assessment

Quiz

Computers

8th - 10th Grade

Practice Problem

Medium

CCSS
6.EE.A.2B

Standards-aligned

Created by

Naveed Hussain

Used 16+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the output be from the following code?
print("Hello world!\nHello world!")

Hello world! Hello world!
Hello world!
Hello world!
SyntaxError
Hello world!

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the output be from the following code?
print("Hello" + str(2) + "world!")

Hello world! Hello world!
Hello2world!
Hello Hello world! world!
SyntaxError

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is python named after

The snake
Television show called Monty Python

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the term 'debug' mean?

Identify errors and fix them.
Making a calculation
A set of instructions
Looking at code

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If you want more than one option for your code, what do you use (after if)?

elif
else
ifif

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

people = ["John", "Rob", "Bob"]

print (people[1])

what would this result be?

John
Rob
Bob

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In python the ' STRING data type' can be defined as...?

holds alphanumeric text
hold whole numbers
holds numbers with a decimal point
holds either a true or false value

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?