Search Header Logo

Computer Science Quiz

Authored by Anthony Moran

Computers

10th Grade

Used 1+ times

Computer Science Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the Programming Language Subset (PLS) document?

To specify required parts of Python 3 for assessments

To provide additional programming languages for assessments

To restrict students from using Python 3

To introduce new programming concepts

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax for assignment in Python?

variable -> value

variable : value

value = variable

variable = value

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used for integer division in Python?

/

%

*

//

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the 'elif' statement in Python?

To execute a command if the expression is false

To check if an expression is true

To check multiple expressions in sequence

To end a loop

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which subprogram is used to read a line from a file in Python?

close()

writelines()

readline()

read()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the 'math.pi' constant represent in Python?

The value of Pi

The value of Euler's number

The value of the speed of light

The value of the golden ratio

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you make a turtle invisible in Python's turtle graphics?

visible(False)

hideturtle()

invisible()

showturtle()

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?