Microsoft Visual C#
Microsoft Visual C#
7th Edition
ISBN: 9781337102100
Author: Joyce, Farrell.
Publisher: Cengage Learning,
Bartleby Related Questions Icon

Related questions

Question

Professor Zak allows students to drop the four lowest scores on the ten 100-point quizzes given during the semester. Create the pseudo code for an application that accepts a student name and 10 quiz scores. Output the student’s name and total points for the student’s six highest-scoring quizzes.

 

Use the following flowchart to determine the programming logic for your pseudocode. The pseudo code should outline the basic logic needed to code the application in any programming language.

start
fillArray()
Declarations
num SIZE = 10
num MAX = 6
string name
num scores [SIZE]
num x
output "Enter
the student's
name"
input name
num y
num temp
num total
num COMPS SIZE -1
fillArray()
sortArray()
0
Yes
x < SIZE?
No
return
output "Enter
a quiz score"
Stop
displayArray()
sortArray()
76-0-1
displayTotal ()
Yes
Y < COMPS?
No
total = 0
return
Yes
x < MAX?
No
output name,
total
return
input scores [x]/
x < COMPS?
Yes
swap ()
temp scores [x+1]
scores [x+1]
scores [x]
scores [x] temp
return
No
No
scores [x] >
scores [x+1]?
Yes
y = y + 1
total total
scores [x]
x=x+1
x=x+1
swap()
expand button
Transcribed Image Text:start fillArray() Declarations num SIZE = 10 num MAX = 6 string name num scores [SIZE] num x output "Enter the student's name" input name num y num temp num total num COMPS SIZE -1 fillArray() sortArray() 0 Yes x < SIZE? No return output "Enter a quiz score" Stop displayArray() sortArray() 76-0-1 displayTotal () Yes Y < COMPS? No total = 0 return Yes x < MAX? No output name, total return input scores [x]/ x < COMPS? Yes swap () temp scores [x+1] scores [x+1] scores [x] scores [x] temp return No No scores [x] > scores [x+1]? Yes y = y + 1 total total scores [x] x=x+1 x=x+1 swap()
Expert Solution
Check Mark
Knowledge Booster
Background pattern image
Recommended textbooks for you
Text book image
Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Cengage Learning,
Text book image
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning
Text book image
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781337671385
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT
Text book image
Programming Logic & Design Comprehensive
Computer Science
ISBN:9781337669405
Author:FARRELL
Publisher:Cengage
Text book image
C++ Programming: From Problem Analysis to Program...
Computer Science
ISBN:9781337102087
Author:D. S. Malik
Publisher:Cengage Learning
Text book image
Systems Architecture
Computer Science
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Cengage Learning