Answer:
import random
decisions = int(input("How many decisions: "))
for i in range(decisions):
number = random.randint(0, 1)
if number == 0:
print("heads")
else:
print("tails")
Explanation:
*The code is in Python.
import the random to be able to generate random numbers
Ask the user to enter the number of decisions
Create a for loop that iterates number of decisions times. For each round; generate a number between 0 and 1 using the randint() method. Check the number. If it is equal to 0, print "heads". Otherwise, print "tails"
Answer and Explanation:
Find / -name "IT4983"
See what it will do is it will find the file named IT4983 in the root directory.
run this commmand with sudo just in case for permission issues.
then it will give you the location of that file we want to find.
Or
$ file /home/IT4983 ( you can type this command from whichever directory you are )
output : IT4983 , ASCII TEXT
Answer:
The independent variable is Native American participants
Explanation:
Why Native Americans is the independent variable is bacause the survey population is Native Americans and the result of the survey won't be affected by the gender and age of the native american participants. So it the independent variable.
Answer:
Option (c) is the correct answer of this question.
Explanation:
RAM (Random Access Memory) It is a type of computer memory which can also be retrieved and adjusted in either sequence, usually still had to preserve operating memory and bytecode.
It is a type storage device, and maintains the data used when the device is operating.RAM makes file access more frequently compared with certain digital storage types.
<u>For Example</u>:- PCs, tablets, smartphones ,printers etc.
Other options are not related to the given scenario.
Answer:
JPG / JPEG best choice and work well on websites
Explanation:
JPEGs contains millions of colors, so this type of file is ideal for photographs.
Best choice for posting on social media channels