APCSP Unit 1

APCSP Unit 1

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

Programming language paradigm & translator

Programming language paradigm & translator

12th Grade

20 Qs

Programming Terms & Structures

Programming Terms & Structures

11th Grade

18 Qs

Pseudocode

Pseudocode

9th - 11th Grade

15 Qs

high and low level languages 02

high and low level languages 02

11th Grade

20 Qs

Computer

Computer

10th Grade

15 Qs

Algorithms and Programming Languages

Algorithms and Programming Languages

10th Grade

20 Qs

Translators

Translators

9th - 12th Grade

17 Qs

Python programming

Python programming

6th - 12th Grade

16 Qs

APCSP Unit 1

APCSP Unit 1

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Thomas Wright

Used 40+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an important step to take before beginning to write the code for a program?

Plan the logic and anticipated input/output of the code

Randomly generate the variable names to be used in the program

Plan an update and maintenance schedule for the program

Write on paper or a whiteboard all the code you intend to type

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following could be considered part of the beginning “state” of a Scratch program?

Visibility of sprites

The background image

The value of a variable

All of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

As part of the lifecycle of a program, after a computer programmer writes the code, it is then compiled and usually used to create an executable file to be run on the CPU. The code that is run through the compiler is known as what?

Machine Code

Source Code

Binary Code

RAM

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Subana is writing a program which will calculate the mean average of a set of numbers by adding the numbers and dividing the result by the amount of numbers. She will use a variable, avg, to store this average. Which variable type would be most suitable for avg?

Floating point (float)

Boolean

Integer

String

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Tom created the following code segments in Scratch, which are intended to create a short piece of music between them.

When the green flag is clicked, each of the three scripts is intended to run in turn, however, due to a mistake in the code, this does not happen. Which of the following changes could Tom make to ensure that all three of the scripts run as intended?

Delete the block

"Set volume 100 %"

Replace the block "broadcast sound3" with the block "broadcast sound2"

Both of the above options

None of the above options

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Many tasks, large and small, can be solved by performing a specific set of actions and making a particular set of decisions in very precise ways. These sets of actions and decisions are known as what?

Abstraction

Algorithms

Building Blocks

Processes

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following could be represented by a boolean variable?

The direction a car proceeds in at a 4-way intersection

The number of tech support requests made in a day

Whether a guest at a wedding is allergic to peanuts

The weight of a truck as recorded at a weigh-station

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?