What is a good name for a button whose purpose was t allow the view to refresh the screen.
button1
buttonOne
buttonrefresh
b1
4. Multiple Choice
30 seconds
1 pt
An abstraction is not:
a characteristic unique to computer programming.
a general representation that stands for some collection of individual instances.
reduces information and detail to focus on relevant information.
in the form of a model could be used to make predictions about the weather.
5. Multiple Choice
30 seconds
1 pt
Which of the following would not be literal values as opposed to abstract symbols in a programming language such as App inventor.
10
paintbrush
2.0
"hello"
6. Multiple Choice
30 seconds
1 pt
Which of the following is not an example of hardware.
CPU
memory
software
logic gate
7. Multiple Choice
30 seconds
1 pt
Suppose your friend wants to create a game app that allows the user to control the movement of the ball by tilting the device. What sensor should you add.
location sensor
orientation sensor
gyro sensor
8. Multiple Choice
30 seconds
1 pt
The main difference between low-level and high level programming language is:
a low level language is easier for humans to understand.
a high level language provides abstractions that closely match the machine's architecture.
a high level language must be translated by software programs into low-level machine language before they can be run on a computer.
a low-level language cannot be understood by computers.
9. Multiple Choice
30 seconds
1 pt
Which of the following would be a valid App inventor variable name?
5
-5
"dotsize"
dotsize
10. Multiple Choice
30 seconds
1 pt
What type of block is the reset score block?
a procedure definition block
control block
event controller
event handler
11. Multiple Choice
30 seconds
1 pt
Which of the following is not true about algorithms:
algorithms are a sequence of precise instructions.
algorithms can be written to solve every problem.
algorithms are step-by-step procedures.
algorithms consist of sequences, selections, and repetitions.
12. Multiple Choice
30 seconds
1 pt
Pseudocode is not:
easy to read
not a programming language
a mixture between a natrual language and a formal programming language
an executable program
13. Multiple Choice
30 seconds
1 pt
Sequencing in algorithms means that each step of the algorithm is executed.
in any order the programmer chooses
all at once
two steps at a time
in the order they are given
14. Multiple Choice
30 seconds
1 pt
repetition loop block
selection block
variable setter block
event handler
15. Multiple Choice
30 seconds
1 pt
Which of the following would not be examples of random events?
choosing a ball from a jar of red and black balls
rolling a 12-sided die
dealing a hand of poker
counting by 2s up to 20
16. Multiple Choice
30 seconds
1 pt
1, and 2 and 3
1 or 2 or 3
2
17. Multiple Choice
30 seconds
1 pt
What is the base for the binary number system?
1
2
10
18. Multiple Choice
30 seconds
1 pt
Express the binary number 001110 in decimal.
7
12
14
19. Multiple Choice
30 seconds
1 pt
Convert 6 to binary
11001
110
001110
20. Multiple Choice
30 seconds
1 pt
heads
tails
21. Multiple Choice
30 seconds
1 pt
1 or 3
1 or 2 or 3
1 or 2
1
22. Multiple Choice
30 seconds
1 pt
In an odd parity scheme, the binary string 1111 0101 would be detected as containing an error.
true
false
23. Multiple Choice
30 seconds
1 pt
1
2
3
4
24. Multiple Choice
30 seconds
1 pt
4
5
6
7
25. Multiple Choice
30 seconds
1 pt
App inventor is not an example of which of the following:
a cloud application
An integrated Development Environment
a software system for developing mobile apps that may be run on Android, IOS or other platforms
A programming language
26. Multiple Choice
30 seconds
1 pt
Which palette drawer(folder)contains the Player component?
The user interface drawer
the media drawer
the drawing and animation drawer
social drawer
27. Multiple Choice
30 seconds
1 pt
Which is not a component?
button
label
button.image
player
28. Multiple Choice
30 seconds
1 pt
The internet is not
network of networks
invented by Tim Berners Lee
connects devices and computers around the world
is based on the internet protocol suite
29. Multiple Choice
30 seconds
1 pt
What is a computational artifact?
object created by a human that uses computation in some way.
created by a computer for programming
30. Multiple Choice
30 seconds
1 pt
Consider the following pseudocode algorithm:
Set P to 1. Set N to 4. Repeat while N > 0: Set P to the result of multiplying P by N. Subtract 1 from N. Print P
6
10
12
24
31. Multiple Choice
30 seconds
1 pt
How long is a millisecond
a thousand seconds
1/0 of a second
1/100 of a second
1/1000 of a second
32. Multiple Choice
30 seconds
1 pt
In an App inventor app, shaking the phone is a
event
parameter
function call
33. Multiple Choice
30 seconds
1 pt
An abstraction is a ______representation that stands for some collection of individual instances.
general
specific
fixed
artistic
34. Multiple Choice
30 seconds
1 pt
One of the main characteristics of an abstraction is that is simplifies a complex phenomenon by leaving out the irrelevant aspects.
true
false
35. Multiple Choice
30 seconds
1 pt
Which of the following lists arranges hardware components from the lowest to the highest abstraction level?
In general, which of the following is the most abstract when it comes to talking about chairs?
The dictionary definition of the word 'chair'.
The word 'chair' itself.
A picture of a chair.
The chair itself.
37. Multiple Choice
30 seconds
1 pt
A) Input A must be true.
B) Input A must be false.
(C) Input A can be either true or false.
(D) There is no possible value of Input A that will cause the circuit to have the output true.
38. Multiple Choice
1 minute
1 pt
What element would be considered part of the user interface?
a button that appears on the screen.
an apps memory usage
39. Multiple Choice
30 seconds
1 pt
Difference between lossless versus lossy representation is:
lossy you may lose part of the file being compressed because Lossy only allows for approximation of the real file
files gets lost in translation
40. Multiple Choice
30 seconds
1 pt
An important programming task is that of refactoring one's code which refers to the process of:
reorganizing duplicated code into procedures
delete codes
revising the code to remove bugs
adding new code to change the way a program behaves
41. Multiple Choice
30 seconds
1 pt
The main difference between high level and low level programming is:
a low level language is easier for humans to understand
high level language provide abstractions that clossely match the machines architecture
high level languages provide abstractions that are more easily understood by humans
low level languages cannot be understood by computers
42. Multiple Choice
30 seconds
1 pt
of these two blocks:
Block A would draw N at the center on any size device
block b would draw N at the center of any size device
both block a and block b would draw N at the center on any size device
Neither block a nor block b would draw N at the center on any size device
43. Multiple Choice
30 seconds
1 pt
Both blocks A and B in the previous question are abstractions for solving a certain problem. What can we say about these abstractions:?
Block A is a better abstraction because its more specific
Block B is a better abstraction because it is more general
Both block A and Block B are equally good abstractions because the are specific
Both block a and b are equally good abstractions because they are both general
44. Multiple Choice
30 seconds
1 pt
A model or a simulation is an abstraction of a real world phenomenon. Which of the following are models? I. Slot machine that plays a dice game. II. A computer program that sends and receives text messages. III. A computer program that is used to forecast the weather.
I only
II only
I and III only
I, II, and III
45. Multiple Choice
30 seconds
1 pt
For which of the following problems would the binary search algorithm be useful?
arranging a deck of cars from the lowest to the highest value
looking up a word in the dictionary
looking up a persons name in the phone book given the persons number
finding the smallst number in a list of numbers arranged randomly
46. Multiple Choice
30 seconds
1 pt
A person is trying to determine whether or not a particular person is at a conference. Using a list of the enrolled peoples' names, that is arranged in no particular order, the most efficient way to find if student n is on the list would be to
perform a binary search
perform a linear search
Sort the list by last name and then perform a binary search
sort the list by last name and then perform a li
47. Multiple Choice
30 seconds
1 pt
Suppose you are sorting the following list of numbers in ascending order using bubble sort: {16, 5, -1, 4, 12, 17, 3, 10, 5, 9
16
17
9
-1
48. Multiple Choice
30 seconds
1 pt
If you encrypt the word "Hello" using the Caesar Cipher with a shift of 2, what secret message would you get?
OLLEH
JHMMP
IFMMP
JGNNQ
49. Multiple Choice
30 seconds
1 pt
If the following code were executed, what value would X have after Button1 is clicked once? X ← 100 When Button1. Clicked Do X ← X + 1 Please choose only one of the following
99
100
101
1
50. Multiple Choice
30 seconds
1 pt
Which of the following statements correctly describes the calculation being done by the block of code above.
Calculates the number of hits divided by misses
calculates the total number of misses
calculates the total number of hits and misses
calculates the rate of hits out of all attempts
51. Multiple Choice
30 seconds
1 pt
What possible values would be assigned to X if the code above was executed? I.9 II.10 III.11
I only
I or II only
I, II, or III
I or III only
52. Multiple Choice
30 seconds
1 pt
Which of the following best describes the result of running the code above?
The word Heads would be displayed in Label 1
The number 1 would be displayed in Label 1
The word Tails would be displayed in Label 1
The number 2 would be displayed in Label 1
53. Multiple Choice
30 seconds
1 pt
Assuming the move_forward tells the Android to move forward by 10 pixels and rotate_right tells it to turn right by 90 degrees, what shape would be drawn by the algorithm above when executed with the pen down?
a square
a right angle
a rectangle
a pentagon
54. Multiple Choice
30 seconds
1 pt
Suppose in addition to move_forward and rotate_right, as defined in the previous question, your language includes a REPEAT N TIMES block that will repeat a set of code n number of times. Which algorithm(s) would correctly draw a square? I. REPEAT 4 TIMES { rotate_right } move_forward II. REPEAT 4 TIMES { move_forward rotate_right } III. REPEAT 4 TIMES { move_forward } rotate_right
i only
ii only
iii only
i and ii only
55. Multiple Choice
30 seconds
1 pt
Which of the following best describes the result of running the above code?
A square with sides of length 100 pixels will be drawn
a triangle with sides of length 75 pixels will be drawn
a pentagon with side of length 75 pixels will be drawn
a pentagon with sides of length 100 pixels will be drawn
56. Multiple Choice
30 seconds
1 pt
An app is designed to send text messages to members who are a part of a members list using their phone number. This app calls the sendMessage method which sends a set text message to the current phone number.If there are three members' phone numbers in the memberList, what would the above block of code do when executed?
Sent a different text message to each of the three members
sent the same text message to one member three different times
sent the same text message to each of the three members
sent three different text messages to one member
57. Multiple Choice
30 seconds
1 pt
Find the bug below. When button1.Click is clicked, label1 is supposed to be set to a name that is selected from the names list by the displayName procedure. But the label's Text never changes. Why
The list is not properly set up
The displayName procedure is not being called when the button is clicked
The displayName procedure has a bug in it
The displayName procedure was never defined
58. Multiple Choice
30 seconds
1 pt
What is the length of the names list?
1
2
5
10
59. Multiple Choice
30 seconds
1 pt
What value will the global variable name have after Button1 is clicked?
Abe
George
Barack
Harry
60. Multiple Choice
30 seconds
1 pt
"Large data sets" refers to data sets that _______________.
contain very large numbers
are owned by a big corporation
are stored in the cloud
are too large and complex to download and process on a single computer
61. Multiple Choice
30 seconds
1 pt
35.) A certain store sells products to customers online. As customers browse the store's web site for products to buy, data is sent to the web site server for each web page the customer clicks on or requests. For each of these web page requests, the following information is collected: > The unique IP address of the customer > The data and time of the request > The type of browser used > The page requested For which of the following goals would you NOT be able to use the data? Please choose only one of the following.
Average time a customer spends on a page
number of pages a customer views per visit
percentage of new customers
amount of money each customer spent on a purchase
62. Multiple Choice
30 seconds
1 pt
36.) The Internet and WWW are different because _______________.
I. The Internet is a network of networks. II. The WWW is an application that runs on the Internet using the HTTP protocol. III. They are not different, they are two terms that refer to the same thing.
i only
ii only
iii only
i and ii only
63. Multiple Choice
30 seconds
1 pt
38.) A student is using their computer to check their e-mail. Just as the student clicks on the next unread e-mail, a HTTP 500 Internal Server Error occurs. Which of the following best describes why the student received this error? Please choose only one of the following.
There is a problem with the client
There is a problem with the internet connection
There is a problem with Googles gmail website
There is a problem with the DNS
64. Multiple Choice
30 seconds
1 pt
39.) The IPv4 system for IP addresses is in the process of being replaced by IPv6. Why?
· The IPv4 system is incompatible with the net neutrality principle.
IPv6 is a proprietary system that is replacing the open source IPv4 system
The number of devices requiring an IP address is more than can be handled by IPv4
Mobile devices cannot use IPv4 addresses
65. Multiple Choice
30 seconds
1 pt
The Ping program is a utility program that _______________.
tests the bandwidth of an Internet connection.
· traces the route of packets through the Internet.
tests whether a host computer is reachable on the Internet
is an alternative name for the Pong game.
66. Multiple Choice
30 seconds
1 pt
Suppose you are the network administrator in charge of switching between networks to improve the performance of your company's internet service. Which of the following choices would represent the best service in terms of the amount of information that can be downloaded and the speed with which it is downloaded?
. A network with high bandwidth and high latency
A network with high bandwidth and low latency
A network with low bandwidth and high latency
A network with low bandwidth and low latency
67. Multiple Choice
30 seconds
1 pt
Which of the following best describes how an e-mail message is sent through the Internet?
· The e-mail is a single packet that is routed through the Internet to the recipient's inbox
· The e-mail is divided into packets that are routed individually over the Internet to the recipient's inbox.
· The e-mail is divided into packets that are routed through a dedicated channel to the recipient's inbox.
· The e-mail is a single packet that is routed through a dedicated channel to the recipient's inbox.