Previous Next
0 / 15
Module DEMO-33-70DEMO-OOP-33

University Transcript Manager

DEMO-OOP-33 โ€ข Object Oriented Programming

Browser-only practice

Problem Statement

Create Main.java and TranscriptEntry.java.

Implement the class using private fields plus getters and setters.

Use the object to print the required report exactly as described.

Input Format

Input is given as whitespace-separated tokens in the order stated in the question.

Output Format

Print the exact multiline report required by the question.

Sample Testcases

Submit runs every public testcase in this browser. Results and code never leave this device.

Sample #1
Public sample
CS1
95
Course: CS1
Letter: A
Input: course code = "CS1", mark = 95.
Key calculation(s): "Course: " + getCourseCode() = "Course: CS1" | "Letter: " + 95 >= 90 ? "A" : (95 >= 80 ? "B" : (95 >= 70 ? "C" : "D")) = "Letter: A".
Output:
Course: CS1
Letter: A
Sample #2
Public sample
CS2
82
Course: CS2
Letter: B
Input: course code = "CS2", mark = 82.
Key calculation(s): "Course: " + getCourseCode() = "Course: CS2" | "Letter: " + 82 >= 90 ? "A" : (82 >= 80 ? "B" : (82 >= 70 ? "C" : "D")) = "Letter: B".
Output:
Course: CS2
Letter: B

Web terminal

C, C++, Java, and Python run locally in a browser VM. No worker or visualizer is used.

Saved in this browser
Editor settings