Hi Python!

Hi Python!

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

IP ADDRESSING AND ITS VERSION

IP ADDRESSING AND ITS VERSION

11th Grade

15 Qs

8525 AQA GCSE  3.1.1 Pseudo-code

8525 AQA GCSE 3.1.1 Pseudo-code

10th - 11th Grade

14 Qs

Examen final algoritmo

Examen final algoritmo

11th Grade

12 Qs

After Effect Intoduction

After Effect Intoduction

10th Grade - University

15 Qs

OOP 1 Undiksha

OOP 1 Undiksha

12th Grade - University

13 Qs

Empowerment Technologies Quiz 2

Empowerment Technologies Quiz 2

11th Grade

10 Qs

test 3.6

test 3.6

11th Grade

10 Qs

Chapter 3 Exploring Linux Filesystems

Chapter 3 Exploring Linux Filesystems

11th Grade - University

10 Qs

Hi Python!

Hi Python!

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Medium

Created by

AMIRAH SHAHIRI

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What function is used in Python to display output on the screen?

echo()

display()

show()

print()

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of the following is the correct way to assign a value to a variable in Python?

let age = 20

age == 20

age = 20

age : 20

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of these symbols is used to begin a comment in Python?

//

#

/*

<!--

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is the output of the following code?

print("5" + "5")

55

10

Error

5 5

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What type of error will the following code produce?

SyntaxError

TypeError

ValueError

NameError

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is the correct way to write a string in Python?

"Hello"

'Hello'

"""Hello"""

All of the above

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of these variable names is invalid in Python?

my_var

2ndValue

_count

userName

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

Already have an account?