Programming Concepts Quiz

Programming Concepts Quiz

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

Last Minute Sticker Blitz! Computer Sicence

Last Minute Sticker Blitz! Computer Sicence

9th - 12th Grade

18 Qs

GCSE - Algorithms 1

GCSE - Algorithms 1

9th - 10th Grade

20 Qs

IF and Vlookup Function

IF and Vlookup Function

9th - 10th Grade

15 Qs

Unit 4 Coding

Unit 4 Coding

9th - 11th Grade

24 Qs

CSP Basic Scratch Concepts

CSP Basic Scratch Concepts

9th - 12th Grade

20 Qs

Java Casting & Booleans

Java Casting & Booleans

10th - 12th Grade

20 Qs

CMU CS Academy Unit 5

CMU CS Academy Unit 5

9th Grade

15 Qs

Quiz - 9 on if-else

Quiz - 9 on if-else

12th Grade

15 Qs

Programming Concepts Quiz

Programming Concepts Quiz

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

CRYSTAL DEMOURA

Used 3+ times

FREE Resource

20 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

What would be the result of these 3 lines of code? x = "7" y = "5" print(x+y)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Putting one if statement inside another.

Nested ifs

Chained ifs

Combined ifs

Sequential ifs

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type has a value of True or False?

Integer

Boolean

String

Float

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The symbols used to compare values in true/false tests.

Relational Operators

Logical Operators

Arithmetic Operators

Assignment Operators

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a program, the value x = 1 is updated to be x = 2. What happened to the 1?

It is no longer stored.

It is lost.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Expression that evaluates to either True or False.

Boolean Expression

Arithmetic Expression

String Expression

Logical Expression

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Tests if at least one condition is true.

Or

And

Not

If

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?