You are on page 1of 3

Student Declaration

I__________________________________ Registration No.__________________, hereby

declare that by attempting the paper for the course _________________________________,

I will not be involved in any kind of cheating/copying/plagiarizing in solving the short

questions based paper of Final Term Examination 2020. I take full responsibility of my

conduct. If I found involved in any kind of such activity of cheating/copying/plagiarizing,

then Institute reserves the right to take any disciplinary action against me.

Student Signature
Final Exam / Spring 2020 (Paper Duration 24 hours)
Department of Computer Science

Course No: CS- 432 Course Title: Modern Programming Languages .


Total Marks: 20 Date of Exam: ___________________________.
Degree: BSCS/BSIT Semester: BSIT-4 & 6 / BSCS 4 & 5 Section: A&B .
Marks
Q.No. 1 2 3 4 5 6 7 8 9 10 Obtained/
Total Marks
Marks
Obtaine
d
Total Marks in Words:
Name of the Teacher: Mehwish Malik
Who taught the course: Signature of Teacher / Examiner:

To be filled by Student

Registration No.: ………………………………………….……… Name:……………………………………………………..

(PRACTICAL EXAMINATION)

Answer the following questions.


Note: Use the technologies you find suitable for the given task.
Q.No.1. Design a calculator with a proper interface allowing user to not only perform basic
arithmetic operation such as +, -, * and / but also allow to perform square root , power function and
mod of numbers given as input to it.
(marks. 6)
Q.No.2. Design a web application where only two user’s are allowed to login named Rafia and Razia.
But both are not allowed to access same modules. Rafia have control over registering clients where
as Razia maintains employees record. Clients module have details such as Client No, Name, City,
Gender, Earning Capacity which is divided into three categories (Low, mediocre, Elite) and Last
visited date. These records are maintained in a similar name table and records are inserted by Rafia.
Recently she added 1205, ‘Ertugrul’, Diplo, ’Male’, ‘Elite’, ‘12/05/2020’. As for employee module, it
save details such as Employee No, Name, Gender, City, Department which maybe IT, HR, Finance or
Misc, Designation and Date Joining. Razia deleted a record of an employee named ‘Haleema’ having
Employee No 420. The records should be displayed in a well formatted manner (Marks. 7)
Q.No.3. Once the records are inserted in clients table, Rafia checks if there is a client with a name
‘Harvey’ and City ‘Loralai’. If found display the record, if not display the message “Sorry, find him
somewhere else”. Razia at the same time update the record of an employee named “Lee Min Ho”
and Employee No 007 and change the name to “Kim Soo Hyun”. She also displays the record of all
the employee from City “Samberial” and Gender ‘Male’. (Marks.
7)

You might also like