stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Sant,Jacob summative test project Flashcards | StudBud
Explore
/
Sant,Jacob summative test project
Sant,Jacob summative test project
100 terms
·
StudBud Administration
Imported from external platform
Flashcards
100 cards
F
Practice quiz
P
Host live
L
Questions
100
Answers
1
What is the average number of times the REPEAT UNTIL segment will run if the user inputted the number 0?
100 times
0 times
50 times
infinite
2
Which of the following digital sample rates would more accurately represent the analog signal?
low sample rate
higher sample rate
3
Using a linear search, how many passes are needed to find the number 13?
22
5
2
1
4
What will y display?
16
20
0
15
5
A web browser contacts a server using IPv4 and pages a request for a website address. Which is NOT a potential response
54.116.188.246
174.260.45.144
128.198.232.65
92.11.198.113
6
Which of the following can be represented by a single binary digit?
DateDate - no response given
Geographic location
Light on / light off
Time
7
What is a problem that no algorithm exists to solve all instances called?
infinite problem
undecidable problem
indeterminable problem
exponential problem
8
What is the value of sum displayed after this algorithm is run?
6
4
error
0
9
What is the code segment displaying?
34
0
68
17
10
What is displayed by running the code segment?
3 3 6
11 3 8
3 11 3
8 4 6
11
What will the following code segment display?
3
6
Nothing will be displayed due to an error.
11
12
We can convert a number from decimal to octal (base 8) by repeatedly subtracting the largest possible powers of what?
8
7
2
9
13
What could a binary number represent?www.apstudy.net---------------------
a number decimal
text
All the above
a color
14
The code segment below is intended to swap the variables a and b. What can replace so the algorithm works
a = temp
temp =b
b= temp
a =b
15
Which best describes the role of TCP?
A common protocol for encrypting and decrypting data on the internet
Setting the rules for a numerical label assigned to each device
The set of rules for the path packets taken on the fault-tolerant internet
The foundation of data communication for the World Wide Web
16
What is the maximum number of searches required if using a linear search on list containing 2,000 numbers?
1
2000
1000
11
17
what will the following program display
SNOOPY
no
yes
18
What will the following code segment display?
Nothing will be displayed due to the error index out of bounds.
9 10 7 4 1
1 4 7 10 9
10
19
In a sequential computing solution how much processing time would the problem take?
6 seconds
5 second
1 second
11 seconds
20
Convert 88DEC to a binary number.
1011000BIN
1000001BIN
1010101BIN
1111000BIN
21
what error did the procedure suffer from
No error. The program works as intended
Syntax error
Runtime error
Logical error
22
what will the program display
13
5
7
23
What are the contents of list2 after the following procedure is run?
e z u
b m u
wwwww
z z z
24
Which command can replace <Missing Condition> to result in the last column of the table shown below?
a AND (a AND b)
NOT (a AND b)
b AND (a AND b)
a OR b
25
Parallel computing consists of what two parts?
A parallel section and a distributed section
A sequential section and a parallel section
A sequential section and an iterative section
A sequential section and a distributed section
26
What is the following number in binary?
10011BIN
100000BIN
1111BIN
27
What would be a good use of constants when initializing variables at the beginning of a program?SSSSSSS
I, II, and III
I and II only
I and III only
II and III only
28
Consider the following code segment, which uses the variables x, y, and z. What will the following program display?
24 24 24
12 24 24
12 12 12
6 12 24
29
what will the segment display
acb
a+c+b
the red blue is not
the red is not blue
30
Which of the following is NOT an example of using citizen science as a possible solution?
The behavior of fireflies during the summer months
Calculating PSAT scores for a school district
Collecting recordings using ultrasonic microphones and sonograms of bats
The behavior of mysterious and wonderful jellyfish on the beach or water
31
Which of the following is the
MOST
likely data privacy concern of the upgraded game?
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
The player’s score
32
What will be the value of x after this code segment executes?
values more than 5, x will increase by 1, for others x will decrease by 1
values more than 5, x will remain the same, and others , x will decrease b
For all values of x, x will decrease by 1.
For all values of x, x will remain unchanged.
33
what error would the code have if it ran
No error. The program works as intended.
Syntax error
Runtime error
Logical error
34
Consider the following code.
3 9
1 3 5 7 9
9
1 5 7
35
How can programmers avoid duplicating code?
though the use of selection statements
Through the use of efficient algorithms
Through sequential statements to process all data once
through use of iteration
36
What is displayed as a result of executing the code segment?
Dog Cat Fish
Dog Golden Bandicoot Cat Fish
Dog Cat Fish Golden Bandicoot
Golden Bandicoot Cat Fish
37
What will the following program display?
OXXOO
The program is an infinite loop.
OOOXX
OXXOXXOXX
38
what error did the procedure suffer from
Logical error
Syntax error
Runtime error
No error. The program works as intended
39
Which of the following may be an unintended effect of the use of the professional filters?
They generate interest and allow users to accumulate followers.
The filters allow users to look their best while documenting their life.
body dysmorphia when users try to look like the images of their peers.
The filters allow users to visually connect their brand to their customers.
40
What will be the result of the displayed program?
9 5 7
6 14
7 5 9
14 6
41
Which of the following lists is
NOT
a candidate for a binary search?
A list of words in a dictionary
A list of students in order of height
A list of numbers from smallest to largest
A list of words from a poem about sunshine in the order they appear in
42
Which of the following is a true statement about data transmitted over the internet?
Packets are received in the same order that they are sent.
The DNS has been challenged by the DMCA
Redundancy in the design of the internet is overseen by large companies
All data traveling over the internet is in binary.
43
A flowchart is a way to represent an algorithm visually. The flowchart below uses the following building blocks.
3 7
2 8
2 7
4 8
44
Which of the following is MOST likely to be a harmful effect of storing all posts?
A user may post something that can affect his or her college acceptance.
A user can become social media famous and get sponsored by a makeup brand.
A user can connect and rekindle old friendships.
45
Which of types data must the social networking site process to allow users to edit and share photos, videos, etc
videos
text
all of the above
pictures
46
What should replace <missing condition> so that the program below display TRUE 10% of the time?
x <= 1
x <= 9
x < 1
x < 9
47
In this serial/parallel computing solution, how much processing time would the problem take?
24 seconds
18 seconds
15 seconds
48
What is the name of the search method that provides higher or lower feedback with each iteration of the search?
bucket search
linear search
Merge search
binary search
49
When is using TCP instead of UDP advantageous?
TCP is advantageous when error correction is more important than speed
Using TCP is advantageous when the IP address of the computer is not known
UDP is better than TCP, so UDP should always be used when available
50
Which of the following is NOT considered an analog signal?
temperature
Boolean values
Human speech
light
51
What percentage of the time will the program display an even number?
50%
40%
20%
10%
52
Which of the following best describes the fault-tolerant nature of the internet?
all the above
If a node fails, the packets choose a different path to the computer
The fault tolerance adds an additional layer of privacy
53
What percentage of the time will the following program display a number?
75%
25%
20%
10%
54
what does isp stand for
internet still pays
internet service provider
interim test practice
55
What is the following program returning?
25
27
20
37
56
Consider the code segment below.
What is your name? Hello Karel
What is your name?Hello Karel
What is your name?Hello Karel
Hello Karel
57
What does the following algorithm display?
It always displays “True.”
When B is false, the algorithm displays “False.”
When A is false, the algorithm displays “False.”
It always displays “False.”
58
What does the algorithm display?
3
7
4
5
59
What is displayed after running the algorithm below?
43
12
133
145
60
A programmer uses 8 bits to store a value. If the programmer wants 4times the storage, how many bits are needed?
16
10
9
32
61
An algorithm has n number of steps. Which of the following would be considered a reasonable number of steps?
3n
4n + 8n2
100n4
n!
62
what will the program display?
Nothing due to an infinite loop
4 8 8
2 8 14
3 8 0
63
what would the following program display
0
1
10
11
64
Which of the following does NOT contribute to the digital divide?
All of the above contribute to the digital divide.
A person could have access to the internet but not the knowledge to use it
.A person could have access to the internet but choose not to use it
Infrastructure. There are parts of the world without internet.
65
What is displayed as a result of executing the following code segment?
Dog Waffle Noodles Moose Novack Benji
Waffle Moose Noodles Novack Benji
Moose Benji Novack Waffle Noodles
Dog Waffle Moose Noodles Novack Benji
66
Which of the following is NOT metadata for the picture?
The time the picture was taken
The picture of the dog
The location where the picture was taken
The memory space taken up by the picture
67
what type of error occurs in the program below
Runtime error
no error
logical error
syntax error
68
What should replace so the program below displays TRUE 60% of the time?
x MOD 2 = 1
x MOD 5 = 0
x MOD 2 = 0
x MOD 5 = 5
69
What is the code below displaying?
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14
Nothing will be displayed
3, 6, 9, 12, 15
2, 4, 6, 8, 10, 12, 14
70
a node in the path between the sender and the receiver has broken. Will the sender and receiver be able to communicate
yes, an alternate route from the sender
no, the path has been interrupted
71
The procedure isFound(list, item) will return TRUE if an item is found in a list What will the procedure display?
[1, 35, 6, 76, 4, 98, 5, 1, 8, 96, −4]
[4, 6, −4]
[1, 6, −4]
[ ]
72
Which of the codes below will correctly swap the frog with the bear?
animal[3] = animal[1]animal[1] = animal[3]-------------------------------
temp = animal[1]animal[1] = animal[2]animal[2] = temp
temp = animal[1]animal[1] = animal[3]animal[3] = temp
animal[1] = animal[2]animal[2] = animal[1]-------------------------------
73
Which of the following is true about data compression?
Lossless data compression is the best compression under all conditions.
Lossy compression cannot be used when sending pictures.
Data compression can be used for pictures and video only.
Data compression can be used to reduce the size of a file for uses
74
If a does not equal b, what error has occurred?
Hexadecimal conversion error
Roundoff error
a will equal b on all computers
Overflow error
75
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
76
Why does program code have to be run through a compiler?
It doesn’t, as the new program could be run directly from the code.
Program code must be translated into a language the computer understands.
Program code must be debugged by the compiler before it can ever run.
Program code is write-only until it is run through a compiler.
77
What is the largest number that can be stored using 8 bits?
255
256
3
78
What is the minimum number of lines that must be cut to isolate F completely?
8
4
6
0
79
The procedure findAverage is intended to return the average number in the lis numbers. fix the procedure
numbers[11, 35, 6]
numbers[3, 5, 11, 6]
numbers[0, 1, 35, 6]
numbers[1, 1, 35, 6]
80
. In this parallel computing solution, how much processing time would the problem take?
16 seconds
24 seconds
9 seconds
81
take 10 seconds for a sequential solution but 5 seconds for a parallel, what is the speed up
10
.5
2
82
What will the following algorithm display after running the code below?
2
4
1
3
83
What will be the output of the following program?
9 5 7
7 5 9
14
14 6
84
What should replace <missing condition> so that the program below displays TRUE 60% of the time?
x >= 9
x > 10
x < 6
x >= 6
85
Which of the following is a negative trade-off inherent in lossless compression?
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.
Some of the data will be lost and cannot be recovered.
86
What can a series of bits represent?
high resolution pictures
the number i am thinking of
all the above
the color puce
87
Why should procedures be used?
they facilitate the storage of data
They make writing and maintaining programs easier through reuse of code
They ease the workload on the processors.
they control the flow of input and output data
88
Consider the following code segment.
All even numbers between 1 and 12
All odd numbers between 1 and 12
All odd numbers between 3 and 12
All even numbers between 3 and 12
89
What will the following code segment display?
6
Nothing will be displayed due to an error.
11
3
90
what is not metadata about the photo
The filename
The date the photo was taken
The geographic location where the picture was taken
The Red, Green, and Blue values of the top left pixel
91
How does creating program components help with program development?
Individual components can be added without additional testing
Added components incrementally helps create functional programs.
92
In the following flowchart, what is the value of RESULT?
True when either A or B are true
Always true
Always false
True when both A and B are true
93
Why is cryptography essential to cybersecurity?
Cryptography is used to prevent publicly accessible files on a server
Cryptography does not allow data on a server to be edited by anyone
Cryptography secures internet communications by making files unreadable
secures internet communications by stopping a 3rd party from entering
94
Which of the following types of components is necessary for cybersecurity?
III only
I and II only
I only
I, II, and III
95
using binary search how many passes are needed to find 13
2
4
a Binary search does not work unless the list is sorted
1
96
What is returned by
mystery (1, 2)
?
4
10
2
8
97
Which of the following is NOT a predicting algorithm?
A school calculating grades to determine the valedictorian
Social media sites using patterns to target advertising based on viewing
98
What is a major disadvantage of the internet’s model of trust?
cannot have encrypted communications, which means any data sent can be read
A trusted website can still download malicious code
99
Which of the following does NOT need to be considered when determining the credibility of a source?
Use of persuasive techniques within the source
Sponsorship of the article or publisher
Author’s reputation and credentials
Publisher’s reputation and credentials
100
Review the following statements about metadata types. Which of the statements below are true.
I only
I, II, and IV only
All of the above
II, III, and IV only