stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Sujayakumar, Nilaksh AP Exam Review Flashcards | StudBud
Explore
/
Sujayakumar, Nilaksh AP Exam Review
Sujayakumar, Nilaksh AP Exam Review
90 terms
·
StudBud Administration
Imported from external platform
Flashcards
90 cards
F
Practice quiz
P
Host live
L
Questions
90
Answers
1
What is one way in which number systems are abstract?
The same amount can be represented by different number representations.
They use constants
Symbol can not be used to add subtract multiply, or divide them in abstract
A number can only be represented by one number system
2
Which of the following would be the most appropriate name for a variable?
amountOfTimeRemainingInTheGame
t
time_left
varible1
3
Which data compression technique provides the most compression?
Classification
Filtering
Lossless
Lossy
4
Attempting to access an invalid index in a list results in what type of error?
Syntax Error
Logic Error
Overflow Error
Runtime Error
5
How can an organization begin the process of analyzing data?
By checking to see if the data matches previously collected data
By following an iterative development process
By developing hypotheses and questions to test
By establishing measurements the data should show
6
Which of the following is a method of search refinement that is based on Boolean logic?
D. All of the above require Boolean logic
C. Only including results with specific data values
A. Excluding results of a genre
B. Filtering results by decade published
7
Which of the following is NOT a tool used in the development of computer programs?
Hierarchical File System (HFS)
Application Programming Interface (API)
Integrated Development Environment (IDE)
Command-Line Interface (CLI)
8
What will the following algorithm display? a ← 13 b ← 17 a ← a + 1 c ← a / 7 DISPLAY(c)DISPLAY(a)
14 17 2
13 17 5
2 12 2
2 14 17
9
Metadata is used to
provide updates to the data
sort the data
brand the data
help find and organize data
10
Which of the following best describes abstraction?
Simplifying complexity to make the concept more general
A set of instructions to do a task
Combining procedures to make a new one
Adding complexity so the concept can apply to more uses
11
We can convert a number from decimal to octal (base 8) by repeatedly subtracting the largest possible powers of what?
9
2
7
8
12
What are two aspects of efficiency?
memory usage and length of code
execution time and length of code
execution time and memory usage
wall clock time and CPU time
13
Being able to add or remove resources to store large datasets is called
efficiency
scalability
routing
filtering
14
Under which of the following conditions is it most beneficial to use a heuristic approach to solve a problem?
When the problem needs approximate solution
When the problem can be accurately solved in a reasonable time
When the problem needs an exact solution
When the problem cannot be accurately solved in a reasonable time
15
Which method of finding errors is most useful to identify logic errors?
Creating new test cases
Rerunning the program with different inputs to see the impact on outputs
Running a simulation
Handtracing
16
You are responsible for writing the code to activate value for the ramp light on and off cycle, what data could you use?
Pressure sensor data as cars enter the ramp
Typical traffic patterns for weekdays
Camera data
Number of red/green cycles in an hour
17
When is sampling needed?
Sampling is used to approximate real-world data.
Sampling is used when converting from digital data to analog data.
Sampling is used to store analog data.
Sampling is used when converting from analog data to digital data.
18
A company purchases a large data from a media site. They want to analyze the data to learn more about potential customer
Maximization to get the highest return on their purchase of the data
Simulations to test different hypotheses about what data could be present
Data analysis to identify patterns in the data for further analysis
Data processing to use the data with existing company software
19
Data compression algorithms are used when the data
is used for cryptography to keep data secure
is too large to send in a timely manner
needs to be sent a large physical distance away
needs to be shared with a large number of people
20
What will the following algorithm display? a ← 13 a ← 17 a ← a + 1DISPLAY(a)
18
13
17
19
21
If your program executes without errors, but the results are incorrect, what type of error do you likely have?
Logic Error
Runtime Error
Syntax Error
Round-Off Error
22
Which of the following can be represented by a single binary digit?
A darkness setting on a toaster
The temperature setting of a thermostat
if a light switch is on or off
The speed limit on a major highway
23
Which of the following will cause an algorithm to fall into an infinite loop?
The output operations are missing
The input operations are missing
The condition of the loop never becomes false
The algorithm uses more than one loop
24
What is an algorithm?
A sequence of instructions to solve a problem
A type of software application
A form of data encryption
A type of computer hardware
25
What is the User Interface
Elements of which the user controls
An interface with options
An interface with code
Elements of which the coder controls
26
What is information about the author of a document considered to be?
Content
Context
Mididata
Metadata
27
What value does the above code segment display?
17
No value
53
36
28
How many more bits are available if you go from a 32-bit computer to a 64-bit machine?
232 more
Twice as many
32 more
29
A memory location to store active data temporarily to shorten data access times and reduce latency is the definition of
utility
big data
analytics
cache
30
If inputs B and C are both true, which of the following best describes the final output produced by the circuit?
The output will be true if input A is true, and false otherwise.
The output will be true regardless of the values of inputs A and D.
The output will be true if both inputs A and D are true, and false.
The output will be true if input D is true, and false otherwise.
31
How do event-driven programs progress?
The code executes when an action occurs that it is programmed to recognize
The code executes sequentially
The code runs iteratively
They run in a linear fashion from start to end
32
Which of the following is a programming paradigm used in AP Computer Science Principles?
Imperative Programming
Object-Oriented Programming
All of the above
Functional Programming
33
Which of the following is NOT one of the seven big ideas of AP Computer Science Principles?
Abstraction
Algorithms
Responsibility
Creativity
34
Chaining together or placing two or more separate things side by side so that they are treated as one is
indexing
concatenation
cache
extraction
35
What is an example of event-driven programming?
Prompting a user to type in a response
A mobile device that orients to a new position
Using constants for data values in place of variables
A microphone transmitting audio data to a program
36
Which development process breaks the requirements down into small modules
Additive
spiral
iterative
incremental
37
Which of the following decimal (base-10) values is equivalent to the binary (base-2) value 101001?
37
41
22
82
38
Which of the following illustrates an aspect of efficiency?
Memory usage
Size of program
All of these
Execution time
39
If the variable score has a value of 10 at the beginning of a program, which runs according to the following flowchart
10.5
13.5
11
10
40
When does an overflow error occur?
When the numerator in a calculation is larger than the
integer requires more bit to represent it than programming language provide
When the computer runs out of memory to store program instructions
When the flow of binary digits reaches a broken pathway
41
Which of the following data cannot be captured at the ramp entrance?
Location of the ramp meter
Number of cars on the highway
Date
Number of cars that pass through the entrance ramp each hour
42
Why is cleaning data important?
It removes bad data.
All of the above
It ensures incomplete data does not hide or skew results.
It repairs incomplete data.
43
Which is NOT true about comments in programs?
Commenting helps programmers develop and maintain programs to efficiently
Commenting helps while working collaboratively in programming environments
Commenting about program components helps in developing and maintaining
All published programs have their comments available.
44
What will the following algorithm display? a ← 26 MOD 2 DISPLAY (a)
26
13
0
1
45
Which of the following decimal values, when converted to binary (ignore leading zeros) have exactly 3 zeros in them?
40
30
20
50
46
What is an Event?
An action that doesn’t do anything in the App
An action that will allow you to look up and event
Something that is happening in the calendar
An action that causes something to happen
47
Which of the following best describes high-level computing languages?
They evolve naturally over time
They are very easy for machines to understand and parse
They evolve naturally over time
They are not very ambiguous
48
An example of metadata about sea turtle nests could be
number of eggs in a nest
number of incubation days
location of the nest
tracking number assigned to the nest
49
Which of the following is an example of metadata that serves to be descriptive of the content of a file?
Program used to read the file
File size
User-selected tags (e.g., "Vacation," "Personal Work")
Date created
50
Large amounts of structured and unstructured data that can potentially be mined, examined, and used by organizations is
data collection
big data
usable data
data set
51
What is the purpose of pseudocode in programming?
D) To communicate an algorithm in plain language
B) To simulate the behavior of a program
A) To create graphical user interfaces
C) To write code that can be compiled
52
What will the following algorithm display? a ← 5 MOD 2 DISPLAY (a)
26
10
0
1
53
What is the amount of data compression an algorithm can produce reliant upon?
A large file size
Several patterns in the data
A small file size
No repeating parts of the file being compressed
54
Using the flowchart above, what value when entered for Y will generate a mathematical error
1
None of these values will produce a mathematical error.
3
0
55
Convert 100001BIN to a decimal number.
33
31
63
29
56
Which of the following is an example of a high-level programming language?
Python
Binary Code
Machine Code
Assembly Language
57
The letter "M" is represented by 01001101 in binary. What is this in decimal?
1101
76
414
77
58
Convert 48OCT to a decimal number.
55
80
89
40
59
What term describes values that can only be either true or false?
Boolean
Sequential
Decidable
Algorithmic
60
Which of the following questions cannot be easily answered using a binary set of answers?
When you write with a pen or pencil, which hand do you use?
Would you like to go to the store?
Do you prefer Mac or PC computers?
Which is the best song new song from last year?
61
Which of the following can metadata use to improve the use of actual data?
Author and Organization fields in documents be used to keep track of source
All of the above
length of a set of videos be used to determine the way that those videos
Files can be sorted by date of creation to make finding an old file
62
What is one way to ensure testing is thorough?
Add temporary DISPLAY statements to see results in the program.
Create a diagram of the program's processing.
Create expected results prior to testing.
Execute the code to ensure it runs.
63
Which of the following is a uniquely useful feature of search engines
The ability to find information originally released in print
The ability to distinguish between different versions of something
The ability to find basic information such as creators or release dates
The ability to find and filter information from a large variety of sites
64
What is the purpose of the Create Performance Task in the AP Computer Science Principles exam?
To evaluate the student's programming skills and creativity
To assess the student's ability to write code in a timed environment
To test the student's knowledge of computer science concepts
determine student's understanding of ethical decisions in computer science
65
Which of the following is a trade-off inherent in lossy compression ease of handling?
Smaller file size (bytes
image quality
Image size (pixels)
Viewing ability
66
What type of error breaks the rules of the programming language, like a grammatical error?
Syntax Error
Runtime Error
Overflow Error
Logic Error
67
ASCII is a format for the representation of characters in writing code. How many characters can be represented in ASCII
27
28
215
216
68
Which of the following best describes abstraction?
Adding complexity so the concept can apply to more uses
Combining procedures to make a new one
Simplifying complexity to make the concept more general
A set of instructions to do a task
69
What is the number system used by computers?
Base 8 (octal)
Base 2 (binary)
Base 16 (hexadecimal)
Base 10 (decimal)
70
Which of the following is a reason for the importance of variables in programming?
Variables allow you to store values calculated by the program
Variables allow you to change value used in multiple in a program easily
All of these
Variables assist in making code more readable.
71
Convert 1101BIN to a decimal number.
1101
1
11
13
72
How has the rise of mobile and wireless networking impacted innovation?
Finished innovations can be distributed to any customer instantaneously.
An innovation that can be redesigned to be wireless
Devices can be controlled remotely.
Communication used for innovation can be performed by more devices
73
Which number type is stored imprecisely in memory?
both
numbers with decimal
integers
neither
74
Which of the following is a question about intellectual property that is raised specifically by informational systems?
D. How can an IP holder deal with violating content
B. How can an IP holder prevent his or her content from being distributed?
A. How can an IP holder prevent his or her content from being copied?
C. How can an IP holder determine whether other work utilize
75
Which of the following are benefits of using well-named variables in a computer program? Select two answers.
The program will be easier for people to read.
The program will be easier to modify in the future.
The program will run faster.
The program will have a greater data storage capacity.
76
Working together to facilitate the application of multiple perspectives and diverse talents and skills is the definition
collaboration
extraction
visualtion
crowdsourcing
77
What is a reason to perform additional research on correlations found through data analysis?
A single source may not provide enough data for a conclusion.
All of the above
To understand the relationship between the variables.
There may not be an actual cause and effect relationship
78
Consider the above code segment.Which of the following best describes the result of running the code segment?
The number 0 is displayed.
The number 10 is displayed.
The number 4 is displayed.
Nothing is displayed; the program results in an infinite loop.
79
What is 214
10
in binary?
11010100
11010111
01101011
11010110
80
What is the binary equivalent to the decimal number of 78?
1100110
1001110
1001100
1110001
81
Which of the following protocol standardization is NOT a function of the IETF (Internet Engineering Task Force)?
Hypertext Transfer Protocol
JavaScript Coding Protocol
Simple Mail Transfer Protocol
Internet Protocol
82
In a flowchart, a typical decision symbol has what type of output?
None of these
text
boolean (true/false)
numerical
83
What is one way to debug a program?
Add temporary print messages to determine program values.
Override the error with the correct value.
Test with different data values each time.
Document the error in the user guide and online help text.
84
Which of the following best defines confidentiality in context with information and data?
The reliability of access to information
The certainty that information is accurate
The ability to limit access to information to a certain set of users
The confirmation that a company will not sell your information to others
85
Which of the following describes the part of a computer which stores instructions and information
Binary
RAM
Machine Code
CPU
86
A collection of numbers or values that relate to a particular subject usually portrayed in a relational database table
useful data
data persistence
usable data
data set
87
What must you consider when determining the efficiency of an algorithm? Select two choices.
The number of characters used to write the program
The language in which the program is written.
The length of time required to run the program
The amount of resources, such as storage, required
88
Using the table given below, determine the ASCII to binary code conversion for the word science.
01110011 01100011 01101001 01101110 01100011 01100101 01100101
01110011 01100011 01101001 01100101 01101110 01100101 01100011
01110011 01100011 01101001 01100101 01101110 01100011 01100101
01110011 01100011 01101001 01100011 01100101 01101110 01100101
89
Why is analyzing data with computers important?
To verify existing solutions to problems
To test due diligence
To increase the viability of server farms
To identify patterns that humans cannot see
90
The representation of information using a chart, diagram, image, etc. is the definition of
extraction
analytics
concatenation
visualization(s)