100% tevredenheidsgarantie Direct beschikbaar na je betaling Lees online óf als PDF Geen vaste maandelijkse kosten
logo-home
APCSP Final Exam |Guaranteed Success|100% Accurate $15.49
In winkelwagen

Tentamen (uitwerkingen)

APCSP Final Exam |Guaranteed Success|100% Accurate

 0 keer verkocht

APCSP Final Exam |Guaranteed Success|100% Accurate

Voorbeeld 4 van de 41  pagina's

  • 4 december 2024
  • 41
  • 2024/2025
  • Tentamen (uitwerkingen)
  • Vragen en antwoorden
Alle documenten voor dit vak (1)
avatar-seller
MedMerit
, APCSP Final
Exam |Guaranteed Success|100% Accurate




The model used by the simulation software cannot be modified once the simulation has been used

A city planner is using simulation software to study crowd flow out of a large arena after an event has
ended. The arena is located in an urban city. Which of the following best describes a limitation of
using a simulation for this purpose?




Determining the longest word in a textbook

For which of the following problems is using a simulation LEAST likely to be beneficial?




A retail company wants to determine the most popular item that was sold on the company's Web
site last month

In which of the following scenarios would a simulation be the LEAST beneficial?




Using a simulation may expose potential safety issues that can be corrected before construction
begins

The transportation department plans to build a new high-speed train route between two cities. The
transportation department wants to implement a simulation of the train before any construction



1

,begins on this project. Which of the following statements is true about the use of a simulation for
this project?




Investigating ways to reduce the amount of trash in the ocean and Studying the effect of a genetic
change in a population

In which of the following scenarios is using a simulation more beneficial than performing a
calculation?




1324

Consider the following code segment. Which of the following CANNOT be displayed as a result of
executing the code segment?




Any integer value from 7 to 16, inclusive

Consider the following code segment. Which of the following describes the possible values of ans as
a result of executing the code segment?




The player had 3 bonus round attempts and 7 of them earned extra points

In a certain game, a player may have the opportunity to attempt a bonus round to earn extra points.
In a typical game, a player is given 1 to 4 bonus round attempts. For each attempt, the player
typically earns the extra points 70% of the time and does not earn the extra points 30% of the time.
The following code segment can be used to simulate the bonus round. Which of the following is NOT
a possible output of this simulation?




sum ← RANDOM(1, 12) + RANDOM(1, 12) + RANDOM(1, 12)


2

, A spinner contains 12 regions of equal size. The regions are numbered 1 to 12. Which of the
following code segments can be used to simulate the results of spinning the spinner three times and
assigns the sum of the values obtained by the three spins to the variable sum?




A procedure that returns the sum of the values in the file

A student has a data file containing 10,000 numerical values. The student is writing a program to
compute the average of the numbers contained in the file. Which of the following procedures is most
likely to be useful in the student's program?




A procedure findNegative, which returns the row number of the first negative value that appears in
the column or -1 if there are no negative values

A student is writing a program that is intended to replace each negative value in a particular column
of a spreadsheet with the value 0. Which of the following procedures is most likely to be useful in the
student's program?




A procedure isFound, which takes a word and a text file as input and returns true if the word appears
in the text file

Which of the following procedures would be most useful as part of a program to determine whether
a word appears in two different text files?




A musician creates a song using samples of a copyrighted work and then uses a Creative Commons
license to publish the song.

Which of the following actions is most likely to raise legal or ethical concerns?




3

Dit zijn jouw voordelen als je samenvattingen koopt bij Stuvia:

Bewezen kwaliteit door reviews

Bewezen kwaliteit door reviews

Studenten hebben al meer dan 850.000 samenvattingen beoordeeld. Zo weet jij zeker dat je de beste keuze maakt!

In een paar klikken geregeld

In een paar klikken geregeld

Geen gedoe — betaal gewoon eenmalig met iDeal, Bancontact of creditcard en je bent klaar. Geen abonnement nodig.

Focus op de essentie

Focus op de essentie

Studenten maken samenvattingen voor studenten. Dat betekent: actuele inhoud waar jij écht wat aan hebt. Geen overbodige details!

Veelgestelde vragen

Wat krijg ik als ik dit document koop?

Je krijgt een PDF, die direct beschikbaar is na je aankoop. Het gekochte document is altijd, overal en oneindig toegankelijk via je profiel.

Tevredenheidsgarantie: hoe werkt dat?

Onze tevredenheidsgarantie zorgt ervoor dat je altijd een studiedocument vindt dat goed bij je past. Je vult een formulier in en onze klantenservice regelt de rest.

Van wie koop ik deze samenvatting?

Stuvia is een marktplaats, je koop dit document dus niet van ons, maar van verkoper MedMerit. Stuvia faciliteert de betaling aan de verkoper.

Zit ik meteen vast aan een abonnement?

Nee, je koopt alleen deze samenvatting voor $15.49. Je zit daarna nergens aan vast.

Is Stuvia te vertrouwen?

4,6 sterren op Google & Trustpilot (+1000 reviews)

Afgelopen 30 dagen zijn er 64257 samenvattingen verkocht

Opgericht in 2010, al 15 jaar dé plek om samenvattingen te kopen

Start met verkopen
$15.49
  • (0)
In winkelwagen
Toegevoegd