CSP Unit 4 Quiz1t

CSP Unit 4 Quiz1t

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Shawn Kenner

Used 28+ times

FREE Resource

Student preview

quiz-placeholder

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following best describes the purpose of a planning guide?

Tracking errors that arise through user testing

Documenting comments that will need to be added to a program

Describing how a program will work or how users will interact with it

Describing the number of lines the program will have

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

The following program is run. Then the user clicks the "topButton" button ONCE. What will be displayed in the console?

Media Image
Media Image
Media Image
Media Image

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

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
Media Image
Media Image
Media Image

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

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

Media Image
Media Image
Media Image
Media Image

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Which line of code in this program is MOST likely to result in an error?

Line 1

Line 2

Line 3

Line 4

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following BEST describes the differences between sequential and event-driven programming?

In sequential programming commands run one at a time. In event-driven programming all commands run at the same time.

In sequential programming commands run faster than in event-driven programming.

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.

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.

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

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.

Comments help programmers debug issues in their own code

Comments help document how code was written for other programmers to use

Comments enable programmers to track their work throughout the development process

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?