AP CS P 5.1

Quiz
•
Computers
•
10th Grade
•
Easy
John Kim
Used 3+ times
FREE Resource
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Your winnings were more than the largest number the bank’s computers could hold, so an overflow error will occur.
Since decimal numbers are stored imprecisely in computers, a rounding error will occur.
The amount will be represented in machine code format, so converting it to decimal will show the balance in a more readable format.
The amount will cause a runtime error.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The cash register DISPLAY procedure has an error.
A rounding error occurred.
It’s displaying the change owed in a different currency.
The amount is represented as a string field rather than a number.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You are assigned a parking space in a large parking lot by an automated machine. You recognize that the parking space number is displayed in binary, but the parking spots are labeled in decimal numbers. Convert the parking space number 10011011 to decimal to know where to park and avoid getting towed.
154
155
157
9F
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When designing a web page, you see a color you want to use listed in binary as: 01010000, 11001000, 01111000. Which color is it, given the decimal equivalents (Red, Green, Blue)?
(32, 76, 414)
(50, 118, 78)
(80, 200, 120)
(128, 310, 170)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Your bank asks for your phone number to associate it with your account. What is this an example of?
A privacy concern
Multifactor authentication
A phishing attempt
Asymmetric authentication
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You have to change a program written a year ago by someone else. A sample section of code is below. How could the original program author have helped anyone making changes at a later date? PROCEDURE A (x, y, z) IF x < y { x <- z }
Provided the original program requirements
Added a video describing the program design and functionality
Used procedure and variable names that described their purpose and content
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement is NOT true?
Lower level languages are easier to debug because the language is closest to what the computer executes.
Higher level languages are easier to debug because the language is closer to natural language.
Lower level languages provide less abstraction.
Higher level languages are easier for people to code in because they are more abstract.
Create a free account and access millions of resources
Similar Resources on Wayground
47 questions
S3 Assessment Revision

Quiz
•
9th - 12th Grade
50 questions
OCR Computer Science Paper 2 Revision Quiz #2

Quiz
•
9th - 10th Grade
45 questions
Python Quiz

Quiz
•
University
45 questions
CH4 - Python

Quiz
•
9th - 12th Grade
50 questions
PYTHON-STRINGS

Quiz
•
12th Grade
45 questions
IP MIDTERM

Quiz
•
University
50 questions
Strings in python - Test

Quiz
•
11th Grade
50 questions
RIA Revision for Class Test_Set 2

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade