CSP Unit 3 Review

Ace your homework & exams now with Quizwiz!

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


Related study sets

Chapter 17 - cardiac muscle tissue anatomy and electrophysiology

View Set

6.6 - Hormones, homeostasis and reproduction

View Set

6 characteristics of a market economy

View Set

Chapter 15, Stockholder's Equity Key Terms

View Set