stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Maddineni, Akhil, AP Exam Review Flashcards | StudBud
Explore
/
Maddineni, Akhil, AP Exam Review
Maddineni, Akhil, 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
How many lines need to be cut to completely isolate computer E from computer C?
3
0
8
6
2
When should a heuristic algorithm be used?
When finding the lifetime batting average of Mookie Wilson
Determining which files could have been exposed to a virus before checking
Finding quickest way to drive from Orlando, Florida, to Cold Foot, Alaska
When calculating the average score for the national SAT test
3
What are two aspects of efficiency?
execution time and memory usage
execution time and length of code
wall clock time and CPU time
memory usage and length of code
4
(0,0,0)RGB is what color
Gray
White
Black
Green
5
What command can replace <Missing condition> to get the results shown in the fourth column of the table?
NOT b
NOT(a AND b)
a OR b
NOT(a OR a)
6
Time it takes for a bit to travel from its sender to its receiver.
Bit Rate
Packet Loss
Bandwith
Latency
7
Pixel
The color model that uses varying intensities of red, green, and blue light
Short for "pixelated element" it is the fundamental unit of a digital image
Short for "picture element" it is the fundamental unit of a digital image
A mythical creature
8
Which of the following will correctly replace /*missing code */ ?
NOT CAN_M0VE (right)
NOT CAN_MOVE(forward)
CAN_MOVE(right) OR NOT CAN_MOVE(forward)
CAN_MOVE (right)
9
What will be the values of x and y after this code segment executes?
x is 40, y is 40
x is 20, y is 20
x is 40, y is 30
x is 30, y is 40
10
What will the following code segment display?
1
22
30
10
11
Which of the following statements is
NOT
correct:
Logic gates are used to perform operations such as addition + subtraction.
Hardware is the lowest level of abstraction.
Logic gates are modeled by Boolean functions.
Binary data is processed by physical layers of computing hardware.
12
What will be displayed by
mystery( 3, myList)
?
9 6 3
10 8 7 5 4 2 1
9 6 3 0
10 8 7 5 4 2 1 0
13
What could a single binary value represent?
Time
Temperature in degrees Celsius
If a light is on or off
Volume on a radio
14
(0,255,255)RGB is what color
Cyan
Gold
Scarlet
Magenta
15
What will the executed code display?
All odd numbers between 3 and 12
All odd numbers between 1 and 12
All even numbers between 3 and 12
All even numbers between 1 and 12
16
Why is cryptography essential to cybersecurity?
preventins a third party from hijacking a connection
doesn't allow data on server to be edited; it ensures the data's integrity
to prevent publicly accessible files on a server from being edited
secures internet communications; files cannot be read if intercepted
17
What should replace <missing condition> so the program below displays TRUE 60% of the time?
x MOD 2 = 0
x MOD 5 = 0
x MOD 5 = 5
x MOD 2 = 1
18
Read the text below.
I, II, III, and IV
I only
II, III, and IV
II and IV
19
Read the text below.
Spearing
Social Engineering
Fishing
Phishing
20
isFound(list, item) will return TRUE if an item is found in a list What will the following procedure display?
[1, 35, 6, 76, 4, 98, 5, 1, 8, 96, −4]
[1, 6, −4]
[4, 6, −4]
[ ]
21
Look at the code segment below.
The code runs as intended. The code runs without error.
The code may or may not run as intended. The code’s purpose is not stated.
The robot will never reach the end of the maze.
The code runs as intended. The robot will reach the end of the maze.
22
What binary number is equal to 10001 (binary) + 3 (decimal)?
11100
11110
10011
10100
23
A question to which there are only two possible answers
Binary Message
Binary Fission
Binary Question
Bitmap Question
24
Which of the following test cases will NOT find the maximum number in the list?
list1[23, 67, 3]
list1[4]
list1[0, 0, 0, 0]
list1[−23, −67, −3, −7]
25
Malware that replicates itself is called
Trojan
Virus
Worm
Bootlooper
26
What should replace <missing condition> so that the program below display TRUE 10% of the time?
x <= 9
x <= 1
x < 9
x < 1
27
Which of the following is a cause of the digital divide?
Lack of access to the technology due to affordability
Lack of access to technology due to location
All of the above
Lack of knowledge on how to use technology
28
What is the greatest value you can represent using 8 bits?
255
8
256
7
29
What is the value of sum displayed after this algorithm is run?
4
6
0
error
30
Basic Instruction sets executed by the CPU
Operating System
Binary Code
Machine Code
Assembly Language
31
Identify the best sequence of steps she should take to select a plan for the family.
III, I, II, IV
I, IV, II, III
I, Il, III, IV
I, III, IV, II
32
What should replace <missing code> to make the code return "True" when the first element is equal to the last element?
( list1[0] = list1[1] )
( list1[1] = list1[LENGTH(list1)] )
( list1[0] = list1[LENGTH(list1) – 1] )
( list1 = list1 )
33
What is the code below displaying?
3, 6, 9, 12, 15
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14
Nothing will be displayed
2, 4, 6, 8, 10, 12, 14
34
Which of the following protocol standardization is NOT a function of the IETF (Internet Engineering Task Force)?
Hypertext Transfer Protocol
Internet Protocol
JavaScript Coding Protocol
Simple Mail Transfer Protocol
35
Which of the following statements are true about undecidable problems in computer science?
I, II, and III
II and III
I only
I and II
36
Which of the following is
NOT
metadata?
The Red, Green, and Blue values of the top left pixel
The geographic location where the picture was taken
The filename
The date the photo was taken
37
The decimal number for the binary number 100101 is
45
12
35
37
38
Which of the following statements below are true?
II, III, and IV only
All of the above
I only
I, II, and IV only
39
Simplifying complexity in computer science is called
Functional Programing
Data Mining
Abstraction
Abstriction
40
What is the minimum number of binary digits needed to store the number 56?
6
8
3
5
41
An attempt to get a victim to submit sensitive data by imitating a legitimate authority
Cyberbullying
Backdoor
Phishing
Worm
42
Pair Programming
I don't know
Two developers team together on one computer.
A group of programming instructions.
A step-by-step procedures for solving a particular problem.
43
False or False
True
False
44
Running multiple threads on different processors at the same time
Parallel Computing
Pair Programming
Concurrency
Multi-Tasking
45
Read the text below.
Webopedia
RSS Feed
Wiki
Newsgroup
46
1000 bytes is called
Kilobyte
Petabyte
Megabyte
Gigabyte
47
True and False
True
False
48
How many possible values can you represent with 2 binary digits?
4
8
2
0
49
What is the appropriate name for the procedure?
SPIN()
IS_TRAPPED()
CAN_ESCAPE()
ESCAPE()
50
Which of the following scenarios cannot be represented by a boolean variable?
Whether a letter is a capital letter or not
The value of an ASCII character
Whether an exam is complete or incomplete
Whether a light switch is on or off
51
What is an example of a URL
10010010
10.60.40.234
www.example.com
<div> content </div>
52
What is returned by
mystery (1, 2)
?
2
8
10
4
53
Which of the following best approximates the minimum possible time to run all five processes?
7 seconds
18 seconds
10 seconds
8 seconds
54
Doing something over and over
Algorithm
Iteration
Heuristic
Runtime
55
Why is it more effective to put procedures in a program than to repeat code?
Select two answers.
Makes a program harder to edit beacuse they are stored on a distinct file
Takes up less space than repeating code; makes the program easier to read
Simplify editing by requiring only one one edit to to abstraction
Are guaranteed to work in every instance they are used if they work once
56
What is the following program returning?
27
25
37
20
57
What is the value of sum displayed after this algorithm is run?
Error
4
0
6
58
Websites leave these in your browser so they can identify or track you
Certificate
SMTP
Cookie
Algortithm
59
What will be the output of the following program?
7 5 9
14 6
14
957
60
What is the maximum number of searches required if using a linear search on list containing 2,000 numbers?
11
1
1,000
2,000
61
Running this code results in an error. What type of error is occuring?
Syntax
Runtime
Logical
There is no error. The program is working as it is supposed to.
62
Find the error in the following low-level programming code.
The 34th 0 should be a 1.
The 84th digit should be a 1.
This is too difficult. It would be much easier to use an upper-level-lang.
The 17th 1 needs to be changed to a 0.
63
What is the code segment displaying?
68
0
17
34
64
Which of the following is true about redundancy on the internet?
I only
I, II, and III
I and II only
II and III only
65
Which of the following types of components is necessary for cybersecurity?
I and II only
I only
III only
I, II, and III
66
An algorithm has 'n' number of steps. Which of the following would be considered a reasonable number of steps?
4^n + 8n^2
3^n
100n^4
n!
67
What could the following segment potentially be modelling?
I don't know :(
A card dealer deals one card face-up to each of five players.
A card dealer deals a five-card hand to one player.
Dealer turns one card, returns it to deck, shuffles and repeats 5 times
68
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
69
The following program is intended to display the string 789. What type of error will the following procedure cause?
Logic error
Syntax error
No error
Runtime error
70
What is the minimum number of searches for a binary search using an ordered list of 100 numbers?
8
1
0
100
71
Why is it important to find an efficient solution to a problem?
Uses more computer resources, which ensures that the results are correct.
An efficient solution makes it harder to copy an algorithm.
An efficient solution can make it easier to analyze larger data sets.
An efficient solution can always be solved in a reasonable amount of time.
72
What color will penRGB(255,255,255) generate?
White
Black
Gray
An error will occur
73
Which of the following lines of code would cause an error with a robot?
NOT CAN_MOVE (left)
CAN_MOVE (north)
NOT CAN_M0VE (forward)
CAN_MOVE (right)
74
Which of the following best approximates the minimum possible time to run all three processes in series?
9 seconds
15 seconds
4 seconds
28 seconds
75
What does the algorithm display?
7
5
3
4
76
Which of the following has the greatest potential for compromising your personal privacy?
Sharing the cookies stored in your Web browser
Switching a device from IPv4 to IPv6
Sharing your email address
Sharing your device’s IP address
77
In what order will the numbers appear after running the algorithm below?
5, 7, −6, 7
5, 6, 3, 3
5, 7, 4, 3.5
5, 6, −5, 6
78
What will be the result of the displayed program?
14 6
6 14
9 5 7
7 5 9
79
Which of the choices below properly identify these cryptographic concepts?
Asymmetric and Symmetric
Hash Codes and Key Transfers
Lexicographic and Asymmetric
Symmetric and Steganography
80
What will the program segment display?
3
34
2
99
81
True or False
True
False
82
Which of the following could NOT be a potential response for an IPv4 address?
92.11.198.113
54.116.188.246
128.198.232.65
174.260.45.144
83
What will the following algorithm display after running the code below?
2
1
3
4
84
In some coding languages, the code below will result in an error. Why?
The multiple levels of abstraction used oversimplified the coded.
Fixed number of bits used limits range of integer values + math operations.
This code segment will always work.
The value of the product will always be 0.
85
The maximum rate at which data can transfer
Latency
Bandwidth
Bandwidth
Bitstream
86
Which of the following illustrate ways that the internet facilitates collaboration
II and III only
I, II, and III
I only
I and III only
87
What will this code segment output?
50
132
32
100
88
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
GPS location
Picture of the player
89
What will the following program display?
OXXOXXOXX
OOOXX
OXXOO
The program is an infinite loop.
90
Sort the following by levels of abstraction, from lowest to highest:
I, II, III, IV
I, III, IV, II
I, IV, III, II
I, IV, II, III