W5_Programming_Qs.2
Due on 2023-08-31, 23:59 IST
Consider the following program. Fill in the blanks as per the instructions given below.
• at LINE-1 with appropriate keyword,
• at LINE-2 and LINE-3 with appropriate constructor statements
such that it will satisfy the given test cases.
Public Test Cases | Input | Expected Output | Actual Output | Status |
---|---|---|---|---|
Test Case 1 | Bus 4 | Bus: Four Wheeler | Bus: Four Wheeler | Passed |
Test Case 2 | Bike 2 | Bike: Two Wheeler | Bike: Two Wheeler | Passed |
W5_Programming_Qs.3
Due on 2023-08-31, 23:59 IST
Consider the following program. Fill in the blanks as per the instructions given below.
• at LINE-1 with appropriate inheritance statement,
• at LINE-2 with appropriate constructor statement
such that it will satisfy the given test cases.
Public Test Cases | Input | Expected Output | Actual Output | Status |
---|---|---|---|---|
Test Case 1 | 1 | 1, 6, 11 | 1, 6, 11 | Passed |
Test Case 2 | 5 | 5, 10, 15 | 5, 10, 15 | Passed |
Private Test cases used for Evaluation | Status |
Test Case 1 | Passed |
No comments