stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Shih, Alexis AP Exam Review Flashcards | StudBud
Explore
/
Shih, Alexis AP Exam Review
Shih, Alexis AP Exam Review
100 terms
·
StudBud Administration
Imported from external platform
Flashcards
100 cards
F
Practice quiz
P
Host live
L
Questions
100
Answers
1
What is displayed as a result if the user inputs “Karel” to the program?
What is your name?HelloKarel
What is your name? Hello Karel
Hello Karel
What is your name?Hello Karel
2
Why does program code have to be run through a compiler?
Program code must be debugged by the compiler before it can ever run.
Program code is write-only until it is run through a compiler.
Program code must be translated into a language the computer understands.
It doesn’t, as the new program could be run directly from the code.
3
Which best describes the role of TCP?
A common protocol for encrypting+decrypting data transferring on internet
The set of rules for the path packets taken on the fault-tolerant internet
Setting rules for numerical label assigned to each device on internet
The foundation of data communication for the World Wide Web
4
What is a list
A paper to go shopping with
A pile of work you should do
An abstract data type that represents a finite number of ordered values
The difference between the result produced by a given algorithm
5
What would be a correct response to a boolean expression
1,2,3,4,5...
0111010101
True, False
6
behavior of a program is the methods within a class and block objects from each other and manipulate data
True
False
7
What program type is is often used to
develop the back end of a website or application
Scratch
Kotlin
Python
Java
8
Which of the following is NOT an example of using citizen science as a possible solution?
The behavior of fireflies during the summer months
Calculating PSAT scores for a school district
The behavior of the mysterious wonderful jellyfish on the beach or water
Collecting recordings using ultrasonic microphones and sonograms of bats
9
What is a bit
The basic unit of information in computer storage and processing
The actual input expression passed/supplied to a function
The smallest unit of data that a computer can process and store
Specifies how many digits are used
10
What will the following code segment display?
5
6
3
11
11
nested conditional statements
A bird inside of a code
a conditional statement that is deep within a program
A statement that impacts all aspects of a code
an if or if else statement inside another if else statement.
12
What is abstraction
The lack of needed knowledge
Simplifying something and sorting through it
A type of art that is very free
Leaving out details or attributes of something to make things less complex.
13
What is crowdsourcing?
obtaining information by getting input from a large number of people,
Providing sources for a large number of documents
Asking animals for answers
A method of developing code using a large number of people
14
what is a data type used in programming, that is used to represent text rather than numbers
print
string
variable
integer
15
AP Computer Science is easy
NOOO!!!!!!!!!!!!
YESSSSSS
16
Convert 88𝐷𝐸𝐶 to a binary number.
1011000
1000001
1111000
1010101
17
What is algorithmic Bias
fairness present in computer coding
unfairness in a code based on scientific logistics.
unfairness present in computer due to human biases or flawed data inputs
Program who has a mind of it own creating its own ideas
18
What is a syntax error
written in particular programing language
Operate incorrectly, not crash
while program is running after being successful
store more data than it can handle
19
What is open source
Source that uses free recourses
distributed code letting others, use, modify, or distribute
Free, unrestricted online access to research outputs.
result of processing data, usually by computer.
20
What 2 are true about decimal and binary
Binary has all numbers while decimal only have 0 and 1
Decimal has all numbers while binary only have 0 and 1
Decimal and binary both can mean any number
Decimal and binary both cant mean any number
21
The application of each step of an algorithm in the order in which the steps are given.
scramble
binary
Linear
sequencing
22
What is displayed because of executing the code segment?Responses
9
1 5 7
1 3 5 7 9
3 9
23
A substring is a contiguous sequence of characters within a string
False
True
24
Which of the following potential benefits is
MOST
likely to be provided by the upgraded system?
Allowed to be shared
Limiting the information about the sites and stores that the user visits
Offering products and services that are more relevant to the user
Being kinder to the users
25
These drawings depict two fundamental cryptographic concepts. Which choices below properly identify these concepts?
Hash Codes and Key Transfers
Lexicographic and Asymmetric
Asymmetric and Symmetric
Symmetric and Steganography
26
What day is 7th period's AP test?
Thursday
Tuesday
Wednesday
Monday
27
What is the best example of binary
A response to "Do you like red?"
A response to "What is your favorite color?"
A response to "Why do you like red?"
A response to "Why not pink?"
28
What are two aspects of efficiency?
execution time and length of code
memory usage and length of code
execution time and memory usage
wall clock time and CPU time
29
What is cleaning data
fixing or removing bad data
Going through a pc and blasting the dust away
going through files and deleting extra
Combining data
30
What is the maximum number of searches required if using a linear search on list containing 2,000 numbers?
1,000
2,000
1
11
31
Which of the following does NOT need to be considered when determining the credibility of a source?
Sponsorship of the article or publisher
Author’s reputation and credentials
Use of persuasive techniques within the source
Publisher’s reputation and credentials
32
What is displayed by running the code segment?
8 4 6
3 11 3
11 3 8
3 3 6
33
Which of the following is
LEAST
likely to be included with the game?
Location of highly trafficked roads and bridges
What protocols the mobile device uses to connect to the internet
Information about what types of mobile devices can be used
Location of high-crime areas that should be avoided
34
What program code is best for new learners
Java
Kotlin
Scratch
Python
35
Which of the following lines of code would cause an error with a robot?
CAN_MOVE (right)
NOT CAN_MOVE (left)
NOT CAN_M0VE (forward)
CAN_MOVE (north)
36
Which is the smallest
Bit
Byte
Data
Pixel
37
What is decimal for 0010101
21
34
16
8
38
What should replace so the program below displays TRUE 60% of the time?
x MOD 5 = 0
x MOD 5 = 5
x MOD 2 = 0
x MOD 2 = 1
39
What is 01000001 in decimal
124
65
67
35
40
Which of the following best approximates the minimum possible time to run all three processes in series?
No dependent
4 seconds
28 seconds
9 seconds
15 seconds
41
What is the digital divide.
The radical split between food supplies
Social media being torn on two sides of an argument
gap between demographics and who has access to what tech
42
Determines which parts of an algorithm are executed based on a condition being true or false.
Boolean
Encryption
Selection
Iteration
43
Which of the following could
NOT
be a potential response for IPv4
128.198.232.65
54.116.188.246
92.11.198.113
174.260.45.144
44
What percentage of the time will the program display an even number?
10%
50%
20%
40%
45
What will the following code segment display?
1 4 7 10 9
Nothing will be displayed due to the error index out of bounds.
9 10 7 4 1
10
46
Answer the following question
II only
I only
II and III
I , II , and III
47
Public key is a method of making a key to open and close data
True
False
48
What is an accessible way to extract and share data within and across organizations.
data abstraction
application program interface
apple present igloo
applicable problem inside
49
citizen science
Obtaining info from other people for programs
Conducting research on a lab of people
Practice of public gathering data for research
Casting spells on pregnant women
50
What are comments
Things people say about another
annotations on a code describing it
ideas in your mind
The code that is part of a program
51
What is an example of algorithmic bias
The code was written by an AI who uses the internet
The code was written using crowdsourcing
The code was written by an extreme dog lover who wrote it into the code
52
What is: It sequentially checks each element of the list until a match is found or the whole list has been searched.
Linear
Binary
53
What is Any written text, illustrations or video that describe a software or program to its users.
Comments
Iterative info
Program documentation
Data information
54
Malware is intrusive software to spread and cause damage
True
False
55
What is keylogging
Form of malware that keeps track of and records your keystrokes
Form of malware that looks through your webcam
Form of malware that that copies your files
Form of malware that finds your access point
56
What is a data abstraction
Cutting down the beginning and end to fit
reduction of particular body of data to simplified representation of whole
Testing real world knowledge
AI sorting through what it can find on web
57
What is efficiency
How good someone or something is
How much a program can do on one PC
the ratio of the output to the input of a given system.
How quick a program can run
58
What will be the output of the following program?
9 5 7
14
7 5 9
14 6
59
What is true about encryption
converting an encrypted message back to its original
protecting information or data by using mathematical models to scramble it
only the parties who have the key to unscramble it can access it
Anyone can unscramble the code
60
Which of the following types of components is necessary for cybersecurity?
I.
Software
II.
Hardware
III.
Human
I, II, and III
III only
I only
I and II only
61
What is phishing
Getting fish from a peir
sending fraudulent communications that appear to come from a legitimate
Malware to steal information
A secret camera that records illegally
62
A modulus operator divides the given numerator by the denominator to find a result.
True
False
63
What is the difference between sequential and parallel computing
Sequential is one at a time while parallel can be multiple at a time
Parallel is one at a time while sequential can be multiple at a time
64
What is the following program returning?
25
20
27
37
65
We can convert a number from decimal to octal (base 8) by repeatedly subtracting the largest possible powers of what?
7
2
9
8
66
technique marking out of a block of statements within a computer program for a defined number of repetitions.
stagger
sequence
Repeat
iteration
67
Which of these are strong passwords
123
46m0Nk3ys!
Pinkcow3#!
Cat28
68
What does the following algorithm display?
When A is false, the algorithm displays “False.”
When B is false, the algorithm displays “False.”
It always displays “True.”
It always displays “False.”
69
A mathematical object representing a collection of questions that computers might be able to solve.
solution
issue
resolution
problem
70
What is a logic error
Operate incorrectly, not crash
while program is running after being successful
store more data than it can handle
written in particular programing language
71
What is a overflow error
Operate incorrectly, not crash
written in particular programing language
while program is running after being successful
store more data than it can handle
72
What is computer science
Computer science is the study programs and codes
Computer science is the study of moniters and pcs
Computer science is the study of computers and computational systems.
Computer science is the study of rockets
73
What is a run-time error
Operate incorrectly, not crash
store more data than it can handle
written in particular programing language
while program is running after being successful
74
What is a variable
incremental approach that breaks down
abstract storage location paired with an associated symbolic name
A replacement for something that is too short
data a software sends out after inputs
75
Which is a computer virus
Flu
Covid
E. Coli
Code red
76
A boolean can only mean true false or sometimes
True
False
77
Which of the following is NOT an example of using citizen science as a possible solution?
Collecting recordings using ultrasonic microphones and sonograms of bats
Calculating PSAT scores for a school district
The behavior of the mysterious an wonderful jellyfish on the beach or water
The behavior of fireflies during the summer months
78
behavior is how a program functions during execution and is often described by how a user interacts with it.
True
False
79
What is high-level programming language
Programming language that uses Java
programming language that uses decimal and not binary
programming language with strong abstraction from details of the computer
programming language that stores data value
80
what will happen if ISP X, Host 3, and Host 11 are down and the client request data from Server Alpha.
ISPY will receive and re-route the data to a working host
The Client will not receive any data due to the outage
ISP X will receive it and send it to Host 3
Host 1 will compensate for the outage and route the data accordingly
81
Which of the following statements are true about high-level programming languages? Select
two
answers.
A high-level programming language allows for code to be re-used.
must be used to execute commands such as adding and multiplying
A high-level programming language does not ensure program reliability.
A high-level programming language often uses natural language elements.
82
What will the executed code display?
All odd numbers between 3 and 12
All even numbers between 1 and 12
All odd numbers between 1 and 12
All even numbers between 3 and 12
83
Why do computing innovations tend to lead to legal concerns?
Lawyers unfamiliar with computing innovation laws due to mult. states
Laws involved in these concerns were created before the advent of computers
Theres no way to hide your IP address on the internet, laws are easily enfo
Copyright laws have been passed, speed of innovation make hard to enforce
84
Which of the following best approximates the minimum possible time to run all five processes?
Responses
18
7
10
8
85
using Boolean expressions in the form of logical if/else and then statements evaluating if something is true or false
iteration
problem
sequence
“if-statements”
86
not guaranteed to find the optimal solution but is designed to find a satisfactory solution in a
Propable
Heuristic
Scalable
Satisfy
87
What will the following code segment display?
1 4 7 10 9
10
9 10 7 4 1
Nothing will be displayed due to the error index out of bounds.
88
What is the difference of the exact results and the finite-precision
list
integer overflow
round-off error
probable
89
Consider the following code segment.
What is displayed as a result of executing the code segment?
Dog Golden Bandicoot Cat Fish
Dog Cat Fish
Dog Cat Fish Golden Bandicoot
Golden Bandicoot Cat Fish
90
Heuristics are always true
True
False
91
Which of the following statements is
NOT
correct:
Hardware is the lowest level of abstraction.
Binary data is processed by physical layers of computing hardware.
Logic gates are modeled by Boolean functions.
Logic gates are used to perform operations such as addition and subtraction
92
what is rogue access point?
Form of malware that keeps track of and records your keystrokes
A key that allows you to enter points
The point where the illegal thing exits
An access point installed without the network owner's permission.
93
Which of the following protocol standardization is NOT a function of the IETF (Internet Engineering Task Force)?
JavaScript Coding Protocol
Simple Mail Transfer Protocol
Hypertext Transfer Protocol
Internet Protocol
94
there exists an algorithm that can determine whether a given input has a specific property
undecidable
decidable
95
A bit consist of 8 adjacent binary digits
True
False
96
What is the minimum number of lines that must be cut to isolate F completely?
4
0
6
8
97
cleaning data is the result of processing data, usually by computer.
False
True
98
They are the values, variables, or user inputs that are used as input in order to produce an output or result
Program inputs
in
Out
Program outputs
99
What is the appropriate name for the procedure?
IS_TRAPPED()
SPIN()
ESCAPE()
CAN_ESCAPE()
100
What is a redundancy
The availability of multiple copies of the same object.
A string of characters used to uniquely identify a location.
The capacity at which a network can transmit data.
The process of path selection in any network.