The correct answer is C. Emphasizes both twitch and thought skills
Explanation:
In games, twitch skills refer to the player's ability to respond in a short time or react to a certain stimulus. On the other hand, thought skills are complex skills that require players to create strategies or analyzing before taking any action in the game.
In the case of Tetris, which requires players to complete lines by using pieces with different shapes both twitch and thinking skills are involved because to complete the line correctly the players needs to analyze the shape and where this should be placed before pressing any buttons (though skills), but at the same time, the player needs to reach in a short time (twitch skills) for example, by rotating each piece in a short time to complete the line.
In batch operating system three job J1 J2 and J3 are submitted for execution each job involes an I/O activity a CPU time and another i/o activity job a requires a total of 20 ms with 2 ms CPU time J2 requires 30 ms total time with 6 ms CPU time J3 requires15 ms total time 3 ms CPU time what will be the CPU utilization for uniprogramming and multiprogramming
Answer:
(A) The CPU time for J1 is =2 ms other time is =18 ms, for J2 CPU time =6 ms other time = 24 ms, for J3 CPU time = 3 ms and other time = 12 ms (B) The CPU Utilization for uni-programming is 0.203 or 20.3% (C) For Multi-programming, when a program is not free and busy with an operation, the CPU is allocated to other programs.
Explanation:
Solution
Given that:
A(1)Job J1 = CPU time = 2ms
Other time =18 ms
Total time = 20 ms
(2)Job J2 = CPU time 6ms
Other time = 24 ms
Total time = 30 ms
(3)Job J3 = CPU time = 3ms
Other time =12ms
Total time = 15 ms
(B) For the CPU Utilization for uni-programming, we have the following as follows:
CPU utilization =The total time of CPU/The total real time
Thus,
=(2 +6+3) / (18+24+12)
= 11/54
=0.203 or 20.3%
(C) For the CPU utilization for multi-programming, when a program is not available that is busy in an operation, such as the input and output the CPU can be allocated or designated to other programs
Assignment 8: Calendar Create a calendar program that allows the user to enter a day, month and year in three separate variables. Then ask the user to select froma menu of choices using this formatting: Please enter a date Day: Month: Year: Menu: 1) Calculate the number of days in the given month. 2) Calculate the number of days left in the given year t must include the following functions: ter and returns a 1 if a year is a leap year et and O if it is not. This information will only be used by other functions umber of days: This subprogram will accept the date as parameters and return how many days are in the given monthe. the date as parameters and then calculate the number of days left in the year. This should not include the date the user entered in the count
this is what I have so far:
def number_of_days(m):
if (m == 1,3,5,7,8,9,11):
woh = 31
elif (m == 2):
woh = 28
elif (m == 4,6,10,12):
woh = 30
print (woh)
print (29)
def days_left(d,m,y):
if (d > 0):
print ('135')
def leap_year(d,m,y):
if (d > 0):
print ('1')
day = int(input('Enter the day.'))
month = int(input('Enter the month.'))
year = int(input('Enter the year.'))
menu = int(input('Day in month or left in year? (1,2)'))
if (menu == 1):
monthdays = number_of_days(month)
print (monthdays)
elif (menu == 2):
dayleft = days_left(day,month,year)
print (dayleft)
Answer:
Following are the correct code to this question:
def leap_year(year):#defining a method to check if year is leap year
if ((year%4==0) and (year%100!=0)) or (year%400==0):#defining condition to check value
return 1 #return value 1
return 0 #return 0
def number_of_days(month,year):#defining method number_of_days to calculate year or month is leap year are not
if month==2: #defining if block to calculate leap year value
if leap_year(year):#using if block to call leap_year month
return 29#return value 29
return 28 #return value 28
if month in days_31: #defining if block to calculate day
return 31 #return value 31
return 30#return value 30
def days_left(day,month,year):#defining method days_Left
daysLeft = number_of_days(month,year)-day#defining variable daysLeft which calls number_of_days method
month += 1 #increment month variable value by 1
while month<=12:#defining while loop to Calculate left days
daysLeft += number_of_days(month,year) #using daysLeft variable to hold number_of_days value
month += 1 #increment value of month variable by 1
return daysLeft #return daysLeft value
days_31 = [1,3,5,7,8,10,12] #defining days_31 dictionary and assign value
days_30 = [4,6,9,11] # defining days_30 dictionary and assign value
print('Please enter a date') #print message
day = int(input('Day: ')) #defining day variable and input value
month = int(input('Month: '))#defining Month variable and input value
year = int(input('Year: '))#defining Year variable and input value
print('Menu:')#print message
print('press 1 to Calculate the number of days in the given month.')#print message
print('press 2 to Calculate the number of days left in the given year.')#print message
choice = int(input())#defining choice variable and input the value
if choice==1: #defining if block to check choice
print(number_of_days(month,year)) #call method number_of_days and print value
elif choice==2: #defining elif block to check value
print(days_left(day,month,year))#call days_left and print value
Output:
Please enter a date
Day: 2
Month: 6
Year: 2018
Menu:
press 1 to Calculate the number of days in the given month.
press 2 to Calculate the number of days left in the given year.
2
194
Explanation:
In the given python code, three methods "leap_year, number_of_days, and days_left " is declared, in which we calculate all the values that can be described as follows:
In the leap_year method, it accepts the year variable, which calculates the year is the leap year and returns its value that is 1. In the next method number_of_days, it is declared that accepts the "year and month" variable as the parameter and calculates and returns its value. In the last days_left method, it calculates the left days and returns its value, and outside the method, two dictionary variable days_31 and days_30 is declared, which assign a value and used use three input variable day, month, and year variable to accepts user input value. In the next step, a choice variable is declared, that input values and calls and print its value accordingly.The calendar program illustrates the use of conditional statements
In programming, conditional statements are used to make decisions.
The calendar program in Python where comments are used to explain each line is as follows:
#This defines the function that calculates the days in a month
def daysMonth(month,year):
#This checks for leap year (i.e. February), and returns the number of days
if month==2:
if ((year%4==0) and (year%100!=0)) or (year%400==0):
return 29
return 28
#This checks and returns the number of days in the other months
if month in [1,3,5,7,8,10,12]:
return 31
return 30
#This defines the function that calculates the days remaining in a year
def countDays(day,month,year):
#This calculates the days remaining in the current month
daysLeft = daysMonth(month,year)-day
month += 1
#The following loop determines the days left in the year
while month<=12:
daysLeft += daysMonth(month,year)
month += 1
#The returns the days left in the year
return daysLeft
#This gets the day as input
day = int(input('Day: '))
#This gets the month as input
month = int(input('Month: '))
#This gets the year as input
year = int(input('Year: '))
#This gets the choice
choice = int(input("1 - Days in the month\n2 - Days left in the year\nChoice: "))
#If the choice is 1, this prints the days in the month
if choice==1:
print("There are",daysMonth(month,year),"days in the month")
#If the choice is 2, this prints the days left in the year
elif choice==2:
print("There are",countDays(day,month,year),"left in the year")
Read more about conditional statements at:
https://brainly.com/question/19248794
Which education and qualifications are most helpful for Law Enforcement Services careers? Check all that apply.
master’s degree
high school degree
integrity
physical fitness
ability to swim
graphic design skills
social skills
Answer:i just did the instruction on edgeunity
Explanation:
The qualifications which are most helpful for Law Enforcement Services careers are "high school degree", "integrity", "physical fitness" and "social skills".
Law Enforcement Services
The organizations including people who are in charge of enforcing the laws, preserving civil morality, as well as regulating community policing are referred to as law enforcement.
Law enforcement's core responsibilities comprise investigating, apprehending, including detaining persons charged with serious activities.
Thus the above response is appropriate.
Find out more information about Law Enforcement Services here:
https://brainly.com/question/21867917
1. Create a function called count_to_three() , remember the colon.
2.Indented inside the function add the print() function three times to output the
words "One" "Two" and "Three"
3.Outside the function add a line to call the function
Answer:
This program is written using Python programming language
The program doesn't make use of comments
See attachment for proper format of the program
def count_to_three():
print("One")
print("Two")
print("Three")
count_to_three()
Explanation:
The first line of the program defines the function count_to_three() with no parameters, passed to it
Line 2 to 4 of the program is indent and each line make use of print() function
Line 2 prints "One", Line 3 prints "Two" and Line 4 prints "Three" without quotes
The last line of the program calls the defined function
what is i.a folder ii.file
Answer
Folder A digital folder has the same purpose as a physical folder – to store documents.
I wrote a rock paper scissors game in python but I cannot get it to play again once the user choices a yes option. The rest of the program works.
Here's what I have:
import random
playAgain = True
choice = input("Enter Rock(R), Paper(P), or Scissors(S): ")
computer = random.randint(1, 3)
if computer == 1:
print("Computer played R.")
elif computer == 2:
print("Computer played P.")
else:
print("Computer played S.")
#Winning conditions
if computer == 1 and choice == "R":
print("Computer played Rock.")
print("Tie")
elif computer == 2 and choice == "P":
print("Computer played Paper.")
print("Tie")
elif computer == 3 and choice == "S":
print("Computer played Scissors.")
print("Tie")
elif computer == 1 and choice == "S":
print("Computer played Rock.")
print("You Lose")
elif computer == 2 and choice == "R":
print("Computer played Paper.")
print("You Lose")
elif computer == 3 and choice == "P":
print("Computer played Scissors.")
print("You Lose")
elif computer == 1 and choice == "P":
print("Computer played Rock.")
print("You Win")
elif computer == 2 and choice == "S":
print("Computer played Paper.")
print("You Win")
elif computer == 3 and choice == "R":
print("Computer played Scissor.")
print("You Win")
#Play again?
choice = input("Play Again? ")
while playAgain == True:
if choice == "y":
playAgain = True
elif choice == "yes":
playAgain = True
if choice == "Yes":
playAgain = True
elif choice == "Y":
playAgain = True
elif choice == "n":
print("Thanks for playing!")
exit()
elif choice == "no":
print("Thanks for playing!")
exit()
elif choice == "N":
print("Thanks for playing!")
exit()
elif choice == "No":
print("Thanks for playing!")
exit()
else:
print("Please input a vaild option.")
choice = input("Play Again? ")
Answer:
Make it an IF then thing where it says IF playAgain = True { your program
}else if(playAgain = False){ then go back to home screen
}
Explanation:
Draw a flow chart that accepts mass and volume as input from the user. The flow chart should compute and display the density of the liquid.( Note: density = mass/volume ).
Answer:
See attachment for flowchart
Explanation:
The flowchart is represented by the following algorithm:
1. Start
2. Input Mass
3. Input Volume
4 Density = Mass/Volume
5. Print Density
6. Stop
The flowchart is explained by the algorithm above.
It starts by accepting input for Mass
Then it accepts input for Volume
Step 4 of the flowchart/algorithm calculated the Density using the following formula: Density = Mass/Volume
Step 5 prints the calculated Density
The flowchart stops execution afterwards
Note that the flowchart assumes that the user input is of number type (integer, float, double, etc.)
what is a computer virus?
Answer:
A computer virus, my friend, is something you do NOT want on your computer. It can corrupt your PC's system or destroy data!
Explanation:
A computer virus itself is some code that can clone itself. Then, it goes off to corrupt your system and destroy data, for instance, take those saved memes.
Save your memes! Download a safe antivirus. (Be careful because some of them are disguised and are really malware.)
Answer:
Programs that are intended to interfere with computer, tablet, and smartphone operations and can be spread from one device to another.
Explanation:
How would I add a play again function to this code in python?
import random
choice = input("Enter Rock(R), Paper(P), or Scissors(S): ")
computer = random.randint(1, 3)
if computer == 1:
print("Computer played R.")
elif computer == 2:
print("Computer played P.")
else:
print("Computer played S.")
#Winning conditions
if computer == 1 and choice == "R":
print("Computer played Rock.")
print("Tie")
elif computer == 2 and choice == "P":
print("Computer played Paper.")
print("Tie")
elif computer == 3 and choice == "S":
print("Computer played Scissors.")
print("Tie")
elif computer == 1 and choice == "S":
print("Computer played Rock.")
print("You Lose")
elif computer == 2 and choice == "R":
print("Computer played Paper.")
print("You Lose")
elif computer == 3 and choice == "P":
print("Computer played Scissors.")
print("You Lose")
elif computer == 1 and choice == "P":
print("Computer played Rock.")
print("You Win")
elif computer == 2 and choice == "S":
print("Computer played Paper.")
print("You Win")
elif computer == 3 and choice == "R":
print("Computer played Scissor.")
print("You Win")
Answer: Paper
Explanation:
The function of PC Register?
Answer:
registers are types of computer memory used to quicky accept, store and transfer data and instuctions that ae being used immidately by the cpu
Explanation:
the registers used by the cpu are oftern termed as processor registers.
hope that helps :)
What is the name of the item that supplies the exact or near exact voltage at the required wattage to all of the circuitry inside your computer?
Answer:
It's the power supply
Explanation:
The power supply is what essentially enables the computer to operate. It is able to do that by converting the incoming alternating current (AC) to direct current (DC) at the correct wattage rating that is required by the computer to function. The power supply is a metal box that is generally placed in the corner of the case.
¿Cuánta energía consumirá una lavadora de 1200W de potencia, si se deja conectada durante 20 horas? ¿Cuánto deberemos pagar si el coste de la energía consumida es de 0,12€/kWh?
Answer:
The amount to be paid is €2.88 for the amount of power consumed
Explanation:
The first thing to do here is to convert the power consumption to kilo-watt
1 kilowatt = 1000 watt
x kilowatt = 1200 watt
x = 1200/1000 = 1.2 KW
we now convert this to kilowatt hour by multiplying the number of hours by the number of kilowatt.
That would be 20 * 1.2 = 24 KWh
Now, the charge is 0.12€/kWh
for 24 kWh, we have 24 * 0.12 = €2.88
A file name extension provides what information about a file?
Answer:
A file extension or file name extension is the ending of a file that helps identify the type of file in operating systems, such as Microsoft Windows. In Microsoft Windows, the file name extension is a period that is often followed by three characters but may also be one, two, or four characters long.
Explanation:
Answer:
File format
Explanation:
NEEDED ASAP
1. What are shortcut keys?
2. Mention 5 Examples of shortcut keys and their functions
3. Create a table and put the description for the following shortcut keys.
Shortcut Keys
i. Ctrl+Esc
ii. Ctrl+Shift+Esc
iii. Alt+F4
iv. Ctrl H
v. Ctrl E
4. Give three importance of shortcut keys
5. Are shortcut keys helpful? Explain your answer in not less than five lines.
Explanation:
1. special key combination that causes specific commands to be executed typically shortcut keys combine the ctrl or alt keys with some other keys.
2. 5 example of shortcut keys are:-
1. ctrl + A - select all2.ctrl + B - bold3. ctrl + C - copy 4. ctrl + U - under line 5. ctrl + v - paste3. (i) open the start menu
(ii) open Windows task manager
(iii) close the currently active program
(iv) replace
(v) align center
4. the three importance of shortcut keys are :
efficient and time saving :- using shortcut make you more efficient at doing certain task on your computer .multi-tasking :- being a multi Tasker is something required in life.health benefit :- cutting down on your mouse usage by using keyboard shortcut can help reduce the risk of RSI (Repetitive Syndrome Injury).5. shortcut keys are very helpful because it take less time. keyboard shortcuts are generally used to expedite common operation by reducing input sequence to a few keystrokes.
Answer:
all of the above is correct
Explanation:
What is
i) File
ii) Folder
Why does the phrase "compatibility mode” appear when opening a workbook?
1. The workbook was created using Excel 2016.
2. A version older than Excel 2016 was used to create the workbook .
3. A version newer than Excel 2016 was used to create the workbook.
4. The workbook was created using Word 2016.
Answer: 2. A version older than Excel 2016 was used to create the workbook .
Explanation: The compatibility mode appears whenever a workbook initially prepared using an excel software version which is older than the excel software which is used in opening the file or workbook. The compatibility mode is displayed due to the difference in software version where the original version used in preparing the workbook is older than the version used in opening the workbook. With compatibility mode displayed, new features won't be applied on the document.
Answer:
B: A version older than Excel 2016 was used to create the workbook.
Do any one know why people don't buy esobars??
Answer:
no
Explanation:
this is not a real qestion
What does FLUX do when soldering an electrical joint?
Answer:
Flux is an acidic blend that makes a difference evacuate oxides from the range of the joint and so makes a difference the patch stream effectively over the joint and frame a great bond. The flux can be seen as a brown fluid as a patch is warmed, and it in some cases gives off a impactful smoke that can act as a aggravation.
Explanation:
flux prevents oxidation of the base and filler materials. while soldering the metals, flux is used as threefold purpose, as it removes the oxidised metal from this surface to be soldered.
Which of the following is NOT true about high-level programming
languages?
Answer:
this can't be answered because you didn't show the "following" answers
Answer:
u did't write the question
then how will we answer u
and people behind brainly don't try to delete my answer
because only if he show the question then only i can answer him
In which part of a presentation should you provide background information, ask a thoughtful question, or offer an interesting
fact?
opening
outline
body
closing
The correct answer is A. Opening
Explanation:
In a presentation or the text, the opening is the first section that should allow the audience to understand what is the topic and focus. This is achieved through a hook that can include an interesting fact or a rhetorical question (a question that makes the audience think) because these two elements grab the attention of the audience. Additionally, after the hook, it is common to provide background information about the topic of the presentation, and finally, the speaker will state the main point or thesis statement. This occurs before the body of the presentation, which is the main section, and the closing, which is the last section. Thus, elements such as background information or an interesting fact are part of the opening.
Answer:
A. Opening
yeah
Which of the following might not exist in a URL?
А. The top-level domain
B. The resource ID
C. The protocol
D. The second-level domain
Answer:
Resource ID
Explanation:
_______________ is the use of IT in communication. a) email b) Chatting c) FTP d) All of the above
If involved in a boating accident causing serious bodily injury or death while boating under the influence, the operator has committed a _____. felony misdemeanor non-criminal offense liability
Answer:
felony
Explanation:
It is an offence on the part of a boat operator who is under the control of alcohol while boating, as such could result in property damage, serious bodily injury or death. Where such leads to bodily injury or deaths, the operator could be convicted for felony while misdemeanor applies to property damage.
There have been a reoccurring boating incidence in the country especially in the state of Florida, which has the highest number of boating fatalities hence created stiff penalties for boating under the influence of alcohol.
While it is adviseable for motorists not to drink and drive, it is also not lawful be under the influence when boating as such could cause injury, deaths or property damage and such operator would receive appropriate penalty depending on the outcome of the incident.
Write a JavaScript program that reads three integers named start, end, and divisor from three text fields. Your program must output to a div all the integers between start and end, inclusive, that are evenly divisible by divisor. The output integers must be separated by spaces. For example, if a user entered 17, 30, and 5, your program would output "20 25 30" (without the quotes) because those are the only integers between 17 and 30 (including 17 and 30) that are evenly divisible by 5.
The question is incomplete! Complete question along with answer and step by step explanation is provided below.
Question:
Write a JavaScript program that reads three integers named start, end, and divisor from three text fields. Your program must output to a div all the integers between start and end, inclusive, that are evenly divisible by divisor. The output integers must be separated by spaces. For example, if a user entered 17, 30, and 5, your program would output "20 25 30" (without the quotes) because those are the only integers between 17 and 30 (including 17 and 30) that are evenly divisible by 5.
DO NOT SUBMIT CODE THAT CONTAINS AN INFINITE LOOP. If you try to submit code that contains an infinite loop, your browser will freeze and will not submit your exam to I-Learn.
If you wish, you may use the following HTML code to begin your program.
Due to some techincal problems the remaining answer is attached as images!
Observa el siguiente dibujo, y sabiendo que el engranaje motriz tiene 14 dientes y gira a 4000 RPM, y el conducido tiene 56 dientes, responde: a) Se trata de una transmisión que aumenta o reduce la velocidad? b) Calcula en número de revoluciones por minuto de la rueda conducida.
Answer:
A) reduce the velocity
B) 1000 rpm
Explanation:
A) Given that the driven gear wheel has more teeth (56) than the driver gear wheel (14), then the velocity is reduced.
B) Given that:
number of teeth * revolutions per minute = constant
then:
14*4000 = 56000
56*rpm = 56000
rpm = 56000/56
rpm = 1000
Create a function called "strip_r_o" that takes in a STRING and strips all the Rs and Os from the string. Also use a FOR loop in you program to check each letter of the STRING
Python
Answer:
The program is as follows (Take note of the comments and see attachment)
#Start of Program
def strip_r_o(word): #Declare Function strip_r_o
resultt = "" #initialize resultt to empty string
for i in range(len(word)): #Iterate from first character of input string to the last
if (not word[i] == "R") and (not word[i] == "O"): #Check if current character is not R and O
resultt = resultt + word[i] #if condition is true, add character to resultt
print(resultt) #Print string after character has been removed
#End of Function
Word = input("Enter a string: ") #Prompt user for input
strip_r_o(Word) #Call strip_r_o function
#End of Program
Explanation:
The program starts and end with a comment
Line 2 of the program declares function strip_r_o
Line 3 initializes a string variable resultt to an empty string
Line 4 iterates from first character of input string to the last
Line 5 checks each character for O or R
If true, line 6 is executed by removing O or R from the input string and saving what's left in variable resultt
Line 7 prints the end result after O and R have been removed from the input string
Line 8 is a comment
Line 9 prompts user for an input string
Line 10 calls the strip_r_o function
Ptolemy believed that Earth was at the center of the universe. Kepler believed that the sun was at the focus of Earth's elliptical orbit. Which of these statements best explains why Ptolemy and Kepler made different observations about the solar system?
The focus of their study was different.
or
They could not match the data with the observations.
Answer:
The correct option is;
They could not match the data with the observations
Explanation:
Ptolemy proposed the geocentric model based on the observation that the from there are equal number of above and below the horizons at any given time, which didn't match the data observed
Kepler believed the Sun was the focus of Earth's elliptical orbit due to disparities between data in Tycho Brahe's astronomical records and the geocentric model of the solar system.
Therefore, Ptolemy and Kepler made different observations about the solar system because they could not match the data with the observations.
Answer:
the second one.
Explanation:
They could not match the data with the observations.
where can I go to follow other people on brainly?
Answer:
You have to send them a friend request. Click on their profile and that will take you to another link, with their info. Click add friend there.
Hope this helps.
Good Luck
the command button to protect a document is part of the.
(a) Insert tab
(b) Home tab
(c) file tab
Plz answer me
Answer:
C file tab
Explanation:
hope this helps
explain digital divide
Answer:
A digital divide is any uneven distribution in the access to, use of, or impact of Information and Communication Technologies (ICT) between any number of distinct groups.
The digital divide is the gap that exists between individuals who have access to modern information and communication technology and those who lack access.