Sem 1 Final Review Computer Programming

Sem 1 Final Review Computer Programming

9th - 12th Grade

35 Qs

quiz-placeholder

Similar activities

uCertify Chapter 8 Test

uCertify Chapter 8 Test

8th - 12th Grade

30 Qs

L2 U2 pre-exam quiz

L2 U2 pre-exam quiz

12th Grade

30 Qs

Foundations Chapter 5

Foundations Chapter 5

9th - 12th Grade

31 Qs

Module 2-3 Assessment Part 2 of 2

Module 2-3 Assessment Part 2 of 2

9th - 12th Grade

30 Qs

Scratch quiz

Scratch quiz

9th Grade

30 Qs

uCertify UID Chapter 7 Test

uCertify UID Chapter 7 Test

8th - 12th Grade

30 Qs

J276 2.1 Algorithms

J276 2.1 Algorithms

9th Grade

33 Qs

WEEK-01 DISCUSSION

WEEK-01 DISCUSSION

11th Grade

30 Qs

Sem 1 Final Review Computer Programming

Sem 1 Final Review Computer Programming

Assessment

Quiz

Computers

9th - 12th Grade

Easy

Created by

TRACY RIDEY

Used 4+ times

FREE Resource

35 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is used to compare two values and determine whether the condition of an if statement is true or false? (3 points)

Logic

Order of Operations

Relational Operators (<,>,=)

Variables

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of statement tells the computer to execute a block of code when a certain condition is true? (3 points)

if

input

else

print

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens in a program if an if statement is false? (3 points)

An error message is returned, and the program crashes

The block of code will be executed

The block of code is skipped over, and the program is continued

The user is prompted for a different type of statement

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the relational operator " > " mean?

Equal to

Less than

Greater than

Not equal to

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following if statements uses a Boolean condition to test: "If you are 18 or older, you can vote"?

if(age <= 18):

if(age >= 18):

if(age == 18):

if(age != 18):

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Read the following statement:

   if(x >= 2 and x < 5):

Which values of x make the if condition true?

1,2,3,4

1,2,3,4,5

2,3,4

2,3,4,5

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Read the following statement:

A word that is a noun AND starts with a vowel, but does NOT end in a consonant.

Which of the following meets all the conditions?

Apply

Emma

Involve

Oliver

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?