Font size
WorksheetsCSF Midterm Prep
Total questions: 19
Worksheet time: 9mins
What is binary also known as?
Base 1
Base 2
Base 3
Base 10
What is the best explanation for why digital data is represented in computers in binary?
The binary number system is the only system flexible enough to allow for representing data other than numbers.
It's easier, cheaper, and more reliable to build machines and devices that only have to distinguish between binary states.
It typically takes fewer digits to represent a number in binary when compared to other number systems (for example, the decimal number system)
It's impossible to build a computing machine that uses anything but binary to represent numbers
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?
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.
The same value (number) can have a different representation depending on the number system used to represent it.
Groups of bits can be used to represent abstractions, including but not limited to numbers and characters.
Some large numbers cannot be represented in binary and can only be represented in decimal.
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?
Add a bit to employeeID to double the number of IDs that the database can represent.
Double the number of bits in employeeID to double the number of IDs that the database can represent
Keep using an 8-bit number foremployeeID but reserve the first bit to indicate department
Remove a bit from employeeID to make room for incoming employees
8 bits is enough to represent 256 different numbers. How many total bits do you need to represent 512 (twice as many) numbers?
16 bits
10 bits
9 bits
17 bits
This is a character-encoding scheme that uses a numeric value to represent each character. Characters can also be represented by binary numbers.
Ask Key
ASCII
Hexidecimal
ASC Encoding
When making a web page, which two of the following tasks is HTML the most important language for? (Choose TWO)
Making the text a different color.
Separating out headings from paragraphs
Putting borders on an image
Organizing text into a list
Why is it a bad idea to use one language for content, structure, and style of the web pages. Choose all that apply
It will be confusing and less organized for people to read and write code that mixes everything up together.
Structure is more important than style or content and needs its own language
Communicating about structure and style are different problems, and it is helpful to use two languages specific to those problems
All of the above
Which of the scenarios below would be an appropriate time to use classes.
They want to make their h3 tags bigger than their h1 tags.
They want headings to be one color, but paragraphs to be a different color.
They want all the pages on their site to have the same style.
They want some images to float left, and other images to float right.
What language would I use to to set a background color for a header?
HTML
CSS
What language would I use to set a text as a heading?
HTML
CSS
What language would I use to make the paragraph font 18px?
HTML
CSS
What language would I use to to create a header?
HTML
CSS
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?
Green is misspelled on the style sheet.
You did not link the style sheaet on your about.html page.
You did not upload the images used on the about.html page.
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.
Classes start with a period, while IDs start with a hashtag
Classes start with a hashtag, while IDs start with a period
There is no difference
Classes do not need any punctuation, while IDs start with a hashtag
