AP CSP (2.5-2.10) Vocab

studied byStudied by 33 people
5.0(1)
Get a hint
Hint

Control Flow

1 / 45

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

46 Terms

1

Control Flow

the direction the computer program moves from instruction to instruction over time. Can also be controlled by if statements and other binary conditions.

New cards
2

Operator block

light-green colored blocks of code used to handle strings and math equations in Scratch.

New cards
3

If Block

a set of instructions within an if block that is executed only if the condition in the if statement is met. 

New cards
4

If Else Block

a set of instructions within an if block is executed if a specified condition is true and instructions within the else block are executed if the same condition is false.

New cards
5

Branching

instruction in a computer program that can cause a computer to begin executing a different sequence of instructions.

New cards
6

Conditionals

only executes if a certain designated condition is true.

New cards
7

MOD

The remainder when you divide. (Ex. x = 4 ; x MOD 2 = 0, the remainder is 0 because 4/2 = 2 and there isn’t anything left)

New cards
8

Boolean Values

binary values (usually denoted true and false), intended to represent the truth values of logic and Boolean algebra.

New cards
9

Switching

turning on or off (binary)

New cards
10

Nesting

where different logic structures sequence, selection and loops are combined or nested in one another.

New cards
11

Iteration

repetition - one complete step of a loop, repeated until a certain condition is met.

New cards
12

Loop

the repetition of some code

New cards
13

Indefinite Loop

executes a predetermined set of times for a loop to be repeated

New cards
14

Repetition

one complete step of a loop, lines of code will be run multiple times.

New cards
15

Procedure

a named collection of steps in an algorithm (or group of programming instructions) that can be reused anytime it is needed. A procedure may have parameters and return values.

New cards
16

Parameter

a special type of variable used within a procedure.

New cards
17

Modularity

the subdivision of a computer program into separate subprograms.

New cards
18

Heuristics

a method for deriving an approximate solution - Rules of Thumb but not guaranteed an accurately correct answer

New cards
19

Unsolvable Problem

a problem that cannot be solved using any algorithm

New cards
20

Halting Problem

there cannot be a program that will determine which computer programs will halt (or exit) and which programs will go on forever (infinite loop)

New cards
21

Undecidable Problem

where no algorithm can be made that always leads to a correct yes or no answer.

New cards
22

Scalability

how well do algorithms perform at increasingly larger scales.

New cards
23

Big-O Notation

A mathematical concept used by computer scientists to determine how well algorithms scale - performances classified into different categories.

New cards
24

Sequential Search

a linear search method of finding a targeted value within a list, looking one at a time until a match is found.

New cards
25

Binary Search

a method of searching by dividing the search interval in half each time.

New cards
26

Logarithmic Behavior

Doubling the size of a problem only requires one extra unit of work.

New cards
27

Brute Forcing

Trial and error method used to decode encrypted data such as passwords.

New cards
28

Logic Gate

a hardware abstraction that is modeled by a Boolean function

New cards
29
<p>Fault Tolerance Quiz (AP Classroom) - Question 1</p>

Fault Tolerance Quiz (AP Classroom) - Question 1

The network is considered fault-tolerant because there are redundant paths between each pair of devices.

New cards
30

Fault Tolerance Quiz (AP Classroom) - Question 2

Which of the following best explains how fault tolerance in a network is achieved?

By providing multiple paths between devices, enabling routing to occur even in the presence of a failed component.

New cards
31

Fault Tolerance Quiz (AP Classroom) - Question 3

Which of the following best explains how the Internet is a fault-tolerant system?

The Internet is fault-tolerant because there are usually multiple paths between devices, allowing messages to sometimes be sent even when parts of the network fail.

New cards
32

Fault Tolerance Quiz (AP Classroom) - Question 4

Which of the following is a primary benefit of making a computing system fault-tolerant?

If one component of the system fails, users of the system can often still access it.

New cards
33
<p>Fault Tolerance Quiz (AP Classroom) - Question 5</p>

Fault Tolerance Quiz (AP Classroom) - Question 5

Two Answers :
- If devices B and D were to fail, then information sent from device A could not reach device C.
- If devices D and F were to fail, then information sent from device A could not reach device C.

New cards
34
<p>Fault Tolerance Quiz (AP Classroom) - Question 6</p>

Fault Tolerance Quiz (AP Classroom) - Question 6

2

New cards
35

Digital Divide Quiz (AP Classroom) - Question 1

Which of the following actions is most likely to help reduce the digital divide?

Deploying satellites and other infrastructure to provide inexpensive Internet access to remote areas of Earth

New cards
36

Digital Divide Quiz (AP Classroom) - Question 2

Which of the following is LEAST likely to be a contributing factor to the digital divide?

Some parents prefer to limit the amount of time their children spend using computing devices or the Internet.

New cards
37

Digital Divide Quiz (AP Classroom) - Question 3

Which of the following actions is most likely to be effective in reducing the digital divide at a local level?

