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?
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.
12 questions
CIW/IBA REVIEW PART-C
Quiz
•
9th - 12th Grade
10 questions
Unit 4 Vocab Quiz
Quiz
•
9th - 12th Grade
15 questions
11-SC-QUIZ-DATABASE MANAGEMENT SYSTEM
Quiz
•
11th Grade
11 questions
Online Safety
Quiz
•
6th - 12th Grade
10 questions
MICROSOFT EXCEL
Quiz
•
9th - 11th Grade
12 questions
Computer Software
Quiz
•
11th Grade
15 questions
SDLC
Quiz
•
7th Grade - University
15 questions
6.6 Application Delivery
Quiz
•
9th - 12th Grade
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade
17 questions
Parts of Speech
Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression
Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing
Quiz
•
9th - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University