Font size
WorksheetsAP CSP 300PT Quizizz 12-4
Total questions: 92
Worksheet time: 2hrs 50mins
How do computers represent data, numbers, letters, and images?
They use binary ( a base 2 system)
They use pictures and keyboard characters.
They use a secret coding system filled with symbols.
They use alphabets and decimal numbers.
The binary system is represented by ( which numbers)
(a)
What does bit stand for?
Build It Today
Basic Information
Binary Digit
Billions in Tech
True or Fales: A bit is always in one of two physical states on/off.
(a)
How many bits make up a byte?
4
16
10
8
What is the number 255 in binary?
11111111
1010101010
00001111
1111000
How would you represent the number 35 in binary?
11110
0001100
100011
1010101
RGB stands for
Ready, Backup, Gear
Red, Blue, and Green
Read, Believe, Grow
Rest, Before, Golf
_______ is a process for reducing the number of bits needed to represent something in which some of the information is lost and can not be reversed.
Lossless Compression
Lacking Compression
Lossy Compression
Limited Compression
_______ is a process for reducing the number of bits needed to represent the information needed to represent something without losing any information. This process is reversible.
Lossless Compression
Lossy Compression
Limited Compression
Listed Compression
Which compression is better for crime scene investigations or government intelligence operations?
Lossy Compression
Lucy Compression
Lossless Compression
Lucky Compression
You need to send a picture to a friend and you are running out of data, which compression should you choose? The quality is not important.
Photo Shrink Compression
Lossy Compression
Lossless Compression
Lucky Compression
True or Fales: When you use lossy compression to decompress a picture you can return your picture to the original state when you recompress it.
(a)
Digital images in computers are made of ___________.
Tiny drops of color
Colored squares
Black and White Squares
Pixels (bits)
True or False: Videos are not made up of billions of bits that need to be compressed before we can watch them at home on our tv.
(a)
ASCII stands for
Absolutely Standard Computer Information Interface
All States Change Information Interstate
American Standard Code for Information Interchange
After School Computer Information Intiative
How many values can a bit store?
two values at a time
one of two values
one of ten values
ten values at a time
In the settings menu, what is the minimum number of bits needed to represent the options?
2
4
1
3
There are 32 bits in 4 bytes
True
False
A computer uses 4 bits to represent numbers, which of the following would result in overflow?
1 + 15
2 x 4
8 x 3
12 + 3
How ASCII many characters are encoded in 0101101000110001
1
2
3
none
This could represent?
english characters
characters in any language
an image
sound
Which of these is the best description of analog data?
Data that varies between positive and negative values.
Data that changes smoothly over time.
Data that changes in discrete intervals over time.
Data that has been sampled by a computer.
A group of interconnected computing devices capable of sending or receiving data.
Computing Device
Computing Network
Computer
Linked Computers
Which of the following best describes the protocols used on the Internet?
The protocols of the Internet are secret to maintain the privacy and security
The protocols of the Internet are used by all devices connected to the network
Which of the following best describes the purpose of an IP address?
IP addresses help reorder a message that has been divided into many packets
IP addresses provide a unique number for identifying devices on the Internet
A protocol for sending packets that does error-checking to ensure all packets are received and properly ordered.
Transmission Control Protocol (TCP)
User Datagram Protocol (UDP)
A squirrel chews through one of the wires in a network and the network immediately begins using a different path. This is an example of?
Scalability
Fault-Tolerance
The maximum amount of data that can be sent in a fixed amount of time, usually measured in bits per second.
Path
Router
Redundancy
Bandwidth
The unique number assigned to each device on the Internet.
IP Address
Internet Protocol
Redundancy
Routing
What does HTTP stand for?
Hyed Text Transfer Position
HyperText Transfer Protocol
Hyper Text Transition Protocol
A system of linked pages, programs, and files
Redundancy
Internet
World Wide Web
Network
Differing access to computing devices and the Internet
Routing
Digital Divide
Fault Tolerant
Bandwidth
A protocol for sending packets quickly with minimal error-checking and no resending of dropped packets.
Transmission Control Protocol (TCP)
User Datagram Protocol (UDP)
Messages are divided and are sent to their destination. Sometimes they travel together, sometimes apart; Sometimes they arrive in order and sometimes they do not. How they get there is considered what?
Routing
Path
Packet
DataStream
The inclusion of extra components so that a system can continue to work even if individual components fail.
Redundancy
Protocol
Internet Protocol
Packet
A computer network consisting of interconnected networks that use standardized, open (nonproprietary) communication protocols.
Internet
Protocol
Internet Protocol (IP)
Network
What does DNS stand for?
Divided Naming System
Domain Name Sorting
Domain Name System
Distributed Naming System
A sequence of direct connections
computing device
computing system
computing network
path
Which of the following best describes the protocols used on the Internet?
The protocols of the Internet are designed by government agencies to ensure they remain free to use
The protocols of the Internet are secret to maintain the privacy and security of people using them
Each device connected to the Internet will use a protocol designed by the company that manufactured it
The protocols of the Internet are open and used by all devices connected to the network
Jesse purchases a new smartphone and is immediately able to use it to send a photo over the Internet to a friend who lives in a different country. Which of the following is NOT necessary to make this possible?
Both devices are using the same shared and open protocols
A single direct connection is established between any two devices connected to the Internet
The data of the image is routed through a sequence of directly connected devices before arriving at its destination.
Both devices are directly connected to at least one part of the Internet
This diagram shows a number of computing devices connected to the Internet with each line representing a direct connection. What is the MINIMUM number of paths that would need to be broken to prevent Computing Device A from connecting with Computing Device E?
1
2
3
4
This diagram shows a number of computing devices connected to the Internet with each line representing a direct connection. Device A is attempting to send data over the Internet to Device E. Which of the following is true of how the data will travel through the network?
The data will always travel through Device B as it is the shortest path
The data will never be sent to Device G since there are other shorter paths available
It is possible that the data travels through any of the devices in the network before arriving at device E
If the data travels through Device D then it will not travel through Device B
Which of the following is true of how the Internet has responded to the increasing number of devices now using the network?
The Internet protocols are changed every year to adapt to the new devices that have been connected to the network
While the number of devices connected to the Internet has grown, the network itself has not grown
The protocols of the Internet were designed to scale as new devices are added
The protocols of the Internet are no longer necessary thanks to the large number of devices now connected to the network
Which of the following is true of how packets are sent through the Internet?
Packet metadata is only included on important packets to indicate they should get access to faster paths through the network
Packet metadata is used to route and reassemble information travelling through the Internet
Information sent through the internet is only encapsulated in packets if the message is too large to be sent as a datastream
Information sent through the internet is split into two packets, one which contains the message and another which contains the metadata
Emilee is watching an online video. The video is being sent to her laptop by a server over the Internet which splits the video into packets and sends them in the order they appear in the video. Which of the following is true about how the packets will arrive at her computer?
The packets will always be received in the order that they were sent
Either every packet will reach her computer or none of them will.
Packets that arrive out of order will be sent back to the server.
The packets may arrive out of order
Which of the following best describes the purpose of an IP address?
IP addresses provide a unique number for identifying devices that send and receive information on the Internet
IP addresses assist in the reconstruction of a message that has been divided into many packets
IP addresses indicate the location where an internet-connected computing device was manufactured
IP addresses indicate how many times an individual packet has been requested by a router
Which of the following Internet protocols is MOST important in reassembling packets and requesting missing packets to form complete messages?
Transmission Control Protocol (TCP)
Internet Protocol (IP)
User Datagram Protocol (UDP)
HyperText Transfer Protocol (HTTP)
Which of the following Internet protocols is used to request and send pages and files on the World Wide Web?
Transmission Control Protocol (TCP)
Internet Protocol (IP)
User Datagram Protocol (UDP)
HyperText Transfer Protocol (HTTP)
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
scalability
protocol
pathing
What will the “background-color” of the “bottomButton” be when the program is finished running?
If the user DOES click the button what color will “topButton” be when this program finishes running?
The following program is run. The user DOES NOT click the "topButton" button. What will be displayed in the console?
cat dog
dog cat
The following program is run. Then the user clicks the “bottomButton” TWICE and DOES NOT click the “topButton”. What will be displayed in the console?
chicken cow cow
chicken pig pig
bow chicka wow wow
What is the User Interface
Elements of which the user controls
Elements of which the coder controls
An interface with code
An interface with options
An error in a program that prevents the program from running as expected
onEvent
Bug
Moth
Fly in the Ointment
What is output by line 6?
(a)
What is output by line 5?
(a)
What is output by the program?
less than 10
less than 20
less than 30
30 or more
What is output by the program?
Option A
Option B
Option C
Option D
Option E
What is needed to complete the code?
(a)
What will the value of bags be at the end of the program?
(a)
What is it when a function is used within your code - this likely happens multiple times in a program?
called
declared
created
defined
What is it called when you define a function?
called
declared
created
typed
What is happening in this code?
the variables are being created
the function updateScreen is being declared
the function updateScreen is being called
the function updateScreen is being updated
What is happening in this code?
the variables are being created
the function singChorus is being declared
the function singChorus is being called
the function singChorus is being updated
What are the benefits of creating functions?
There is more than one answer.
removing repeated code
keeping code organized
allowing programmers to be lazy
making it harder for people to read your code
makes it easier to update your code
Categorize these items.
a named group of programming instructions
also known as a procedure
a command that executes the code within a function
should only occur once
can be used multiple times in a program
holds one value
includes strings, numbers, and booleans
a named reference to a value that can be used repeatedly throughout a program
affects the flow of control by using different statements based on values of Boolean expressions
if-then-else statements
You should only use var once per variable because otherwise it could cause errors in your program.
True
False
You should create functions at the top of your program and variables at the bottom of your program.
True
False
You should create variables outside of onEvents.
True
False
Which part of this code could be made into a function? (There are two areas)
It is best if you declare functions during code creation or before you write your program.
True
False
What will be the order of the numbers printed in the console when this program is run?
3 7 10 3 7 10
3 10 7
3 10 7 10 7
3 7 10
What is the output of the following JavaScript code segment?
5hello
5 + hello
error on num + str: type mismatch
result
What is the output of the following JavaScript code segment?
10
error on str1 + str2: type mismatch
55
result
Consider the following segment given in pseudo code. What will be displayed if grade is set to 70?
You passed!
Time to start studying again!
You passed! and Time to start studying again!
Nothing will be displayed
An error will occur on line 7; you cannot have an IF inside an ELSE statement
Consider the JavaScript code segment below. Which statement should be used in place of <missing code> such that the alarm is set to 9:00 am on weekends, and 6:30 am on weekdays.
day == "Saturday"
day == "Sunday"
(day == "Saturday") || (day == "Sunday")
(day == "Saturday") && (day == "Sunday")
day != "Monday"
