stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Lotun, Abhinav Summative Test Project Flashcards | StudBud
Explore
/
Lotun, Abhinav Summative Test Project
Lotun, Abhinav Summative Test Project
102 terms
·
StudBud Administration
Imported from external platform
Flashcards
102 cards
F
Practice quiz
P
Host live
L
Questions
102
Answers
1
Which of the following is the
MOST
likely data privacy concern of the upgraded game?
The player’s score
How much time a person spent playing the game
Recording whether the player was speeding when driving to a location.
How many locations the player visited
2
What is the minimum processing time it will take to run parallel on 3 processors. (in seconds)
7
10
6
8
3
How many bits are in 3 RGB bytes
16
36
8
24
4
How much connections must be cut to isolate H (minimum)
7
2
3
1
5
What should be used to swap a and b with the varible
b=a
temp=a
temp=b
b=temp
6
What is a potential issue or bias that could arise if the data is not representative
The algorithm might take longer to run than expected
The algorithm might alphabetize names starting with different letter
The user interface for inputting names might become cluttered.
The algorithm's efficiency in distinguishing in reduction
7
What is true about packets and how they transmitt
Packets are sent one by one on the fastest route
They are received in order and are reliant off of each other
All of the above
Packets are sent in multiples paths received out of order
8
Which of the following lists is
NOT
a candidate for a binary search?Responses
words from a poem about in the order they appear in the poem
A list of numbers from smallest to largest
A list of students in order of height
A list of words in a dictionary
9
What is considered the main privacy concern
Cookies are responsible for spam and pop-up advertisements.
Information collected about personal preference and private activities
Cookies are text files that keep track of website visits and activities.
Cookies are used to acquire users private encryption keys.
10
What is the cause of digital divide
Affordability of computing devices
All of the above
Access of computing devices
Lack of computing devices due to location
11
What is the error in this section of code
Logic error
Runtime error
No error
Syntax error
12
Graphs are more easier to interpret AND they can show trends
False
True
13
What does this code output?
12 12 12
24 24 24
6 12 24
12 24 24
14
What is the output?
11
3
8
Nothing sue to a syntax error
15
What is true about the digital divide?
It is a fair representation of people in different areas
Unfair representation for different people based on internet access
There is no such thing as digital divide because internet is global
16
This program is wrong but one sequence produces the average number in the list numbers.
nums[1, 1, 35, 6]
None of them... its a lost cause
nums[0, 1, 35, 6]
nums[6, 3, 9, 12]
17
What type of error has occurred in the program
No error has occured
Syntax error
Logic error
Runtime error
18
How much connections must be cut to isolate A from J but still communicate with G (minimum)
3
5
12
6
19
what is the MOST important consideration a programmer would need to make about the program?
Color scheme
The efficiency and scalability
The type of font and metadata
Number of tutoirials and comments to explain the code
20
What is correct about Binary and Linear search in a sorted list
Binary is less effective because it specializes in only large data sets
Binary search is more effective - it splits the list over and over by 1/2
Linear search is more effective because it goes through it quicker
Neither are better b/c they need machine learning and correct HTTP to work
21
What is the output?
20
37
27
25
22
What situation would you use this code?
Giving one card to 5 people
Turns over one card, returns it to the deck, shuffles, repeats five times.
One card each to five players
dealing cards face up to 5 player
23
What binary number is equal to 10001 binary+3 decimal
10011BIN
11110BIN
11100BIN
10100BIN
24
What is NOT the meta data in the image
The filenam
The data and time the photo was taken
The Red, Green, and Blue values of the top left pixel
The geographic location where the picture was taken
25
What are the values of the first and second after if is executed? (3)
200 200
200 100
100 100
100 200
26
What is the role of TCP
Foundation for communication with established networks
Confuse AP Compsci Students with its brother protocol UDP
Its just sending numbers as binary to be interpreted as decimal ONLY
Set rules for fauult-tolerance and paths to take to reach.
27
What is the output?
20
15
23
12
28
Why is cryptography essential to cybersecurity?
does not allow data on a server to be edited by anyone
Cryptography secures internet communications with encryption
to prevent publicly accessible files on a server from being edited.
preventing a third party from hijacking a connection.
29
What is the output
133
12
43
145
30
What would be MOST effective for identifying patterns in data?
Creating a slideshow presentation of the raw data
use database to store the data and applying data visualization techniques
Manually writing down observations in a notebook.
Asking a teacher or higher authority
31
Which of the following data is not provided directly by the user, or their device. But is needed to operate
User name
Location of landmarks used in the game.
GPS location of user
Speed traveling
32
Which of the following is
LEAST
likely to be included with the game?
Location of highly trafficked roads and bridges
Information about what types of mobile devices can be used
What protocols the mobile device uses to connect to the internet
Location of high-crime areas that should be avoided
33
What will the code display?
9 10 7 4 2
1 4 7 10 9
A syntax error occurs
An error will occur because it is out of bounds
34
What does this code output when inputted <mystery (1, 2)>
12/2
4
10%2
8
35
which of the following commands would properly import ThreadLocalRandom?
import ThreadLocalRandom.concurrent.util.java
import java.util.concurrent.ThreadLocalRandom
import java.ThreadLocalRandom
import java.util.function.ThreadLocalRandom
36
Which of the codes below will correctly swap the frog with the bear?
1. animal[1] = animal[2] 2.animal[2] = animal[1]
Temp=animal[1] 2. animal[1]= animal[2] 3.animal[2]=temp
1. animal[3] = animal[1] 2.animal[1] = animal[3
1. temp= animal[1] 2.animal[1]= animal[2] 3.animal[2] = temp
37
What is an indication a site is not credible?
It shows you the credentials.
The author has a great reputation
It has a sponshorship
It uses persuasion to make you do something
38
which of the following BEST describes the primary role of network protocols?
To ensure the email is written in correct grammar and spelling.
To translate the email content into different languages for the recipient.
automatically categorize the email into folders in the recipients files
To provide a standardized set of rules for how the email is transmitted
39
Why are variables important in programs
They make the program easier to comprehend for a user
They save the programmer time when defining a list
They provide a quick and easy way to access a statement that can be changed
It can always be changed in a program if there is a syntax error
40
What does the code do?
Nothing, It will result in an error
Add all values in the list and divide it by the length
Calculate the average length of the list.
Calculate the average of scores from 1-5
41
Which of the following input data is needed by the upgraded game that was
NOT
needed by the original game?
Age of the player
Event sensing; an event would be the user pushing a button or screen
Picture of the player
GPS location and coordinates
42
Does this code contain literation or selection?
Ilteration
Both
None
Selection
43
What is a con of Internet trust
Makes sure that data
A website doesn't have an encrypted communication
A website can still steal information from a user even if blocked
A website has full power over the users computing device.
44
What can be represented by a single binary digit?
None on the above
The data and time
A "yes" or "no" answer
The coordinatees of a person
45
If I got all my ideas for these Quiz questions on one site, what is the mistake I did?
No mistake
I didn't attribute them correctly
The Kahoot is very reliable and always right
The Kahoot contains bias on what information is used.
46
How can collaboration and iteration BEST improve the development of a large software project?
By allowing people to work independently without communication
ensuring that the initial plan is strictly followed without any deviation
By enabling teams to break down the project into smaller parts
reducing the need for testing and debugging
47
What does CPT and PPR stand for?
Coordinate programming technology and Power processing reference
Computer programming tasks and Processing power rate.
Create performance task and personalized project reference
They are just random anagrams...
48
What will the following code segment display? (list index starts at 1)
Nothing will be displayed due to an error.
11
3
6
49
How much bits are in the standard byte and in what number system
8 : Decimal
7 : Binary
8 : Binary
8 : Octagonal
50
What is Metadata
The routing information
Data that is shown in the "background" and is not seen but used to identify
A unit of measurement that represents the amount of data
The RGB color index and the binary digits to represent.
51
What is the difference between lossless and lossy
Lossy and lossless are both data storage capacitors
Lossy is a data compression Lossless is a procol
They are the same thing Lossy is just short for lossless
Lossy permanently gets rid ofdata while lossless doesn't data transmission
52
What is the output?
4
0 6 4
6
There is an error
53
What scenario would data bias be useful?
Data Bias is NEVER useful in a situation.
To target certain individuals (criminals)
To determine who can eat where and how
To use and give some a competitive advantage
54
What is the output of the algorithim
Nothing due to an infinite loop
2 8 14
4 8 8
3 8 0
55
Which of the following could be a possible explanation for blurry pictures im email
some of the picture data will be lost in transmission.
he picture files were compressed using lossless compression
the file was broken down into packets
The picture files were compressed using lossy compression
56
What is the minimum number of searches for a binary search using an ordered list of 100 numbers?
0
100
1
8
57
Which command can replace <Missing Condition> to result in the last column of the table shown below?
b AND (a AND b)
a AND (a AND b)
a OR b
NOT (a AND b)
58
what is the output?
1 3 5 7 9 10 13 19
1 4 7 15
3 9
9 9 9 9
59
Why is important to have efficiency in a program
An efficient solution can always be solved in a reasonable amount of time.
An efficient solution makes it harder to copy an algorithm.
An efficient solution uses more co resources ensuring that results are good
An efficient solution can make it easier to analyze larger data sets.
60
a does not equal b. WHY?
Hexadecimal conversion error
They should always be equal.
Roundoff error
Overflow error
61
What is the purpose of a digital certificate?
Make sure the website you are visiting is not a fake version
Ensures that the communication is with a real person and not a scammer
Ensures server security and transactions and data is confidential
Credits the programmer and that his work is his work and didn't copy
62
What should replace <missing condition> so that the program below display TRUE 90% of the time?
x <= 1
x <= 9
x < 9
x<2
63
How is data MOST directly used to make driving decisions?
It is stored in a database for later analysis by engineers.
immediately processed by algorithms and get the best path to survive
It is displayed to the driver for them to make manual adjustments.
It is transmitted to a central server for processing
64
What list would make the code display the correct average
numbers[3, 5, 11, 6]
numbers[0, 1, 35, 6]
numbers[11, 35, 6]
numbers[1, 1, 35, 6]
65
What scenario would it be the most effective to use linear search
List of nouns words that are taken from a story in order, and taken once
None of these are good candidates
List of numbers to 200, smallest to largest
A list of numbers that increase to 1000 then decrease to -10000
66
How much more IP addresses are there comparing Ipv4 and Ipv6
Twice As many
2^96 as many
100 times as many
96^8 as many
67
How is the concept of abstraction BEST exemplified in the design of this platform for a typical user?
Users see a simplified interface with buttons and feeds
people are required to manage server infrastructure that hosts their data
directly interact with the underlying code that stores and displays posts
Need to understand the network protocols in sending and receiving data
68
In an unsorted list what is the best searching algorithm
Linear search
Binary search
Insertion sorting
Bubble sort
69
How does all data transmit over the internet?
The same sites use the same routers
All data is in binary and uses protocols
Data is always sent and received in order
Data is looped to find the best route and sends a 50 packets on it
70
Which of the following is a negative trade-off inherent in lossless compression?
Some of the data will be lost and cannot be recovered.
The file can be difficult to email and can take up lots of memory storage
The number and size of pixels will be less.
The image quality will be less and will result in a blurry image.
71
Symmetric encryption is Simple and easy to crack.
True
False
72
What should replace
<missing code>
in the following algorithm, if the values are different if calls a function
IF(number = true AND randomNumber = drawing)
IF(number = true OR randomNumber = true)
IF(number ≠ randomNumber)
IF(number = randomNumber)
73
An algorithm has n number of steps. Which of the following would be considered a reasonable number of steps?
3*3^n
n!^2
sqrt(4^n+8^2)^n
50n^2
74
What is 4%2 + 6%2?
3
0
1
10
75
Did you memorize your AP login?
No
For what?
Yes
IDK what an AP login is
76
What is the key difference of round-off errors compared to runtime errors
Runtime errors are errors that happen when you do an illegal function (8/0)
Round-off errors happen due to the limited digits a program can store
Round-off errors happen when a program is forced to round numbers.
Error in the program that crashes the program before parsing
77
What is not true about citizen science
Volunteers are mainly citizens and everyone helps
Includes crowd sourcing for the best data analysis
They need high tech volunteers.
They are not needed to be trained and it helps get a lot of data
78
Of which staements are true about undecidable errors
1 and 3
None of them
All of them
1 and 2
79
What is the output of the algorithim
Always false
Always true
False when a and b are true
True when a or b is true
80
What type of error is the procedure below suffering from
Syntax error
Runtime error
No error. The program works as intended.
Logical error
81
<print ("hello world ")> is the same as <print ("hello world")>
False
True
82
What should replace <missing condition> so that the program below displays TRUE 60% of the time?
x>=9
x=>9
x<6
x>10
83
What list would NOT find the max numbers in the list
list1[23, 67, 3]
list1[4]
list1[0, 0, 0, 0]
list1[−23, −67, −3, −7]
84
What is true about data compression
When sending pics, lossy cannot be used
can be used for only pictures and videos
Used to reduce file size for more efficient transmission.
Lossless is the best in all conditions
85
Identify a solution that is quick and reasonable for last minute truck deliveries.
Write a new code to solve the problem
Use the drivers and your knowledge to find draw pathways
Delay the deliveries and find the solution saving time.
Use a software to find routes close to each other and reasonable routes
86
What is displayed after execution?
9
157
39
13579
87
This code runs parallel, one is dependent off of two, and two is dependent on 3, what is the execution time?
9
13
15
28
88
Why does program code have to be run through a compiler?
So the program can send data transmissions to webrowsers.
So an algorithim can be debugged and ruxed to run correctly
So the program can be translated into binary language of another lang
It doesnt have to
89
In python, what does % mean
It makes a statement display what percent of your decision is right
This symbol is not used in python
modulus, basically the remainder of a division problem
It is a percent, used to calculate percentages of outputs
90
How much percentage is it possible to display an even number
20%
10%
40%
50%
91
What search would give the most specific info on mustang animals.
"Mustang, Not the car"
mustang -car
Mustang NOT car
Site: Mustang
92
A logic error doesn't crash the program
False
True
93
Why is pseudocode used?
For programmers to get a broad idea on the program easily
For variety in the programming languages
Provide quick easy programming resource by copying and pasting into a code
So all programming languages and humans can understand it
94
What are the 2 parts of efficiency?
Innovation and speed
Storage and Power useage
Execution time and memory useage
Reliability and power storage (for longer amount of times you can use code)
95
What should be inserted in <missing condition> so it shows ture 20% of the time
x <= 2
X=20/100
x < 8
x >= 8
96
What is a protocol use for
Binary number represnentaion
To send information to a global network in singular bits
Make sure the RGB color index is not altered and routing informataion
Ensure data is transmitted across the internet reasonably and efficiently
97
What is the output of the algorithim
None of the above
Dog Cat Fish Golden Bandicoot
Dog Golden Bandicoot Cat Fish
Golden Bandicoot Cat Fish
98
What will be the output?
There is a syntax error
8 4 6
3 3 6
6 4 8
99
Which of the following is considered a potential effect of the mobile game rather than the purpose of the game?
Players play the game in their spare time.
Players are becoming more cultured by visiting artworks.
People exercise more often
People are not watching where they are walking and are getting injured.
100
How do computers store RGB color values
They don't store colors
Color values are stored in a variable and it is called when needed.
Certain colors have certain combinations and a byte can determine the color
101
Why are simulations better
They mitigate risks and can outline problems.
They are not due to limitations
They can be run once in a very detailed manner
They have an effect on the actual world.
102
Which of the following potential benefits is MOST likely to be provided by the upgraded system?
Limits the information about the sites and stores that the user visits
Speeding up the process
Offering certain items based on players surrounding environmetn
determines weather sites change site info based on user