What is a work or invention that is the result of creativity, such as a piece of writing or a design, to which one has rights and for which one may apply for a patent, copyright, trademark, etc?
Intellectual Property
What is the maximum amount of data that can be sent in a fixed amount of time, usually measured in bits per second?
Bandwidth
What is any data that is sent from a program to a device?
Output
What is a named reference to a value that can be used repeatedly throughout a program?
Variable
What is scientific research conducted in whole or part by distributed individuals, many of whom may not be scientists, who contribute relevant data to research using their own computing devices?
Citizen Science
How does a computing devices represent information?
A computer device represents data as bits which is either a 0 or a 1.
What is the purpose of an IP address?
IP addresses provide a unique number for identifying devices that send and receive information on the Internet.
What is the purpose of including comments in programs?
Comments help programmers debug issues, document how code was written, and enables programmers to track their work throughout the development process.
What is the purpose of functions?
Functions can help remove repeated code from a program.
Define crowdsourcing.
Crowdsourcing is the practice of obtaining input or information from a large number of people via the Internet.
When visiting a museum Lian takes a photo of a paining with a smartphone which stores the photo as an image. Is the photo analog data?
No, the photo is a digital representation of the analog painting.
What is MOST important in reassembling packets and requestion missing packets to form complete messages: UDP, IP, TCP, or HTTP?
Transmission Control Protocol (TCP)
Which of the above actions would usually be helpful in designing and developing an app?
I and III only
Looking at the code below. What number will be output by the console.log command on line 5?
var oop = 15;
oop = oop+6;
oop = oop-2;
oop = oop+4;
console.log(oop);
23
Can a machine be biased?
No, but the the programmer could be biased and thus create a program that is biased.
A computing devices uses 7 bits to represent decimal numbers in binary. What is the SMALLEST number for an overflow error to occur?
128
How are packets sent through the Internet?
Packet metadata is used to route and reassemble information travelling through the Internet.
Look at the following code. The program is run, and the user clicks the "topButton" ONCE. What will be displayed in the console?
console.log("cat");
onEvent("topButton, "click", function(){
console.log("bird);
});
console.log("dog");
cat dog bird
var age = 15;
var day = "Monday";
if((age >15) && (day == "Friday")){
console.log("Output A");
} else if((age < 15) | | (day == "Sunday")){
console.log("Output B");
} else {
console.log("Output C");
}
Output C
Look at the table below. Would you need to clean the data? Why or why noy?
Day Food
Mon. Eggs
Tuesday Pancakes
Monday Egg
Wed. Toast
Yes because some of the days are written as abbreviations and some are not. You would need to have the days written all the same way. Also, eggs and egg would be considered the same value, so you would want to eliminate plurals.
What is the difference between Lossy and Lossless compression?
Both compression methods reduce the number of bits needed to represent something, but lossy compression gets rid of some of the information and is not reversible. Lossless compression does not lose any information and is reversible.
Two devices are connected to the Internet and communicating with one another. A squirrel chews through one of the wires in the network that is currently being used by the devices to communicate. The network immediately begins using a different path through the network and communication continues as normal. This situation best exemplifies which principle?
Fault-Tolerance
What is the difference between sequential and event-driven programming?
In sequential programming commands run in the order they are written. In event-driven programming some commands run in response to under interactions or other events.
How would you write the conditional statement to answer this question. Use console.log to display answer:
Can I go to the movies? I am allowed to if it is before 9 pm.
console.log("yes");
} else {
console.log("no");
}
When would parallel systems most likely be used to help analyze data?
When you are analyzing data involving large datasets.