Comp Sci unit 3 #10

Quiz
•
Computers
•
11th Grade
•
Easy
Nick Nessralla
Used 10+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A researcher wrote a program to simulate the number of mice in an environment that contains predators. The program uses the following procedures.
Based on the code, which of the following assumptions is made in the simulation?
The number of mice increases by 1 each day.
The number of mice does not change from day to day.
The number of predators increases by 1 each day.
The number of predators does not change from day to day.
2.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of the following is a benefit of using a simulation instead of an experiment to make a prediction?
Select two answers.
response - correct
Responses
A simulation allows investigation of a phenomenon without the real-world limitations on time, safety, or budget.
A simulation can be used to model real-world events that are impractical for experiments.
A simulation always produces the same output, so its results can be verified.
A simulation produces results that are more accurate than experimental results.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Flight simulation software, which imitates the experience of flying, is often used to train airline pilots. Which of the following is LEAST likely to be an advantage of using flight simulation software for this purpose?
Flight simulation software allows pilots to practice landing in a variety of different terrains and weather conditions without having to physically travel.
Flight simulation software could save money due to the cost of maintenance and fuel for actual training flights.
Flight simulation software provides a more realistic experience for pilots than actual training flights.
Flight simulation software allows for the testing of emergency air situations without serious consequences.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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?
Responses
The model used by the simulation software cannot be modified once the simulation has been used.
The model used by the simulation software often omits details so that it is easier to implement.
Running a simulation requires more time to generate data from trials than observing the crowd exiting the arena at various events.
Running a simulation requires a large number of observations to be collected before it can be used to explore a problem.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following code segment, which is intended to store ten consecutive even integers, beginning with 2, in the list evenList. Assume that evenList is initially empty.
i ← 1
REPEAT 10 TIMES
{
<MISSING CODE>
}
Which of the following can be used to replace <MISSING CODE> so that the code segment works as intended?
APPEND(evenList, i)
i ← i + 2
i ← i + 2
APPEND(evenList, i)
APPEND(evenList, 2 * i)
i ← i + 1
i ← i + 1
APPEND(evenList, 2 * i)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Shoppers at a mall were asked whether they preferred wearing gloves or mittens in cold weather. Shoppers’ preferences were stored in the list voteList as strings, with the string "Gloves" representing a preference for gloves and the string "Mittens" representing a preference for mittens.
The following code segment is intended to traverse the list and display the number of shoppers who chose gloves and the number of shoppers who chose mittens.
numGlovesVotes ← 0
numMittensVotes ← 0
<MISSING CODE>
{
IF(vote = "Gloves")
{
numGlovesVotes ← numGlovesVotes + 1
}
ELSE
{
numMittensVotes ← numMittensVotes + 1
}
}
DISPLAY(numGlovesVotes)
DISPLAY(" shoppers chose gloves and")
DISPLAY(numMittensVotes)
DISPLAY(" shoppers chose mittens.")
Which of the following should replace <MISSING CODE> so that the code segment works as intended?
Responses
IF(vote ≤ LENGTH(voteList))
FOR EACH vote IN voteList
REPEAT LENGTH(voteList) TIMES
REPEAT UNTIL(vote > LENGTH(voteList))
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A group of planners are using a simulation to examine whether or not a park that they are designing is going to affect foot traffic in the area. The simulation uses a model that includes input variables for the park such as the number of entrances, sidewalks, and bike trails and the square footage of open space (grassy areas). The simulation can then be run multiple times using different values for the input variables to represent different park designs.
However, the simulation takes a very long time to run. The planners update the model by removing some variables they consider less important than others. Of the following, which is the most likely effect the updated model will have on the simulation?
The updated model is likely to decrease the runtime of the simulation because the time required for simulations generally depends on the complexity of the model used.
The updated model is likely to decrease the runtime of the simulation because simulations that use older models tend to require more time to run than simulations that use newer models.
The updated model is unlikely to decrease the runtime of the simulation because the simulation is computationally complex, regardless of the model used.
The updated model is unlikely to provide any benefit because removing details from a model will compromise the accuracy of the simulation.
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Software Testing

Quiz
•
11th Grade
10 questions
Quiz#1 in Data Science_Q2 (Module 5)

Quiz
•
11th Grade
15 questions
AP CSP Algorithms & Programming (College Board Style)

Quiz
•
9th - 12th Grade
10 questions
E-tech:Interactive Multimedia

Quiz
•
9th - 12th Grade
7 questions
Six Pillars of Character

Quiz
•
KG - University
15 questions
Unit 5 code.org Review

Quiz
•
11th Grade
10 questions
Perangkat Input Output

Quiz
•
10th - 12th Grade
12 questions
Unit 5 Lists, Loops, & Traversals

Quiz
•
10th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade