Answer:
The program to this question can be given as:
Program:
factorial=1 #declare a variable.
number=int(input("Enter a positive integer:")) #input a number.
while (number>0): #loop
factorial= factorial*number # holding value in factorial variable
number=number-1
print('=',factorial) #print value.
Output:
Enter a positive integer:6
= 720
Explanation:
The description of the above python program can be given as:
- In the above program firstly we define a variable that is "factorial". In this variable, we assign a value that is 1 and it is used to calculate the factorial value.
- We define a variable "number". The number variable is used to take input from the user.
- Then we define a loop in the loop we calculate the factorial and hold the value in the factorial value in the last we print the value.
Answer:
temp = 47
if temp > 40:
print("It’s extremely hot day today!")
else:
print("It’s not too hot!")
Explanation:
*The code is in Python.
Create a variable called temp and set its value as 47
Check the temp using if-else structure. If the temp is greater than 40, print "It’s extremely hot day today!". Otherwise, print "It’s not too hot!".
Answer:
"Direct access" is the correct answer for the above question
.
Explanation:
- Direct access is a feature available in the window server of the 2016 version. It is used to allow access to the computer system program and the internet remotely behaves like that computer or network is his computer or network.
- It allows remote users to do anything with the help of an internet connection. But it can be done with the authorization of valid users.
- The above question states about the features which grant to access the internet for the remote users and this is available in window server 2016. This feature is known as "Direct access".
Answer:
11,424,400 possible passwords
Explanation:
Since all characters are letters and only lowercase
we have 26∧4 = 456,976 possibilities
For a 5-character password which is still lower case sensitive.
we have 26∧5 = 11,881,376 possibilities
Many more possible passwords = (11881376-456976)
= 11,424,400 possible passwords