stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Ide, Muhammad AP Exam Review Flashcards | StudBud
Explore
/
Ide, Muhammad AP Exam Review
Ide, Muhammad 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
With a problem that cannot be solved for all cases, what can sometimes be used as a close approximation?
A tractable solution
A solvable solution
A heuristic solution
A travelling solution
2
The internet is built on open standards. In this context, what does "open" mean?
.The standards can be used in any program that is used to access the web.
The standards are made freely available and can be used by anyone.
The standards cannot be utilized in proprietary software of any form.
The official standards can be made, updated, and edited by anyone.
3
Your selection statement's condition is not working when patient_temp equal 98.6. why?
An overflow error occurred.
The format is incorrect for this test
A round-off error occurred.
The test condition is invalid.
4
What is the name for programming code that is available to anyone to use or modify?
Compiled software
Open access software
Licensed software
Open-source software
5
What will the following algorithm display?
Put them in a bag and they stay crisp
Milk Cookies Soda Chips put them in a bag so you know they stay
Milk Cookies Soda
Milk
6
When access to the Internet is unequal based on geographic or socioeconomic reasons, it's referred to as the:
Internet divide
Distance divide
Digital divide
Wealthy divide
7
Which of the following must be true about the code that she writes?
Both selection & looping are necessary.
Selection is necessary, but looping is not.
Neither selection nor looping are necessary.
Looping is necessary, but selection is not.
8
Taken as a whole, is a physical computer low-level or high-level?
Low-level, because the computer processes the lowest-level form of software
Highlevel because the computer is capable of utilizing higher-level p langs
Neither, as it is not software
High-level because the computer contains many lowerlevel components ex: CPU
9
Which computing system can process larger datasets when multiple devices are combined ?
Sequnetial
Dispersed
Parallel
Incremental
10
If the variable has value "Hannah", what is the value if we take substring of name starting at 4 and going to the end
nah
nana
ah
Hann
11
Which process breaks requirements down into small modules, adds the code, once working, to the project as a whole?
Incremental
Iterative
Additive
Spiral
12
Which of the below, represented in binary as a byte, contains the most zeros?
K
p
.
C
13
What happens when you "clean data"?
Corrupt data records are corrected or removed.
Duplicate records are removed
Incomplete data records are completed or removed.
All of the above
14
If a does not equal b, what error has occurred?
a will equal b on all computers
Roundoff error
Overflow error
Hexadecimal conversion error
15
Granting access after clearing at least two steps of authentication, is called
compound authentication
frequency analysis authentication
complex authentication
multifactor authentication
16
People trading personal information for perks from companies is an example of which of the following?
Privacy concerns
The use of proxy servers
Authentication exposure
Legal issues
17
What will the following algorithm display?
13
0
1
26
18
How many more bits are available if you go from a 32-bit computer to a 64-bit machine?
32
32 to the 2nd power more
2 to the 32nd power more
Twice as many
19
Computer viruses can replicate after infecting a computer. How are they transmitted?
By attaching to a valid program or file
By clicking on a link that > counterfeit web designed to look like a legit
By visiting an website that is infected
By being on the same network as an infected device
20
What term describes values that can only be either true or false?net/
Boolean
Sequential
Decidable
Algorithmic
21
what are the connected steps between a sending and a receiving location called
A route
A conduit
A heurisitc
A path
22
How many lines need to be cut to completely isolate computer E from computer C?
0
6
3
8
23
What command can replace <Missing condition> to get the results shown in the fourth column of the table?
a OR b
NOT(a OR a)
NOT b
NOT(a AND b)
24
What has Creative Commons provided?
Ways to share other people's creations without their knowledge
Licensing options by the owners of artifact
Cooperative copyright arbitration
Free use of other people's work
25
What is the percentage that this algorithm displays true?DISPLAY(RANDOM(5, 9) > 9)---------------------Source Url:ht
100%
20%
0%
60%
26
Sort the following by levels of abstraction, from lowest to highest:
I, II, III, IV
I, IV, II, III
I, III, IV, II
I, IV, III, II
27
Given a table of lunchroom leftovers, what can be determined from the data?
Days of field trips when classes missed lunch
Amount of wasted budget dollars
Most popular items
Days with high absenteeism
28
What is the benefit of high-level programming language?
A high-level language makes the algorithm easier to read and edit
More computers can interrupt a high-level language than low level language
A high-level language is faster than a low-level language.
A h lang can directly used by a computer > use fewer steps than low level
29
Cryptography today uses which of the following?
Published algorithms available to all
Undecidable algorithms
The Caesar Cipher
Algorithms known by only a few members of the IETF governing organization
30
Sort the following by levels of abstraction, from lowest to highest:
I, IV, III, II
I, IV, II, III
I, III, IV, II
I, II, III, IV
31
Which of the following is true about packets?
Each router decrypts the packets to confirm their destination.
If a packet does not arrive at destination the entire message is resent
Packets travel along different paths to their destination
Packets leave and arrive at their destination at the same time.
32
What is the percentage that this algorithm displays true?DISPLAY(RANDOM(1, 10) ≤ 6)---------------------Source Url:http
100%
60%
10%
9%
33
Which of the following has the lowest level of hardware abstraction?
Transistors
Motherboard
Computer
Computer chips
34
Which of the following statements is
NOT
correct:
Hardware is the lowest level of abstraction
logic gates are modeled by Boolean functions
Binary data is processed by physical layers of computing hardware
Logic gates are used to perform operations such as addition and subtraction
35
Which of the following can be represented by a single binary digit?
Geographic location
Light on / light of
Date
Time
36
What will be the result of the displayed program?
7 5 9
9 5 7
6 14
14 6
37
What is the minimum number of searches for a binary search using an ordered list of 100 numbers?
0
100
8
1
38
What are variables used for in programs?
They indicate how long the fraction part of a real number is.
They link libraries of programs to the current program.
They hold the indices for a list name.
They hold values, numbers, or strings.
39
What will the following algorithm display?
14 17 2
2 12 2
13 17 5
2 14 17
40
What will the following program display?
OXXOXXOXX
The program is an infinite loop.
OOOXX
OXXOO
41
What is the binary equivalent of the decimal number 158?
10011111
10011101
10011000
10011110
42
What number system has the lowest abstraction level?
Hexadecimal
Octal
Decimal
Binary
43
A magnet school wants to advertise its students' success taking AP exams to. What's the best method to share the data?
Send an e-mail to families with middle-school-age children.
Create ainteractive pie chart about topics and overall scores posted on web
Post an image of student results on social media sites.
Write a report for a marketing pamphlet.
44
How can an individual element in a list be identified?
Use the full list name.
Use the index or number of the element's position in the list.
Use the built-in procedures for lists.
Use the list name plus the value in the list at the needed position.
45
How are procedures abstract in computer science?
They can be used without understanding or seeing the code used
They represent the lowest level of code for the computer to run.
They use actual values to represent concepts.
They are blocks of code that do something specific
46
Sequential statements
run until the user enters "done"
run only when the condition is true
run until a loop finishes
run one after the other in the order given
47
What role do the secure sockets layer (SSL) and transport layer security (TLS) protocols play in web communication?
No protocol play any role they are vestigial features from early internet.
SSL & TLS encrypt communication to ensure that data cannot be read if inte
SSL and TLS are used to initiate server connections.
SSL and TLS manage directory services and their use online.
48
Using social engineering to trick users into providing their personal information is called
keylogging
pharming
phishing
spearing
49
Data compression algorithms are used when the data
needs to be shared with a large number of people
is too large to send in a timely manner
is used for cryptography to keep data secure
needs to be sent a large physical distance away
50
What is string1 concatenated with string2 when:
TikTok
Tik "Tok"
TikTok
Tik Tok
51
What is an example of sharing images and allowing individuals to scan them for certain features?
Contaminated research
Citizen science
Heuristics
Moore's law
52
What is one way that does NOT prevent password-cracking programs from easily identifying your password?
Making it easy to remember so you do not have to write it down
Using special characters as part of your password
Using former pet names that hackers could never know
Using a mixture of upper and lowercase letters
53
What is the appropriate name for the procedure?
IS_TRAPPED()
SPIN()
ESCAPE()
CAN_ESCAPE()
54
Given the network in the diagram, what is an available path for A and B if the link between A and B is down?
A C D A
A C D
A C B
C D B A
55
How can a smaller representation of something, be used to determine what could happen in the real world?
Through simulations
Through planning
Through imaging
Through the use of lab work
56
Which of the following is
LEAST
likely to be included with the game?
Information about what types of mobile devices can be used
Location of high-crime areas that should be avoided
Location of highly trafficked roads and bridges
What protocols the mobile device uses to connect to the internet
57
Which of the following test cases will NOT find the maximum number in the list?
list1[−23, −67, −3, −7]
list1[23, 67, 3]
list1[4]
list1[0, 0, 0, 0]
58
Which of the following are benefits to having information easily accessible?
II and III
I and II only
I only
I, II, and III
59
Which are more abstract: high-level or low-level programming languages?
Neither are abstract
Both have the same level of abstractio
High-level
Low-level
60
How do selection statements determine which section of code to execute?
Through the use of the Turing algorithm for analysis
Through random number generators
Through variables initialized to execute these statements
Through conditions that evaluate to true or false
61
What is returned by
cube(cube(2))
?
128
64
512
8
62
If your program executes without errors, but the results are incorrect, what type of error do you likely have?
Logic error
Syntax error
Runtime erro
Round-off error
63
What could a single binary value represent?
Temperature in degrees Celsius
Volume on a radio
Time
If a light is on or off
64
. Which of the following computer languages have the highest level of abstractions?
COBOL
Machine code
All of the above
Python/JAVA
65
What is the World Wide Web?
A collection of wires and cables to connect devices
A way to search for and share documents and resources
Another name for the Internet
A browser
66
Which of the following statements are true about undecidable problems in computer science?
II and III
I only
I and II
I, II, and III
67
What percentage of the time will the following program display a number?
25%
20%
75%
10%
68
Why is it important to find an efficient solution to a problem?
An efficient solution uses more computer resources, which ensure correct
An efficient solution makes it harder to copy an algorithm.
An efficient solution can always be solved in a reasonable amount of time.
An efficient solution can make it easier to analyze larger data sets.
69
What should replace so the program below displays TRUE 60% of the time?
x MOD 2 = 1
x MOD 5 = 5
x MOD 2 = 0
x MOD 5 = 0
70
Using an app to notify many people about child abductions, such as an Amber alert, is an example of
open sourcing
crowdsourcing
compliance
consensus building
71
Else statements
run every time an "if" statement runs
run each time an "if" condition is true
run when an "if" condition is false
do not need an "if" statement to run
72
With Boolean, what does "A OR B" mean?
Both A and B must be true for the condition to be true.
If A is true, then the condition is true.
If B is not true, then the condition is true.
Neither A or B can be true for the condition to be true.
73
What type of error breaks the rules of the programming language, like a grammatical error?
Sytnax error
Runtime
Logic error
Overflow error
74
What can be determined by comparing the time it takes different systems to complete the same task?
Validity
Speedup
Reliability
Efficiency
75
Which of the following is false about HTTPS?
HTTPS uses Certificate Authorities (CAs) to verify a site's identity.
HTTPS trades faster performance for more securitySourc
HTTPS ensures the secure sharing of data.
HTTPS encrypts data before it is separated into packets.
76
Which of the following must be true about the code that she writes?
Internet Protocol
Hypertext Transfer Protocol
Simple Mail Transfer Protocol
JavaScript Coding Protocol
77
What does the algorithm display?
3
4
7
5
78
What is the maximum number of searches required if using a linear search on list containing 2,000 numbers?
1,000
1
11
2,000
79
Why is there a limit to adding additional devices to a parallel system?
Space and connections to power in a building limit the number of devices.
The amount of time the sequential part takes to run cant be shortened
Theprocessor speed is limited and additional devices cannot create speedup.
There are only so many configurations to connect devices in parallel.
80
The procedure will return TRUE if an item is found in a list What will the following procedure display?
[1, 6, −4]
[ ]
[4, 6, −4]
[1, 35, 6, 76, 4, 98, 5, 1, 8, 96, −4]
81
What do parameters used in a procedure provide?
They allow software reuse for different values.
They return calculated values from the procedure to the calling program.
They provide the connection of an API to the procedure.
They provide a way to call a procedure from within another procedure.
82
What is displayed as a result of executing the code segment?
Dog Cat Fish Golden Bandicoot
Dog Cat Fish
Golden Bandicoot Cat Fish
Dog Golden Bandicoot Cat Fish
83
We can convert a number from decimal to octal (base 8) by repeatedly subtracting the largest possible powers of what?
9
2
7
8
84
What could be added to the diagram to provide redundancy?
An additional path between A and D
Duplicate routers at each node
More cables connecting all locations
A signal booster to maintain the speed between sending and receiving loca
85
Why is a "divide and conquer" search more efficient than a linear search?
You eliminate half the dataset with each iteration.
You have to search all the values.
You only look at half the dataset.
It is less efficient with large datasets.
86
How many passes using a linear search are needed to find the number 11?
1
3
2
4
87
Which method of finding errors is most useful to identify logic errors?
Runtime error
Syntax error
Backtracing
Creating new test cases
88
What is displayed as a result if the user inputs “Karel” to the program?
Hello Karel
What is your name?HelloKarel
What is your name?Hello Karel
What is your name? Hello Karel
89
What will the executed code display?
All even numbers between 3 and 12
All odd numbers between 3 and 12
All odd numbers between 1 and 12
All even numbers between 1 and 12
90
What is a symmetric key used for?s/t
Sending and receiving information from the Web
Decrypting data
Encrypting and decrypting data
Encrypting data