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

UAP Grading Policy Numeric Grade Letter Grade Grade Point

The document provides 3 assignments for a Numerical Methods lab session: 1) Complete a MATLAB code for generating electricity bills in Bangladesh using tariff rates. 2) Write a code to determine the largest and smallest of 4 input numbers. 3) Write a code to convert an input mark to a letter grade and grade point based on a university's grading policy.

Uploaded by

shahnewaz.eee
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
67 views

UAP Grading Policy Numeric Grade Letter Grade Grade Point

The document provides 3 assignments for a Numerical Methods lab session: 1) Complete a MATLAB code for generating electricity bills in Bangladesh using tariff rates. 2) Write a code to determine the largest and smallest of 4 input numbers. 3) Write a code to convert an input mark to a letter grade and grade point based on a university's grading policy.

Uploaded by

shahnewaz.eee
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Department of Electrical & Electronic Engineering (EEE)

Course Code: EEE 454


Course Title: Numerical Methods Sessional
Assignments for Lab-1 (Review of Conditional Statements)
1. Complete the ‘DESCO Bill Generator’ problem for residential users which was
incomplete in Lab-1 on 19 April 2018. Use the following link for tariff rate.
https://www.desco.org.bd/bangla/tariff_rate_b.php
Check the link and include ‘Demand Charge’, ‘Service Charge’, ‘VAT’, Late Payment
Charge (LPC) and Minimum Charges in your code to have a complete program to
generate monthly electricity bill for residential consumers in Bangladesh.

2. Take four numbers as keyboard input and determine which one is the largest and which
of is the smallest. [Even two numbers can be equal but not three]
Example:

I/P O/P
a = 10 a is largest and c is smallest
b = 0.2
c = -0.7
d=6

a = 0.7 Both a and b are the largest and d is the


b = 0.7 smallest
c = 0.2
d = -10

3. Write down a MATLAB program that will take a number (which happens to be a obtained
mark in any subject) as keyboard input and convert it to the grade and grade point as
UAP Standard.
Example:

Input Output
A = 70 Grade = A-
Grade point = 3.50
A = 83 Grade = A+
Grade point = 4.00
A = 43 Grade = D
Grade Point = 2.00
UAP Grading Policy

Numeric Grade Letter Grade Grade Point

80% and above A+ 4.00


75% to less than 80% A 3.75
70% to less than 75% A- 3.50
65% to less than 70% B+ 3.25
60% to less than 65% B 3.00
55% to less than 60% B- 2.75
50% to less than 55% C+ 2.50
45% to less than 50% C 2.25
40% to less than 45% D 2.00
Less than 40% F 0.00

4. Show the following function in a graphical presentation.

You might also like