1. When running a program that counts the num- ber of records in a large dataset, you receive an error on your computer screen, in binary format: 11110001. Convert the error message from binary to deci- mal to be able to look it up. (A) 239-Invalid operation. Corrupt data caused the error. (B) 240-Decimal numbers are stored impre- cisely in computers. A rounding error occurred. (C) 241-Overflow error. The object exceeded its maximum size. The dataset is too large to run on your computer. (D) 404 Error message not found. 2. You read in the news about an employee who took advantage of decimal numbers used with currency exchanges to steal money. What is the most likely way the employee accomplished this? (A) The employee redirected the overflow amount when it occurred and deposited it in his account. (B) The employee took advantage of rounding and deposited the fractional amounts. (C) The amount is represented in binary and when the right-most bit was a 1, he replaced it with a 0 and deposited the difference. (D) The employee converted to Euros and then back to U.S. dollars. The difference in the exchange rate was deposited into his account. -Saving your information from an online form to be able to auto-fill fields in future forms captures some of your Personally Identifiable Information (PII). This could be an example of: (A) an ethical matter (B) a legal problem (C) a privacy concern (D) a security issue

Systems Architecture
7th Edition
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Stephen D. Burd
Chapter8: Data And Network Communication Technology
Section: Chapter Questions
Problem 41VE
icon
Related questions
Question
Please just answer questions 1-6 and show the work of how you got them please answer all questions!
1. When running a program that counts the num-
ber of records in a large dataset, you receive an
error on your computer screen, in binary format:
11110001.
Convert the error message from binary to deci-
mal to be able to look it up.
(A) 239-Invalid operation. Corrupt data
caused the error.
(B) 240-Decimal numbers are stored impre-
cisely in computers. A rounding error
occurred.
(C) 241-Overflow error. The object exceeded
its maximum size. The dataset is too large
to run on your computer.
(D) 404 Error message not found.
2. You read in the news about an employee who
took advantage of decimal numbers used with
currency exchanges to steal money. What is the
most likely way the employee accomplished
this?
(A) The employee redirected the overflow
amount when it occurred and deposited it
in his account.
(B) The employee took advantage of rounding
and deposited the fractional amounts.
(C) The amount is represented in binary and
when the right-most bit was a 1. he
replaced it with a 0 and deposited the
difference.
(D) The employee converted to Euros and
then back to U.S. dollars. The difference
in the exchange rate was deposited into his
account.
3. Saving your information from an online form
to be able to auto-fill fields in future forms
captures some of your Personally Identifiable
Information (PII). This could be an example of:
(A) an ethical matter
(B) a legal problem
(C) a privacy concern
(D) a security issue
4. What order should the following procedures be
used in creating an app to reserve a study room
in the library?
•
checkAvail()-checks the availability of
the time requested since multiple people
can use the app at the same time
record Resv()-records the room
reservation
Page
• requestTime()-asks for a reservation
time for the study room
ELSE
• timesAvail()-displays the times the
room is available
Questions 5 and 6 are based on the code below.
Assume the variables and list already have values.
• update Times()-updates the times
available to be displayed
1
(A) request Time(), record Resv(), timesAvail().
checkAvail(), update Times()
(B) request Time(), timesAvail(), record Resv(),
update Times()
(C) timesAvail(), requestTime(), checkAvail().
record Resv(), update Times()
(D) requestTime(), record Resv(), update Times()
Ir toplongs [1] song AND song Times Played 100
REMOVE (topSongs, i)
play (song)
song Times Played song Times Played 1
5. What is the code doing?
(A) Playing a song from the topSongs list
(B) If a song is in topSongs, playing it, then
removing it
(C) Removing a song from topSongs if it has
been played 100 times; otherwise playing
the song and increasing the number of
times played
(D) This code will not run as written.
/ 12
Transcribed Image Text:1. When running a program that counts the num- ber of records in a large dataset, you receive an error on your computer screen, in binary format: 11110001. Convert the error message from binary to deci- mal to be able to look it up. (A) 239-Invalid operation. Corrupt data caused the error. (B) 240-Decimal numbers are stored impre- cisely in computers. A rounding error occurred. (C) 241-Overflow error. The object exceeded its maximum size. The dataset is too large to run on your computer. (D) 404 Error message not found. 2. You read in the news about an employee who took advantage of decimal numbers used with currency exchanges to steal money. What is the most likely way the employee accomplished this? (A) The employee redirected the overflow amount when it occurred and deposited it in his account. (B) The employee took advantage of rounding and deposited the fractional amounts. (C) The amount is represented in binary and when the right-most bit was a 1. he replaced it with a 0 and deposited the difference. (D) The employee converted to Euros and then back to U.S. dollars. The difference in the exchange rate was deposited into his account. 3. Saving your information from an online form to be able to auto-fill fields in future forms captures some of your Personally Identifiable Information (PII). This could be an example of: (A) an ethical matter (B) a legal problem (C) a privacy concern (D) a security issue 4. What order should the following procedures be used in creating an app to reserve a study room in the library? • checkAvail()-checks the availability of the time requested since multiple people can use the app at the same time record Resv()-records the room reservation Page • requestTime()-asks for a reservation time for the study room ELSE • timesAvail()-displays the times the room is available Questions 5 and 6 are based on the code below. Assume the variables and list already have values. • update Times()-updates the times available to be displayed 1 (A) request Time(), record Resv(), timesAvail(). checkAvail(), update Times() (B) request Time(), timesAvail(), record Resv(), update Times() (C) timesAvail(), requestTime(), checkAvail(). record Resv(), update Times() (D) requestTime(), record Resv(), update Times() Ir toplongs [1] song AND song Times Played 100 REMOVE (topSongs, i) play (song) song Times Played song Times Played 1 5. What is the code doing? (A) Playing a song from the topSongs list (B) If a song is in topSongs, playing it, then removing it (C) Removing a song from topSongs if it has been played 100 times; otherwise playing the song and increasing the number of times played (D) This code will not run as written. / 12
10:31 PM Mon Apr 10
×
image.png
:
AP Com
6. In the above code, after a song has been deleted
from the list once, it keeps being removed after
the user adds it back to the list. What is the best
way to fix this error?
A
(A) Change the program to allow songs to be
played 1,000 times before being deleted.
(B) Send the user a message to confirm they
want to delete the song stating it can never
be added back to the list.
(C) Write a new procedure to add a song
back to the list if it had been on the list
previously.
(D) Set song Times Played back to 0 after
removing a song.
1
1
66%
Transcribed Image Text:10:31 PM Mon Apr 10 × image.png : AP Com 6. In the above code, after a song has been deleted from the list once, it keeps being removed after the user adds it back to the list. What is the best way to fix this error? A (A) Change the program to allow songs to be played 1,000 times before being deleted. (B) Send the user a message to confirm they want to delete the song stating it can never be added back to the list. (C) Write a new procedure to add a song back to the list if it had been on the list previously. (D) Set song Times Played back to 0 after removing a song. 1 1 66%
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 5 steps

Blurred answer
Knowledge Booster
Files and Directory
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning