Computer Science Quiz

Computer Science Quiz

10th Grade

16 Qs

quiz-placeholder

Similar activities

Python

Python

9th - 12th Grade

15 Qs

Python Casting and Input

Python Casting and Input

8th - 11th Grade

15 Qs

Python Intro 1

Python Intro 1

7th - 12th Grade

11 Qs

Principles of Computer Science

Principles of Computer Science

10th - 12th Grade

20 Qs

If Statements Part 3

If Statements Part 3

9th - 12th Grade

20 Qs

Python Fundamentals

Python Fundamentals

6th - 11th Grade

12 Qs

N5 SDD - Python input and output

N5 SDD - Python input and output

7th - 11th Grade

12 Qs

Procedures and Functions

Procedures and Functions

10th Grade

20 Qs

Computer Science Quiz

Computer Science Quiz

Assessment

Quiz

Computers

10th Grade

Medium

Created by

Anthony Moran

Used 1+ times

FREE Resource

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()

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?