stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Vedula, Satvik Summative Test Project Flashcards | StudBud
Explore
/
Vedula, Satvik Summative Test Project
Vedula, Satvik Summative Test Project
154 terms
·
StudBud Administration
Imported from external platform
Flashcards
154 cards
F
Practice quiz
P
Host live
L
Questions
154
Answers
1
QUESTION 3...
Y
V
A
L
2
1010 + 0011
1111
10000
1101
1001
3
How many bits in an ASCII character?
8
varies
2
4
4
Which of the following is true about data compression?
It can be used to reduce the size of a file for storage or transmission.
Data compression can be used for pictures and video only.
Lossy compression cannot be used when sending pictures.
Lossless data compression is the best compression under all conditions.
5
QUESTION 19...
Choice C
Choice D
Choice A
Choice B
6
QUESTION 17...
Choice A
Choice D
Choice C
Choice B
7
What is the code segment displaying?
0
34
17
68
8
What is the minimum number of searches for a binary search using an ordered list of 100 numbers?
8
100
50
1
9
QUESTION 21...
Choice D
Choice B
Choice A
Choice C
10
What does the algorithm display?
4
5
3
6
11
What will the following program display?
OXXOO
OOOXX
OXXOXXOXX
The program is an infinite loop.
12
Which of the following statements is
NOT
correct?
Logic gates are used to perform operations like addition and subtraction.
Logic gates are modeled by Boolean functions.
Hardware is the lowest level of abstraction.
Binary data is processed by physical layers of computing hardware.
13
What will be displayed after running this code?
Under 40
And under 21
And contains a 3
Under 40 And contains a 3
14
What is the following program returning?
20
1
30
10
15
What is an example of a URL
https://www.example.com
10.60.40.234
<div> content </div>
10010010
16
Which of the above, represented in binary as a byte, contains the most zeros?
75
67
112
96
17
What will be the result of the displayed program?
6 14
14 6
7 5 9
9 5 7
18
QUESTION 8...
Choice D
Choice A
Choice C
Choice B
19
Which of the following binary (base-2) numbers is LARGEST?
1011 1111
0111 1111
0000 0001
1100 0000
20
The isFound procedure 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
QUESTION 10...
Is anyone there?
Hello. Better late than never.
Better late than never.
Hello. Is anyone there?
22
DISPLAY (op2 (5))
5
55
10
Nothing is printed
23
What will be displayed after this code has run?
The word is still too short!
The word is just right!
The word is too long!
The word is too short!
24
What should replace <missing condition> so that the program below displays TRUE 60% of the time?
x > 10
x < 6
x >= 9
x >= 6
25
"list" is a variable that contains a list of random numbers. What does the program do?
displays true if the first number in the list is 100
displays true or false 100 times
displays true if the number 100 is in the list
displays true if the last number in the list is 100
26
Read and choose the true statements:
I only
Neither I or II
I and II
II only
27
Which of the following best describes how computing devices represent information?
A computer represents data as bits which is either a 0 or a 1
A computer represents information as bits which contain 8 bytes.Answer
A computer represents data as a byte which is either a 0 or a 1
A computer will either represent information as bits or bytes but not both
28
uses 4 bits to represent decimal numbers in binary. What is the SMALLEST number for which an overflow error occur?
14
16
15
17
29
Consider the code below:
The program will always display true
The program will error
The program will always display false
The program could display either true or false
30
QUESTION 1...
2 times as many values can be represented
232 times as many values can be represented
32 times as many values can be represented
322 times as many values can be represented
31
What will be displayed when this code is run?
in func1, in func2
This script will cause an error.
in func1, in func2, in func1
func1, func2
32
What will be displayed when this code is run?
3 1
5 4 3 2 1 0
3 1 -1
5 3 1
33
How many megabytes are in a gigabyte (MB in GB)
100
124
10
1024
34
What will the following code segment display?
3
11
Nothing will be displayed due to an error.
6
35
How many lines need to be cut to completely isolate computer E from computer C?
4
3
1
2
36
DNS stands for
Dongle Network Stream
Domain Name System
Digital Name Server
Domain Norming Servers
37
Which of the following can be represented using bits?
Images
Video
Text
All of these
38
The code segment is intended to swap the variables a and b using a temporary variable, temp. Which choice does this task
temp <-- b
temp <-- a
b <-- temp
b <-- a
39
QUESTION 9...
Sorting data
Searching through data
Deleting entries from data
Backing up data
40
Which best describes the role of TCP?
The foundation of data communication for the World Wide Web .
A common protocol for encrypting data transferring on the internet
To create Amazon Packets to send to your house
The set of rules for the path packets taken on the fault-tolerant internet
41
Malware that replicates itself is called
Ransonware
Computer Sickness
Cargillware
Virus
42
What is the maximum number of searches required if using a linear search on list containing 2,000 numbers?
11
1
2,000
1,000
43
What are x, y, and z equal to after this program is run?
x is equal to "no";y is equal to "maybe";z is equal to "no"
x is equal to "no";y is equal to "maybe";z is equal to "x"
x is equal to "no";y is equal to "maybe";z is equal to "yes"
x is equal to "yes";y is equal to "maybe";z is equal to "no"
44
Which is the highest value I can count to using 4 bits?
8
4
15
16
45
What command can replace <Missing condition> to get the results shown in the fourth column of the table?
NOT(a AND b)
NOT(a OR a)
NOT b
a OR b
46
How many times will the word "here" be displayed when this code is run?
18
3
10
6
47
What is an example of a URL
10.60.40.234
https://www.example.com
10010010
<div> content </div>
48
In the following flowchart, what is the value of RESULT?
Always False
Always True
True when both A and B are true.
True when either A or B are true.
49
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 the wonderful jellyfish on the beach or water
50
The following would most likely be better with TCP
Sitting on a bus watching a video onyour cell phone
Sending images from a job site to a client from a PC
Watching a live game on ESPN by streaming on your laptop
Participating in a international meeting on Skype
51
Which of the following does NOT need to be considered when determining the credibility of a source?
Publisher’s reputation and credentials
Use of persuasive techniques within the source
Author’s reputation and credentials
Sponsorship of the article or publisher
52
What is the decimal equivalent of the binary number 10101?
20
17
21
16
53
A list can contain the following types of values:
characters
Boolean values
numbers
all of these
54
Why is it important to find an efficient solution to a problem?
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.
An efficient solution uses more computer resources.
55
Read the statement below.
The Web site’s public key
The Web site’s private key
The user computer’s public key
The user computer’s private key
56
What protocol below guides the rules about how data are subdivided into packets before transmission?
DNS
TCP
HTTP
UDP
57
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]
58
What is the maximum number of searches required if using a linear search on list containing 2,000 numbers?
2,000
11
1
1,000
59
What is displayed as a result of executing the following code segment?
Dog Waffle Noodles Moose Novack Benji
Dog Waffle Moose Noodles Novack Benji
Waffle Moose Noodles Novack Benji
Moose Benji Novack Waffle Noodles
60
QUESTION 14...
Choice C
Choice A
Choice D
Choice B
61
What will be displayed after running this code?
Hello Boys and Girls
sentence
y + z + " and " + x
Hello Girls and Boys
62
What ASCII character is represented by the binary (base 2) number 1010001?
R
Q
S
P
63
A web browser contacts a server using IPv4 and requests a website’s address. Which could
NOT
be a potential response
92.11.198.113
54.116.188.246
128.198.232.65
174.260.45.144
64
QUESTION 7...
Choice B
Choice D
Choice A
Choice C
65
Why does program code have to be run through a compiler?
Program code is write-only until it is run through a compiler.
Program code must be debugged by the compiler before it can ever run.
Program code must be translated into a language the computer understands.
It doesn’t, as the new program could be run directly from the code.
66
What is the 4-bit binary number for the decimal number 7?
0111
0101
0001
1100
67
A flowchart is a way to visually represent an algorithm The one below uses the following blocks
!
?
Nothing
This flowchart program will error
68
What is displayed because of executing the code segment?
9
1 3 5 7 9
1 5 7
3 9
69
JPEG and MP3 are examples of this type of data compression
Lossless
Media
Lossy
Encrypted
70
What is the code segment displaying?
0
17
68
34
71
ASCII is used to represent
numbers
letters and symbols
colors
web addresses
72
QUESTION 16...
Choice C
Choice B
Choice D
Choice A
73
Which of the following statements is false
An algorithm always produces one number as an output
. An algorithm should express repetitions & conditionals
An algorithm must have a logic flow
An algorithm can be expressed in English
74
Which of the following is a characteristic of the hierarchical nature of IP addresses?
c
d
a
b
75
QUESTION 11...
Choice B
Choice C
Choice A
Choice D
76
The procedure op4 takes in 3 numbers, what does this procedure do?
Randomly returns one of the three numbers
Returns the largest of the three numbers
Set all three inputs to a temporary value
Returns the smallest of the three numbers
77
Is a binary search always the fastest search when searching for a number in a sorted list?
For a large list, binary searches are always faster.
For a large list, neither work.
No, linear search has a chance of finding the number before binary does.
For a large list, linear searches are always faster.
78
QUESTION 20...
Choice D
Choice B
Choice A
Choice C
79
When should a heuristic algorithm be used?
It shouldn't be used
When finding the quickest way to drive from Florida to Alaska
When calculating the average score for the national SAT test
When finding the lifetime batting average of Mookie Wilson
80
QUESTION 5...
Choice D
Choice C
Choice A
Choice B
81
What should replace so the program below displays TRUE 60% of the time?
x MOD 5 = 0
x MOD 2 = 0
x MOD 5 = 5
x MOD 2 = 1
82
QUESTION 15...
Choice B
Choice D
Choice C
Choice A
83
What is displayed as a result of running this program?
Tracy Turtle
Tracy Dog
Karel Dog
Dog Turtle
84
The procedure is will return TRUE if an item is found in a list What will the following procedure display?
[4, 6, −4]
[1, 35, 6, 76, 4, 98, 5, 1, 8, 96, −4]
[1, 6, −4]
[ ]
85
A simulation for a color chooser should result in 25% BLUE. Which of the following could replace <missing condition>?
RANDOM(1, 100) >2
RANDOM(1, 4) < 2
RANDOM(1, 2) > 1
RANDOM(250, 1000) < 251
86
What are the values of x and y after this script runs?
x is equal to 15; y is equal to 15
x is equal to 10, 15; y is equal to 5, 10
x is equal to 15; y is equal to 10
x is equal to 5; y is equal to 10
87
Consider the code segment below:
c
a
b
d
88
What does the algorithm display?
5
3
7
4
89
IPv6 has this many possible addresses
3.4 X 1038
20 billion
64 Quadrillion
6.01234562 x 1023
90
Read the code:
Returns the remainder of number divided by 2
Returns whether or not number is equal to 0
Returns number divided by 2
Returns whether or not number is even
91
Which search algorithm would work as intended to find the value 35? [1, 43, 23, 65, 76, 34, 35, 12, 94, 576, 55, ]
Insertion sort
Linear Sort
Binary search
Bubble sort
92
According to the Internet Protocol (IP), what information is contained in a packet?
A
D
B
C
93
How many possible values can you represent with 2 binary digits?
8
4
2
0
94
Which of the following protocol standardization is NOT a function of the IETF (Internet Engineering Task Force)?
Hypertext Transfer Protocol
JavaScript Coding Protocol
Simple Mail Transfer Protocol
Internet Protocol
95
Which of the following test cases will return the correct average using the above procedure?
numbers[1, 1, 35, 6]
numbers[0, 1, 35, 6]
numbers[3, 5, 11, 6]
numbers[11, 35, 6]
96
Which of the following is true of lossy and lossless compression algorithms?
Lossless only allow for an approximate reconstruction of the original data
Lossless compression algorithms are only used to compress text data.
Lossy better than lossless algorithms at reducing the number of bits needed
Lossy algorithms used perfect reconstruction of original data is important
97
45.20.134.73 is an example of
IP Address
IPv6
DNS Address
Network Location
98
Which of the following is a cause of the digital divide?
Lack of access to the technology due to affordability
All of the above
Lack of knowledge on how to use technology
Lack of access to technology due to location
99
Which of the following is a true statement about data transmitted over the internet?
Redundancy in the design of the internet is overseen by large companies
All data traveling over the internet is in binary.
The DNS has been challenged by the Digital Millennium Copyright Act (DMCA)
Packets are received in the same order that they are sent.
100
a, b, and tmp are variables. What does this script do?
swaps the values of a and b
this program causes an error
this code doesn't do anything
makes a and b equal to each other
101
QUESTION 6...
Choice A
Choice D
Choice C
Choice B
102
Which of the following is NOT metadata for the picture?
The time the picture was taken
The location where the picture was taken
The memory space taken up by the picture
The picture of the dog
103
Read and interpret the code below:
18
20
19
21
104
Consider the following:
A private key that both computers share
A key that is randomly generated for each transmission
Computer A’s public key
Computer B’s public key
105
Convert the binary (base-2) number 1001 to decimal (base-10).
9
10
17
16
106
What is displayed after running the algorithm below?
12
145
133
43
107
Transmission Control Protocol works with what to make sure packs arrive at their destination
Intellectual Property
Cloud Computing
Internet Protocol
DNS
108
What are x, y, and z equal to after this script is run?
x is equal to 8; y is equal to 4; z is equal to 84
x is equal to 8; y is equal to 8; z is equal to 16
x is equal to 8; y is equal to 4; z is equal to 12
x is equal to 8; y is equal to 8; z is equal to 12
109
What is a benefit of using a simulation?
A simulation would be more cost-effective and easier to create
They would account for every variable that would affect supply and demand.
They have as much of an effect on the real world as an actual experiment
Simulations can be run only once
110
Which ones are true statements.
I, II, and III
III only
I and II only
I only
111
QUESTION 2...
Choice D
Choice C
Choice B
Choice A
112
QUESTION 12...
I and II
II only
I only
Neither I nor II
113
What does the following algorithm display?
When A is false, the algorithm displays “False.”
It always displays “False.”
It always displays “True.”
When B is false, the algorithm displays “False.”
114
The decimal number for the binary number 100101 is
42
37
12
33
115
Which of the following best describes how computing devices represent information?
A computer represents information as bits which contain 8 bytes.
A computer represents data as a byte which is either a 0 or a 1
A computer represents data as bits which is either a 0 or a 1
A computer will either represent information as bits or bytes but not both
116
45.20.134.73 is an example of
IP Address
Network Location
The School Phone Number
DNS Address
117
Which of the following is not a good example of abstraction?
A Pablo Picasso painting
Pressing the brake pedal of your car
electronic device requires knowledge of internal details
Dropping a pin on Google Maps
118
What is displayed as a result of executing the code segment?
Golden Bandicoot Cat Fish
Dog Golden Bandicoot Cat Fish
Dog Cat Fish Golden Bandicoot
Dog Cat Fish
119
Which of the following lines of code would cause an error with a robot?
NOT CAN_M0VE (forward)
CAN_MOVE (north)
NOT CAN_MOVE (left)
CAN_MOVE (right)
120
QUESTION 18...
Choice A
Choice D
Choice C
Choice B
121
IPv6 has this many possible addresses
20 billion
3.4 X 1038
64 Quadrillion
6.022 x 1023
122
Which of the following has the greatest potential for compromising your personal privacy
Sharing the cookies stored in your Web browser
Sharing your device’s IP address
Switching a device from IPv4 to IPv6
Sharing your email address
123
1010 + 0011
1101
1001
10000
1111
124
What should replace <missing condition> so that the program below display TRUE 10% of the time?
x < 9
x <= 1
x <= 9
x < 1
125
Which of the following statements is false?
Each pixel is stored as a number between 0 and 255
Pictures are made up of pixels, laid out on an (x,y) grid
nONE OF THESE
Each color has a red part, a green part, and blue part
126
What role does a compiler have in processing a high-level language?
The compiler speeds up the run time of a program.
It doesn't have a role.
The compiler checks for updates and installs programs onto the computer.
A compiler translated the high-level language so a computer can understand.
127
Study this code. What is displayed as a result if the user inputs “Karel” to the program?
What is your name? Hello Karel
What is your name? (br)Hello(br) Karel
What is your name? (BR) Hello Karel
Hello Karel
128
What is the minimum number of binary digits needed to store the number 56?
2
5
6
56
129
Which of the following scenarios cannot be represented by a boolean variable?
The value of an ASCII character
Whether a letter is a capital letter or not
Whether a light switch is on or off
Whether an exam is complete or incomplete
130
The following program is intended to display the string 789. What type of error will the following procedure cause?
Runtime Error
No Error
Logic Error
Syntax error
131
What will the following code segment display?
Nothing will be displayed due to the error index out of bounds.
10 9 4 7 1
9 10 7 4 1
1
132
Consider the following:
I only
II only
Neither I or II
Both I and II
133
What statement is used when an if statement is
not
true?
but
if
else
instead
134
What will the following code segment display?
10
1
22
44
135
What will be printed by the following code when it executes?
0
5
16
7
136
What will be displayed after running this code?
Inside first if
Inside second if
Nothing will be printed
Inside first if Inside second if
137
What is the result of executing the following code?
The program will loop indefinitely
The while loop will never get executed
The value of number will be printed exactly 5 times
The value of a number will be printed exactly 1 time
138
Which of the following binary numbers is odd?
1001
0110
0000
1010
139
Which of the following is true of intellectual property?
CC enables creators to freely distribute their otherwise copyrighted work
Information created on a computer is not owned by anyone
CC has severely hindered broad and open access to digital information
no need 2 cite work if the orig work/your use of it are digital form
140
What will the following code segment display?
3
11
Nothing
6
141
What is the binary number 00011 in decimal form?
4
2
3
1
142
QUESTION 4...
Input A must be false
Input A must be true
Input A can be either true or false
There is no value for A resulting in an output of true
143
What will the executed code display?
All odd numbers between 1 and 12
All even numbers between 3 and 12
All odd numbers between 3 and 12
All even numbers between 1 and 12
144
Choose the true statements
I only
Neither I or II
II only
Both I and II
145
What will the following program display?
OXXOXXOXX
OXXOO
OOOXX
The program is an infinite loop.
146
QUESTION 22...
Choice D
Choice C
Choice A
Choice B
147
What will be the result of the displayed program?
14 6
7 5 9
9 5 7
6 14
148
Convert the decimal (base-10) number 20 to binary (base-2).
11000
10010
10100
00101
149
How many times will the word "here" be displayed when this code is run?
0
5
here is displayed over and over until the code is cancelled
10
150
QUESTION 13...
Both A and B always calculate the correct average
Algorithm B always calculates the correct average
Algorithm A always calculates the correct average
Neither A nor B calculates the correct average
151
What is the greatest value you can represent using 8 bits?
255
256
7
8
152
Convert the binary (base-2) number 1001 to decimal (base-10).
10
9
17
16
153
Which of the following statements is
NOT
correct?
Logic gates are used to perform operations such as addition.
Logic gates are modeled by Boolean functions.
Binary data is processed by physical layers of computing hardware.
Hardware is the lowest level of abstraction.
154
What should replace so the program below displays TRUE 60% of the time?
x MOD 2 = 0
x MOD 5 = 0
x MOD 2 = 1
x MOD 5 = 5