comp sci final

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

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


Kaugnay na mga set ng pag-aaral

Chapter Quiz - Life Policy Provisions, Riders, and Options

View Set

9 клас English Career choices @Jobs@

View Set

Intro to Climate Studies 2021-2022 (ENSC 220) Investigation 9A

View Set

Chapter 13: Characterizing & Classifying Viruses & Prions

View Set

Chapter 6: Energy Changes, Reaction Rates, and Equilibrium

View Set

Real Estate Law - UNIT SIX - REAL ESTATE CONTRACTS

View Set

Principles of Manufacturing Midterm 1

View Set