stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
CSP Fall Final Flashcards | StudBud
Explore
/
CSP Fall Final
CSP Fall Final
77 terms
·
StudBud Administration
·
54 plays
Imported from external platform
Flashcards
77 cards
F
Practice quiz
P
Host live
L
Questions
77
Answers
1
What is the result of adding 1 to the following binary number?
0011 0000
0010 0000
0011 1111
Overflow error
2
1) In our Code.org apps, what type of variables do we use?
global
local
3
How many bits do I need to store the lowercase letters in the alphabet?
6 bits
4 bits
8 bits
5 bits
4
6) DNS Servers keep track of what information, in pairs?
packets and packet numbers
IP addresses and domain names
packets and domain names
5
1) Who does an individual pay to "get on" the internet?
Router
All of the above
Domain Name Server
Internet Service Provider
6
What types of data can be represented in binary?
Colors
Instructions for the computer
All types of data
Text
7
7)Which is most likely to reduce the digital divide?
Requiring parents of students to communicate with the school online.
Providing faster internet for students willing to pay a fee
Ensuring all students have high-speed internet at home
8
1) These are examples of what type of operator?
logical
assignment
comparison
arithmatic
9
6) Which is a subdomain of google.com?
google.docs.com
docs.google.com
google.com/docs
google.com.docs
10
What is an example of analog data?
A runner's position on a race track
Red and yellow
The days of the week
Live music
11
3) What is true of IP addresses?
They provide a unique name to domains on the internet.
The IP address for a device or domain can change.
They provide a unique name for devices on the internet.
All of the above.
12
7) Which is NOT a reason to collect user feedback about a program?
Users might find different errors that a programmer
Users will test real-world situations
Users will provide detailed documentation of the code
13
6) HTTPS provides the following (choose the best answer):
Detection of altered packets
All of these
Protection for credit card numbers
Secure connections so data transmitted can't be intercepted
14
6) Which protocol displays web pages in a browser?
TCP/IP
IP
HTTP and HTTPS
15
Count from 1 to 5 in binary
0001, 0010, 0011, 0100, 0101
0000, 0001, 0011, 0111, 1111
0000, 0001, 0010, 0011, 0100
16
Put these numbers in order, smallest to largest
c, d, b, a
a, b, c, d
c, a, d, b
c, d, a, b
17
Which two IP addresses are most likely to belong to two Chromebooks on the internet at school?
140.78.12.3 and 140.78.12.19
211.63.311.4 and 215.63.311.4
18
5) If rain is true, goodTemp is true and mood is grumpy, what is the value of this expression?
false
true
19
7) Who first coined the term "bug" to refer to an error in a program?
Gracer Hopper
Bob Kahn
Al Gore
20
This chart represents analog data.
False
True
21
1) A company builds a new printer. This will require that new protocols be written.
False
True
22
5) What happens if you send an email and a packet gets dropped?
The receiving computer will crash.
The receiving computer will ignore the entire message.
The receiving computer will request the missing packet be resent
23
What three primary colors are combined to create all the colors of a digital image?
yellow, green and blue
the Notorious RBG
yellow, red and blue
red, green and blue
24
What consideration is NOT involved in a creative commons license?
adaptation (making changes)
cost (lawyer fees)
commercialism (making money)
attribution (giving credit)
25
What image resolution is best to use for a small image on a web page that needs to download quickly?
32x32
4x4
1600x1200
26
5) Which protocol takes inventory of packets as they arrive at a computer?
HTTP
TLS
TCP
Router
27
To compress this text, which sequence, when replaced with a code, will reduce the file size the most?
eggs
Sam-I-am
I
you
28
Why do we compress data?
All of the above
To reduce the storage space required
To reduce the space required in memory while processing
To increase the speed of transmission
29
Taylor Swift likes to give her music away for free.
True
False
30
7) What type of error is in the code below?
syntax
runtime
logic
31
2) In Design Studio, a radio button element is primarily:
input
output
32
1) Who are the primary creators of the internet in the 1970s?
Al Gore
Bob Kahn
Vint Cerf
Bob Kahn and Vint Cerf
33
1) The Design Philosophy of the Internet includes
There is one domain master
Domain servers must be purchased by individuals
Independent networks agree to use defined protocols
34
1) What does the keyword
var
do?
Reserves space in memory and gives it a name
Adds 1 to clicks
Assigns clicks + 1
35
How could you improve the quality of this image of a president?
Use a version of the image compressed with lossy compression
Use a version of the image with a smaller resolution
Use a version of the image with a larger resolution
36
I sampled an image of a duck, but it looks terrible. What can I do?
Maybe take an art class?
Reduce the sample size
Sample the image again with a larger number of pixels
Add curves to pixels where needed
37
4) The best route for a message to take on the internet is always the most direct route.
True
False
38
Open Access and Open Source products are the most expensive.
True
False
39
1) Identify an error in this code.
clicks has 2 vars instead of 1
the var should not assign an initial value
clicks cannot equal clicks + 1
40
As long as something is available on the internet for free, I can use it how I want.
False
True
41
1) Which is NOT a type of computer storage (or memory)?
processor, i.e., CPU
long-term, like disk or USB
short term, i.e., RAM
42
3) Why is this an invalid IP address: 478.193.197.1?
The max value for each segment is 255.
The number as a whole is too large.
The last piece is too short.
43
7 bits allow for 128 unique combinations of 1s and 0s. How many for 8 bits?
128
255
512
256
44
4) Which characteristic best supports fault tolerance of a network?
Providing multiple paths between machines
Monitoring packet traffic
Providing fast connections between machines
45
7) When is program documentation important?
When the program is being maintained.
When the program is being written.
All of these.
After the program is complete.
46
Which example is not appropriate for lossy compression?
A high-quality video that will be presented on a large screen
A graphic file that will be used as a small icon.
Images on a web site that need to download very quickly
47
1) What is the value of y after this code is run?
5
not enough information
17
22
48
6) What does a Digital Certificate guarantee?
you can submit ALL of your MOST private information
the server won't fail
the server is operated by a known entity
the server can't be hacked
49
Why do computers use the binary number system?
Binary info can be permanently stored
Roman Numerals are copyrighted by the NFL
1 and 0 represent electricity being on or off
The decimal number system is outdated
50
2) This network is considered fault tolerant because:
It is NOT fault tolerant because there is no connection between B and C.
It guarantees that no component will fail.
If any one connection is broken, all of the servers can still communicate.
51
Using ASCII, what set of 1s and 0s represent A %
0100 0001 0010 0101
0100 0001 0010 0000
0100 0001 0010 0000 0010 0101
0110 0001 0010 0000 0010 0101
52
4) What is the job of a router?
Keep the packets in order
Choose "cheapest" route to next router
Decide the packet's route to the final destination
53
1) What was the driving reason behind the development of the Internet?
To enable the cloud
To give people email.
To maintain communications during a nuclear war
To support 24-hour news
54
Which of these actions violate Intellectual Property law?
Paying to download songs, then sharing for free on my web site
Copy and pasting from a web page and saying I wrote it
All of the above
Using a photo on my website without crediting the photographer
55
7) Who gets bugs?
Everyone in the world who programs, even Bill Gates
Only 9th graders
56
The following binary number is odd.
True
False
57
5) What information is NOT included in a packet?
The content that needs to travel
IP address of source
Route to take to the destination
IP address of destination
58
2) If the connections between A-D and A-C failed, could A and C still communicate?
No
Yes
59
Intellectual Property Laws impact innovation by:
Allowing for some sharing of innovations
Allowing people who innovate to make money from their work
Both red and yellow
60
2) At a minimum, how many connections would need to break before A and B could not communicate?
4
1
3
2
61
7) What type of error is in the code below?
logic
runtime
syntax
62
Which number systems use place value?
Binary
Roman Numerals
Decimal
Decimal and binary
63
Which text can be compressed the most?
The day is long and the night is cold.
ABCDEFGHIJKLMNOPQRST
11111111110000011111
64
3) How many addresses does IPv4 provide?
4 billion
340 undecillion
1 million
1 trillion
65
5) If rain is true and goodTemp is true, what is the value of this expression?
false
true
66
1) What are the four basic functions of a computer?
input, process, storage and output
input, output, RAM and hard drive
input, output, processing and RAM
67
6) What indicates that you are using the secure version of HTTP when using a website?
http
lock symbol
://
68
What is the binary equivalent of the decimal number 64?
1000 0000
1100 0000
0011 1111
0100 0000
69
2) In Design Studio, a label element is:
output
input
70
If the color for each pixel has 3 bits, how many colors do have?
4
6
8
3
71
7) Which type of error is in the code below?
logic
syntax
runtime
72
7) What is NOT an advantage of Pair Programming?
Two perspectives reduce the number of bugs
The two programmers will learn from each other
All of these are advantages
Two programmers will understand the program
73
5) What is a packet?
light waves bouncing at different angles
a single bit
a collection of information traveling on the internet
74
1) Which is NOT a variable type in Javascript?
var
string
number
boolean
75
How will a program interpret these 2 bytes?
65
Not enough information
The letter A
part of a machine instruction
76
2) If A stopped working, could B and C communicate?
Yes
No
77
ASCII is an example of abstraction that is awesome because
It hides the detail of what text looks like in binary
All of the above
It creates rules that can be used by many applications
I can type letters in my SnapChat instead of 1000111...