Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

AP CSP 200PT Quizizz 10-16

Total questions: 103

Worksheet time: 13hrs 28mins

Name
Class
Date
1.
Which of the following best describes how computing devices represent information?
a)
A computer will either represent information as bits or bytes but not both
b)
A computer represents data as a byte which is either a 0 or a 1
c)
A computer represents data as bits which is either a 0 or a 1
d)
A computer represents information as bits which contain 8 bytes
2.
Which of the following is NOT true of how computers represent complex information?
a)
Computing devices use patterns of bits to represent complex information
b)
Abstraction helps represent complex information by surfacing complexity that might otherwise be hidden
c)
Depending on context the same sequence of bits may represent different types of information
d)
Common abstractions that are represented by computing devices include numbers, characters, and color.
3.
When visiting a museum Sue takes a photo of a painting with a smartphone which stores the photo as an image file. Which of the following best describes the differences between the painting itself and the photo of the painting stored on the smartphone?
a)
Both the painting and the photo are analog
b)
Sampling can be used to determine whether the analog image is an accurate representation of the painting
c)
The phone can represent the photo in either digital or analog formats depending on the sampling technique that is used
d)
The photo is a digital representation of the analog painting
4.
Your computer uses 4 bits to represent decimal numbers (0, 1, 2, 3 and so on) in binary. What is the SMALLEST number for which an overflow error occur?
a)
14
b)
15
c)
16
d)
17
5.
Which of the following is true of how computers represent numbers?
a)
With a fixed number of bits some numbers are too large to represent in a computer which will lead to overflow errors.
b)
Using a fixed but large number of bits can eliminate the possibility of round off error when representing numbers in binary
c)
Using a fixed but large number of bits, for example 128, eliminates the possibility of overflow errors.
d)
With a large but fixed number of bits it is possible to eliminate either round-off errors or overflow errors, but not both.
6.
Which of the following is true of lossy and lossless compression algorithms?
a)
Lossy compression algorithms are used when perfect reconstruction of the original data is important.
b)
Lossy compression algorithms are typically better than lossless compression algorithms at reducing the number of bits needed to represent a piece of data.
c)
Lossless compression algorithms are only used to compress text data.
d)
Lossless compression algorithms only allow for an approximate reconstruction of the original data.
7.
Jorge is sending a large image file to a friend as part of a shared classroom project. Which of the following is most likely true if Jorge opts to compress the image before sending it?
a)
The image can no longer be represented using bits.
b)
The image will have been converted into an analog form.
c)
The image will require more pixels to display it on the screen.
d)
The image will require fewer bits in order to be represented.
8.
Which of the following is true of intellectual property?
a)
Information created on a computer is not owned by anyone since only analog information is protected under copyright law.
b)
You do not need to cite work created by someone else if both the original work and your use of it are in digital form.
c)
Creative Commons enables content creators to freely distribute their otherwise copyrighted work.
d)
Creative Commons has severely hindered broad and open access to digital information
9.
Lucy is completing a project as part of a science class using materials she found online. Which of the following is MOST LIKELY to lead to legal consequences?
a)
Modifying a piece of open source software.
b)
Using open access research for which she does not acquire a license.
c)
Failing to publish her work under a Creative Commons license
d)
Using images posted online by another student without permission or citation.
10.
Ryan is designing an app that needs to quickly send low quality photos between users. Most smartphones take much higher quality photos than Ryan needs for his app. Which answer best describes the type of compression Ryan should choose and why?
a)
Lossy compression since it typically results in smaller data sizes.
b)
Lossless compression since it ensures perfect reconstruction of the photo.
c)
Lossy compression since it ensures perfect reconstruction of the photo.
d)
Lossless compression since it typically results in smaller data sizes.
11.
Lisa takes a picture with her smartphone which she subsequently posts online. Allen finds the picture online and posts a copy of it on his website with an attached Creative Commons license. Which of the following best describes who owns the photo?
a)
Lisa owns the photo because she was the original creator and did not license the work.
b)
Allen owns the photo because only holders of a Creative Commons license can own works online.
c)
Both own the photo because creating a copy makes it her intellectual property.
d)
Lisa owns the photo because it was granted a Creative Commons license by another person online.
12.
Convert the binary (base-2) number 0011 0001 to decimal (base-10).
a)
32
b)
64
c)
49
d)
121
13.
Convert the decimal (base-10) number 129 to binary (base-2).
a)
1000 0001
b)
1100 0001
c)
0110 0110
d)
0001 1111
14.
Which of these binary (base-2) numbers is the smallest?
a)
1000 0001
b)
1100 0001
c)
0110 0110
d)
0001 1111
15.
How many numbers can be represented with an 8-bit binary system?
a)
255
b)
256
c)
128
d)
127
16.

The smallest unit of information is ?

a)

a byte (Pronounced: bite)

b)

a bit

c)

a nibble

d)

a block

e)

Fortran

17.

The smallest visual element on a video monitor is called what?

a)

Character

b)

Pixel

c)

Byte

d)

Kwerk

18.

DEFINE: Binary Code

a)

Any type of computer network that is not connected by cables of any kind.

b)

Read Only Memory- Permanent instructions that cannot be changed. It makes the BIOS function. Checks your OS.

c)

Groupings of 1's and 0's that makes information that a computer can understand.

19.

How many bits are there in a byte?

a)

4

b)

8

c)

16

d)

32

20.

In binary code, what does the sequence 1010 represent in decimal notation?

a)

8

b)

9

c)

10

d)

11

21.

Which of the following is a true statement about data compression?

a)

Lossless compression reduces data size without losing any information.

b)

Lossy compression can always be reversed to retrieve the original data.

c)

Data compression does not affect the speed of data transmission.

d)

Compressed data is always encrypted.

22.

Which of the following best describes the concept of abstraction in computer science?

a)

Writing detailed documentation for code

b)

Removing unnecessary details to focus on the high-level overview

c)

The process of debugging and fixing errors in a program

d)

The physical components that make up a computer system

23.

What does the binary sequence 1101 represent in decimal notation?

a)

11

b)

12

c)

13

d)

14

24.

What does the binary sequence 1110 represent in decimal notation?

a)

12

b)

13

c)

14

d)

15

25.

What does the binary sequence 1001 represent in decimal notation?

a)

8

b)

9

c)

10

d)

11

26.
What is the process of converting analog data to digital data called?
a)
Sampling
b)
Lossless Compression
c)
Lossy Compression
d)
Digital Conversion
27.
What is the term for the difference between the calculated value and the actual value in a calculation?
a)
Round-off Error
b)
Overflow Error
c)
Sampling
d)
Digital Conversion
28.
What is the term for a compression technique where no data is lost during compression?
a)
Lossless Compression
b)
Lossy Compression
c)
Sampling
d)
Analog Data
29.
What is the term for a compression technique where some data is lost during compression?
a)
Lossy Compression
b)
Lossless Compression
c)
Sampling
d)
Digital Data
30.
What is the term for the legal protection of creations of the mind, such as inventions and artistic works?
a)
Intellectual Property
b)
Creative Commons
c)
Sampling
d)
Digital Data
31.
What is the term for a set of licenses that allow for the distribution and use of creative works with some restrictions?
a)
Creative Commons
b)
Intellectual Property
c)
Sampling
d)
Digital Data
32.
What is the term for a sequence of eight bits?
a)
Byte
b)
Bit
c)
Binary
d)
Sampling
33.
What is the term for a system of representing data using only two options, usually 0 and 1?
a)
Binary
b)
Byte
c)
Bit
d)
Sampling
34.
What is the term for an error that occurs when a number is too large to be stored in the space allotted for it?
a)
Overflow Error
b)
Round-off Error
c)
Sampling
d)
Digital Conversion
35.

Convert the binary (base-2) number 1001 to decimal (base-10).

a)

9

b)

10

c)

16

d)

17

36.

Convert the decimal (base-10) number 20 to binary (base-2).

a)

10010

b)

00101

c)

11000

d)

10100

37.

Which of the following binary (base-2) numbers is LARGEST?

a)

11000000

b)

01111111

c)

00000001

d)

10111111

38.

How many total numbers can be represented with an 8-bit binary (base-2) system?

a)

127

b)

128

c)

255

d)

256

39.

Which of the following is true of intellectual property?

a)

Information created on a computer is not owned by anyone since only analog information is protected under copyright law.

b)

You do not need to cite work created by someone else if both the original work and your use of it are in digital form.

c)

Creative Commons enables content creators to freely distribute their otherwise copyrighted work.

d)

Creative Commons has severely hindered broad and open access to digital information

40.

What's the relationship between a byte and a bit?

a)

8 bytes in a bit

b)

4 bits in a byte

c)

10 bytes is a bit

d)

8 bits in a byte

41.

Creating simplified representations of something more complex is called:

