100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

APCSP Practice Exam Questions With Complete Solutions

Rating
-
Sold
-
Pages
10
Grade
A+
Uploaded on
11-10-2024
Written in
2024/2025

APCSP Practice Exam Questions With Complete Solutions .A bank uses a computer program during the night to tell if the alarm should be rung. Sensors in the bank set the following Boolean variables: vaultClosed: set to true if the bank vault is closed; otherwise falseheardNoise: set to true if a microphone heard noise; otherwise falsesawMovement: set to true if a camera saw movement in the bank; otherwise false The automatic alarm should notify the police if there is noise and movement in the bank, or if the bank vault is open. Which of the following boolean expressions can be used in a selection statement to ring the alarm? - ANSWER-NOT vaultClosed OR (heardNoise AND sawMovement) .A byte is made up of 8 bits (binary digits). You have a programming language that uses one byte to represent characters and are now modifying your language to use two bytes to represent characters. How many more characters can you represent in your new programming language? - ANSWER-2^8 times as many characters .A construction company is building a tall skyscraper and is considering two different types of material to use for the beams in the building. The company decides to use a computer simulation of each option to determine which material will cause the building to be more stable. Which of the following is NOT true about the company's plan? - ANSWER-The simulation will not produce usable results because actual data about each material is not available .A program is expressed in a programming language. Which of the following is true of the program? - ANSWER-The program can also be expressed as binary code, which is what the program will be translated to in order to execute on the computer .A researcher is emailing images of soil samples back to her lab so her team can analyze them. She notices that the images sent in her email are of lower quality than the images on her camera. Which of the following could be a possible explanation for the difference in image quality? - ANSWER-Before being sent, the image was compressed using a lossy compression technique

Show more Read less
Institution
APCSP Practice
Course
APCSP Practice









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
APCSP Practice
Course
APCSP Practice

Document information

Uploaded on
October 11, 2024
Number of pages
10
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

APCSP Practice Exam Questions With
Complete Solutions

.A bank uses a computer program during the night to tell if the alarm should be rung. Sensors in the
bank set the following Boolean variables:

vaultClosed: set to true if the bank vault is closed; otherwise falseheardNoise: set to true if a
microphone heard noise; otherwise falsesawMovement: set to true if a camera saw movement in the
bank; otherwise false

The automatic alarm should notify the police if there is noise and movement in the bank, or if the bank
vault is open. Which of the following boolean expressions can be used in a selection statement to ring
the alarm? - ANSWER-NOT vaultClosed OR (heardNoise AND sawMovement)



.A byte is made up of 8 bits (binary digits). You have a programming language that uses one byte to
represent characters and are now modifying your language to use two bytes to represent characters.
How many more characters can you represent in your new programming language? - ANSWER-2^8
times as many characters



.A construction company is building a tall skyscraper and is considering two different types of material to
use for the beams in the building. The company decides to use a computer simulation of each option to
determine which material will cause the building to be more stable.

Which of the following is NOT true about the company's plan? - ANSWER-The simulation will not
produce usable results because actual data about each material is not available



.A program is expressed in a programming language. Which of the following is true of the program? -
ANSWER-The program can also be expressed as binary code, which is what the program will be
translated to in order to execute on the computer



.A researcher is emailing images of soil samples back to her lab so her team can analyze them. She
notices that the images sent in her email are of lower quality than the images on her camera. Which of
the following could be a possible explanation for the difference in image quality? - ANSWER-Before
being sent, the image was compressed using a lossy compression technique

, .A search engine has a trend-tracking feature that provides information on how popular a search term is.
The data can be filtered by geographic region, date, and search term.

Which of the following questions is LEAST likely to be answerable using the trends feature? - ANSWER-
What region of the country has the highest population of a particular animal



.A user enters a Web address in a browser, and a request for a file is sent to a Web server. Which of the
following statements are true about how the file is sent to the user?

I - The file is broken down into several packets for transmission.

II - The packets must be reassembled by the user's device upon receipt.

III - The user's browser must request each individual packet, in order, until all packets are received -
ANSWER-I and II



.A video viewing Website previously used 32-bit integers to store the number of views for each video,
but a video that had been watched billions of times hit the maximum value. What is it called when this
maximum is exceeded? - ANSWER-An overflow error



.A Website is considering an update to its servers that would save the geolocations of users accessing
the site. Which of the following is LEAST likely to occur as a result of this update? - ANSWER-Users in a
certain location may no longer be able to access the Website



.According to the domain name system (DNS), which of the following is a subdomain of the domain
test.com? - ANSWER-info.test.com



.Assume we have an algorithm used to simulate the results of flipping a coin n times. Two variables used
for the algorithm are heads_counter, storing the number of heads we've had, and flip_counter, storing
the number of flips we've made. We want to add on to the algorithm so that at the end we display
whether there were an odd or even number of tails. - ANSWER-Both Algorithm A and Algorithm B
always calculate the correct answer.



.Based on the code segment, how would you best describe the value of resultList? - ANSWER-resultList
contains all items from inputList that met the Mystery condition



.Based on the code segment, how would you best describe the value of resultList? - ANSWER-resultList
contains the result of calling the Mystery procedure on every item in inputList

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
TopGradeGuides Harvard University
Follow You need to be logged in order to follow users or courses
Sold
22
Member since
1 year
Number of followers
11
Documents
1655
Last sold
1 week ago
TOP SELLER CENTER

EXCELLENT HOMEWORK HELP AND TUTORING ,ALL KIND OF QUIZ AND EXAMS WITH GUARANTEE OF A EXCELLENT HOMEWORK HELP AND TUTORING ,ALL KIND OF QUIZ AND EXAMS WITH GUARANTEE OF A Am an expert on major courses especially; psychology,Nursing, Human resource Management and Mathemtics Assisting students with quality work is my first priority. I ensure scholarly standards in my documents and that\'s why i\'m one of the BEST GOLD RATED TUTORS in STUVIA. I assure a GOOD GRADE if you will use my work.

Read more Read less
2.3

3 reviews

5
0
4
1
3
0
2
1
1
1

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions