Search Header Logo

CSP Unit 4 Quiz1t

Authored by Shawn Kenner

Computers

9th - 12th Grade

Used 28+ times

CSP Unit 4 Quiz1t
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

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?