a)

Obstruction

b)

Abstraction

c)

Substitution

d)

Flippy-Do

42.

How many bits do you need to make 21 in binary?

a)

3

b)

4

c)

5

d)

6

43.

Which is true about 3 bits?

a)

The highest number you can reach is 8, giving you 9 numbers (0-8)

b)

The highest number you can reach is 7, giving you 8 numbers (0-7)

c)

The highest number you can reach is 8, giving you 8 numbers (0-7)

d)

The highest number you can reach is 7, giving you 7 numbers (0-7)

44.

Which is true about analog vs digital?

a)

Analog is data with values that change continuously, or smoothly, over time while digital is has a finite set of possible values

b)

Analog has a finite set of possible data values while digital has data values that change continuously, or smoothly, over time

45.

Which of the following is true about creating a digital image? Select all that apply.

a)

The more sampling you do, the closer the image will look to the analog version

b)

The less sampling you do, the closer the image will look to the analog version

c)

The more pixels you have, the smaller the file size of the image

d)

The more pixels you have, the larger the file size of the image

46.

Compression is a process used to reduce the number of bits necessary to represent something.

a)

True

b)

False

47.

What is the difference between lossy and lossless compression? Select all that apply.

a)

With lossless compression, you can reverse the process and recreate the original exactly

b)

With lossy compression, no information is lost

c)

With lossless compression, the size of the file sent is NOT going to be smaller than the original

d)

Lossy compression is ok if you are just trying to send a quick silly picture to someone but if specific details were important, you should use lossless compression

e)

Lossless compression would send a higher quality image than one sent with lossy compression

48.

What is true about copyright laws?

a)

If you use someone's stuff and don't cite it, you are violating copyright laws

b)

If someone has a Creative Commons license, then you are able to use their stuff freely (as long as it follows what is written in the license)

c)

Open source means you are free to use it without worrying about copyright laws

d)

All of the above

49.

Error from attempting to represent a number that is too precise. The value is rounded.

a)

Bit

b)

Lossy Compression

c)

Sampling

d)

Round-off Error

50.

Error from attempting to represent a number that is too large.

a)

Round-off Error

b)

Data Compression

c)

Open Source

d)

Overflow Error

51.

In an ASCII file, each alphabetic, numeric, or special character is represented with an 8-bit binary number (a string of eight 0s or 1s).

a)

True

b)

False

52.

How many more numbers can be represented with 5 bits as opposed to 4?

a)

2 times as many

b)

4 times as many

c)

5 times as many

d)

10 times as many

53.

Internet Protocol

a)

Protocol that breaks data down into packets and addresses them with source and destination information

b)

A DNS attack in which numerous pings are made to the same IP, causing it to crash

c)

Protocol used by the World Wide Web. It describes how messages are formatted and interchanged, and how web servers respond to commands.

d)

Protocol that provides reliable, ordered, and error-checked delivery of a stream of packets on the internet

54.
Tranmission Control Protocol:
a)
Breaks messages into packets and addresses them
b)
A DNS attack in which numerous pings are made to the same IP, causing it to crash
c)
Protocol used by the World Wide Web. It describes how messages are formatted and interchanged, and how web servers respond to commands.
d)
Provides reliable, ordered, and error-checked delivery of a stream of packets on the internet
55.
According to the domain name system (DNS), which of the following is a subdomain of the domain code.org?
a)
educate.code.org
b)
code.com
c)
code.org/apcsp/lesson10
d)
code.co.uk
56.
Given the following network diagram, what is the minimum number of connections that must be broken or removed before computer E can no longer communicate with computer B?
a)
1
b)
2
c)
3
d)
4
57.
Andrew uses an application to track HOW LONG it takes a packet to travel from his computer to a Wikipedia server. Which of the following is he measuring?
a)
Bandwidth
b)
Latency
c)
Number of packets
d)
Router sp
58.

A _____ HTTP request is used when the user enters information (ex. user name/password) into the webpage.

a)

Get

b)

Post

c)

Login

d)

Send

59.
Which of the following best describes the basic idea of fault tolerance?
a)
A system that never fails
b)
If part of the system fails, the operation continues without interruption
c)
A program that does not allow inputs out of a range given by a programmer
d)
A program that does not allow loss of precision
60.
This is used to resolve host names to IP addresses
a)
IP address
b)
subnet mask
c)
default gateway
d)
DNS server
61.

How many bits are in an IPV4 address?

a)

32

b)

64

c)

128

d)

256

62.
The world is currently in a transition to using IPv6, a newer version of the IP protocol that uses 128-bit addresses instead of 32-bit addresses used by IPv4. What is the main problem that IPv6 was created to solve?
a)
IPv6 will allow problems with IPv4's address hierarchy to be resolved
b)
32-bit addresses could not ensure that every internet-connected device can receive a unique IP address
c)
32-bit addresses could not accommodate the increased size and amount of data traveling on the Internet as it has grown in popularity
d)
IPv4 proved unreliable in some cases where network redundancy could not be ensured
63.

Internet

a)

An easy-to-remember address for calling a web page (like www.code.org).

b)

A type of computer that forwards data across a network

c)

The principle that all Internet traffic should be treated equally by Internet Service Providers.

d)

A group of computers and servers that are connected to each other.

64.

Net Neutrality

a)

The principle that all Internet traffic should be treated equally by Internet Service Providers.

b)

Having multiple backups to ensure reliability during cases of high usage or failure

c)

A type of computer that forwards data across a network

d)

The protocol used for transmitting web pages over the Internet

65.

Packets

a)

Small chunks of information that have been carefully formed from larger chunks of information.

b)

A set of rules governing the exchange or transmission of data between devices.

c)

An easy-to-remember address for calling a web page (like www.code.org).

d)

The protocol used for transmitting web pages over the Internet

66.

Network Redundancy

a)

Having multiple backups to ensure reliability during cases of high usage or failure

b)

A type of computer that forwards data across a network

c)

Short for Domain Name System, this system translates domain names (like example.com) to IP addresses (like 93.184.216.34)

d)

American Standard Code for Information Interchange; the universally recognized raw text format that any computer can understand

67.

TCP

a)

Provides reliable, ordered, and error-checked delivery of a stream of packets on the internet. Is tightly linked with IP.

b)

The protocol used for transmitting web pages over the Internet

c)

An easy-to-remember address for calling a web page (like www.code.org).

d)

A group of computers and servers that are connected to each other.

68.

Router

a)

A set of rules governing the exchange or transmission of data between devices.

b)

A group of computers and servers that are connected to each other.

c)

A number assigned to any item that is connected to the Internet.

d)

A type of computer that forwards data across a network

69.

What is the definition of 'Input' in computing?

a)

A collaborative programming style.

b)

Data sent from a program to a device.

c)

Data sent to a computer for processing by a program.

d)

The steps or phases used to create a piece of software.

70.

Which of the following is an example of 'Output'?

a)

A printed document

b)

A mouse click

c)

A keyboard input

d)

A program statement

71.

What does 'User Interface' refer to?

a)

The steps used to debug a program.

b)

A form of program documentation.

c)

A collection of program statements.

d)

The inputs and outputs that allow a user to interact with software.

72.

What is 'Event Driven Programming'?

a)

Programming that includes debugging.

b)

Programming that runs sequentially from top to bottom.

c)

Programming that involves pair programming.

d)

Programming that runs when triggered by an event.

73.

Define 'Program Statement'.

a)

A step in the development process.

b)

A command or instruction in a program.

c)

A written description of code.

d)

A collaborative programming style.

74.

What is 'Sequential Programming'?

a)

Program statements that are documented.

b)

Program statements run in order, from top to bottom.

c)

Program statements run when triggered by an event.

d)

Program statements that are written in pairs.

75.

What is the purpose of 'Comments' in programming?

a)

To trigger events in a program.

b)

To create user interfaces.

c)

To provide documentation for people reading the code.

d)

To execute commands in a program.

76.

What does 'Debugging' involve?

a)

Creating user interfaces.

b)

Developing a new app.

c)

Finding and fixing problems in a program.

d)

Writing new program statements.

77.

What is 'Documentation' in the context of programming?

a)

A collection of program statements.

b)

A written description of how code works.

c)

A type of user interface.

d)

A step in the development process.

78.

What is the 'Development Process'?

a)

A type of user interface.

b)

A command or instruction in a program.

c)

The steps or phases used to create software.

d)

A form of program documentation.

79.

What is 'Pair Programming'?

a)

A programming style that involves debugging.

b)

A programming style where events trigger code execution.

c)

A programming style that uses comments extensively.

d)

A programming style where two programmers work together.

80.

Which of the following is NOT a form of input?

a)

Program statement

b)

Visuals

c)

Audio

d)

Tactile interaction

81.

Which of the following is a characteristic of 'User Interface'?

