100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada 4.2 TrustPilot
logo-home
Examen

APCSP Practice Exam Questions With Complete Solutions

Puntuación
-
Vendido
-
Páginas
10
Grado
A+
Subido en
11-10-2024
Escrito en
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

Mostrar más Leer menos
Institución
APCSP Practice
Grado
APCSP Practice









Ups! No podemos cargar tu documento ahora. Inténtalo de nuevo o contacta con soporte.

Escuela, estudio y materia

Institución
APCSP Practice
Grado
APCSP Practice

Información del documento

Subido en
11 de octubre de 2024
Número de páginas
10
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

Vista previa del contenido

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
$13.19
Accede al documento completo:

100% de satisfacción garantizada
Inmediatamente disponible después del pago
Tanto en línea como en PDF
No estas atado a nada

Conoce al vendedor

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
TopGradeGuides Harvard University
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
22
Miembro desde
1 año
Número de seguidores
11
Documentos
1655
Última venta
1 semana hace
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.

Lee mas Leer menos
2.3

3 reseñas

5
0
4
1
3
0
2
1
1
1

Recientemente visto por ti

Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes