0% found this document useful (0 votes)
24 views

Csc415 Practical Exercise

Uploaded by

giftkunuba
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views

Csc415 Practical Exercise

Uploaded by

giftkunuba
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

DELTA STATE UNIVERSITY, ABRAKA

COMPUTER SCIENCE DEPARTMENT


FACULTY OF SCIENCE

Second Semester for 2021/2022 Academic Session


Course Code/ Title: CSC 415 – Organization of Programming Languages

PRACTICAL EXERCISE
Lecturer: Dr. G. C. Omede

INSTRUCTION: All students in a computer row are to perform similar exercise.


 Row 1 is to use Microsoft Visual studio 2015 (create three projects:
database(back-end); asp.net web(c#); windows app(vb)).
 Row 2 is to use xampp (create two projects: phpMyAdmin for the database(back-
end); php web app for the front-end).
 Row 3 is to use Microsoft Visual studio 2015 (create two projects: access
database(back-end); python web app for the front-end).
 Row 4 is to create two projects: use MySQL workbench for the database(back-
end); C++ web app for the front-end in Microsoft Visual studio 2015.
 Row 5 and the intensive students is to use Microsoft Access DBMS to create both
the front-end and the back-end.

EXERCISE FOR ALL


Using the tables gotten from all the groups analyses, create a students’ CGPA computation
system: populate your tables through the front-end(s), generate outputs such as students
course registration lists, available courses, semester(s)/level results(raw
scores/GPA/CGPA) for students.
Note: For the computation of students’ grade point average (GPA) and cumulative GPA
(CGPA), please use this created mathematical model for both GPA and CGPA and use the
derived implementable algorithm for your coding:
Given that;
CGPA=aver of GPAs= (GPA1+GPA2+GPA3+…+GPAn)/n
Where GPA1, GPA2, GPA3,…, GPAn are grade point average for n(all the)
semesters taken by a student(s).
Suppose we have only two semesters already done by students, it implies that n2,
Therefore CGPA=(GPA1+GPA2)/2.
On the other hand, a student’s semester GPA is simply the sum of semester’s grade
points multiply by it’s course units, divided by the sum of it’s course units.
Mathematically represented as follows;
𝑛
𝐺𝑃 𝑈
𝐺𝑃𝐴 = 𝑖=0 𝑖 𝑖 𝑛 𝑈 … … . . 1 𝑤𝑕𝑒𝑟𝑒 𝐺𝑃 𝑖𝑠 𝑔𝑟𝑎𝑑𝑒 𝑝𝑜𝑖𝑛𝑡 𝑎𝑛𝑑 𝑈 𝑖𝑠 𝑐𝑜𝑢𝑟𝑠𝑒 𝑢𝑛𝑖𝑡
𝑖=0 𝑖

∴ 𝐺𝑃𝐴
𝐺𝑃1 𝑈1 + 𝐺𝑃2 𝑈2 + 𝐺𝑃3 𝑈3 + ⋯ + 𝐺𝑃𝑖 𝑈𝑖
= … 2 𝑓𝑜𝑟 𝑖 𝑛𝑢𝑚𝑏𝑒𝑟𝑜𝑓 𝑐𝑜𝑢𝑟𝑠𝑒𝑠 𝑡𝑎𝑘𝑒𝑛 𝑏𝑦 𝑎 𝑠𝑡𝑢𝑑𝑒𝑛𝑡
𝑢1 + 𝑢2 + 𝑈3 + ⋯ + 𝑈𝑖

𝑙𝑒𝑡 𝑌 = (𝑦1 + 𝑦2 + 𝑦3 + ⋯ + 𝑦𝑗 )/𝑖 ≡ 𝐶𝐺𝑃𝐴 … (3) 𝑎 𝑠𝑡𝑢𝑑𝑒𝑛𝑡′𝑠 𝐶𝐺𝑃𝐴


𝑙𝑒𝑡 𝑋 = 𝑥1 + 𝑥2 + 𝑥3 + ⋯ + 𝑥𝑖 ≡ 𝐺𝑃1 𝑈1 + 𝐺𝑃2 𝑈2 + 𝐺𝑃3 𝑈3 + ⋯ + 𝐺𝑃𝑖 𝑈𝑖 … (4)
𝑙𝑒𝑡 𝑈 = 𝑢1 + 𝑢2 + 𝑢3 + ⋯ + 𝑢𝑖 … … 5 𝑠𝑢𝑚 𝑜𝑓 𝑎𝑙𝑙 𝑡𝑕𝑒 𝑐𝑜𝑢𝑟𝑠𝑒𝑠 ′ 𝑢𝑛𝑖𝑡𝑠 𝑓𝑜𝑟 𝑡𝑕𝑒 𝑠𝑒𝑚𝑒𝑠𝑡𝑒𝑟
𝑥1 + 𝑥2 + 𝑥3 + ⋯ + 𝑥𝑖
∴ 𝐺𝑃𝐴 = … 6 𝑓𝑜𝑟 𝑖 𝑛𝑢𝑚𝑏𝑒𝑟𝑜𝑓 𝑐𝑜𝑢𝑟𝑠𝑒𝑠 𝑡𝑎𝑘𝑒𝑛 𝑏𝑦 𝑎 𝑠𝑡𝑢𝑑𝑒𝑛𝑡
𝑈1 + 𝑈2 + 𝑈3 + ⋯ + 𝑈𝑖

Hence
𝑥1 + 𝑥2 + 𝑥3 + ⋯ + 𝑥𝑖
∴ 𝑦1 = … 7 𝑓𝑜𝑟 𝑖 𝑛𝑢𝑚𝑏𝑒𝑟 𝑜𝑓 𝑐𝑜𝑢𝑟𝑠𝑒𝑠 𝑡𝑎𝑘𝑒𝑛 𝑏𝑦 𝑎 𝑠𝑡𝑢𝑑𝑒𝑛𝑡
𝑈1 + 𝑈2 + 𝑈3 + ⋯ + 𝑈𝑖
Which is student’s GPA for one semester, then for n number of semesters a student CGPA
𝑥1 + 𝑥2 + 𝑥3 + ⋯ + 𝑥𝑖 𝑥1 + 𝑥2 + 𝑥3 + ⋯ + 𝑥𝑖
∀ 𝑌= + +⋯
𝑈1 + 𝑈2 + 𝑈3 + ⋯ + 𝑈𝑖 1 𝑈1 + 𝑈2 + 𝑈3 + ⋯ + 𝑈𝑖 2
𝑥1 + 𝑥2 + 𝑥3 + ⋯ + 𝑥𝑖
+ … 8 𝐶𝐺𝑃𝐴 𝑓𝑜𝑟 𝑎 𝑠𝑡𝑢𝑑𝑒𝑛𝑡 𝑤𝑖𝑡𝑕 𝑛 𝑠𝑒𝑚𝑒𝑠𝑡𝑒𝑟𝑠
𝑈1 + 𝑈2 + 𝑈3 + ⋯ + 𝑈𝑖 𝑛

∴ 𝑓𝑜𝑟 𝑗 𝑛𝑚𝑏𝑒𝑟𝑜𝑓 𝑠𝑡𝑢𝑑𝑒𝑛𝑡𝑠, 𝑒𝑞𝑢𝑎𝑡𝑖𝑜𝑛 8 𝑕𝑎𝑠 𝑡𝑜 𝑏𝑒 𝑐𝑜𝑚𝑝𝑢𝑡𝑒𝑑 𝑓𝑜𝑟 𝑗 𝑡𝑖𝑚𝑒

You might also like