stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Tran, Jefferson AP Exam Review Flashcards | StudBud
Explore
/
Tran, Jefferson AP Exam Review
Tran, Jefferson AP Exam Review
100 terms
·
StudBud Administration
·
1 play
Imported from external platform
Flashcards
100 cards
F
Practice quiz
P
Host live
L
Questions
100
Answers
1
A linear search is a more efficient algorithm for finding an item from a sorted list of items than a binary search.
True
False
2
What is a list?
Sequence of several variables, grouped together under a single name.
A smaller component of a larger system.
Iterates over every item, start to end.
Iterates over a subset of items
3
What will the following code segment display?
11
Nothing will be displayed due to an error.
3
6
4
What will the following program display?
OXXOO
The program is an infinite loop.
OXXOXXOXX
OOOXX
5
What will be the value of x after this code segment executes?
For all values of x, x will decrease by 1
For all values of x, x will remain unchanged
For all values greater than 5, x increase by 1, and other decrease by 1
For values greater than 5, x not change, and for all values, x decrease 1
6
What is the code below displaying?
3, 6, 9, 12, 15
2, 4, 6, 8, 10, 12, 14
Nothing will be displayed
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14
7
What is digital divide?
Obtaining services, ideas or goods from an open network of people.
Data providing information about aspects of the data, showing new aspects
The gap between demographics and regions that have access to technology
Represents dynamic responses of one system by behavior of another.
8
What is a substring?
String of characters that exists inside a string.
The process of combining two or more strings into a single larger string.
A software intermediary that allows two applications to talk to each other.
sequence of characters, starts and ends with a double or single-quote.
9
Lossless data compression is a compression technique that does not lose any data in the compression process.
True
False
10
What will be the output of the following program?
14
7 5 9
14 6
9 5 7
11
Answer the following question:
import java.ThreadLocalRandom
import java.util.concurrent.ThreadLocalRandom
import java.ultil.function.ThreadLocalRandom
import ThreadLocalRandom.concurrent.util.java
12
What is open access?
Fixing or removing incorrect, corrupt, duplicate, or incomplete data.
Free, unrestricted online access to research outputs.
Public involvement in gathering information of scientific data for research
Code that is designed to be publicly accessible, where everyone can see.
13
What is an element?
A smaller component of a larger system.
Iterates over every item, start to end.
Iterates over a subset of items
Sequence of several variables, grouped together under a single name.
14
What is a decision problem?
Class of problems that provide a “yes” or “no” answer based on their input.
A problem which one wishes to optimize a function with certain constraints.
All the inputs needed to compute a solution to the problem
Problem that exists in algorithm that can always solve after some time
15
Answer the following question:
True when either A or B are true
True when both A and B are true
Always false
Always true
16
A lossy data compression is the data in a file is removed and not restored to its original form after decompress
True
False
17
Which of the above, represented in binary as a byte, contains the most zeros?
P
K
C
.
18
What is crowdsourcing?
The gap between demographics and regions that have access to technology
Represents dynamic responses of one system by behavior of another.
Data providing information about aspects of the data, showing new aspects
Obtaining services, ideas or goods from an open network of people.
19
What is string concatenation?
String of characters that exists inside a string.
The process of combining two or more strings into a single larger string.
A software intermediary that allows two applications to talk to each other.
sequence of characters, starts and ends with a double or single-quote.
20
What is overflow error?
A bug in a program that operates incorrectly but not terminate or crash
Computer program stores more data in a fixed-size location than it can hold
Mistake in source code, like spelling or punctuation, incorrect labels, etc
Error that occurs while program is running after being compiled w/ success
21
Answer the following question:
Information filtering
Reference grouping
Preference categorization
Statistical probability model
22
What is the value of sum displayed after this algorithm is run?
4
Error
0
6
23
What will the following code segment display?
9 10 7 4 1
Nothing will be displayed due to the error index out of bounds
10
1 4 7 10 9
24
What is a decidable problem?
All the inputs needed to compute a solution to the problem
A problem which one wishes to optimize a function with certain constraints.
Class of problems that provide a “yes” or “no” answer based on their input.
Problem that exists in algorithm that can always solve after some time
25
What is a bit?
A unit of data that is eight binary digits long.
The smallest unit of data that a computer can process and store.
The standard numeral system used by humans in daily communication.
Numbers/values are expressed in 0 or 1; it only uses two digits or bits.
26
Answer the following question:
REPEAT 4 TIMES
REPEAT UNTIL (Goal_Reached)
FOR EACH item IN list
REPEAT UNTIL x = 4
27
The findings from a project are typically presented using a graph as opposed to table/raw data. Why?
Select two answers.
Graphs can show trends that might not be easily seen with raw data.
Graphs are able to show all of the detail necessary to understand data.
Graphs can be easily placed into a slideshow /document, while tables cannot
Graphs are easier to read and interpret at a glance.
28
Answer the following question:
00000010 00001111 00000111
00000100 00001001 00000111
00000111 00001111 00000100
00000100 00001111 00000111
29
What is simulation?
Obtaining services, ideas or goods from an open network of people.
Data providing information about aspects of the data, showing new aspects
Represents dynamic responses of one system by behavior of another.
The gap between demographics and regions that have access to technology
30
What is syntax error?
Mistake in source code, like spelling or punctuation, incorrect labels, etc
A bug in a program that operates incorrectly but not terminate or crash
Error that occurs while program is running after being compiled w/ success
Computer program stores more data in a fixed-size location than it can hold
31
The procedure isFound(list, item) will return TRUE if item is found in a list. What will the following procedure display
[ ]
[4, 6, −4]
[1, 6, −4]
[1, 35, 6, 76, 4, 98, 5, 1, 8, 96, −4]
32
What is displayed as a result of executing the code segment?
Dog Cat Fish
Dlden Bandicoot Cat Fish
Golden Bandicoot Cat Fish
Dog Cat Fish Golden Bandicoot
33
What is encryption?
Process of converting an encrypted message back to its original format.
Mathematical object showing a collection of questions computers to solve
JavaScript, Python, Java
Protecting information or data by using mathematical models to scramble
34
What does the algorithm display?
5
4
3
7
35
What is cleaning data?
Code that is designed to be publicly accessible, where everyone can see.
Free, unrestricted online access to research outputs.
Fixing or removing incorrect, corrupt, duplicate, or incomplete data.
Public involvement in gathering information of scientific data for research
36
What percentage of the time will the following program display a number?
20%
75%
25%
10%
37
What is metadata?
Represents dynamic responses of one system by behavior of another.
The gap between demographics and regions that have access to technology
Data providing information about aspects of the data, showing new aspects
Obtaining services, ideas or goods from an open network of people.
38
What is scalability?
Measure of a system’s ability to increase/ decrease in performance and cost
The ratio of useful work to resources (processor and storage) expended.
A problem that should give a yes or no answer, but no algorithm exists.
A specific set of ordered operations for a computer to perform.
39
What is computing innovation?
Machines used to acquire, store, analyze, process, publish information
Creation/application of technologie and approaches within computing.
Integrated devices that input, output, process, and store data/information.
Interconnected computing devices that can change and share data/resources
40
A binary search is A sequential search algorithm goes through each element of a list until an answer is found
True
False
41
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
The behavior of fireflies during the summer months
The behavior of mysterious and wonderful jellyfish's on the beach or water
Calculating PSAT scores for a school district
42
What will the executed code display?
All even numbers between 1 and 12
All odd numbers between 1 and 12
All even numbers between 3 and 12
All odd numbers between 3 and 12
43
Answer the following question:
I, II, III, and V only
I, III, and IV only
II, IV, and V only
All of the above
44
What percentage of the time will the program display an even number?
10%
50%
20%
40%
45
What is binary (base 2)?
The smallest unit of data that a computer can process and store.
A unit of data that is eight binary digits long.
Numbers/values are expressed in 0 or 1; it only uses two digits or bits.
The standard numeral system used by humans in daily communication.
46
Answer the following question:
100
10
1,000
1
47
What is abstraction?
Determines parts of algorithm are executed based on true or false condition
Application of each step of an algorithm in order in which steps are given
Leaving out details or attributes of something to make things less complex
A repeating portion of an algorithm
48
What is complete list traversal?
Sequence of several variables, grouped together under a single name.
Iterates over a subset of items
A smaller component of a larger system.
Iterates over every item, start to end.
49
What is a computer network?
Integrated devices that input, output, process, and store data/information.
Interconnected computing devices that can change and share data/resources
Machines used to acquire, store, analyze, process, publish information
Creation/application of technologie and approaches within computing.
50
Which of the following illustrate ways that the internet facilitates collaboration?
II and III only
I and III only
I, II, and III
I only
51
What is a byte?
Numbers/values are expressed in 0 or 1; it only uses two digits or bits.
A unit of data that is eight binary digits long.
The standard numeral system used by humans in daily communication.
The smallest unit of data that a computer can process and store.
52
What is run-time error?
A bug in a program that operates incorrectly but not terminate or crash
Mistake in source code, like spelling or punctuation, incorrect labels, etc
Computer program stores more data in a fixed-size location than it can hold
Error that occurs while program is running after being compiled w/ success
53
What is program?
Measure of a system’s ability to increase/ decrease in performance and cost
A specific set of ordered operations for a computer to perform.
A problem that should give a yes or no answer, but no algorithm exists.
The ratio of useful work to resources (processor and storage) expended.
54
What should replace so the program below displays TRUE 60% of the time?
x MOD 2 = 0
x MOD 5 = 5
x MOD 2 = 1
x MOD 5 = 0
55
Which of the following does NOT need to be considered when determining the credibility of a source?
Author’s reputation and credentials
Use of persuasive techniques within the source
Publisher’s reputation and credentials
Sponsorship of the article or publisher
56
What is returned by cube(cube(2))?
8
128
64
512
57
What will y display?
16
15
0
20
58
What is displayed because of executing the code segment?
1 5 7
9
3 9
1 3 5 7 9
59
What is efficiency?
Measure of a system’s ability to increase/ decrease in performance and cost
A specific set of ordered operations for a computer to perform.
The ratio of useful work to resources (processor and storage) expended.
A problem that should give a yes or no answer, but no algorithm exists.
60
What is the maximum number of searches required if using a linear search on list containing 2,000 numbers?
1
1000
3.1415926535897932384626433832795028841971
2000
61
Which of the following is true about data compression?
Data compression used to reduce size of file for storage or transmission.
Lossless data compression is the best compression under all conditions.
Data compression can be used for pictures and video only.
Lossy compression cannot be used when sending pictures.
62
Which of the following is
NOT
an investigation tool for designing programs?
User testing
Collecting data through surveys
Programming the most elegant code
Direct observations.
63
Answer the following question:
How much memory the program requires to run
The order of the data put into the data set
How many program statements the program contains
The amount of program documentation that should be minimized
64
What is an undecidable problem?
A specific set of ordered operations for a computer to perform.
Measure of a system’s ability to increase/ decrease in performance and cost
The ratio of useful work to resources (processor and storage) expended.
A problem that should give a yes or no answer, but no algorithm exists.
65
What is a computing system?
Interconnected computing devices that can change and share data/resources
Machines used to acquire, store, analyze, process, publish information
Integrated devices that input, output, process, and store data/information.
Creation/application of technologie and approaches within computing.
66
What is partial list traversal?
Sequence of several variables, grouped together under a single name.
Iterates over every item, start to end.
A smaller component of a larger system.
Iterates over a subset of items
67
Which of the following is NOT metadata for the picture?
The location where the picture was taken
The memory space taken up by the picture
The time the picture was taken
The picture of the dog
68
What is Programming language?
Protecting information or data by using mathematical models to scramble
Process of converting an encrypted message back to its original format.
Mathematical object showing a collection of questions computers to solve
JavaScript, Python, Java
69
What is citizen science?
Code that is designed to be publicly accessible, where everyone can see.
Public involvement in gathering information of scientific data for research
Free, unrestricted online access to research outputs.
Fixing or removing incorrect, corrupt, duplicate, or incomplete data.
70
What is encryption?
Process of converting an encrypted message back to its original format.
Mathematical object showing a collection of questions computers to solve
JavaScript, Python, Java
Protecting information or data by using mathematical models to scramble
71
Which of the following types of components is necessary for cybersecurity?
III only
I, II, and III
I and II only
I only
72
We can convert a number from decimal to octal (base 8) by repeatedly subtracting the largest possible powers of what?
2
9
8
7
73
Answer the following question:
No error; the program works as intended
Syntax error
Runtime error
Logical error
74
What is decimal (base 10)?
The standard numeral system used by humans in daily communication.
The smallest unit of data that a computer can process and store.
Numbers/values are expressed in 0 or 1; it only uses two digits or bits.
A unit of data that is eight binary digits long.
75
What is problem (in Computer Science)?
Protecting information or data by using mathematical models to scramble
Process of converting an encrypted message back to its original format.
JavaScript, Python, Java
Mathematical object showing a collection of questions computers to solve
76
What is the code segment displaying?
34
68
0
17
77
What will be the result of the displayed program?
6 14
14 6
9 5 7
7 5 9
78
What is returned by mystery (1, 2)?
2
4
8
10
79
What is application program interface (API)?
sequence of characters, starts and ends with a double or single-quote.
String of characters that exists inside a string.
A software intermediary that allows two applications to talk to each other.
The process of combining two or more strings into a single larger string.
80
Which of the following best approximates the minimum possible time to run all three processes in series?
9 seconds
15 seconds
28 seconds
4 seconds
81
Metadata is defined as data about data. Review the following statements about metadata types. Which statements are true?
II, III, and IV only
All of the above
I, II, and IV only
I only
82
Answer the following question:
No key encryption
Public key encryption
Symmetric encryption
Home key encryption
83
What is selection?
Application of each step of an algorithm in order in which steps are given
A repeating portion of an algorithm
Determines parts of algorithm are executed based on true or false condition
Leaving out details or attributes of something to make things less complex
84
What is an optimization problem?
A problem which one wishes to optimize a function with certain constraints.
All the inputs needed to compute a solution to the problem
Class of problems that provide a “yes” or “no” answer based on their input.
Problem that exists in algorithm that can always solve after some time
85
What should replace <missing condition> so that the program below displays TRUE 60% of the time?
x >= 6
x >= 9
x < 6
x > 10
86
What is a string?
sequence of characters, starts and ends with a double or single-quote.
A software intermediary that allows two applications to talk to each other.
String of characters that exists inside a string.
The process of combining two or more strings into a single larger string.
87
What is the minimum number of lines that must be cut to isolate F completely?
8
6
0
4
88
What is open source?
Free, unrestricted online access to research outputs.
Code that is designed to be publicly accessible, where everyone can see.
Public involvement in gathering information of scientific data for research
Fixing or removing incorrect, corrupt, duplicate, or incomplete data.
89
Convert 88 Decimal to a binary number
1010101
1000001
1011000
1111000
90
What is displayed by running the code segment?
3 11 3
11 3 8
3 3 6
8 4 6
91
What is sequencing?
Application of each step of an algorithm in order in which steps are given
Leaving out details or attributes of something to make things less complex
Determines parts of algorithm are executed based on true or false condition
A repeating portion of an algorithm
92
What is iteration?
A repeating portion of an algorithm
Leaving out details or attributes of something to make things less complex
Application of each step of an algorithm in order in which steps are given
Determines parts of algorithm are executed based on true or false condition
93
Which of the following test cases will return the correct average using the above procedure?
numbers[0, 1, 35, 6]
numbers[1, 1, 35, 6]
numbers[3, 5, 11, 6]
numbers[11, 35, 6]
94
A web browser contacts server using IPv4 and pages a request for address. Which of following could
NOT
be a response?
92.11.198.113
128.198.232.65
174.260.45.144
54.116.188.246
95
A strong password should have at least 12 characters long while being easy to remember but hard for others to figure out
False
True
96
What is logic error?
Mistake in source code, like spelling or punctuation, incorrect labels, etc
Computer program stores more data in a fixed-size location than it can hold
Error that occurs while program is running after being compiled w/ success
A bug in a program that operates incorrectly but not terminate or crash
97
What is an instance of a problem?
Class of problems that provide a “yes” or “no” answer based on their input.
All the inputs needed to compute a solution to the problem
Problem that exists in algorithm that can always solve after some time
A problem which one wishes to optimize a function with certain constraints.
98
Why does program code have to be run through a compiler?
Program code is write-only until it is run through a compiler.
Program code must be debugged by the compiler before it can ever run.
It doesn’t, as the new program could be run directly from the code.
Program code must be translated into a language the computer understands.
99
Which of the following best approximates the minimum possible time to run all five processes?
10 seconds
18 seconds
8 seconds
7 seconds
100
What is the following program returning?
37
27
20
25