2. A student studying Information Technology at Polytechnic
of Namibia is examined by coursework and written
examination. Both components of assessment carry a maximum
of 50 marks. The following rules are used by examiners in
order to pass or fail students.
a. A student must score a total of 40% or more in order to
pass
(total = coursework marks + examination marks)
b. A total mark of 39% is moderated to 40%
c. Each component must be passed with a minimum mark of
20/50. If a student scores a total of 40% or more but does
not achieve the minimum mark in either component he/she is
given a technical fail of 39% (this mark is not moderated to
40%)
d. Grades are awarded on marks that fall into the following
categories.

Mark 100-70 69-60 59-50 49-40 39-0
Grade A B C D E

Write a program to input the marks for both components
(coursework marks out of 50 and examination marks out of
50), out put the final mark and grade after any
moderation. [30]


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C C++ Errors Interview Questions

void main() { int i=5,y=3,z=2,ans; clrscr(); printf("%d",++i + --z + i++ + --i * ++y); i=5,y=3,z=2; ans=++i + --z + i++ + --i * ++y; printf("\n%d",ans); getch(); } Its output is 37 and 31.... Please explain me why its different How it works.....

2 Answers  


#include<>stdio.h> #include<>conio.h> { printf("hello"); void main() getch(); } what the out put of this program and why ......plz clear my answer

10 Answers   Wipro,


How to upgrade LOOP environment, I just mean, how can i make loop statement editable ? I just try some program using loop statement and checking it in multiple compilers. Every compiler showing different output, what's the wrong ? is it a compiler based problem, or loop based problem, tell me why ? and what will be the debugging process, for this kind of problem ?

1 Answers  


I am using Qt 5.6 during compilation it stops and gives error about Qmake The process "C:QtQt5.6.35.6.3msvc2015_64inqmake.exe" crashed. Error while building/deploying project untitled1 (kit: Desktop Qt 5.6.3 MSVC2015 64bit) When executing step "qmake"

0 Answers  


loop1: { x=i<n?(i++):0; printf("%d",i); exit(x); continue; } Error- misplaced continue. Doubt-1.will the exit(x) be executed for all values of x 2.will this statement go out of the program.

5 Answers   CMC,






#include<stdio.h> void main() { int i=1; printf("%d%d%d",i++,++i,i); }

19 Answers  


class test { int a; public: test(int b):a(b){} void show(){ cout<<a; } }; void main() { test t1; test t2(5); t1.show(); t2.show(); } }

1 Answers  


WHAT WILL BE THE OUTPUT OF THE FOLLOWING QUESTION void main() { int x=4,y=3,z; z=x-- -y; printf("%d%d%d",x,y,z); }

25 Answers   HCL,


How to convert hexadecimal to binary using c language..

1 Answers   Bajaj, GAIL, Satyam, Zenqa,


How to develop a program using C language to convert 8-bit binary values to decimals. TQ

1 Answers   Amazon,


Find the error (2.5*2=5) (a) X=y=z=0.5,2.0-5.75 (b) s=15;

3 Answers  


What is the code for following o/p * * * * * * * * * * * * * * * *

1 Answers  


Categories