Answer:
Data type is an attribute of the data in the computer science. It basically guide the compiler and interpreter about the data utilization in the program. Data type basically define the operation, which can be done on given data.
There are different types of data types are as follow:
Integer data type: This type if data type basically represent the integer type of data value from largest to smallest order.
For example: int p = 10;
Real data type: This type of data type is used to represent the real type of number from largest to smallest range.
For example: float b = 17.6;
Answer:
d. None of the mentioned
Explanation:
Cloud computing can be defined as a type of computing that requires shared computing resources such as cloud storage (data storage), servers, computer power, and software over the internet rather than local servers and hard drives.
Generally, cloud computing offers individuals and businesses a fast, effective and efficient way of providing services.
Cloud computing comprises of three (3) service models and these are;
1. Platform as a Service (PaaS).
2. Infrastructure as a Service (IaaS).
3. Software as a Service (SaaS).
All of the following statements are true and correct because they are standard internet protocols;
I. Virtual appliances are becoming a very important standard cloud computing deployment object. This depicts the Platform as a Service (PaaS).
II. Cloud computing requires some standard protocols.
III. Cloud computing relies on a set of protocols needed to manage interprocess communications.
Answer:
#program in Python.
# create a dictionary
car_dic = dict()
# read brand of car
car_dic['brand'] = input("Enter brand : ")
#read model of cal
car_dic['model'] = input("Enter model : ")
#read manufactured year
car_dic['year'] = int(input("Enter manufactured year : "))
#starting odometer
car_dic['start_odometer'] = int(input("Enter the starting odometer reading: "))
#ending odometer
car_dic['end_odometer'] = int(input("Enter the ending odometer reading: "))
#mileage of the car
car_dic['mileage'] = float(input("Enter miles per gallon consumed by the vehicle: "))
#Details of the car
print("Details of the car: ")
for i in car_dic:
print(i, ": ",car_dic[i])
Explanation:
Create a dictionary "car_dic" to store the Details of the car.Then ask user to enter the details of car such as brand, model, year, start_odometer, end_odometer and mileage.Then print all the details of the car.
Output:
Enter brand : Audi
Enter model : A6
Enter manufactured year : 2019
Enter the starting odometer reading: 100
Enter the ending odometer reading: 200
Enter miles per gallon consumed by the vehicle: 12
Details of the car:
mileage : 12.0
end_odometer : 200
year : 2019
model : A6
start_odometer : 100
brand : Audi
The answer is C: In ocean trenches.
Since the deepest part of the ocean lies in the Mariana Trench.
I hope this answered your question! :D