wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Exploring Computer Science Midterm Study Guide

Total questions: 70

Worksheet time: 34mins

Name
Class
Date
1.

Type of searching (one-by-one)

a)

binary

b)

Linear

c)

Hashing

2.

Type of searching (eliminate half each time)

a)

binary

b)

Linear

c)

Hashing

3.

Type of sorting algorithm that builds the final sort one item at a time. (Less efficient)

a)

Insertion sort

b)

Selection sort

c)

Quicksort

d)

bubble sort

4.

Type of sorting algorithm that identifies the minimal item (or value) and places it in ascending order (Very inefficient for large lists)

a)

Insertion sort

b)

Selection sort

c)

Quicksort

d)

bubble sort

5.

The simplest sorting algorithm that works by repeatedly swapping the adjacent elements if they are in the wrong order.

a)

Insertion sort

b)

Selection sort

c)

Quicksort

d)

bubble sort

6.

The language of computers

a)

Decimal

b)

Binary

c)

Hexadecmal

d)

Base 8

7.

What steps are part of the problem solving process?( Choose 4)

a)

Understand the problem

b)

Plan a solution

c)

Carry out the plan

d)

Review and reflect

e)

Write a computer program

8.

What is the decimal value of the binary number 1101?

a)

13

b)

12

c)

3

d)

6

9.

What is 15 in binary?

a)

1011

b)

1010

c)

1111

d)

0111

10.

What are place values in a binary number system?

a)

Millions, 100 thousand, 10 thousand, thousand, hundreds, tens, ones

b)

96,48,24,12,0

c)

96,32,16,1

d)

128,64,32,16,8,4,2,1

11.

What is an algorithm?

a)

A sorted list of words

b)

The steps to solve a problem

c)

The results from a search

12.

What is a graph/chart used for?

a)

Show good colors for data

b)

Visual representation of data

c)

Artistic representation on a computer to show value of numbers

13.

What are some real-world applications for minimal spanning trees?

a)

Electrical Grids

b)

Package Delivery Routes

c)

Pipes (water and sewer lines)

d)

Computer Networks

14.

A __________ (blank) is any device that inputs, stores, processes, and outputs data according to a set of instructions.

a)

Computer

b)

Hard Disk Drive (HDD)

c)

Motherboard

d)

Central Processing Unit

15.

What does CPU stand for?

a)

Computers Processing Unit

b)

Computer Part Utilization

c)

Central Processing Unit

d)

Compact Processor Utility

16.

This (hardware) component is responsible for executing sequences/ sets of instructions, otherwise known as programs.

a)

Operating System

b)

Random Access Memory

c)

Central Processing Unit

d)

Hard Disk Drive

17.

5. Software that supports a computer's basic functions.

a)

CPU

b)

Random Access Memory

c)

Hard Disk Drive

d)

Operating System

18.

What does RAM stand for?

a)

Router Admin Manage

b)

Random Archive Manager

c)

Random Access Memory

d)

Random Accessory Maker

19.

What is the purpose of RAM?

a)

A. RAM is permanent memory a computer uses to store information while it is turned off

b)

B. RAM is temporary memory a computer uses to store information while it is turned off

c)

C. RAM is permanent memory a computer uses to story information while it is turned on

d)

D. RAM is temporary memory a computer uses to store information while it is turned on

20.

The function of a Hard Disc Drive (HDD) is to _____ (blank) and _____ (blank) data.

a)

Store and retrieve

b)

process and store

c)

interpret and analyze

d)

analyze and process

21.

12A. The following are examples of input EXCEPT...

a)

Mouse

b)

Facial Recognition

c)

Monitor

d)

Keyboard

e)

Microphone

22.

The following are examples of output EXCEPT...

a)

Speaker

b)

Monitor

c)

Printer

d)

Mouse

e)

Projector

23.

Which of the following are characteristics of Web 2.0? Select all that apply (hint: there are three correct answers).

