Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

How can I get Answer In this assignment, you practice programming concepts and create a flowchart for a program. NOTE: For more practice with flowchart,

How can I get Answer

In this assignment, you practice programming concepts and create a flowchart for a program.

NOTE: For more practice with flowchart, read and practice VB Course Pack pages 1 - 11.

Here are things that you need to do:

  1. Open a blank file (use Word or a text editor). Type your name and CS 3 in the beginning of the file.
  2. Save the file as yourlastname-firstname-ProgConpcepts.docx or Save the file as yourlastname-firstname-ProgConpcepts.txt.
  3. Answer the following questions( see Part A, Part B, and Part C), and then convert your file to pdf and then submit it. To receive credit for this assignment, submit the file, yourlastname-firstname-ProgConcepts.pdf in this Assignment . Only ONE pdf file, please.

  • Part A: Which one of the following is legal variable names, type YES or NO in front of each variable name. If not, state the reason?
  • computebudget
  • five+six
  • illegalname
  • Legal Name
  • 4U
  • Part B. Let x=1, y=2, and z=3. Evaluate each of the following expressions, and then write the final answers in front of each of the questions.
  • 7 + 6 * x * y / z
  • (z * 3 * z * (3 - (9 x y) * 2))
  • x + y > z
  • x > y Or y > z
  • Not (y + 4 <= z) And z = 3
  • Part C: Programming Exercise:

We want to design a program for a professor to calculate the average of the three test scores for the students and congratulate the student enthusiastically if the average is greater than 95. Below is an algorithm for the above-described program. Draw a flowchart for this algorithm.

  1. Get the first test score.
  2. Get the second test score.
  3. Get the third test score.
  4. Calculate the average.
  5. Display the average.
  6. If the average is greater than 95, congratulate the student.

To create a flowchart in Word, from Insert ribbon > Illustrations > Shapes > Flowchart. Use the shapes you learn in programming slides to create the flowchart.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions