AP CS P 5.1

AP CS P 5.1

10th Grade

50 Qs

quiz-placeholder

Similar activities

functions in python class 12  vaishali

functions in python class 12 vaishali

11th - 12th Grade

50 Qs

AP CSP Vocab Part 1

AP CSP Vocab Part 1

11th Grade

52 Qs

SKILL QUIZ

SKILL QUIZ

University

50 Qs

Vocabulary Review APCSP 2021

Vocabulary Review APCSP 2021

9th - 12th Grade

50 Qs

Week 6 - Input/Output Functions

Week 6 - Input/Output Functions

9th - 12th Grade

46 Qs

Final Exam

Final Exam

12th Grade

50 Qs

CA Test 2

CA Test 2

University

50 Qs

review4Test

review4Test

11th Grade

53 Qs

AP CS P 5.1

AP CS P 5.1

Assessment

Quiz

Computers

10th Grade

Easy

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?