Search Header Logo

Python.Comp Quiz (Python Coding)

Authored by Noel Lopes

Computers

9th Grade

Used 17+ times

Python.Comp Quiz (Python Coding)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

The rules used to write a language is called...

String

Syntax

Sync

Solution

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which function is called to display a message on the screen?

input

int

print

chr

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is a variable used for?

To display a message.

A place for hiding data.

A place for storing data.

To perform calculations.

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which symbol needs to be at the beginning and end of a string?

()

'

#

"

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which operator is used to assign a value?

<=

==

!=

=

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

The == operator is used to ______ a value.

change

compare

assign

add

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Look at the code shown.

What is the output of this code?

practice makes perfect

line

perfect makes practice

print(line)

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?