CS Principles Unit 3 Assessment

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/13

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

14 Terms

1
New cards

In which of the following stages of the development process is a team MOST likely to interview a potential user of an app?

A. investigating and reflecting
B. designing
C. prototyping
D. testing

investigating and reflecting

2
New cards

Which of the following best describes the purpose of a design specification?
A. Tracking errors that arise through user testing
B. Documenting comments that will need to be added to a program
C. Describing the requirements for how a program will work or users will interact with it
D. Listing detailed questions that will be asked of users during interviews

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

3
New cards

Which of the following BEST describes the differences between sequential and event-driven programming?
A. In sequential programming commands run one at a time. In event-driven programming all commands run at the same time.
B. In sequential programming commands run faster than in event-driven programming.
C. In sequential programming each command is run many times in sequence. In event-driven programming all commands are run a single time as an event.
D. 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.

. 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.

4
New cards

Which of the following is NOT a reason to include comments in programs
A. Comments help the computer decide whether certain components of a program are important.
B. Comments help programmers debug issues in their own code
C. Comments help document how code was written for other programmers to use
D. Comments enable programmers to track their work throughout the development process

Comments help the computer decide whether certain components of a program are important.

5
New cards

The development process consists of the following cycle:
design -> implement/coding -> testing

In which phase would you be thinking of ideas and writing them down on paper?
A. design
B. implement/coding
C. testing
D. none of the above

design

6
New cards

The development process consists of the following cycle:
design -> implement/coding -> testing

In which phase would you be programming your solution?
A. testing
B. design
C. implement/coding
D. none of the above

C. implement/coding

7
New cards

The development process consists of the following cycle:
design -> implement/coding -> testing

In which phase would you be more likely to be looking for bugs in your code?

Top of Form
A. design
B. implement
C. testing
D. none of the above

testing

8
New cards

What is event-driven programming?

Top of Form
A. when a program contains no interaction with the user
B. when a program's code is triggered by "events" taking place, such as mouse clicks
C. when a program doesn't run due to errors
D. there is no such thing as event-driven programming

when a program's code is triggered by "events" taking place, such as mouse clicks

9
New cards

Comments are a form of program documentation that you can use to keep track of what your code does

Top of Form
A. TRUE
B. FALSE

True

10
New cards

Which of the following are examples of program output?
A. video on the screen
B. text on the screen
C. images on the screen
D. all of the above

all of the above

11
New cards

Which of the following can be considered parts of the development cycle?
A. designing
B. prototyping/implementing/coding
C. testing
D. all of the above are parts of the development cycle

all of the above are parts of the development cycle

12
New cards

Which of the following describes the process of identifying and correcting errors in your code?

Top of Form
A. predicates
B. algorithms
C. abstracting
D. debugging

debugging

13
New cards

Which of the following is true about event-driven programming?
A. event-driven programming doesn't exist
B. event-driven programmers never collaborate
C. only one "event" is allowed in an event-drive program
D. an "event" occurs as a response to a user action, like pushing a key on the keyboard

an "event" occurs as a response to a user action, like pushing a key on the keyboard

14
New cards

Which of the following is true about using comments?
A. Comments can help programmers keep track of what their code does.
B. Comments are not helpful.
C. Comments should never be used.
D. Comments are only used once and never again.Bottom of Form

Comments can help programmers keep track of what their code does.