CSP Unit 3 Assessment

CSP Unit 3 Assessment

Assessment

Flashcard

Computers

9th - 12th Grade

Practice Problem

Medium

Created by

Nathanael Baker

Used 1+ times

FREE Resource

Student preview

quiz-placeholder

10 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Actions in the picture helpful in designing and developing an app?

Media Image

Back

I and III only

2.

FLASHCARD QUESTION

Front

Purpose of a design specification?

Back

Describing the requirements for how a program will work or users will interact with it

3.

FLASHCARD QUESTION

Front

What will the “background color” of the “topButton” be when the program is finished running?

Media Image

Back

blue

4.

FLASHCARD QUESTION

Front

If the user does NOT click the button what color will “topButton” be when this program finishes running?

Media Image

Back

blue

5.

FLASHCARD QUESTION

Front

What will be displayed in the console when the user clicks the "topButton" button ONCE? Options: cat, bird, dog, dog, cat, bird, cat, dog, bird, bird, cat, dog

Media Image

Back

cat, dog, bird

Answer explanation

Once the program is run, lines 1 and 5 will run, in that order, right away, meaning that the first two words displayed will be cat and dog respectively. The word bird will be displayed once the user clicks the “topButton” and causes line 3 to run.

6.

FLASHCARD QUESTION

Front

The following program is run. Then the user clicks the “bottomButton” ONCE and then clicks the “topButton” ONCE. What will be displayed in the console?

Media Image

Back

chicken, pig, cow

Answer explanation

Walking through the code run based on the description in the question:

Line 7 will run as soon as the program is run, displaying chicken to the console.

The user clicks the “bottomButton” ONCE which causes line 5 to run, displaying pig to the console.

The user clicks the “topButton” ONCE which causes line 2 to run, displaying cow to the console.

7.

FLASHCARD QUESTION

Front

The following program is run. Then the user clicks the “bottomButton” TWO TIMES. What will be displayed in the console?

Media Image

Back

banana dragon fruit cherry cherry

Answer explanation

Walking through the code run based on the description in the question:

Lines 4 and 8 will run as soon as the program is run, in that order, displaying banana then dragon fruit to the console.

The user clicks the “bottomButton” the first time which causes line 6 to run, displaying cherry to the console.

The user clicks the “bottomButton” the second time which causes line 6 to run again, displaying cherry to the console again.

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?