stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Ullah, Fawaz Summative Test Project Flashcards | StudBud
Explore
/
Ullah, Fawaz Summative Test Project
Ullah, Fawaz Summative Test Project
105 terms
·
StudBud Administration
Imported from external platform
Flashcards
105 cards
F
Practice quiz
P
Host live
L
Questions
105
Answers
1
A recursive algorithm always runs faster than an iterative algorithm for the same problem.
False
True
2
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
3
What will mystery(CSList) display for CSList = ['c', 'o', 'm', 'p', 'u', 't', 'e', 'r']
computer computer computer computer computer
computer computer computer
cmptr cmptr cmptr cmptr cmptr
cmptr cmptr cmptr
4
An online museum needs lossless compression for identical image restoration.
A heuristic approach achieves lossless compression for most images
Heuristic compression is lossless but may not be most efficient.
Compression risks lossiness, so art should not be compressed.
Heuristic compression is lossless but may not be most efficient.
5
Which of the following is NOT metadata for the picture?
The location where the picture was taken
The time the picture was taken
The picture of the dog
The memory space taken up by the picture
6
What does the algorithm display?
3
5
7
4
7
What are two aspects of efficiency
wall clock time and CPU time
execution time and length of code
execution time and memory usage
memory usage and length of code
8
What percentage of the time will the following program display a number?
25%
75%
20%
10%
9
What is the value of sum displayed after this algorithm is run?
4
Error
0
6
10
What will the following code segment display?
Nothing will be displayed due to the error index out of bounds.
9 10 7 4 1
10
1 4 7 10 9
11
Which of the following is the primary function of an Internet Service Provider (ISP)?
Hosting search engines
Hosting search engines
Providing software updates
Managing network connections
12
What methods could Emma use so that her story, video, and photos will likely be seen by the maximum number of people?
Email local news media offering videos and photos.
Use all social media to maximize reach.
Submit article with photos to an online journal.
Post article, videos, and photos on her journalism blog.
13
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 used to perform operations such as addition and subtraction
Logic gates are modeled by Boolean functions.
14
Which response is
NOT
possible when a browser requests a website using
IPv4
?
174.260.45.144
128.198.232.65
54.116.188.246
92.11.198.113
15
Which of the following is an example of abstraction in computing?
Storing data in a spreadsheet
Writing a program in binary code
Running a program without debugging
Using a function to simplify complex operations
16
What will be the output of the following program?
9 5 7
14 6
7 5 9
14
17
What is the following program returning?
25
20
27
37
18
Which method helps prevent exposing personal data in large datasets?
I, II, and IV only
All of the above
I, II, III, and IV only
II, IV, and V only
19
Review the lists below and select the one that correctly lists each protocol with its function.
HTTP finds resources, TCP/IP ensures packet delivery, DNS maps names to IPs
TCP/IP finds resources, DNS connects, HTTP maps names to IPs.
DNS finds resources, HTTP handles connection, TCP/IP maps names to IPs.
TCP/IP finds resources, HTTP connects, DNS maps names to IPs.
20
What will y display?
0
15
20
16
21
What is the primary function of TCP/IP?
Managing packet delivery
Blocking all network access
Identifying requested resources
Encrypting all web traffic
22
What is displayed as a result of executing the code segment?
Dog Cat Fish Golden Bandicoot
Dog Cat Fish
Dog Golden Bandicoot Cat Fish
Golden Bandicoot Cat Fish
23
Which type of compression maintains identical file quality?
Lossless compression
Bit flipping
File reduction
Lossy compression
24
What procedure will result in the robot landing on the star?
moveAndSpin(4, 1) moveAndSpin(6, 0)
moveAndSpin(7, 3)
moveAndSpin(0, 1) moveAndSpin(6, 3) moveAndSpin(4, 0)
moveAndSpin(0, 7)
25
Which cybersecurity method prevents phishing attacks?
Save passwords in plaintext
Click on all email links
Ignore all software updates
Enable multi-factor authentication
26
which of the statements below BEST describes what will happen if ISP X, Host 3, and Host 11 are not working?
ISP Y detects Host 3 failure and re-routes data to a working host.
None of the answers are correct
Host 1 will compensate for the outage and route the data accordingly
The Client will not receive any data due to the outage
27
Which of the following best approximates the minimum possible time to run all three processes in series?
15 seconds
4 seconds
9 seconds
28 seconds
28
Debug the above code segment. Which of the following statements is true?
The code doesnt work as expected stopping the robot from finishing the maze
The code runs as intended. The code runs without error.
The code might not work as intended, and its purpose is unclear
The code runs as intended. The robot will reach the end of the maze.
29
Which of the following is NOT an example of using citizen science as a possible solution?
Calculating PSAT scores for a school district
Recording bat sounds with ultrasonic microphones and sonograms.
The behavior of mysterious and wonderful jellyfish on the beach or water
The behavior of fireflies during the summer months
30
What should replace <missing condition> so that the program below displays TRUE 60% of the time?
x > 10
x >= 9
x >= 6
x < 6
31
What is the maximum number of searches required if using a linear search on list containing 2,000 numbers?
1,000
11
2,000
1
32
What will be the result of the displayed program?
9 5 7
14 6
6 14
7 5 9
33
A computer using parallel computing will always complete a task faster than a computer using sequential computing.
True
False
34
A designer needs an efficient sorting algorithm for a growing hand in a multi-deck card game.
Reducing code lines doesn't ensure efficiency.
Hosting on a large server helps, but doesn’t optimize sorting.
Build an efficient algorithm early and expand as the game grows.
Modify existing sorting methods for a custom solution
35
What scientific fields would need to be represented on a team that is trying to win the DRC
Comp Sci, mechanical engineering, biology, electronics, and remote systems
Computer Science, electronics, remote systems, and biology
mechanical engineering, biology, and computer science
Remote systems, computer science, biology, and mechanical engineering
36
A cryptographic hashing function is reversible, allowing encrypted data to be decrypted back into its original form.
True
False
37
Which of the following is a characteristic of lossless data compression?
Some data is permanently removed to reduce file size
The original data can be perfectly reconstructed
It always results in a smaller file than lossy compression
It is only used for image files
38
What could the following code segment potentially be modeling
Dealer deals one card face-up to five players.
Dealer turns one card, returns, shuffles, repeats 5 times
Dealer deals a 5-card hand to one player
Dealer deals one card face-up to five players.
39
Which of the following is an example of metadata?
The file size and creation date of a document
The text inside a webpage
The actual content of an email
The binary code of a program
40
Which of the algorithms below would allow the student to create an analysis that accomplishes the task?
II only
Both I & II
I only
Neither
41
The procedure isFound(list, item) will return TRUE if item is found in a list What will the following procedure display
[ ]
[1, 6, −4]
[1, 35, 6, 76, 4, 98, 5, 1, 8, 96, −4]
[4, 6, −4]
42
Which of the following storage methods below makes accessibility of data easiest for people in multiple locations.
Cloud Drive, as it allows for multiple users and version control.
USB Flash Drive as it can be copied and handed or mailed to multiple users
Magnetic Drive System. as it can handle all data types.
Mainframe Computer, as it can be accessed from many computers.
43
Which of the following will correctly replace the missing code
CAN_MOVE (right)
CAN_MOVE (right) OR NOT CAN_MOVE (forward)
NOT CAN_MOVE (forward)
NOT CAN_MOVE (right)
44
The TCP protocol ensures data packets arrive in order and without errors.
False
True
45
Which of the following statements about artificial intelligence is true?
AI can only be used for image recognition
AI can perfectly replicate human intelligence
AI systems learn from data and improve over time
AI does not require algorithms to function
46
A landscaper's program must ensure input validation, π precision, unit consistency, and handle edge cases effectively.
Use a Boolean expression to check if a pool exists.
Approximate π with a floating-point value for accuracy.
Ensure the language supports necessary arithmetic operators.
Include height to calculate volume: Volume = Area × height.
47
Review the choices below and select the option that would NOT be a valid application of computational science.
Paleontologists model fossil spread using terrain simulation.
Chemist uses software to explore flexible plastic properties.
Biologist simulates predator/prey impact in park ecosystem.
NOAA scientists model tsunami effects via Monte Carlo method.
48
we can convert a number from decimal to base 8 by repeatedly substracting the largest possible powers of what?
9
2
7
8
49
which of the following statements are true about metadata
All of the above
I only
II, III, and IV only
I, II, and IV only
50
Which of the following protocol standardization is NOT a function of the IETF (Internet Engineering Task Force)?
JavaScript Coding Protocol
Simple Mail Transfer Protocol
Internet Protocol
Hypertext Transfer Protocol
51
Which of the following statements are true about high-level programming languages?
A high-level language executes commands like addition and multiplication.
A high-level programming language allows for code to be re-used.
A high-level programming language does not ensure program reliability.
A high-level programming language often uses natural language elements.
52
Which of the following is true about parallel computing?
It is only used for graphics processing
It always runs faster than sequential computing
It eliminates the need for algorithms
It divides tasks among multiple processors to improve efficiency
53
Maddie's current connection speed is 700 (kps). Approximately how long will the download take if her video is 400 MB
1.75 seconds
175 seconds
571 seconds
57.1 seconds
54
Which of the following correctly identify methods of DNS cache poisoning?
DNS Key Distribution
Masquerading
Rogue Servers
DNS BINDing
55
Which of the following best describes the purpose of an API (Application Programming Interface)?
It prevents unauthorized access to a network
It is used only for web development
It allows different software applications to communicate with each other
It encrypts data for secure transmission
56
What will the following program display?
The program is an infinite loop
OXXOO
OXXOXXOXX
OOOXX
57
Sort the following by levels of abstraction, from lowest to highest:
I, IV, III, II
I, III, IV, II
I, II, III, IV
I, IV, II, III
58
Which scenario best describes a distributed computing system?
Multiple computers sharing processing tasks
One server hosting several websites
A mobile device running an app
A single computer running a complex program
59
What will the executed code display?
All even numbers between 3 and 12
All odd numbers between 3 and 12
All even numbers between 1 and 12
All odd numbers between 1 and 12
60
After finishing a movie, Zach sees recommended films. The streaming site uses a recommendation system to suggest these.
Reference
Statistical probability model
Preference categorization
Information filtering
61
Why does updating a file require more memory than reading a file?
A read file uses only disk; updating files need disk and RAM.
A read file loads fully; updating files need both original and updated.
A read file needs no memory, but updating files require more.
A read file loads parts to memory; updating files need full memory.
62
Which of the following best describes an algorithm?
A set of instructions that always runs in constant time
A function that only works with numerical inputs
A sequence of steps designed to solve a problem
A program written in a specific programming language
63
Which of the following events is most likely to take place among the DNS servers?
The .org name server will send the IP address of the fbhs.org name server.
The widgets.cs.fbhs.org server provides its IP address.
The widgets name server provides the IP address of widgets.cs.
The .org name server will send the IP address of widgets.cs.fbhs.org
64
What will mystery(3, myList) display for myList = [10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0]?
9 6 3
9 6 3 0
10 8 7 5 4 2 1
10 8 7 5 4 2 1 0
65
Five friends biking in Boston need large covered racks along the Freedom Trail for five bikes they have a list of racks.
Neither I nor II
Both I and II
II only
I only
66
What should replace <missing code> so a and b swap correctly using temp?
temp <--- b
b <--- a
b <--- temp
temp <--- a
67
The Internet Protocol (IP) ensures reliable data transmission by correcting errors in packets
True
False
68
Security and privacy are crucial in digital data. Review the scenarios
A bank customer hides SSID but still risks online banking security.
A company erases old customer data using industry protocols.
A contractor stores sensitive files in a new cloud account.
An employee gives login details to an unknown caller.
69
Which of the following types of components is necessary for cybersecurity?
I only
III only
I, II, and III
I and II only
70
What is the best option for the robotics team to use to achieve its goals?
Create a step-by-step slide presentation on programming.
Host live video sessions for real-time team collaboration.
Offer completed code to those interested.
Post tutorial videos online and share email for questions.
71
Which format is most efficient for storing images?
TXT
JPEG
PDF
DOCX
72
Which of the following cybersecurity threats involves tricking users into revealing sensitive information?
Packet sniffing
Phishing
DDoS attack
SQL injection
73
A teacher uses word clouds to reveal overused words and discover new patterns
II and III
I, II, and III
I and III
I and II
74
Which of the search terms below would give her the most specific information on the topic she is searching for'?
Mustang, Not car
site: Mustang
"Mustang, not the car"
Mustang -car
75
Review the list below and select the
two
known forms of censorship currently used in China.
ISPs use keyword lists to block restricted sites or pages.
Government embeds cookies to monitor sites and search terms.
Hires people to post messages and monitor protests and activism.
Hackers create spyware via ISPs, tracking searches and user files.
76
Which algorithm calculates average correctly?
Both algorithms compute averages correctly but Algorithm A is more better
Algorithm A calculates average in all cases, while Algorithm B does not.
Algorithm B calculates average in all cases, while Algorithm A does not.
Neither Algorithm A nor Algorithm B calculates average correctly.
77
What is a major disadvantage of the internet’s model of trust?
A trusted site lacks encryption, exposing user data to interceptors
A trusted site may download malware even if a firewall blocks it
A trusted site could damage a computer's ROM if malicious.
A trusted site can harm computers if improperly trusted.
78
Which best describes the role of TCP?
Handles connection establishment and error checking.
Splits large files into smaller packets for transmission.
Maintains order and integrity of transmitted information.
Ensures reliable delivery of data packets over networks.
79
A binary search algorithm requires the input list to be sorted before execution.
True
False
80
Lossless compression reduces file size while maintaining all original data, allowing perfect reconstruction.
False
True
81
Consider the following procedure, cube (n), which is meant to multiply a number by itself three times.
128
64
8
512
82
What is the appropriate name for the procedure
IS_TRAPPED()
CAN_ESCAPE()
SPIN()
ESCAPE()
83
Which of the following is true about metadata?
It describes other data.
It cannot be modified.
It is stored separately from a file.
It always contains the file's content.
84
Which of the choices below properly identify these concepts?
Lexicographic and Asymmetric
Hash Codes and Key Transfers
Asymmetric and Symmetric
Symmetric and Steganography
85
Which of the following best describes the role of an IP address?
It encrypts data for secure transmission
It uniquely identifies devices on a network
It prevents unauthorized access to a network
It speeds up Internet connections
86
Which of the following best approximates the minimum possible time to run all five processes?
8 seconds
7 seconds
10 seconds
18 seconds
87
An undecidable problem has no algorithm that solves all possible inputs.
True
False
88
Which of the following best describes an algorithm?
A method that always guarantees the fastest solution
A random process for generating numbers
A sequence of steps to solve a problem
A program that runs without user input
89
Which of the following statements below is
NOT
true
Lossy formats reduce file size but cannot fully restore original quality.
Scanning creates lossy formats as programs interpret originals.
Moving music in lossless format reduces size but retains file quality
Lossless compression shrinks files and fully restores them.
90
Which of the following best describes a heuristic approach in computing?
A method for quick problem-solving when exact solutions are impractical.
A guaranteed method to find the optimal solution
A process that requires brute-force computation
A method that always produces the correct answer
91
What is displayed because of executing the code segment?
1 3 5 7 9
9
3 9
1 5 7
92
What type of error did the procedure suffer from?
Runtime error
No error; the program works as intended
Logical error
Syntax error
93
Which format is more efficient for storing and representing most images and why?
GIF. Storing information in a table format ensures losslessness.
BMP. The algorithm for storing a BMP file has fewer steps.
GIF: Stores color data in pairs, using 3 bytes per set.
BMP. Having access to the data at every pixel ensures losslessness.
94
Disable SSID broadcast, enable encryption, use MAC filtering and reset security settings to prevent unauthorized access.
I only
II, III, and IV
I, II, III, and IV
II and IV
95
A GPL-based product must include original code; exclusion violates the license.
GNU code must be shared with source, even if renamed.
BSD license requires attribution when modifying and releasing.
GPL code must include original source in derivative products.
MPL allows commercial use but may require source sharing.
96
A heuristic algorithm guarantees finding the optimal solution to a problem.
True
False
97
Put the steps of the algorithm in order. Select
two
answers.
Step 1, Step 5, Step 6, Step 3, Step 4, Step 2
Step 5, Step 1, Step 2,Step 4, Step 6, Step 3
Step 5, Step 1, Step 6, Step 3, Step 2, Step 4
Step 1, Step 5, Step 3, Step 6, Step 2, Step 4
98
Which of the following statements about the Internet is true?
The Internet only allows wired connections
The Internet is controlled by a single organization
The Internet uses a centralized network structure
The Internet relies on protocols like TCP/IP for communication
99
what will be the value of x after this code segment executes?
all values of x will remain unchanged
all values for x will decrease by 1
If x > 5, it stays the same; otherwise, x decreases by 1.
values greater than 5 x increase by 1. other values x will decrease by 1
100
Which of the following considerations is likely to affect the ability of the program to process large data sets?
The order of the data put into the data set
The amount of program documentation that should be minimized
How much memory the program requires to run
How many program statements the program contains
101
What should replace so the program below displays TRUE 60% of the time?
x MOD 5 = 0
x MOD 2 = 1
x MOD 2 = 0
x MOD 5 = 5
102
A lawyer is accessing an online database of crimes within a certain radius of the city center.
neither algorithm I nor algorithm II
Both Algorithm I and Algorithm II
Algorithm I only
Algorithm II only
103
Which of the following cybersecurity threats involves tricking users into revealing sensitive information?
Denial-of-service attack
Phishing attack
SQL injection
Man-in-the-middle attack
104
Which of the following test cases will return the correct average using the above procedure
numbers[11, 35, 6]
numbers[1, 1, 35, 6]
numbers[3, 5, 11, 6]
numbers[0, 1, 35, 6]
105
How can personally identifiable information in large datasets be protected?
Saving unfiltered raw data
Ignoring user requests
Using encryption
Removing metadata