1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
weqwewe [10]
3 years ago
7

Write a Python function called simulate_observations. It should take no arguments, and it should return an array of 7 numbers. E

ach of the numbers should be the modified roll from one simulation. Then, call your function once to compute an array of 7 simulated modified rolls. Name that array observations.
Computers and Technology
1 answer:
Bas_tet [7]3 years ago
6 0

Answer:

import random

def simulate_observations():

   #this generates an array of 7 numbers

   #between 0 and 99 and returns the array

   observations = random.sample(range(0, 100), 7)

   return observations

#here,we call the function created above and print it

test_array = simulate_observations()

print(str(test_array))

You might be interested in
Explain the components of Information System?​
slavikrds [6]

Answer:

An information system is essentially made up of five components hardware, software, database, network and people. These five components integrate to perform input, process, output, feedback and control. Hardware consists of input/output device, processor, operating system and media devices.

Explanation:

7 0
3 years ago
Which statement is true about parity in RAM?
mihalych1998 [28]

Answer:

There needs to be an odd number of 1 bits

Explanation:

In memory, parity checking method is used to test the memory. There are two parity conditions. Either the parity is even or the parity is odd.

Odd parity means, number of 1's in eight bits of data. If the number 1's are odd  it means parity is odd. In case of the memory testing result the parity should be odd.

So, In case of Parity of RAM, the parity should be odd, if the data is stored in the RAM.

8 0
3 years ago
The top-down approach is an appropriate strategy for most
puteri [66]

Answer:

true

Explanation:

The Top-down approach is an approach to a problem that focuses on the big picture first before moving down into the specifics of the topic/problem. Therefore based on the information provided within the question it can be said that the statement being made is completely true. Since the interviewer using this approach starts with a broad topic and later goes into the details, it does allow them to be accustomed to the topic first.

8 0
2 years ago
What are specific and relevant terms that will help you locate information using an internet search engine?
Liono4ka [1.6K]
I would say A:keywords

Hope this helps

I’m sorry if this is wrong

Have a great day/night
3 0
2 years ago
________ is a set of rules for exchanging files such as text, graphic images, sound, video, and other multimedia files on the we
Soloha48 [4]
<span> HYPERTEXT TRANSFER PROTOCOL  (HTTP)</span>
3 0
3 years ago
Other questions:
  • Examples of apps include pop-up windows, validation of webform inpts and images that change when a cursor passes over them
    12·1 answer
  • Design two subclasses of Employee…SalariedEmployee and HourlyEmployee. A salaried employee has an annual salary attribute. An ho
    12·1 answer
  • Why do some people think the global<br> economy is good for the United States?
    10·1 answer
  • Explain in three to four sentences what happens to data packets once they leave a node.
    11·2 answers
  • PLEASE HELP ASAP<br> Which technology encrypts traffic between a web browser and a website?
    10·2 answers
  • A(n) _______ gate provides an output of 1 if either or both inputs are 1.
    14·2 answers
  • Susan works for a company that values their employees me and deadlines in finding ways to keep the cost of doing business low wh
    12·1 answer
  • Time
    6·1 answer
  • Types of Hazards Mitigation Measures
    8·2 answers
  • In the 1760s and early 1770s, the British government wanted to raise money by taxing the residents of its colonies in North Amer
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!