NEW
Font size
S
M
L
XL
WorksheetsComputer Science Terms and Definitions Quiz 2
Total questions: 15
Worksheet time: 8mins
Name
Class
Date
1.
What is the primary role of the navigator when pair programming?
a)
The navigator controls the mouse and keyboard to enter code and excutes the program
b)
The navigator reads the instructions, offers suggestiions, and searches for mistakes
c)
The navigator offers greater expertise and has the final say on the project
d)
The navigator builds the code on a different computer, then shares a correct version with the driver
2.
A student creates an original image and makes it available for other under a Creative Commons license. Which scenario describes a situation in which another person may NOT use the image?
a)
The creator chose CC-NC license: share and adapt, but only non-commerciallly, as long as the license terms are followed
b)
The creator chose CC-SA license: share and adapt, even commercially as long as the license terms are followed
c)
The creator chose a CC_BY license: share and adapte within the public domain as long as the liecense terms are followed
d)
The creator captured a personal photo and has not included any licensing or author information
3.
Use the code to answer the question.
Which set of integers will make the condition in this block false?
Which set of integers will make the condition in this block false?
a)
numMisses = 0, numHits = 5
b)
numMisses = 1, numHits = 11
c)
numMisses = 3, numHits = 10
d)
numMisses = 4, numHits = 7
4.
Use the code above to answer the question.
If the text in TextBox1.Text is "Andy", which of the following sentences will be displayed inside the Label1 when Button1 is clicked?
If the text in TextBox1.Text is "Andy", which of the following sentences will be displayed inside the Label1 when Button1 is clicked?
a)
3 cheers for Andy!
b)
Three cheers for Andy!
c)
4 cheers for Andy!
d)
Four cheers for Andy!
5.
Use the code to answer the question.
What is the value of the global variable score if Button1 has been clicked four times?
What is the value of the global variable score if Button1 has been clicked four times?
a)
5
b)
7
c)
9
d)
10
6.
Which of the following is not a "Best Practice" to follow when creating user interface for your App?
a)
Keep things simple
b)
Make touch controls large enough to be easy to use
c)
Have an organizational plan
d)
Try not to have any scrolling of the window, but if you do, only allow horizontal scrolling.
7.
A Pixels color value is determined by its . . .
a)
RGB triplet
b)
Hexadecimal value
c)
The number of bytes it resolution is set to
d)
The screens density
8.
A local variable is . .
a)
A variable which can be access from any part of the computer program
b)
A variable that is defined and used only within a single block of programming code
c)
A variable which is passed between a procedure and the main part of the program
d)
A variable which the computer provides the value for.
9.
A global variable is . .
a)
A variable which can be access from any part of the computer program
b)
A variable that is defined and used only within a single block of programming code
c)
A variable which is passed between a procedure and the main part of the program
d)
A variable which the computer provides the value for.
10.
A lossy computer compression algorithm is . . .
a)
a class of data encoding methods that uses inexact approximations and partial data discarding to represent the content
b)
is a class of data compression algorithms that allows the original data to be perfectly reconstructed from the compressed data
c)
type of program that forgets what is suppose to do.
d)
for of deep data recovery.
11.
A lossless compression algorithm is. . .
a)
irreversible.
b)
reversible.
12.
A DNS is a(n) . . .
a)
Internet Address for a specific web server.
b)
A computer server which converts URLs like "google.com" into IP addesses like 192.129.0.125
c)
Internet Protocal
d)
Hexadecimal code
13.
A argument or a parameter is . .
a)
A variable which can be access from any part of the computer program
b)
A variable that is defined and used only within a single block of programming code
c)
A variable which is passed between a procedure and the main part of the program
d)
A variable which the computer provides the value for.
14.
This block of code is an example of a . . .
a)
Conditional Statement
b)
Loop
c)
Stepper
d)
Array
15.
A Byte is. . .
a)
The smallest unit of memory a computer can hold.
b)
8 bits.
c)
64 bits
d)
4 bits.
Reset
