National Institute of computer Education
Final Exam
Java
Total Marks: 100 Duration: 2 hr.
Note – Attempt only 7 questions 20 marks questions are compulsory
Q: 1) WAP using control flow statement to print the grade of students? (10)
Q: 2) WAP to print the fallowing pattern using for loop? (10)
Q: 3) Explain different types of inheritance with examples? (20)
Q: 4) WAP to create 1d and 2d arrays & replace value at index no 4 in both arrays? Also
perform iteration on arrays? (10)
Q: 5) WAP to create calculator using parametrized function
(add,sub,mult,divide,percentage)? (20)
Q:6) WAP to create array and linked list with add and remove functions?(10)
Q:7) WAP to create a case statement ? (10)
Q: 8) WAP to create percentage calculation system of 5 subjects that can display percentage
with grades using NETBEANS swing? (20)