Providing free community access to computers at schools, libraries, and community centers

New cards
38

Crowdsourcing Quiz (AP Classroom) - Question 1

Which of the following activities is most likely to be successful as a citizen science project?

Collecting pictures of plants from around the world that can be analyzed to look for regional differences in plant growth.

New cards
39

Crowdsourcing Quiz (AP Classroom) - Question 2

Which of the following applications is most likely to benefit from the use of crowdsourcing?

An application that allows users to view descriptions and photographs of local landmarks

New cards
40

Crowdsourcing Quiz (AP Classroom) - Question 2

A mobile application is used to display local traffic conditions. Which of the following features of the application best exemplifies the use of crowdsourcing?

Users can submit updates on local traffic conditions in real time.

New cards
41

Computing Bias Quiz (AP Classroom) - Question 1

The developers of a music-streaming application are updating the algorithm they use to recommend music to listeners. Which of the following strategies is LEAST likely to introduce bias into the application?

Making recommendations based on listening data gathered from a random sample of users of the application

New cards
42

Computing Bias Quiz (AP Classroom) - Question 2

A mobile game tracks players’ locations using GPS. The game offers special in-game items to players when they visit real-world points of interest. Which of the following best explains how bias could occur in the game?

Points of interest may be more densely located in cities, favoring players in urban areas over players in rural areas.

New cards
43

Computing Bias Quiz (AP Classroom) - Question 3

A software company is designing a mobile game system that should be able to recognize the faces of people who are playing the game and automatically load their profiles. Which of the following actions is most likely to reduce the possibility of bias in the system?

Testing the system with people of different ages, genders, and ethnicities

New cards
44

Beneficial & Hamrful Effects Quiz (AP Classroom) - Question 1

MeeReader is an e-reading application that allows users to download and read books and articles on a device. Each user creates a profile with the following personal preferences.

  • Screen brightness and contrast

  • Choice of typeface and font size

  • Amount of spacing between lines of text

  • Activation of a text-to-speech feature that reads the text out loud

When the user launches the application, the application scans the user’s face and uses facial recognition software to determine the user’s identity. Once the user has been identified, the user’s personal preferences are applied to whatever book or article the user chooses to read.

The application stores all user information in a database, including personal preferences and a record of previously read books and articles.

Users with visual impairments may be able to more easily read or listen to books and articles.

New cards
45

Beneficial & Hamrful Effects Quiz (AP Classroom) - Question 2

MeeReader is an e-reading application that allows users to download and read books and articles on a device. Each user creates a profile with the following personal preferences.

  • Screen brightness and contrast

  • Choice of typeface and font size

  • Amount of spacing between lines of text

  • Activation of a text-to-speech feature that reads the text out loud

When the user launches the application, the application scans the user’s face and uses facial recognition software to determine the user’s identity. Once the user has been identified, the user’s personal preferences are applied to whatever book or article the user chooses to read.

The application stores all user information in a database, including personal preferences and a record of previously read books and articles.

From the perspective of the application’s developers, which of the following is most likely to be a benefit of storing all user data in a database?

The developers can analyze the data to make improvements to the application based on user behavior.

New cards
46

Beneficial & Hamrful Effects Quiz (AP Classroom) - Question 3

A software development company has created an application called FileCleanUp. When the application is run on a user device, it searches for all files (including pictures, videos, and documents) that have not been accessed in the past month, stores them on the company’s Web server, and deletes them from the user device. The application runs once each day. Users have the ability to manually retrieve files from the server if they are needed.

Which of the following is most likely to be a harmful effect of using FileCleanUp?

It prevents users from accessing infrequently used files when there is no Internet connectivity.

New cards

Explore top notes

note Note
studied byStudied by 69 people
... ago
5.0(1)
note Note
studied byStudied by 8 people
... ago
5.0(1)
note Note
studied byStudied by 58 people
... ago
5.0(4)
note Note
studied byStudied by 7 people
... ago
5.0(1)
note Note
studied byStudied by 15 people
... ago
4.5(2)
note Note
studied byStudied by 411 people
... ago
4.4(7)
note Note
studied byStudied by 64 people
... ago
5.0(1)
note Note
studied byStudied by 9813 people
... ago
4.8(41)

Explore top flashcards

flashcards Flashcard (47)
studied byStudied by 3 people
... ago
5.0(1)
flashcards Flashcard (41)
studied byStudied by 152 people
... ago
4.0(1)
flashcards Flashcard (48)
studied byStudied by 58 people
... ago
5.0(1)
flashcards Flashcard (145)
studied byStudied by 9 people
... ago
5.0(1)
flashcards Flashcard (20)
studied byStudied by 8 people
... ago
5.0(1)
flashcards Flashcard (86)
studied byStudied by 3 people
... ago
5.0(3)
flashcards Flashcard (134)
studied byStudied by 34 people
... ago
5.0(1)
flashcards Flashcard (134)
studied byStudied by 14 people
... ago
5.0(1)
robot