(1/22)APCS  15 WEEKS to go until AP EXAM

(1/22)APCS 15 WEEKS to go until AP EXAM

Assessment

Flashcard

others

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

10 questions

Show all answers

1.

FLASHCARD QUESTION

Front

The code below is the syntax (rules) of how to make an if else statement. Which of the following is true in the codes current format? Options: The code above will check ONLY ONE boolean statement, The code above will check TWO boolean statements, The code above will check THREE boolean statements

Back

The code above will check ONLY ONE boolean statement

2.

FLASHCARD QUESTION

Front

The code below is the syntax (rules) of how to make a if-else-if statement. Which of the following is true in the codes current format? Options: The code above will check ONLY ONE boolean statement, The code above will check TWO boolean statements, The code above will check THREE boolean statements

Back

The code above will check TWO boolean statements

3.

FLASHCARD QUESTION

Front

What text will be output by the program? Options: Less than 10, Less than 20, Less than 30, 30 or more

Back

30 or more

4.

FLASHCARD QUESTION

Front

Which of the following is true of functions? A. Programs written with functions run more quickly, B. Functions can help remove repeated code from a program, C. Replacing repeated code with a function will reduce the number of commands the computer needs to run, D. Functions are called once but can be declared many times

Back

Functions can help remove repeated code from a program

5.

FLASHCARD QUESTION

Front

If age is 15 and day is Sunday, what text will be output by the program?

Back

Output D

6.

FLASHCARD QUESTION

Front

Can help remove repeated code from a program

Back

Function

7.

FLASHCARD QUESTION

Front

Which arrow below is pointing to the boolean condition that must be true in order for the loop to run? (in other words, which arrow lets you know when the loop will stop?)

Back

B

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?