Navs Python Quiz

Navs Python Quiz

8th - 10th Grade

12 Qs

quiz-placeholder

Similar activities

UNIT 1.8 ELCE

UNIT 1.8 ELCE

10th Grade

14 Qs

Câu hỏi trắc nghiệm Tin Học 10 - Bài 10

Câu hỏi trắc nghiệm Tin Học 10 - Bài 10

10th Grade

10 Qs

For loop

For loop

8th Grade

10 Qs

CSS9_Q3M3L1_QUIZ5

CSS9_Q3M3L1_QUIZ5

9th Grade

11 Qs

BTEC Theory quiz 1: Networks and Internet

BTEC Theory quiz 1: Networks and Internet

8th - 11th Grade

16 Qs

Activity 1: How well do you know Java?

Activity 1: How well do you know Java?

9th Grade

10 Qs

THE PHOTOSHOP WINDOW

THE PHOTOSHOP WINDOW

7th - 8th Grade

10 Qs

Internet

Internet

10th Grade

12 Qs

Navs Python Quiz

Navs Python Quiz

Assessment

Quiz

Computers

8th - 10th Grade

Medium

CCSS
6.EE.A.2B

Standards-aligned

Created by

Naveed Hussain

Used 16+ times

FREE Resource

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?

Discover more resources for Computers