Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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.
Get the first test score.
Get the second test score.
Get the third test score.
Calculate the average.
Display the average.
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 to Expert-Tailored 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

Recommended Textbook for

Understanding Databases Concepts And Practice

Authors: Suzanne W Dietrich

1st Edition

1119827949, 9781119827948

More Books

Students also viewed these Databases questions

Question

=+j Describe the various support services delivered by IHR.

Answered: 1 week ago

Question

=+j Explain IHRMs role in global HR research.

Answered: 1 week ago