Python.Comp Quiz (Python Coding)

Python.Comp Quiz (Python Coding)

9th Grade

40 Qs

quiz-placeholder

Similar activities

Spring Final Review Part II

Spring Final Review Part II

9th - 12th Grade

35 Qs

Python

Python

9th Grade

40 Qs

Operators in Python

Operators in Python

University

43 Qs

String in Python

String in Python

University

36 Qs

Python Assessment 1

Python Assessment 1

7th - 9th Grade

40 Qs

standard input output

standard input output

University

41 Qs

JS Lesson 31-72

JS Lesson 31-72

12th Grade - University

40 Qs

Variable Methods in Python

Variable Methods in Python

12th Grade

35 Qs

Python.Comp Quiz (Python Coding)

Python.Comp Quiz (Python Coding)

Assessment

Quiz

Computers

9th Grade

Medium

Created by

Noel Lopes

Used 15+ times

FREE Resource

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)

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?