Professional Documents
Culture Documents
Laboratory Task 3 (Q) DFP30243 SESI I 2022 2023
Laboratory Task 3 (Q) DFP30243 SESI I 2022 2023
Laboratory Task 3 (Q) DFP30243 SESI I 2022 2023
DFP30243
OBJECT ORIENTED PROGRAMMING
TOPIC CHAPTER 4
REG NO 13DDT21F1122
PROGRAMME DDT3-S4
INSTRUCTIONS :
MARKING SCHEME
CLO 1 PLO 3 / 20
TOTAL / 20
THE ENTIRE QUESTION IS BASED ON JTMK’S QUESTION BANK APPROVED BY PROGRAMME LEADER.
SIGNATURE IS NOT REQUIRED.
Learning outcomes:
Question
2. Build another class to inherit an abstract class that contains the following item:
i. Declare BufferedReader object.
ii. Define a method to input username.
iii. override abstract method that can print username and password as output.
iv. Define main method to create an object from subclass and use that object to execute
3 methods (Question 1(iv), 2(ii) and 2(iii))
Executes without Executes without Executes with some Does not execute
errors and the errors and the errors and the due to errors and
Execution and Output 4
program produces a program produces program does not the program does
correct output incorrect output produces output not produces output
TOTAL (20)