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

AP Computer Science UPDATED ACTUAL Questions and CORRECT Answers

Beoordeling
-
Verkocht
-
Pagina's
13
Cijfer
A+
Geüpload op
31-10-2024
Geschreven in
2024/2025

AP Computer Science UPDATED ACTUAL Questions and CORRECT Answers An algorithm has been developed to compute the sum of all the elements in a list of integers. Which of the following programming structures must be added to the existing algorithm so that the new algorithm computes the sum of only the even integers in the list? (2) (A) Iteration (B) Searching (C) Selection (D) Sequencing - CORRECT ANSWER- C. Selection

Meer zien Lees minder
Instelling
AP Computer Science
Vak
AP Computer Science









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

Geschreven voor

Instelling
AP Computer Science
Vak
AP Computer Science

Documentinformatie

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

Onderwerpen

Voorbeeld van de inhoud

AP Computer Science UPDATED ACTUAL
Questions and CORRECT Answers
An algorithm has been developed to compute the sum of all the elements in a list of integers.
Which of the following programming structures must be added to the existing algorithm so
that the new algorithm computes the sum of only the even integers in the list? (2)
(A) Iteration
(B) Searching
(C) Selection

(D) Sequencing - CORRECT ANSWER✔✔- C. Selection


The code segment below uses the procedure IsFound (list, item), which returns true if item
appears in list and returns false otherwise. The list resultList is initially empty.
FOR EACH item IN inputList1
{
IF (IsFound (inputList2, item)
{
APPEND (resultList, item)
}
}
Which of the following best describes the contents of resultList after the code segment is
executed? (2)
(A) All elements in inputList1 followed by all elements in inputList2
(B) Only elements that appear in both inputList1 and inputList2
(C) Only elements that appear in either inputList1 or inputList2 but not in both lists
(D) Only elements that appear in inputList1 but not in inputList2 - CORRECT
ANSWER✔✔- (B) Only elements that appear in both inputList1 and inputList2


A programmer is writing a program that is intended to be able to process large amounts of
data. Which of the following considerations is LEAST likely to affect the ability of the
program to process larger data sets? (2)
(A) How long the program takes to run
(B) How many programming statements the program contains

, (C) How much memory the program requires as it runs

(D) How much storage space the program requires as it runs - CORRECT ANSWER✔✔- (B)
How many programming statements the program contains


Which of the following statements are true about using a high-level programming language
instead of a lower-level language? (2)
Programs written in a high-level language are generally easier for people to read than
programs written in a low-level language.
A high-level language provides programmers with more abstractions than a low-level
language.
Programs written in a high-level language are generally easier to debug than programs
written in a low-level language.
(A) I only
(B) I and III only
(C) II and III only

(D) I, II, and III - CORRECT ANSWER✔✔- (D) I, II, and III


A student is recording a song on her computer. When the recording is finished, she saves a
copy on her computer. The student notices that the saved copy is of lower sound quality than
the original recording. Which of the following could be a possible explanation for the
difference in sound quality? (2)
(A) The song was saved using fewer bits per second than the original song.
(B) The song was saved using more bits per second than the original song.
(C) The song was saved using a lossless compression technique.
(D) Some information is lost every time a file is saved from one location on a computer to
another location. - CORRECT ANSWER✔✔- (A) The song was saved using fewer bits per
second than the original song.


Computers are often used to search through large sets of data to find useful patterns in the
data. Which of the following tasks is NOT an example where searching for patterns is needed
to produce useful information? (2)
(A) A credit card company analyzing credit card purchases to identify potential fraudulent
charges
(B) A grocery store analyzing customers' past purchases to suggest new products the
customer may be interested in
€9,21
Krijg toegang tot het volledige document:

100% tevredenheidsgarantie
Direct beschikbaar na je betaling
Lees online óf als PDF
Geen vaste maandelijkse kosten


Ook beschikbaar in voordeelbundel

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.
MGRADES Stanford University
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
1063
Lid sinds
1 jaar
Aantal volgers
102
Documenten
68976
Laatst verkocht
5 uur geleden
MGRADES (Stanford Top Brains)

Welcome to MGRADES Exams, practices and Study materials Just think of me as the plug you will refer to your friends Me and my team will always make sure you get the best value from the exams markets. I offer the best study and exam materials for a wide range of courses and units. Make your study sessions more efficient and effective. Dive in and discover all you need to excel in your academic journey!

3,8

168 beoordelingen

5
73
4
30
3
43
2
8
1
14

Recent door jou bekeken

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