a)

Interactive Content

b)

First Stage of the World Wide Web

c)

Allows interaction and collaboration between users

d)

Static pages

e)

Free flow of information

24.

15. What is the difference between a search engine and a web browser? Select all that apply (hint: there are two correct answers).

a)

A web browser is a software application, while a search engine is a web-based tool

b)

A search engine is a software application, while a web browser is a web-based tool

c)

A web browser allows you to access websites on the World Wide Web, while a search engine is designed to search for and identify particular sites

d)

A web browser is designed to search for and identify particular sites, while a search engine allows you to access websites on the World Wide Web

e)

There is no difference

25.
Binary uses electrical signals
a)
True
b)
False
26.
If a binary number ends with a 1, it must be...
a)
An odd number
b)
An even number
c)
A prime number
d)
The number 12
27.
Convert 65 to binary
a)
01100001
b)
00100001
c)
01000001
d)
00100101
28.
Convert 37 to binary
a)
00100101
b)
00100011
c)
00100111
d)
01000101
29.
Convert 00010001 to decimal
a)
17
b)
27
c)
37
d)
47
30.
The missing binary heading is what?
128,  64, ___ , 16, 8, 4, 2, 1
a)
32
b)
30
c)
60
d)
20
31.

What is the decimal equivalent of the binary number 00100111?

a)

39

b)

57

c)

228

d)

7

32.

Convert these hexadecimal numbers to decimal:9A

a)
154
b)

145

c)

164

d)

176

33.

Convert these hexadecimal numbers to decimal:F5

a)
245
b)

386

c)

198

d)

231

34.

Hexadecimal is written using which Number Base system?

a)

2

b)

10

c)

16

d)

24

35.

What is the decimal equivalent of hexadecimal value 'D'?

a)

11

b)

10

c)

13

d)

14

36.

Convert the hex number into binary:

1A

a)

0001 1010

b)

1010 0001

c)

0001 1011

d)

0001 1100

37.

Convert the binary number into hex:

1001 0110

a)

96

b)

84

c)

28

d)

8f

38.

Convert the binary number into hex:

0001 1111

a)

1e

b)

1d

c)

1c

d)

1f

39.

Convert the hex number into binary:

42

a)

0100 0010

b)

0010 0100

c)

0011 1001

d)

0001 1100

40.

The correct syntax to connect an external style sheet to a Web page

a)

<style rel="stylesheet" type="text/css" href="file.css" />

b)

<link rel="stylesheet" type="text/css" href="file.css" />

c)

<attach rel="stylesheet" type="text/css" href="file.css" />

d)

<a rel="stylesheet" type="text/css" href="file.css" />

41.
Which is correct CSS syntax? 
a)
{ body; color=black;}
b)
body: color= black
c)
body {color:black;}
d)
(body color is black) 
42.
Select the code below that uses CSS to configure a background color of #000000 for a web page.
a)
body { background-color: #000000; }
b)
body { bgcolor: #000000; }
c)
document { background­-page: #000000; }
d)
None of these
43.
What property changes the border for an image/table?
a)
border:
b)
border-size:
c)
border-color:
44.
Which is the correct way to format a Font Family for a paragraph? (Hint: make sure you have more than one backup font!)
a)
p { font-face: Arial, Verdana, San-Serif; }
b)
p { font-family: Arial, Verdana, San-Serif; }
c)
p { family-font: Arial, Verdana, San-Serif; }
d)
p { font: Arial, Verdana, San-Serif; }
45.

Which rule set would change the font size to 24?

a)

font-size: 24

b)

size: 24;

c)

font-size: 24;

d)

font size: 24;

46.

What will this rule set create?


h1 {

text-decoration: underline overline dotted red;

}

a)

red waves under the heading

b)

red dots over and under the heading

c)

red waves over and under the heading

d)

red dots over the heading

