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
erastovalidia [21]
4 years ago
11

students at a camp can choose between boating and fishing in the morning and between hiking and horseback riding in the afternoo

n. How could you simulate a random selection of activities/
Computers and Technology
1 answer:
Snezhnost [94]4 years ago
5 0
You could flip a coin twice. The result of the first toss chooses the morning activity, and the second toss determines the afternoon choice. There are only 4 different day-schedules available.
You might be interested in
I’m failing this class and i’m stuck on this one, this is the code from the last lesson:
serg [7]

lst=([])

def avgGPA(lst1):

   total = 0

   count = 0

   for x in lst:

       if type(x) == int:

           total += x

           count += 1

   return total/count

def GPAcalc(grade, weighted):

   grade = grade.lower()

   dictionary = {"a": 4, "b": 3, "c": 2, "d": 1, "f": 0}

   if weighted == 1 and grade in dictionary:

       lst.append(dictionary[grade]+1)

       return "Your GPA score is: " + str(dictionary[grade] + 1)

   elif weighted == 0 and grade in dictionary:

       lst.append(dictionary[grade])

       return "Your GPA score is: " + str(dictionary[grade])

   else:

       lst.append("Invalid")

       return "Invalid"

classes = int(input("How many Classes are you taking? "))

i = 0

while i < classes:

   print(GPAcalc(input("Enter your Letter Grade: "), int(input("Is it weighted? (1 = yes) "))))

   i += 1

print("Your weighted GPA is a "+str(avgGPA(lst)))

If you need me to change any code, I'll do my best. I hope this helps!

6 0
3 years ago
Differentiate the threat to a computer from electrical surges and spikes versus the threat from viruses
musickatia [10]
Electrical surges can overload a computer (or really any plugged in device) and the instant jump in power can fry the computer, ruining the hardware.  viruses are made to invade youre computer through software and some viruses have the goal of finding personal information or trying to get money.  this can be done by a virus locking down your computer until you send $_____ to an account or buy something.
8 0
4 years ago
Read 2 more answers
A _____ is the viewing area for a web page, which is much smaller on a phone than on a traditional desktop.
-BARSIC- [3]
A viewport is the viewing area for a web page, which is much smaller on a phone than on a traditional desktop .
6 0
3 years ago
What are the functions of an input device​
marshall27 [118]

Answer:

To feed the computer with data/instructions

6 0
3 years ago
Read 2 more answers
Type the correct answer in the box. Spell all words correctly.
LUCKY_DIMON [66]

Answer:

Marcus would have to take an exam administered by the national council of examiners for engineering and surveying.

Explanation:

Civil engineers design, construct, and maintain projects regarding infrastructure. A civil engineer also looks after the systems in the public and private sectors like roads, buildings, and systems for water supply and sewage treatment.

In order to pursue a career in civil engineering, Marcus aims to work for the city council as a civil engineer. Therefore, he would have to take an exam administered by the national council of examiners for engineering and surveying.

8 0
3 years ago
Read 2 more answers
Other questions:
  • Which of the following is true regarding Moore’s Law? A.) explained the growth in computing capabilities between 1965 and 1995 B
    14·1 answer
  • *blank* is the unauthorized copying and selling or distributing of licensed video games.
    10·1 answer
  • The _____ lets you see what styles have been applied to specific parts of a document, such as headings.
    9·1 answer
  • A client has an issue with large files taking a long time to open or save. As time goes by, the issue worsens. The client has hu
    8·1 answer
  • What era was the metalwork from
    10·1 answer
  • Clicking a _____ name opens a drop-down list of commands and options. Select one: a. menu b. status bar c. ribbon d. toolbar
    15·1 answer
  • java Two smallest numbers Write a program that reads a list of integers, and outputs the two smallest integers in the list, in a
    6·1 answer
  • Write a program that contains three methods:
    7·1 answer
  • HEPME <br> ZOOM<br> IN <br> STOP<br> GIVIJG<br> ME <br> LINKS <br> !!
    9·1 answer
  • Explain why microcomputers are installed with TCP/IP protocols?​
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!