a)

Is a type of debugging technique.

b)

Is a form of program documentation.

c)

Includes buttons, menus, images, text, and graphics.

d)

Is a step in the development process.

82.

What is the main focus of 'Sequential Programming'?

a)

Running program statements when triggered by events.

b)

Running program statements in order.

c)

Documenting program code.

d)

Collaborative programming.

83.

What is the primary goal of 'Debugging'?

a)

To write program documentation.

b)

To develop user interfaces.

c)

To find and fix problems in a program.

d)

To create new program statements.

84.
Consider these three statements: I. Interviewing potential users of the app. II. Writing the entire program code before testing any parts of it. III. Observing users attempting to use the app. Which of the above actions would usually be helpful in designing and developing the app?
a)
I and II only
b)
I and III only
c)
II and III only
d)
I, II, and III
e)
None of these would usually be helpful
85.
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
86.

What will the “background-color” of the “bottomButton” be when the program is finished running?

a)
red
b)
orange
c)
blue
d)
green
87.

If the user DOES click the button what color will “topButton” be when this program finishes running?

a)
red
b)
blue
c)
green
d)
orange
88.

The following program is run. The user DOES NOT click the "topButton" button. What will be displayed in the console?

a)
cat bird dog
b)

cat dog

c)
cat dog bird
d)

dog cat

89.

The following program is run. Then the user clicks the “bottomButton” TWICE and DOES NOT click the “topButton”. What will be displayed in the console?

a)
cow pig chicken
b)

chicken cow cow

c)

chicken pig pig

d)
chicken pig cow
e)

bow chicka wow wow

90.
The following program is run. Then the user clicks the “bottomButton” TWO TIMES. What will be displayed in the console?
a)
apple banana cherry cherry dragon fruit
b)
banana dragon fruit cherry cherry
c)
banana dragon fruit apple apple
d)
banana cherry cherry dragon fruit
e)
chicken chicken chicken chicken chicken chicken chicken chicken chicken
91.
Which line of code in this program is MOST likely to result in an error?
a)
Line 1
b)
Line 2
c)
Line 3
d)
Line 4
e)
chicken chicken chicken chicken chicken chicken chicken chicken chicken
92.
Which of the following BEST describes the differences between sequential and event-driven programming? A) In sequential, commands run one at a time. In event-driven, all commands run at the same time. B) In sequential, commands run in the order they are written. In event-driven, some commands run in response to user interactions or other events. C) In sequential, each command is run many times in sequence. In event-driven, all commands are run a single time as an event. D) In sequential, commands run faster than in event-driven programming.
a)
A
b)
B
c)
C
d)
D
93.
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
94.
A company that develops apps wants to create/assemble a team of collaborative developers/coders from a variety of professional and cultural backgrounds to create a new app. Which of the following is NOT a likely benefit of creating such a team?
a)
It will eliminate the need to do testing of the app.
b)
It can help the team anticipate the needs of a variety of users.
c)
It can help the team avoid bias in the app.
d)
The team can reflect and utilize the strengths of the individual team members.
95.
a)
A
b)
B
c)
C
d)
D
96.
Which of the following actions are generally helpful in program development?
a)
I and II only
b)
I and III only
c)
II and III only
d)
I, II, and III
97.
Which of the following is needed for DineOutHelper to recommend a restaurant for the group? (Select ALL that apply.)
a)
Each group member's list of food allergies or dietary restrictions.
b)
Alejandra's geographic location.
c)
The usernames of the people in Brandon and Cynthia's contact lists.
98.
Which of the following is not provided by Alejandra but is necessary for DineOutHelper to recommend a restaurant for the group? (Select ALL that apply.)
a)
Brandon's contact list.
b)
Information about which restaurants Brandon and Cynthia have visited in the past.
c)
Information about which food allergies and dietary restrictions can be accommodated at different restaurants near Alejandra.
99.
Three students in different locations are collaborating on the development of an application. Which of the following stratagies is LEAST likely to faciliate collaboration among the students?
a)
A
b)
B
c)
C
d)
D
100.
a)
A
b)
B
c)
C
d)
D
101.
a)
A
b)
B
c)
C
d)
D
102.

What is the User Interface

a)

Elements of which the user controls

b)

Elements of which the coder controls

c)

An interface with code

d)

An interface with options

103.

An error in a program that prevents the program from running as expected

a)

onEvent

b)

Bug

c)

Moth

d)

Fly in the Ointment