Subscribe to our YouTube Channel : Swayam Solver
Please scroll down for latest Programs. 👇
W3_Programming_Qs-1
Due on 2023-02-16, 23:59 IST
Consider the program below. Fill in the blanks at LINE-1, LINE-2, and LINE-3
with appropriate keywords such that the program must satisfy the given test cases.
Public Test Cases | Input | Expected Output | Actual Output | Status |
---|---|---|---|---|
Test Case 1 | 1 Ram 1000
3000 | 1 : Ram : 4000 | 1 : Ram : 4000 | Passed |
Test Case 2 | 2 Rohit 5000
2000 | 2 : Rohit : 7000 | 2 : Rohit : 7000 | Passed |
Private Test cases used for Evaluation | Status |
Test Case 1 | Passed |
W3_Programming_Qs-2
Due on 2023-02-16, 23:59 IST
Consider the following program.
• Fill in the blank at LINE-1 with the appropriate initializer statement for the
parameterized constructor,
• Fill in the blank at LINE-2 with the appropriate statement which deletes the dynamically
allocated memory to data member arr
The program must satisfy the sample input and output.
Public Test Cases | Input | Expected Output | Actual Output | Status |
---|---|---|---|---|
Test Case 1 | 3
a s d | Max: s | Max: s | Passed |
Test Case 2 | 5
a e i o u | Max: u | Max: u | Passed |
Private Test cases used for Evaluation | Status |
Test Case 1 | Passed |
W3_Programming_Qs-3
Due on 2023-02-16, 23:59 IST
Consider the program below.
• Fill in the blank at LINE-1 to complete parameterized constructor
• Fill in the blank at LINE-2 to complete copy constructor
• Fill in the blank at LINE-3 to complete return statement
The area( ) evaluates the area of the given right-angled triangle.
The program must satisfy the given test cases.
Public Test Cases | Input | Expected Output | Actual Output | Status |
---|---|---|---|---|
Test Case 1 | 4 7 | 14 | 14 | Passed |
Test Case 2 | 10 20 | 100 | 100 | Passed |
Private Test cases used for Evaluation | Status |
Test Case 1 | Passed |
------------------------------------------------------------------------------------------------------------------------
No comments:
Post a Comment
Keep your comments reader friendly. Be civil and respectful. No self-promotion or spam. Stick to the topic. Questions welcome.