Question
In this assignment you will practice programming concepts and create a flowchart for a program. NOTE: Information on flowcharts can be found in the VB
In this assignment you will practice programming concepts and create a flowchart for a program.
NOTE:Information on flowcharts can be found in the VB Course Pack, pages 1 - 11.
1. Open a blank file in MS Word. Type your name and CS 3 in the beginning of the file.
2. Save the file asyourlastname-firstname-ProgConcepts.docx.The CS 3 folder that you have already created for your assignments is a good place for this file.
3. Which of the following are legal variable names? You should recreate the list in your Word document and type YES in front of the legal variable names and NO in front those that are not legal.
a. computebudget
b. five+six
c. illegalname
d. Legal Name
e. 4U
4. Evaluate each of the following expressions and type the value in front of each expression.
Let x=1, y=2, and z=3.
a. 7 + 6 * x * y / z
b. (z * 3 * z * (3 - (9 x y) * 2))
c. x + y > z
d. x > y Or y > z
e. Not (y + 4 <= z) And z = 3
5. 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. Here is the algorithm below.
Write the Pseudocode and draw a flowchart for this program:
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.
Submit your file into the Canvas portal for this assignment. Only ONE file, please.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started