Answer:a) Mainframes, miniframes, PCs, desktop Internet computing, mobile computing
Explanation: The hierarchy of the computers or computing are in the generation is:-
- Mainframe:-designed for the execution of huge data processing , storage and execution.
- Miniframe:-has similar functioning as the mainframe but on smaller scale and version.
- Personal computer(PC):-It is designed for the individual purpose and according the need of the user.
- Mobile computing:-computing that can be done on the mobile phone similar to the computing on the personal computer
- Internet computing:-the computing of the mobile and computer system with the facility of the internet connectivity.
Answer:
Here is the Python program:
COOKIES_PER_BAG = 40 #sets constant value for bag of cookies
SERVINGS_PER_BAG = 10 #sets constant value for serving in bag
CALORIES_PER_SERVING = 300 #sets constant value servings per bag
cookies = int(input("How many cookies did you eat? ")) #prompts user to input how many cookies he or she ate
totalCalories = cookies * (CALORIES_PER_SERVING / (COOKIES_PER_BAG / SERVINGS_PER_BAG)); #computes total calories consumed by user
print("Total calories consumed:",totalCalories) #displays the computed value of totalCalories consumed
Explanation:
The algorithm is:
- Start
- Declare constants COOKIES_PER_BAG, SERVINGS_PER_BAG and CALORIES_PER_SERVING
- Set COOKIES_PER_BAG to 40
- Set SERVINGS_PER_BAG to 10
- Set CALORIES_PER_SERVING to 300
- Input cookies
- Calculate totalCalories: totalCalories ← cookies * (CALORIES_PER_SERVING / (COOKIES_PER_BAG / SERVINGS_PER_BAG))
- Display totalCalories
I will explain the program with an example:
Lets say user enters 5 as cookies he or she ate so
cookies = 5
Now total calories are computed as:
totalCalories = cookies * (CALORIES_PER_SERVING / (COOKIES_PER_BAG / SERVINGS_PER_BAG));
This becomes:
totalCalories = 5 * (300/40/10)
totalCalories = 5 * (300/4)
totalCalories = 5 * 75
totalCalories = 375
The screenshot of program along with its output is attached.
Answer:
Savings, Investments
Certificate of deposit Mutual fund
Account Money Market
Gold
Explanation:
Savings is the term used to describe the proportion of ones income not spent or kept for spending at a much later date;
Saving methods includes saving money in deposit accounts, pension savings, and cash savings as well as reducing expenditures
Savings differs from investment in the sense that investments involves more risks than savings
Mutual fund
Mutual fund is a financial resource type involving the bringing together of funds gathered from several investors for investment
Money market
The money market involves buying and selling debt investments that are short terms
Gold
Gold investment is a way of diversifying risk through futures and derivatives and futures contracts
Certificate Deposit
Certificate deposit is a fixed term deposit form of savings that provides an interest on the deposit
Account
Savings and current account are meant for saving funds