AP Computer Science Principles Review

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/89

flashcard set

Earn XP

Description and Tags

Flashcards for reviewing key concepts in AP Computer Science Principles.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

90 Terms

1
New cards

What is programming?

A collaborative and creative process that brings ideas to life through the development of software.

2
New cards

In what stages of development can collaboration occur?

Planning, designing, or testing (debugging).

3
New cards

What is a computing innovation?

Uses a computer program to take in data, transform data, and output data.

4
New cards

What does peer instruction involve?

Students working in pairs or small groups to discuss concepts to find solutions to problems.

5
New cards

What is a Syntax Error?

A mistake in which the rules of the programming language are not followed.

6
New cards

What is a Runtime Error?

A mistake that occurs during the execution of a program that ceases the execution.

7
New cards

What is a Logic Error?

A mistake in the algorithm or program that causes it to behave incorrectly or unexpectedly.

8
New cards

What is a Overflow Error?

A mistake that occurs when a computer attempts to handle a number that is outside of the defined range of values.

9
New cards

What is debugging?

The process of finding and fixing errors.

10
New cards

What is a bit?

The smallest unit of information stored or manipulated on a computer; it consists of either zero or one.

11
New cards

What is the key to binary to decimal conversion?

Different binary digits represent different powers of 2.

12
New cards

How do you perform Decimal to Binary Conversion?

Find the powers of 2 that add up to the given decimal number. Start by finding the largest power of 2 that is less than the number, subtract that number from the original and repeat until you are down to 0.

13
New cards

What are digital images?

A collection of pixels, where each pixel consists of binary numbers.

14
New cards

What is Metadata?

Data about data, used to know the size of an image.

15
New cards

What colors can be used to create any color?

Red, green, and blue.

16
New cards

Differentiate an analog signal from a digital signal.

An analog signal exists throughout a continuous interval of time and takes on a continuous range of values. A digital signal is a sequence of discrete symbols.

17
New cards

What is Sampling?

Recording an analog signal at regular discrete moments and converting them to a digital signal.

18
New cards

What is Compression?

A two-way process: a compression algorithm can be used to make a data package smaller, or to decompress the package into its original form.

19
New cards

What are Lossless algorithms?

Algorithms that can reconstruct the original message exactly from the compressed message.

20
New cards

What are Lossy algorithms?

Algorithms that can only reconstruct an approximation of the original message.

21
New cards

What is Data Extraction?

The process of obtaining data from a database or software so that it can transport it to another software designed to support online analytical processing.

22
New cards

What are the steps to extract and analyze data?

Analyze data sources, know what will be done with analysis, decide the tool needed, clean the data, and understand data patterns through visualization.

23
New cards

What is a graph?

A pictorial representation, a diagram used to represent data and depict a relationship.

24
New cards

What is an Algorithm?

A set of steps to do a task.

25
New cards

What are Computer Science Algorithms?

Are implemented with software to solve a problem or complete a task.

26
New cards

What is a popular way of defining abstraction?

Information Hiding

27
New cards

What is a List?

A data type that holds a collection of values.

28
New cards

What are Variables?

Placeholders for values a program needs to use.

29
New cards

What are Strings?

Text fields that are a series of characters, denoted with quotation marks.

30
New cards

What are Expressions?

Calculations to be evaluated to an answer or single value.

31
New cards

What does PEMDAS stand for?

Parentheses, Exponents, Multiplication, Division, Addition, Subtraction.

32
New cards

What is a Boolean value?

A value that can only be true or false.

33
New cards

What are the three types of program statements?

Sequential, Selection, Iterative.

34
New cards

What are Sequential Statements?

Statements that are executed as written in order in the program.

35
New cards

What are Selection Statements?

Statements that use the “if (condition)” structure, and the evaluation of the condition uses Boolean values.

36
New cards

What are Iterative Statements?

Statements that are also referred to as repetitive statements or loops.

37
New cards

What happens in the REPEAT UNTIL Loop?

A loop where the loop will continue to run while the condition evaluates to “false”.

38
New cards

What are Nested Conditionals?

An IF statement within another set of IF statements.

39
New cards

What is a List?

Lists, are a collection of items.

40
New cards

Describe List Indices

Individual items in a list are called elements and are accessed by position using an index.

41
New cards

What are Index Positions?

Integers and are enclosed within square brackets [index].

42
New cards

Name three list methods.

Adding an item to a specific position of a list moves element to the right, appending adds an item to the end, and removing an item removes the element.

43
New cards

What is Length?

The number of elements in the list.

44
New cards

What is a FOR EACH Loop?

A loop that will automatically repeat the code for each element in the list.

45
New cards

What is a Linear Search?

Check each individual record, starting at the beginning and going to the end, one after the other in order to either find the desired data or to determine it is not in the dataset.

46
New cards

What is Binary Search?

A search where data must be sorted to use a binary search. The binary search is considered a “divide and conquer” algorithm because it divides the dataset into two equal parts.

47
New cards

What are Procedures?

Sections of code that will be executed only when they are called by the main program or another procedure.

48
New cards

What do Parameters allow?

Allow the calling program to send values to the procedure.

49
New cards

What does a random number generator do?

Picks a number at random out of a range of values.

50
New cards

What optional feature do Return Procedures have?

A return statement.

51
New cards

What are Built-in Procedures?

Prewritten and tested code that is included with the programming language.

52
New cards

What does INPUT() do?

Accepts data from the user, usually from the keyboard.

53
New cards

What are APIs?

Prewritten programs to provide commonly needed functionality, stored in libraries.

54
New cards

What are Simulations used for?

Designed to represent and mirror the real world for testing.

55
New cards

What is an instance of a problem?

A specific example of a problem.

56
New cards

What answer does a decision problem have?

Has a yes or no answer.

57
New cards

What does the efficiency of algorithms deal with?

Efficiency deals with resources needed to run it in terms of how long it will take and how much memory will be needed.

58
New cards

What is an Heuristic approach?

An approach that may not be optimal or the best but is close enough to use as a solution.

59
New cards

What is a decidable problem?

One where an algorithm can be written that results in a correct “yes” or “no” answer for all inputs.

60
New cards

What is an undecidable problem?

Does not have an algorithm that can give a correct “yes” or “no” for all cases of the problem.

61
New cards

What is the Internet?

A network of networks.

62
New cards

What device sends information along to the next stop on the path?

Routing.

63
New cards

What is Bandwidth?

A measure of the maximum amount of data that can be transferred through a channel or network connection.

64
New cards

What is Internet Protocol (IP)?

Responsible for addressing and routing your online requests.

65
New cards

What is transmission control protocol (TCP)?

A protocol that defines how computers send packets of data to each other.

66
New cards

What is user datagram protocol (UDP)?

A protocol that allows computer applications to send messages without checking for missing packets to save on time needed to retransmit missing packets.

67
New cards

What is Scalability?

The ability for a system, network or process to handle a growing amount of work in an efficient manner.

68
New cards

What is Hardware Failure?

When a hardware device, such as a computer or printer, stops working properly due to an issue with the physical components.

69
New cards

What are Operational Failures?

Any issues or breakdowns in the operation of a business, machine, system, process, etc.

70
New cards

What are Cyberattacks?

Malicious attempts to damage or disrupt computer systems, networks, and data.

71
New cards

How long does parallel computing take?

Parallel Computing solution takes as long as the longest of the tasks done in parallel.

72
New cards

What does Distributed Computing allow?

Allows problems to be solved that could not be solved on a single computer because of either the processing time or storage needs involved.

73
New cards

Describe programs and apps

Can be quickly and easily shared with people worldwide.

74
New cards

What is Cloud Computing all about?

Allows people to communicate, making collaboration easier and more efficient.

75
New cards

What does the digital divide include?

The impact of the digital divide includes access to information, knowledge, markets, and different cultures.

76
New cards

What is Bias?

Which is intentional or unintentional prejudice for or against certain groups of people, shows up in computing innovations too.

77
New cards

What is crowdsourcing?

Allows people to share information and ask the 'crowd'

78
New cards

What does creative commons provide?

Provides a way for creators of software, images, music, videos, and any computational artifact to share their creations with stipulations for sharing and permission from the author clearly indicated.

79
New cards

Explain open source software

Software that is freely shared, updated, and supported by anyone who wants to do so.

80
New cards

Explain data mining

A field of study that analyzes large datasets

81
New cards

Explain machine learning

Uses algorithms to analyze data and predict behavior and is used in Artificial Intelligence (AI).

82
New cards

What is Personally Identifiable Information (PII)?

Any information that identifies you is considered Personally Identifiable Information (PII).

83
New cards

What are digital footprints and fingerprints?

Are the trail of little pieces of data we leave behind as a sign of our presence as we go through our daily lives.

84
New cards

What is the global impact of Cybersecurity?

Has a global impact because now anyone from anywhere can attempt to gain unauthorized entry to someone else’s computer, data, servers, or network.

85
New cards

What does Cybersecurity do?

Protects our electronic devices and networks from attacks and unauthorized use.

86
New cards

What is Cryptography?

The writing of secret codes.

87
New cards

What is Encryption?

Is converting a message to a coded format.

88
New cards

What is Deciphering?

Is the encrypted message called decryption.

89
New cards

What is Public Key Encryption?

Uses open standards, meaning the algorithms used are published and available to everyone and are discussed by experts and interested parties and known by all.

90
New cards

What do the certificates verify?

Verify to web browsers that the encryption keys belong to the business, thereby enabling online purchases and the sending and receiving of secure documents.