wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

CSF Midterm Prep

Total questions: 19

Worksheet time: 9mins

Name
Class
Date
1.
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
2.
Binary is:
a)
a system using the digits 0 and 1 to represent a letter, digit, or other character in a computer or other electronic device.
b)
the most common format for text files in computers and on the Internet
3.
ASCII is:
a)
a numerical system that has 2 rather than 10 as a base.
b)
the most common format for text files in computers and on the Internet
4.

What is binary also known as?

a)

Base 1

b)

Base 2

c)

Base 3

d)

Base 10

5.
The most fundamental unit of computer data storage is:
a)
a byte
b)
a megabyte
c)
a bit
d)
a gigabyte
6.

What is the best explanation for why digital data is represented in computers in binary?

a)

The binary number system is the only system flexible enough to allow for representing data other than numbers.

b)

It's easier, cheaper, and more reliable to build machines and devices that only have to distinguish between binary states.

c)

It typically takes fewer digits to represent a number in binary when compared to other number systems (for example, the decimal number system)

d)

It's impossible to build a computing machine that uses anything but binary to represent numbers

7.

Number systems with different bases such as binary (base-2) and decimal (base-10) are all used to view and represent digital data.


Which of the following is NOT true about representing digital data?

a)

At one of the lowest levels of abstraction, all digital data can be represented in binary using only combinations of the digits zero and one.

b)

The same value (number) can have a different representation depending on the number system used to represent it.

c)

Groups of bits can be used to represent abstractions, including but not limited to numbers and characters.

d)

Some large numbers cannot be represented in binary and can only be represented in decimal.

8.

A corporate office will be doubling the total number of employees. The company keeps a database in which each employees's unique ID number is stored as an 8 bit number called employeeID. Every 8 bit number has already been assigned. Of the options provided below, which is the smallest change to the way employeeID is represented necessary to ensure each incoming employee receives a unique ID?

a)

Add a bit to employeeID to double the number of IDs that the database can represent.

b)

Double the number of bits in employeeID to double the number of IDs that the database can represent

c)

Keep using an 8-bit number foremployeeID but reserve the first bit to indicate department

d)

Remove a bit from employeeID to make room for incoming employees

9.

8 bits is enough to represent 256 different numbers. How many total bits do you need to represent 512 (twice as many) numbers?

a)

16 bits

b)

10 bits

c)

9 bits

d)

17 bits

10.

This is a character-encoding scheme that uses a numeric value to represent each character. Characters can also be represented by binary numbers.

a)

Ask Key

b)

ASCII

c)

Hexidecimal

d)

ASC Encoding

11.

When making a web page, which two of the following tasks is HTML the most important language for? (Choose TWO)

a)

Making the text a different color.

b)

Separating out headings from paragraphs

c)

Putting borders on an image

d)

Organizing text into a list

12.

Why is it a bad idea to use one language for content, structure, and style of the web pages. Choose all that apply

a)

It will be confusing and less organized for people to read and write code that mixes everything up together.

b)

Structure is more important than style or content and needs its own language

c)

Communicating about structure and style are different problems, and it is helpful to use two languages specific to those problems

d)

All of the above

13.

Which of the scenarios below would be an appropriate time to use classes.

a)

They want to make their h3 tags bigger than their h1 tags.

b)

They want headings to be one color, but paragraphs to be a different color.

c)

They want all the pages on their site to have the same style.

d)

They want some images to float left, and other images to float right.

14.

What language would I use to to set a background color for a header?

a)

HTML

b)

CSS

15.

What language would I use to set a text as a heading?

a)

HTML

b)

CSS

16.

What language would I use to make the paragraph font 18px?

a)

HTML

b)

CSS

17.

What language would I use to to create a header?

a)

HTML

b)

CSS

18.

You are using a stylesheet to make your paragraph text blue, It's working on every page, but it's not working on your about.html page. What could be causing the problem?

a)

Green is misspelled on the style sheet.

b)

You did not link the style sheaet on your about.html page.

c)

You did not upload the images used on the about.html page.

19.

You are designing a website for an architecture firm, and in your HTML you have utilized both classes and ID tags. When adding a class and an ID as a selector in your CSS. What is the difference in the way they are expressed.

a)

Classes start with a period, while IDs start with a hashtag

b)

Classes start with a hashtag, while IDs start with a period

c)

There is no difference

d)

Classes do not need any punctuation, while IDs start with a hashtag