Question

1. Draw a flowchart for a program that will compute the average of 10 exam scores...

1. Draw a flowchart for a program that will compute the average of 10 exam scores entered by the user. List the variables needed for this program.

2. Modify previous problem to allow the user to input the total number of exam scores. List the necessary variables and draw the flowchart.

3. Draw a flowchart for a program that will obtain 10 exam scores from the user and determine whether the score is passing (a score of 60 or above) or failing. Your algorithm should count the number of passing and failing scores. Output the average of the scores, the number of failing scores, and the number of passing scores.

4. Programming overview a) Name three high-level languages and describe their application areas. b) What processes are needed to transform a C program to a machine language program that is ready for execution? Show in a diagram with descriptions.

5. Match the following terms and definitions.

ANSI C output devices compilation machine language central processing unit (CPU) debugging arithmetic logic unit (ALU)   

a) The brain of the computer b) Devices used to show the results of programs c) The process that converts a C program into machine language d) The part of a computer that performs the mathematical computations e) The process of removing errors from a program f) The specific definition of the C language approved by the American National Standards Institute g) The representation of a program in binary

Homework Answers

Answer #1

Solution

4)

a)

a) Name three high-level languages and describe their application areas

  • C
  • C++
  • JAVA

C

  • Creating computer application
  • Used to write embedded software
  • used as firmware for various electronics

C++

  • Games
  • GUI applications
  • Graphics
  • Compilers

Java

  • Mobile Applications
  • Web Applications
  • Scientific Applications

---

b)

Step 1

Compiler

Converting source code to assembly code

Step 2

Assembler

Converting assembly code to object code

Step 3

Linker

Converting object code to exe code

Step 4

Loader

Storing exe code in memory

Diagram

5)

--

Answered two questions, really sorry for that

please post remaining question separately, love to answer

all the best

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Write a program in C++ that inputs an unknown number of test scores (assume that there...
Write a program in C++ that inputs an unknown number of test scores (assume that there is a maximum of 150 scores). Ask the user how many scores that they will be entering. The program should have at least 3 functions. Make sure the functions perform the following: Calculate the average score Find the highest score Find the lowest score Sort the list from highest to lowest Output the number of scores, the average, the sorted list, the highest, and...
Need in C language also need full documentation/explanation of each line A student has established the...
Need in C language also need full documentation/explanation of each line A student has established the following monthly budget: Budget Categories Budgeted amount ----------------------------------------------------- Housing $ 580.00 Utilities $ 150.00 Household Expenses     $ 65.00 Transportation $ 50.00 Food $ 250.00 Medical $ 30.00 Insurance $ 100.00 Entertainment $ 150.00 Clothing $ 75.00 Miscellaneous $ 50.00 ---------------------------------------------------- Write a program that declares a MonthlyBudget structure designed with member variables to hold each of these expense categories. The program should define...
You are coding a simple game called Pig. Players take turns rolling a die. The die...
You are coding a simple game called Pig. Players take turns rolling a die. The die determines how many points they get. You may get points each turn your roll (turn points), you also have points for the entire game (grand points). The first player with 100 grand points is the winner. The rules are as follows: Each turn, the active player faces a decision (roll or hold): Roll the die. If it’s is a: 1: You lose your turn,...
Delta airlines case study Global strategy. Describe the current global strategy and provide evidence about how...
Delta airlines case study Global strategy. Describe the current global strategy and provide evidence about how the firms resources incompetencies support the given pressures regarding costs and local responsiveness. Describe entry modes have they usually used, and whether they are appropriate for the given strategy. Any key issues in their global strategy? casestudy: Atlanta, June 17, 2014. Sea of Delta employees and their families swarmed between food trucks, amusement park booths, and entertainment venues that were scattered throughout what would...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT