L5 SDD Nov

L5 SDD Nov

9th Grade

15 Qs

quiz-placeholder

Similar activities

Cyber Security

Cyber Security

1st - 10th Grade

10 Qs

Acceptable Use Policy

Acceptable Use Policy

6th - 9th Grade

16 Qs

Alat Proses

Alat Proses

9th Grade

20 Qs

9.1 Homework #3

9.1 Homework #3

9th Grade

20 Qs

Google Aptitude Test

Google Aptitude Test

KG - University

10 Qs

BÀI KIỂM TRA GIỮA KÌ 2 LỚP 5

BÀI KIỂM TRA GIỮA KÌ 2 LỚP 5

1st - 10th Grade

10 Qs

Pengetahuan Dasar Komputer

Pengetahuan Dasar Komputer

9th - 12th Grade

20 Qs

BÀI 8. SẮP XẾP VÀ LỌC DỮ LIỆU

BÀI 8. SẮP XẾP VÀ LỌC DỮ LIỆU

1st - 12th Grade

10 Qs

L5 SDD Nov

L5 SDD Nov

Assessment

Quiz

Computers

9th Grade

Hard

Created by

Des Hamilton

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which data types does Python distinguish between?

String, Integer, Boolean

String, Integer, Real

String, Real, Boolean, Integer

String, Boolean

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What does the print() function do?

Display output on the screen

Take input from the user

Perform arithmetic operations

Generate random numbers

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the purpose of the input() function?

Stop and wait for the user to enter a value for the program to use

Generate random numbers

Display output on the screen

Perform arithmetic operations

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which logical operator is used when two or more conditions need to be true before some code is run?

AND

NOT

OR

XOR

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the largest random number that could be created using random.randrange(10)?

0

9

10

1

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What are the largest and smallest random numbers that could be created using random.randint(1,6)?

1, 5

0, 6

1, 6

0, 5

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the purpose of a fixed loop in programming?

To generate random numbers

To perform input validation

To repeat a block of code a set number of times

To run the code until a specific condition is met

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?