The client provided pseudocode for calculating students’ GPA that he believes has bugs in it. Find all syntax errors in the provided pseudocode and provide the following information in your report: i) The number of syntax errors in the provided code. ii) The client is not a software developer, to help them understand the problem, describe what a syntax error is.

COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
1st Edition
ISBN:9780357392676
Author:FREUND, Steven
Publisher:FREUND, Steven
Chapter11: User Interfaces, Visual Basic For Applications (vba), And Collaboration Features
Section: Chapter Questions
Problem 6AYK
icon
Related questions
Question

The client provided pseudocode for calculating students’ GPA that he believes has bugs in it. Find all syntax
errors in the provided pseudocode and provide the following information in your report:
i) The number of syntax errors in the provided code.
ii) The client is not a software developer, to help them understand the problem, describe what a
syntax error is.
iii) Which line of code contains the syntax error?
iv) Fix the syntax error and provide the fixed code. 

W
FILE
Paste
19
HOME INSERT DESIGN PAGE LAYOUT REFERENCES MAILINGS REVIEW VIEW GRAMMARLY
Cut
Copy
Format Painter
Clipboard
Navigation
Search document
HEADINGS PAGES RESULTS
Create an interactive outline of your
document.
PAGE 8 OF 10
I
Helvetica
Á A Aa ▾
BIU abe X₂ X² A-al-A- ==
1308 WORDS
It's a great way to keep track of where you are
or quickly move your content around.
11
0
To get started, go to the Home tab and apply
Heading styles to the headings in your
document.
Type here to search
Font
▼ X
A-1E-5 ¶
Paragraph
발
AaBbCcDd AaBbCcDd AaBbC AaBbCct AaBl AaBbCcD AaBbCcDd AaBbCcDd AaBbCcDd
1 Normal 1 No Spac... Heading 1 Heading 2
Title
Subtitle Subtle Em... Emphasis Intense E...
ru[esh..... - Word (Product Activation Failed)
0: Start
1: //GPA formula = SUM(grade* hours_per_subjec)/ total_hours
2: DECLARATION grade1=0, grade2=0, grade3=0, hours per subject, total hours
=0,grade_points =0, GPA =0
3: PROMPT "Enter score for Subject 1:"
4: GET grade1
5: PROMPT "Enter credit hours for Subject 1:"
6: GET hours per subject
7: grade points = grade1* hours per subject
8: total hours = hours per subject
9: PROMPT "Enter score for Subject 2:"
10: GET grade2
11: PROMPT "Enter credit hours for Subject 2:"
12: GET hours per subject
13: grade points += grade2* hours per subject
14: total hours += hours_per__subject
15: PROMPT "Enter score for Subject 3:"
16: GET grade3
17: PROMPT "Enter credit hours for Subject 3:"
18: GET hours per subject
19: grade points += grade3* hours per subject
20: total hours + hours per subject
21: GPA = grade point /total hours
22: OUTPUT "The student GPA is: "GPA
23: Stop
Task 2
Styles
www.facebook.com is sharing your screen.
W
Stop sharing
Hide
dents GPA that he believes has
77°F Cloudy
AaBbCcDc
Strong
?
B
Microsoft account
25+
Find
ac Replace
Open
Select
Grammarly
Editing Grammarly
G
Activate Windows
Go to Settings to activate Windows.
X
+ 99%
2:21 PM
10/12/2022 4
Transcribed Image Text:W FILE Paste 19 HOME INSERT DESIGN PAGE LAYOUT REFERENCES MAILINGS REVIEW VIEW GRAMMARLY Cut Copy Format Painter Clipboard Navigation Search document HEADINGS PAGES RESULTS Create an interactive outline of your document. PAGE 8 OF 10 I Helvetica Á A Aa ▾ BIU abe X₂ X² A-al-A- == 1308 WORDS It's a great way to keep track of where you are or quickly move your content around. 11 0 To get started, go to the Home tab and apply Heading styles to the headings in your document. Type here to search Font ▼ X A-1E-5 ¶ Paragraph 발 AaBbCcDd AaBbCcDd AaBbC AaBbCct AaBl AaBbCcD AaBbCcDd AaBbCcDd AaBbCcDd 1 Normal 1 No Spac... Heading 1 Heading 2 Title Subtitle Subtle Em... Emphasis Intense E... ru[esh..... - Word (Product Activation Failed) 0: Start 1: //GPA formula = SUM(grade* hours_per_subjec)/ total_hours 2: DECLARATION grade1=0, grade2=0, grade3=0, hours per subject, total hours =0,grade_points =0, GPA =0 3: PROMPT "Enter score for Subject 1:" 4: GET grade1 5: PROMPT "Enter credit hours for Subject 1:" 6: GET hours per subject 7: grade points = grade1* hours per subject 8: total hours = hours per subject 9: PROMPT "Enter score for Subject 2:" 10: GET grade2 11: PROMPT "Enter credit hours for Subject 2:" 12: GET hours per subject 13: grade points += grade2* hours per subject 14: total hours += hours_per__subject 15: PROMPT "Enter score for Subject 3:" 16: GET grade3 17: PROMPT "Enter credit hours for Subject 3:" 18: GET hours per subject 19: grade points += grade3* hours per subject 20: total hours + hours per subject 21: GPA = grade point /total hours 22: OUTPUT "The student GPA is: "GPA 23: Stop Task 2 Styles www.facebook.com is sharing your screen. W Stop sharing Hide dents GPA that he believes has 77°F Cloudy AaBbCcDc Strong ? B Microsoft account 25+ Find ac Replace Open Select Grammarly Editing Grammarly G Activate Windows Go to Settings to activate Windows. X + 99% 2:21 PM 10/12/2022 4
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Binary numbers
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
New Perspectives on HTML5, CSS3, and JavaScript
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:
9781305503922
Author:
Patrick M. Carey
Publisher:
Cengage Learning