Computer Science Principles Quiz unit 2

Computer Science Principles Quiz unit 2

9th Grade

27 Qs

quiz-placeholder

Similar activities

Unit 2 test

Unit 2 test

9th Grade

30 Qs

Python podsumowanie

Python podsumowanie

9th - 12th Grade

32 Qs

Функції в Python

Функції в Python

9th Grade

24 Qs

GCSE Quiz on Variable Names and Data Types

GCSE Quiz on Variable Names and Data Types

9th - 10th Grade

30 Qs

CSP Unit 7 Review Code.org

CSP Unit 7 Review Code.org

9th - 12th Grade

28 Qs

Computer Systems Homework

Computer Systems Homework

7th - 9th Grade

24 Qs

Сестрорецк 2025 Python №32 Тест

Сестрорецк 2025 Python №32 Тест

9th - 12th Grade

22 Qs

Ôn tập lớp 7 - Phần 6 (Đề Cương Word Nghề)

Ôn tập lớp 7 - Phần 6 (Đề Cương Word Nghề)

KG - 12th Grade

25 Qs

Computer Science Principles Quiz unit 2

Computer Science Principles Quiz unit 2

Assessment

Quiz

Computers

9th Grade

Medium

Created by

Alvin Garza

Used 12+ times

FREE Resource

27 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a predicate in computer science?

A type of variable

A type of loop

A type of function

A type of condition

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the MOD operator do?

Adds two numbers

Multiplies two numbers

Divides two numbers and gives the remainder

Subtracts two numbers

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the IF statement in programming?

To repeat a block of code

To define a variable

To make a decision based on a condition

To import a library

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of 17 MOD 5?

2

3

4

5

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of procedural abstraction?

To make code more flexible

To create variables

To import libraries

To define functions

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of a script variable?

To store temporary data within a script

To define a function

To import a library

To create a loop

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of 10 MOD 3?

0

1

2

3

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?