Python 2.1 quiz

Python 2.1 quiz

9th - 12th Grade

6 Qs

quiz-placeholder

Similar activities

PERFORMING COMPUTER OPERATIONS

PERFORMING COMPUTER OPERATIONS

11th Grade

10 Qs

ความรู้เบื้องต้นภาษา Python-2

ความรู้เบื้องต้นภาษา Python-2

9th Grade

10 Qs

Word 2016 Lesson 1

Word 2016 Lesson 1

9th - 12th Grade

10 Qs

Tugas sistem komputer

Tugas sistem komputer

10th Grade

10 Qs

Simulasi DIgital - Logika Algoritma dan Peta Minda

Simulasi DIgital - Logika Algoritma dan Peta Minda

10th Grade

10 Qs

Types of Mass Media

Types of Mass Media

10th Grade - Professional Development

11 Qs

Programming basics

Programming basics

10th - 11th Grade

11 Qs

Programming Quiz 1

Programming Quiz 1

11th Grade

11 Qs

Python 2.1 quiz

Python 2.1 quiz

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Easy

Created by

Scott Freeman

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

6 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • 1 pt

explain what would print in the following code without coding it

print("My \nname \n is \nBond.", end=" ")

print("James Bond.")

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

3 mins • 1 pt

Correct the following code so it will work in the manner it is intended using the sep=

print(sep="&", "fish" , "chips")

Evaluate responses using AI:

OFF

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following lines of code would make a SyntaxError?

print('Freg\'s book.')

print (" ' Greg's book.' ")

print(' "Greg\'s book." ')

print("Greg\'s book.")

print(' "Greg's book." ')

4.

OPEN ENDED QUESTION

3 mins • 1 pt

Explain what the part of the code that has sep= "-*-" would do to each argument of a line of code?

Evaluate responses using AI:

OFF

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax to print "Hello, World!" in Python?

print(Hello, World!)

print("Hello, World!")

echo "Hello, World!"

printf("Hello, World!")

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is the correct way to print "parsley, sage, rosemary, and thyme"?

print parsley, sage, rosemary, and thyme
print "parsley, sage, rosemary, and thyme"
print("parsley, sage, rosemary, and thyme")
print[parsley, sage, rosemary, and thyme]

Access all questions and much more by creating a free account

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

Already have an account?