CSP Unit 3 Review
Which of the following is NOT a reason to include comments in programs
Comments help the computer decide whether certain components of a program are important.
Which of the following best describes the purpose of a design specification?
Describing the requirements for how a program will work or users will interact with it
Which of the following BEST describes the differences between sequential and event-driven programming?
In sequential programming commands run in the order they are written. In event-driven programming some commands run in response to user interactions or other events.
Match each term with the correct example The user clicks a button A screen with buttons, images and text A song is played
Input User Interface Output
Which line of code in this program is MOST likely to result in an error?
Line 2
The following program is run. Then the user clicks the "bottomButton" TWO TIMES. What will be displayed in the console (each on its own line)?
bbb, ddd, ccc, ccc
If the user does NOT click the button what color will "topButton" be when this program finishes running?
blue
What will the "background-color" of the "topButton" be when the program is finished running?
blue
The following program is run. Then the user clicks the "topButton" button ONCE. What will be displayed in the console (each on it's own line)?
cat, dog, bird
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 (each on it's own line)?
ccc, bbb, aaa
In which of the following stages of the development process is a team MOST likely to interview a potential user of an app?
investigating and reflecting