Lab Task 4 - Question

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

CLO1C (10)

TOTAL /30
RETURN DATE
*For PK(Lecturer) use only

DEPARTMENT OF INFORMATION AND COMMUNICATION TECHNOLOGY


COURSEWORK ASSESSMENT (Session: 1 2022/2023)

Name : Reg. No. :


Code&Course : DFC 20113 / PROGRAMMING Programme/ Class :
FUNDAMENTALS
Lecturer(s) : Week (Date) Week 11 (28/11 –
04/12/2022)
Submission Date :
LAB TASK No. : 1 / 2 / 3 /4 [CLO: CLO2P] Duration : 120 Minutes

COURSE LEARNING OUTCOME:


CLO2P: Show simple program by developing code to solve problems in a computer using C++
programming language.

Instruction: Answer ALL the questions below. [TOTAL MARKS=30]

1. Write a program to input the number of students. Then, user need to enter the mark of
each student. By using one dimensional method, find the total marks and their
average. Below is the expected output. [P2]
[15 Marks]

Prepared by; Checked by; Verified by;

AMIRAH BWn RASH1> AMIRAH BWn RASH1> NURHANI BINTI MOHD SABRI
�(W.W PEffD/411 �llGQI l'»M1 �(W.W PEffD/411 �llGQI l'»M1 KETUA PROGRAM DDT
POUTE!OaK BAIJ( PU.Mi POUTE!OaK BAIJ(PU.Mi Jabatan Teknologi Maklumat & Komunikasi
(AMIRAH BINTI RASHID) ( AMIRAH BINTI RASHID ) (NURHANI BINTI MOHD SABRI)
Politeknik Balik Pulau

Course Lecturer Course Coordinator (Cop Jawatan Ketua Jabatan /Ketua


Date: 25.11.2022 Program/Ketua Kursus)
Date: 25.11.2022
Date: 29.11.2022
2. Write a program to enter the marks of 2 students in Chemistry, Mathematics and
Physics. By using structure named Marks having elements name, chem_marks,
maths_marks, phy_marks. Then print the total marks for each student. Below is the
expected output. [P2]

[15 marks]
RUBRIC

Question 1
CLO Criteria Exceptional Acceptable Amateur Unsatisfactory Unsolved
(5) (4) (3) (2) (1)

Declare The C++ The C++ The C++ The C++ The C++
variables program is program is program is program is program is
able to able to able to able to able to
declare all declare 4 declare 3 declare 2 declare 1
variables variables variables variables variable
CLO 2 correctly. correctly. correctly. correctly. correctly.

Program The C++ More than More than Less than Program is
program is 75% 50% 50% program wrong and
excellently program is program is is correct and and not
correct and correct and correct and working. working.
working. working. working.

Output Output Output More than Less than Output does


meets or meets 75% output 50% output not meet
exceeds the requirement meets meet requirement
requirement requirement requirement

Question 2
CLO Criteria Exceptional Acceptable Amateur Unsatisfactory Unsolved
(5) (4) (3) (2) (1)

Declare The C++ The C++ The C++ The C++ The C++
variables program is program is program is program is program is
able to able to able to able to able to
declare all declare 4 declare 3 declare 2 declare 1
variables variables variables variables variable
CLO 2 correctly. correctly. correctly. correctly. correctly.

Program The C++ More than More than Less than Program is
program is 75% 50% 50% program wrong and
excellently program is program is is correct and and not
correct and correct and correct and working. working.
working. working. working.
Output Output Output More than Less than Output does
meets or meets 75% output 50% output not meet
exceeds the requirement meets meet requirement
requirement requirement requirement

You might also like