47.
Which line of code correctly places a gif image named "tiger" into a webpage?
a)
<img src="tiger" alt="BengalTiger" />
b)
<img gif=tiger alt="BengalTiger">
c)
<image source="tiger.gif" alt=BengalTiger" />
d)
<img src="tiger.gif" alt="BengalTiger" />
48.

HTML stands for

a)

Hypertext Max Language

b)

Hypertext Media Language

c)

Hypertext Markup Language

d)

Hyper Technology Memory Language

49.

CSS stands for...

a)

Cascading Style Sheet

b)

Computer Safe Search

c)

Creative Software Sheet

d)

Computer Styling Sourcecode

50.

The part of a CSS rule-set that defines which HTML elements the style should be applied to is a...

a)

Comment

b)

CSS sheet

c)

HTML tag

d)

CSS Selector

51.

Links to a CSS style sheet should be placed in which HTML section

a)

body

b)

footer

c)

head

d)

comment

52.

CSS - HTML - JavaScript are known respectively as...

a)

The content - the design - the interaction

b)

The design - the content - the interaction

c)

The interaction - the content - the design

d)

The content - the interaction - the design

53.

The tag that creates a numbered list is

a)

<li>

b)

<ol>

c)

<ul>

d)

<hr>

54.

The <hr> tag will create...

a)

a ruled line

b)

a large space

c)

a paragraph

d)

an align-right

55.

The <p> tag defines a......

a)

Heading

b)

Paragraph

c)

List

d)

Line break

56.

The <h4> tag defines

a)

A heading

b)

A paragraph

c)

A list

d)

A line break

57.

What are the four functions a device must be capable of to be considered a computer?

a)

Input, Output, Storage, and Printing

b)

Input, Storage, Programming, and Output

c)

Input, Output, Processing, and Storage

d)

Output, Processing, Storage, and Hardware

58.

The "machine" part of the computer is called?

a)

Software

b)

Operating Stystem

c)

Storage

d)

Hardware

59.

What is the brains of the computer (the thinking part)?

a)

Input

b)

Output

c)

Processing

d)

Storage

60.

What is a unit of measuring speed of computer equal to about 1 billion cycles per second?

a)

Gigahertz

b)

Gigabyte

c)

Hertz

d)

Megahertz

61.

What is the software that communicates with the hardware and allows other programs to run?

a)

Application Softward

b)

Operating System Software

c)

Processing Software

d)

Artificial Intelligence

62.

The action of entering data into your computer.

a)

Input

b)

Output

c)

Processing

d)

Storage

63.

What the computer produces based on user input?

a)

Input

b)

Output

c)

Processing

d)

Storage

64.

What is a set of clearly defined, logical steps to solve a problem.

a)

Digital Footprint

b)

Binary

c)

Privacy

d)

Algorithm

65.

What is a branch of computer science dealing with the simulation of intelligent behaviors in computers?

a)

Network Security

b)

Artificial Intelligence

c)

Computing Theory

d)

Bioinfomatics

66.

Branch of data security concerned with the proper handling of data

a)

Cybersecurity

b)

Machine Learning

c)

Artificial Intelligence

d)

Privacy

67.

Memory that contains hardwired instructions that the computer uses when it boots up, before teh system software loads.

a)

RAM (Random Access Memory)

b)

Sorting Memory

c)

ROM (Read Only Memory)

d)

Processing Memory

68.

Determines how much memory the operating system and open applications can use.

a)

RAM (Random Access Memory)

b)

ROM (Read Only Memory)

c)

Processing Memory

d)

Software Memory

69.

What is the name for the test for intelligence in a computer, requiring that a human being should be unable to distinguish the machine from another human being?

a)

IQ Test

b)

Machine Learning

c)

Intelligence Scale

d)

Turing Test

70.

What are a set of precise words and syntax that humans can understand that can also be translated into computer language (binary)?

a)

Programming Languages

b)

Operating System

c)

Turing Test

d)

Algorithm