Search Header Logo

AP CSP Unit 1 Review

Authored by Mindy Mcgowan

Computers

12th Grade

Used 27+ times

AP CSP Unit 1 Review
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

26 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Hiro is writing a program which will record the number of cars passing a certain point in town every hour in a day, then record the range of this data by subtracting the smallest total from the largest. He will use a variable, rge, to store the range. Which variable type would be most suitable for rge?

Floating point (float)

Integer (int)

Boolean

String

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Understanding of the life cycle of a program is an essential component to becoming an effective programmer. Which of the following is the best example of how the life cycle of a program should work?

Idea→write code→algorithm→execute code→debug→maintain

Idea→algorithm→write code→execute code→maintain→debug

Idea→algorithm→write code→execute code→debug→maintain

Idea→algorithm→write code→debug→execute code→maintain

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following best describes how computing devices represent information?

A computer represents information as bits which contain 8 bytes.

A computer represents data as bits which is either a 0 or a 1

A computer will either represent information as bits or bytes but not both

A computer represents data as a byte which is either a 0 or a 1

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is debugging in computer science?

The process of identifying and removing errors from a computer program.

The process of writing a computer program.

The process of running a computer program.

The process of encrypting a computer program.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a unit of information in computing?

Bit

Byte

Binary

Sampling

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How are variables used in programming?

Variables are used to display output in programming.

Variables are used to create loops in programming.

Variables are used to store and manipulate data in programming.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a compiler in computer science?

A tool that translates source code from a high-level programming language to a machine level language.

A device that stores data.

A tool for creating algorithms.

A device for executing programs.

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?

Discover more resources for Computers