Search Header Logo

AP CSP | Conditionals Review

Authored by Cyber Professor - Mr. B

Computers

9th - 12th Grade

Used 10+ times

AP CSP | Conditionals Review
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

44 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

A program is:

a series of steps to complete a task that a computer can understand.

Python, JavaScript, Java, PHP, and Ruby

the action we want the program to take.

a condition that is false.

2.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Coding is:

Python, JavaScript, Java, PHP, and Ruby

the action of writing instructions for a computer in a language that it can understand.

a language that is more precise than English but less precise than a coding language.

a specific action to be taken if the condition is false.

3.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

What is syntax?

a catch-all for every other situation besides true.

pieces of code that direct the program to run in different ways depending on what else is happening.

a set of rules for how a language is written.

English, Chinese, or Spanish.

4.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Control flow statements:

pieces of code that direct the program to run in different ways depending on what else is happening.

determine which code is being carried out at a given time.

give the program the flexibility to go down more than one path.

all of these.

5.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Pieces of code that only run "under certain conditions":

conditional statements

control flow statments

syntax

variables

6.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

What is a condition?

JavaScript

Something that has to be true in order for an action to be carried out.

syntax

pseudocode

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

This is a catch-all for every other situation besides the one where the condition is true.

then

do

else

if

Access all questions and much more by creating a free account

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

Already have an account?