A certain programming language uses 4-bit binary sequences to represent nonnegative integers. For example, the binary sequence 0101 represents the corresponding decimal value 5. Using this programming language, a programmer attempts to add the decimal values 14 and 15 and assign the sum to the variable total. Which of the following best describes the result of this operation?
Big Idea 2: Data Questions

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Lauren Wise-Moore
Used 248+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
The correct sum of 29 will be assigned to the variable total.
An overflow error will occur because 4 bits is not large enough to represent either of the values 14 or 15.
An overflow error will occur because 4 bits is not large enough to represent 29, the sum of 14 and 15.
A round-off error will occur because the decimal values 14 and 15 are represented as approximations due to the fixed number of bits used to represent numbers.
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following is an advantage of a lossless compression algorithm over a lossy compression algorithm?
A lossless compression algorithm can guarantee that compressed information is kept secure, while a lossy compression algorithm cannot.
A lossless compression algorithm can guarantee reconstruction of original data, while a lossy compression algorithm cannot.
A lossless compression algorithm typically allows for faster transmission speeds than does a lossy compression algorithm.
A lossless compression algorithm typically provides a greater reduction in the number of bits stored or transmitted than does a lossy compression algorithm.
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
A video game character can face toward one of four directions: north, south, east, and west. Each direction is stored in memory as a sequence of four bits. A new version of the game is created in which the character can face toward one of eight directions, adding northwest, northeast, southwest, and southeast to the original four possibilities. Which of the following statements is true about how the eight directions must be stored in memory?
Four bits are not enough to store the eight directions. Five bits are needed for the new version of the game.
Four bits are not enough to store the eight directions. Eight bits are needed for the new version of the game.
Four bits are not enough to store the eight directions. Sixteen bits are needed for the new version of the game.
Four bits are enough to store the eight directions.
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
A large spreadsheet contains the following information about the books at a bookstore. A sample portion of the spreadsheet is shown.
An employee wants to count the number of books that meet all of the following criteria.
Is a mystery book
Costs less than $10.00
Has at least one copy in stock
For a given row in the spreadsheet, suppose genre contains the genre as a string, num contains the number of copies in stock as a number, and cost contains the cost as a number. Which of the following expressions will evaluate to true if the book should be counted and evaluates to false otherwise?
(genre = "mystery") AND ((1 ≤ num) AND (cost < 10.00))
(genre = "mystery") AND ((1 < num) AND (cost < 10.00))
(genre = "mystery") OR ((1 ≤ num) OR (cost < 10.00))
(genre = "mystery") OR ((1 < num) OR (cost < 10.00))
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
A researcher is analyzing data about students in a school district to determine whether there is a relationship between grade point average and number of absences. The researcher plans on compiling data from several sources to create a record for each student.
The researcher has access to a database with the following information about each student.
> Last name
> First name
> Grade level (9, 10, 11, or 12)
> Grade point average (on a 0.0 to 4.0 scale)
The researcher also has access to another database with the following information about each student.
> First name
> Last name
> Number of absences from school
> Number of late arrivals to school
Upon compiling the data, the researcher identifies a problem due to the fact that neither data source uses a unique ID number for each student. Which of the following best describes the problem caused by the lack of unique ID numbers?
Students who have the same name may be confused with each other.
Students who have the same grade point average may be confused with each other.
Students who have the same grade level may be confused with each other.
Students who have the same number of absences may be confused with each other.
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
A team of researchers wants to create a program to analyze the amount of pollution reported in roughly 3,000 counties across the United States. The program is intended to combine county data sets and then process the data. Which of the following is most likely to be a challenge in creating the program?
A computer program cannot combine data from different files.
Different counties may organize data in different ways.
The number of counties is too large for the program to process.
The total number of rows of data is too large for the program to process.
7.
MULTIPLE SELECT QUESTION
2 mins • 1 pt
A student is creating a Web site that is intended to display information about a city based on a city name that a user enters in a text field. Which of the following are likely to be challenges associated with processing city names that users might provide as input?
Select two answers.
Users might attempt to use the Web site to search for multiple cities.
Users might enter abbreviations for the names of cities.
Users might misspell the name of the city.
Users might be slow at typing a city name in the text field.
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
KS4 - Representing Images

Quiz
•
9th - 11th Grade
20 questions
Data Representation Byte size

Quiz
•
11th Grade
18 questions
AP CSP Unit 2

Quiz
•
10th Grade
20 questions
Big Idea 2 Review

Quiz
•
9th - 12th Grade
20 questions
Data Representation Quiz

Quiz
•
9th Grade
15 questions
APCSP - Unit 1 Review

Quiz
•
10th - 12th Grade
20 questions
Data Representation

Quiz
•
9th Grade
18 questions
GCSE Computer Science Data Rep Pre Test Help

Quiz
•
12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University