Question: 1 Logic Let's consider a propositional language where: E means Saleh enrolled in the elective course. H means Saleh attended all lectures. Q means Saleh

1Logic
Let's consider a propositional language where:
E means "Saleh enrolled in the elective course."
H means "Saleh attended all lectures."
Q means "Saleh completed the required project."
F means "Saleh passed the final assessment."
C means "Saleh completed the course successfully."
1.1Formalize the following sentences:
If Saleh did not attend all lectures or did not complete the required
project, then Saleh did not pass the final assessment.
If Saleh passed the final assessment and enrolled in the elective course,
then Saleh completed the course successfully.
1.2Truth Table
Prove the logical statements from the previous subsection using the truth table.
2Problem 1: Graduation Project Submission Eligibility
2.1Problem Definition:
In the graduation project, each student needs to submit all individual reports
and achieve at least 85percent attendance tobe eligible for the final project
submission.
2.2What you are asked todo:
Given the description above, you are asked to implement a solution using
flowcharts and pseudocode. The solution should decide if a student is eligible to submit the final project.
Note: Flowcharts and pseudocode must be fully implemented by you with-
out using any conversion tools.
Hint 1: Assume that the total number of classes is10.The user may enter
the number of classes attended.
Hint 2: The user may enter the total number of assignments, and the number submitted.
3Problem 2: GPA Calculator
3.1Problem Definition
A university assesses students' academic performance using a cumulative
GPA system. Each course contributes to the cumulative GPA based on the
grade achieved and the course's credit hours.
The grading system is shown in Table 1,and the cumulative GPA is calculated using Equation 1:
Mark |Points |Letter Grade
95to100|4.00|A+
90to94|3.75|A
85to89|3.50|B+
80to84|3.00|B
75to79|2.50|C+
70to74|2.00|C
65to69|1.50|D+
60to64|1.00|D
Less than 60|0|F
Denile |0|DN
Table 1: Grading System
The GPAs are calculated using the following equation:
StudentGPA =all-coursesCourseCreditCourseAchievedPointsoll-coursesCourseCredit
3.2What you are asked todo
Given the description above and what you learned from the class, you are
asked to complete the followings:
3.2.1Problem Decomposition
You need to decompose the problem layer by layer into smaller addressable
pieces. You must provide a detailed solution!
3.2.2Flowcharts and Pseudocodes
Develop flowcharts and write pseudocode to:
Read all courses marks and Credit hours for a student.
Assign the appropriate point value to each course based on the grading
system.
Calculate and print the student's cumulative GPA as per Equation (1).
Note: Flowcharts and pseudocode must be fully implemented by you with-out using any conversion tools.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!