comp sci final
What is the binary RGB triplet for the color indigo?
(01001011, 00000000, 10000010)
What will the following program display in the console? (var sum= 0; for var i=0 i<5 i++ sum=sum +i
10
What are the contents of yourList after the code segment below is executed? (Recall: ← means "gets")
10,30,50,70
What ASCII character is represented by the binary (base 2) number 1001010
75/J
Which of the following simulations will generate a result that would best be stored using a Boolean variable?
A simulation of flipping a fair coin
Which of the following is NOT a benefit of creating functions in your code?
Bugs in a function can't affect the rest of your program.
Which of the following best explains how data is transmitted on the Internet?
Data is broken into packets, which can be sent along different paths
Which of the following is a benefit of using a list as a data abstraction in a program?
Lists allow their size to be updated to hold as many data values as needed
Which of the following best describes a direct benefit in using redundant routing on the Internet? .
Redundancy often allows messages to be sent on the network even if some network devices or connections have failed
A state government is attempting to reduce the digital divide. Which of the following activities has the greatest potential to contribute to the digital divide rather than reducing it?
Requiring applicants for government jobs to apply using an online platform
how data is sent
_
data abstraction
manage complexity in programs by giving a collection of data a name without referencing the specific details of the representation.
what is a function
named group of programming instructions. Also referred to as a "procedure"
TCP
standard that defines how to establish and maintain a network conversation by which applications can exchange data
HTTP: HyperText Transfer Protocol
the protocol used for transmitting web pages over the Internet