WorksheetsPretest Computer Science
Total questions: 15
Worksheet time: 8mins
Which of the following describes a task effectively broken into smaller parts?
I. Opening a spreadsheet document
II. Making pancakes by getting out the ingredients, mixing the batter, and cooking on the stove
III. Listening to your teacher explain an assignment
I and II
I and III
II alone
None of the above
If x represents the area of the number line colored green, which inequality accurately reflects the value of x?
x < 3
x > 3
x ≤ 3
x ≥ 3
Karel the Dog is instructed to move forward two spaces. Then, if Karel is standing on a ball, Karel will move forward two spaces. Otherwise, Karel will turn around and move forward one space. Given the starting point below, where will Karel end up?
Which of the following statements are true about the impact of the Internet?
I. The Internet connects devices and networks all over the world
II. There are no negative consequences of the Internet, it is purely positive
III. The Internet helps people communicate
IV. The Internet helps people collaborate to solve problems
I only
I and II only
I, III and IV
I, II, III and IV
Which binary value is equal to this decimal number
Which of the following is an example of an HTML tag?
#alert
<p>
font-size: 20 px;
.paragraph
Which of the following are examples of encoding information?
I. Storing location in the form of GPS coordinates
II. Every student in a class has a unique first and last name
III. Every book in a bookstore has a corresponding barcode number
I and II
I and III
III only
I, II and III
Given the following program, how many times will Karel move?
function start(){
while(frontIsClear()){
move();
}
}
0
1
5
6
Which of the following choices are components
of a computer’s hardware?
I. Operating System
II. CPU
III. Memory
IV. Motherboard
V. User Applications
I, II and III
IV only
II, III and IV
I, II, III, IV and V
Which of the following statements are true about the infrastructure of the Internet?
I. For any two points on the Internet, there exists only one path between the two points.
II. There is a direct connection between any two points on the Internet.
III. Routing on the Internet is fault tolerant and redundant
I and III
III only
I, II and III
II and III
Which of the following is true of HTML and CSS
CSS wasn’t intended to be able to style web pages; HTML allows developers to add style.
Using both HTML and CSS allows developers to separate the content of a web page from the design of a web page
HTML is typically used to modify the style of a website at a large scale, while CSS is used to style smaller, more simple websites.
HTML and CSS play similar roles in web design, but most developers prefer using one over the other.
Which of the following is true about pixels?
I. A pixel is a single tiny dot, or square, of color in a digital image
II. A pixel is often multi-colored
III. The color value of a pixel is stored as a sequence of numbers
IV. Pixel is just another name for a digital image
I
I, II and III
I and III
I, II, III and IV
What does RGB stand for, and what is the RGB color scheme?
Registered Graphic Byte—a protocol for sending and receiving color image files over the Internet
Red, Green, Blue—system for obtaining any color in the visible spectrum by combining red, green, and blue light in various proportions
Raster Graphic Bitmap—a dot matrix data structure that represents a rectangular grid of pixels
Rendered Grid Boundary—a system for determining which colors a computer screen is capable of displaying
Which of the following pixels has a color value of #00ff00 (expressed in hexadecimal)?
White pixel
Blue pixel
Green pixel
Red pixel
Motherboard
CPU
Operating System
Floppy Disk
