Answer:
<u>Pseudocode:</u>
INPUT velocity
INPUT time
SET velocity = 0.44704 * velocity
SET acceleration = velocity / time
SET acceleration = round(acceleration, 1)
PRINT acceleration
<u>Code:</u>
velocity = float(input("Enter a velocity in miles per hour: "))
time = float(input("Enter a time in seconds: "))
velocity = 0.44704 * velocity
acceleration = velocity / time
acceleration = round(acceleration, 1)
print("The acceleration is {:.2f}".format(acceleration))
Explanation:
*The code is in Python.
Ask the user to enter the velocity and time
Convert the miles per hour to meters per second
Calculate the acceleration using the formula
Round the acceleration to one decimal using round() method
Print the acceleration with two decimal digits
The argument for the function would be answer "D".
Enter January in A1 hold mouse in bottom right hand corner of cell. Hold mouse button down and drag the mouse. Excel will populate the months of the year
Answer:
Following are the program in the Python Programming Language.
#set list type variable and initialize the elements
myPizza = ['Margarita', 'Capsicum and onion', 'Chicken']
#set variable and initialize the elements
frndPizzas = myPizza[:]
#append value in list variable
myPizza.append('Corn')
#append value in list variable
frndPizzas.append('paperica')
#print message
print("My pizzas are:")
#set the for loop and print elements of 1st list
for pizza in myPizza:
print(pizza)
#print message
print("\nFriend's pizzas are:")
#set the for loop and print elements of 2st list
for frndsPizza in frndPizzas:
print(frndsPizza)
<u>Output</u>:
My pizzas are:
Margarita
Capsicum and onion
Chicken Corn
Friend's pizzas are:
Margarita Capsicum and onion Chicken paperica
Explanation:
<u>Following are the description of the program</u>:
- Set a list data type variable that is 'myPizza' and initializes elements in it.
- Set another list data type variable that is 'frndPizzas' and initializes elements in it.
- Append one-one element in both of the list data type variables.
- Set the for loops to print the elements of both list data type variables.
Answer: d) Exploit
Explanation: Exploit is a type computer attack that successful when the computer system of an user is vulnerable and attacker can do the exploitation. This happens due to the weakness of the system, applications software, network etc.
Other given option are incorrect because exit door,glitch and bad are not any type of attack in the computer field that causes harm to the system.Thus the correct option is option(d).