100% tevredenheidsgarantie Direct beschikbaar na je betaling Lees online óf als PDF Geen vaste maandelijkse kosten 4.2 TrustPilot
logo-home
Tentamen (uitwerkingen)

APCSP Practice Exam Questions With Complete Solutions

Beoordeling
-
Verkocht
-
Pagina's
10
Cijfer
A+
Geüpload op
11-10-2024
Geschreven 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

Meer zien Lees minder
Instelling
APCSP Practice
Vak
APCSP Practice









Oeps! We kunnen je document nu niet laden. Probeer het nog eens of neem contact op met support.

Geschreven voor

Instelling
APCSP Practice
Vak
APCSP Practice

Documentinformatie

Geüpload op
11 oktober 2024
Aantal pagina's
10
Geschreven in
2024/2025
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

Voorbeeld van de inhoud

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

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
TopGradeGuides Harvard University
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
22
Lid sinds
1 jaar
Aantal volgers
11
Documenten
1655
Laatst verkocht
1 week geleden
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.

Lees meer Lees minder
2,3

3 beoordelingen

5
0
4
1
3
0
2
1
1
1

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via Bancontact, iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo eenvoudig kan het zijn.”

Alisha Student

Veelgestelde vragen