Answer:
the table and the description for the following shortcut keys are:-
Explanation:
(i) open the start menu
(ii) open Windows task manager
(iii) close the currently active program
(iv) replace
(v) align centre
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
6. What type of application is designed for making slide shows?
Explanation:
Microsoft PowerPoint is one of the most popular presentation software package available. and it does do a very good job however, PowerPoint is not the only professional PowerPoint tool is there is 2019. there are many PowerPoint alternative available if you need to make a presentation.
3. The wildlife department has been feeding a special food to rainbow trout finger lings in a pond. A sample of the weight of 40 trout revealed that the mean weight is 402.7 grams and the standard deviation 8.8 grams. ( 4 POINTS) 1. What is the point estimated mean weight of the population? What is that estimate called? 2. What is the 99 percent confidence interval? 3. What are the 99 percent confidence limits? 4. Interpret your findings?
Answer:
1) 402.7 grams. This estimate is called the sample mean.
2) (399.11, 406.29)
3) The 99 percent confidence limits is between 399.11 grams and 406.29 grams.
I am 99% sure that the value lies between 399.11 grams and 406.29 grams.
Explanation:
sample size (n) = 40, the mean weight (x)= 402.7 grams and the standard deviation (σ)=8.8 grams
1) The point estimated mean weight of the population is 402.7 grams. This estimate is called the sample mean.
2) c = 99% = 0.99
α = 1 - 0.99 = 0.01
[tex]\frac{\alpha }{2} =\frac{0.01}{2} =0.005[/tex].
The z score of 0.005 corresponds with the z score of 0.495 (0.5 - 0.005).
[tex]z_\frac{\alpha }{2} =2.58[/tex].
The margin of error (e) = [tex]z_\frac{\alpha }{2}*\frac{\sigma}{\sqrt{n} } =2.58*\frac{8.8}{\sqrt{40} } =3.59[/tex]
The confidence interval = x ± e = 402.7 ± 3.59 = (399.11, 406.29)
3) The 99 percent confidence limits is between 399.11 grams and 406.29 grams.
I am 99% sure that the value lies between 399.11 grams and 406.29 grams.
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
3. Bob is arguing that if you use output feedback (OFB) mode twice in a row to encrypt a long message, M, using the same key each time, it will be more secure. Explain why Bob is wrong, no matter what encryption algorithm he is using for block encryption (15 points).
Answer:
Bob was wrong in his argument because from the cipher text C₂ only the initialization vector is encrypted two times and XOR with plain text M.
Also it will not provide a better security than the first because it's encryption was done only on initialization vector and not the plain text.
Explanation:
Solution
From the given question, in the output feedback mode (OFB) the following Encryption Algorithm is stated as follows:
Where,
V₀ = vector initialization
V₁ = Ek (Vi-₁)
Ek = The encryption algorithm
C₁ =V₁⊕ M₁
Here,
C₁ = this is the cipher text
M₁ = Plain text for it^th session
Thus
The Decryption Algorithm is shown below:
M₁=V₁⊕ C₁
In this case, when bob encrypt the message M for the first time in the OFB method, the cipher text is
C₁ =V₁⊕ M₁
So,
C₁ =Ek (V₀) ⊕ M
Hence the Cipher text C₁ the initialization vector only is encrypted
Thus,
When Bob does a second encryption, the Cipher text will be
C₂ =Ek (V₁) ⊕ C₁
C₂ = Ek (Ek (V₀)) ⊕ Ek (V₀) ⊕ M
Finally, from the cipher text C₂ only the initialization vector encrypted twice and XOR with plain text M. so it will not provide a better security than the first because it's encryption was carried out on initialization vector without the plain text.
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:
Why is the number 0 important in computing?
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
Do any one know why people don't buy esobars??
Answer:
no
Explanation:
this is not a real qestion
What is the definition of a nested function?
Answer:
A function that is defined within another function.
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.
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:
¿ Porque la madera presenta mayor resistencia a ser cortada en sentido travesal que en sentido longitudinal
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
Which one?..........
Answer:
d. Clock
Explanation:
A flip flop is an circuit, an electrical circuit precisely that is used as a means to story data or information. This type of data or information stored in a flip flop is binary data or information. A flip flop has a high stable state and a low stable state.
A flip flop is a circuit that is very essential and must be present when building systems like the computer or communication system.
A flip flop must have a CLOCK signal or indicator because this helps control the triggering(i.e the change from one state to another) that occurs in a flip flop.
Match the elements of a web page with their description
Answer:
Which one?
Explanation:
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
Juan created new video game for his coding course. What is one way he can explain his code in everyday language?
A. He can create a separate document to explain his code. B. He can include comments written in the code. C. He can write his notes using actual code. D He cannot include any notes in his code.
Answer:
B. He can include comments written in the code
Explanation:
One way he can achieve his aim is by including comments to his code.
He can include as many comments as he likes because comments are non executable part of the program. In other words, the translators omit comments during program translation.
Another reason why he should consider using comments is that comments are used by computer programmers to explain lines of code especially the difficult lines.
In fact programmers are advised to include comments in their programs because comments doesn't have to be structured and can be expressed in human language.
In Java, C++, C#, comments are identified by // and /*....*/
In python, comments are identified by #
Answer:
b
Explanation:
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
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:
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
What is the benefit of using the AND logical function instead of the IF function?
determines true based on single criteria
determines true if both conditions are met
determines false if no conditions are met
determines true or false based on variety of conditions
Answer:
D: determines true or false based on variety of conditions
Answer:
D: determines true or false based on variety of conditions
Explanation:
Just did the assignment on Edge 2021
Plz click the Thanks button!
<Jayla>
Three Strings someone help
Answer:
s1 = input("First string?")
s2 = input("Second string?")
s3 = input("Thrid string?")
stringTest = s1 + s2;
if(stringTest == s3):
print(s1 + " + " + s2 + " is equal to " + stringTest)
else:
print(s1 + " + " + s2 + " are not to " + stringTest)
Explanation:
I get user input from s1,s2 and s3. Then, I use stringTest to store s1 and s2. Finally, I see if stringTest is eqqual to the last string. If yes, then tell the user they are equal. If not, then tell the user that they are not equal.
difference between using Hexadecimals and Binary code
Answer:
Hexadecimal is a number with base-16. While binary code decimal is a coding scheme or a representation for numbers in decimal number system.
Answer:he is correct^
Explanation:
The amount of money you will be paid for each copy of your game a publisher sells is your: (1 point)
bonanza
jackpot
monarchy
royalty
Answer:
Royalty
Explanation:
It cannot be a bonanza, as that has similar meaning to a windfall.
A jackpot is what you get for winning the lottery.
A monarchy is a type of government.
A royalty are assets paid by a publisher.
given that p=d - rt, find p when d=3, r= -8 and t =2
what is i.a folder ii.file
Answer
Folder A digital folder has the same purpose as a physical folder – to store documents.
a search engine is aprogram to search......
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:
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.