W1_Programming_Qs.1
Due on 2023-08-10, 23:59 IST
Consider the following program. Fill in the blanks as per the instructions given below:
• at LINE-1 with stack declaration,
• at LINE-2 to push values into stack,
• at LINE-3 with appropriate statement
such that it will satisfy the given test cases.
Public Test Cases | Input | Expected Output | Actual Output | Status |
---|---|---|---|---|
Test Case 1 | computer | eumc | eumc | Passed |
Test Case 2 | programming | gimrop | gimrop | Passed |
Private Test cases used for Evaluation | Status |
Test Case 1 | Passed |
W1_Programming_Qs.2
Due on 2023-08-10, 23:59 IST
Consider the following program. Fill in the blanks as per the instructions given below.
• at LINE-1 with appropriate header statement,
• at LINE-2 with appropriate statement to calculate Euclidean distance
such that it will satisfy the given test cases.
Public Test Cases | Input | Expected Output | Actual Output | Status |
---|---|---|---|---|
Test Case 1 | 4 3 6 9 | 6 | 6 | Passed |
Test Case 2 | 2 5 3 9 | 4 | 4 | Passed |
Private Test cases used for Evaluation | Status |
Test Case 1 | Passed |
W1_Programming_Qs.3
Due on 2023-08-10, 23:59 IST
Consider the following program. Fill in the blanks as per the instructions given below:
• at LINE-1 with appropriate function header,
• at LINE-2 with appropriate return statement
such that it will satisfy the given test cases.
Public Test Cases | Input | Expected Output | Actual Output | Status |
---|---|---|---|---|
Test Case 1 | hello hi bye | hi hello bye | hi hello bye | Passed after ignoring Presentation Error |
Test Case 2 | soumen arup himadri | soumen himadri arup | soumen himadri arup | Passed after ignoring Presentation Error |
Private Test cases used for Evaluation | Status |
Test Case 1 | Passed |
No comments