ITWB2053 Object Oriented Programming Assignment 1 Semester Jan 2026 | UNITAR

School

UNITAR International University (UIU)

*We aren't endorsed by this school

Assignment Type

Individual Assignment

Subject

ITWB2053 Object Oriented Programming

Uploaded by Malaysia Assignment Help

Date

03/09/2026

ITWB 2053 ( MC032 ) Assignment 1 Questions

Answer ALL questions below . Ensure that you provide the pseudocode and flowchart before writing your code.

Question 1 

Create a console-based program that helps calculate a student’s final grade based on three components:

  • Assignments (30%)
  • Tests (40%)
  • Final Exam (30%)

The program must display and support the following menu:

ITWB2053 Object Oriented Programming Assignment 1 Semester Jan 2026 | UNITAR

Requirements:

  1. Use switch-case (or equivalent) to handle the user’s menu choice (A, B, C, D, E, Q).

Use an or nested if-else to determine the letter grade based on the final percentage:

A: ≥ 80%

B: 70–79%

C: 60–69%

D: 50–59%  F: < 50%

  1. Input validation for marks:
    • Marks must be between 0 and 100 (inclusive)
    • If the user enters a value < 0 or > 100, show an error message and ask for the mark again
  2. Keep a running total of the weighted percentage as marks are entered.

After every action (A, B, C, D, E), ask the user: “Continue with the same student? (y/n): ”

  • If y/Y → show menu again
  • If n/N → automatically reset marks and start a new student (or go to menu)
  • Invalid input → ask again
  1. When option D is chosen, display:
    • Each component mark (if entered)
    • Weighted contributions
    • Final percentage (rounded appropriately)
  2. Letter grade

Example output:

ITWB2053 Object Oriented Programming Assignment 1 Semester Jan 2026 | UNITAR

Deliverables

  • Pseudocode
  • Flowchart
  • Source code (with comments)
  • Screenshots of the working program (as described above)

Question 2

Library Management System

Task: Develop a console-based Java Library Management System where students select their preferred selection construct (if-else chains or switch-case) to manage book inventory, borrowing, and overdue tracking. The system must loop continuously until the user explicitly enters “exit”.

Core Requirements

  • Data Structures: Define a Book class with fields: String title, String isbn, String author, String status (“AVAILABLE”, “BORROWED”, “OVERDUE”), LocalDate borrowDate. Use ArrayList<Book> for inventory.library
  • Main Menu Loop: Implement a while(true) or do-while loop that displays options until user inputs “exit”: Read Scanner.nextLine(), trim, compare to “exit” (case-insensitive).
  • Selection Method Choice: Students choose:
    Option A: Multi-way if-else chain on menu input string (e.g., if(input.equals(“1”))).
    Option B: Switch-case on parsed char/int after input.charAt(0) validation.Justify choice in reflection.
  • Nested Logic Examples:
    Borrow: Check exists (search loop) → available → under borrow limit (counter).
    Overdue: if(LocalDate.now().minusDays(14).isAfter(borrowDate)) → “OVERDUE”.
    Search: Nested if for ISBN match vs author substring.
  • Validations: Regex for ISBN (^[0-9]{13}$), no duplicates, input sanitization.
  • Persistence: After “exit”, save books to “library.ser” via ObjectOutputStream; load on startup.
  • Pre-Implementation Analysis:
    • Pseudocode: Loop structure, selected method’s nested decisions, validation flows.
    • Flowchart: Infinite loop → input read → exit check → selection dispatch → actions. o Testing & Submission:
    • Screenshots: Full session (add/search/borrow/overdue/return/exit), file load/save proof.

Requirements

  • Use if-else or switch-case to ask the user which conversion they want to perform.
  • Prompt the user to enter the temperature and validate that the input is a valid number.

Deliverables

  • Pseudocode
  • Flowchart
  • Source code (with comments)
  • Screenshots of the working program (as described above)

Expected Output

  1. Startup and Main Menu

When the program starts, it attempts to load library.ser. If successful, it displays the menu.

ITWB2053 Object Oriented Programming Assignment 1 Semester Jan 2026 | UNITAR

  1. Adding a Book (Regex Validation)

The system checks the ISBN format using the ^[0-9]{13}$ regex.

Plaintext

ITWB2053 Object Oriented Programming Assignment 1 Semester Jan 2026 | UNITAR

  1. Searching for a Book

This demonstrates the nested logic for ISBN vs. Author substring.

ITWB2053 Object Oriented Programming Assignment 1 Semester Jan 2026 | UNITAR

  1. Overdue check
    ITWB2053 Object Oriented Programming Assignment 1 Semester Jan 2026 | UNITAR
  2. Exit and Save:
    ITWB2053 Object Oriented Programming Assignment 1 Semester Jan 2026 | UNITAR

Submission Instruction

I. Format:

✓ The report must be written in APA or IEEE format, with proper citations and references.
✓ Use 12-point Times New Roman font, 1.5 line spacing, and standard 1inch margins on all sides.
✓ Include a cover page with your name, student ID, assignment title, and date of submission.

II. Length:

✓ The written report for the Java programming assignment must contain a minimum of 3,000 words, excluding references, diagrams, source code listings, and appendices.

Diagrams and Visuals:

✓ Ensure that relevant diagrams, charts, and visuals are included where appropriate to support your analysis.
✓ All visuals must be clearly labeled and referenced in the text.

III. File Format:

✓ Submit your assignment as a PDF file.
✓ The file name should follow this format:
YourName_StudentID_AssignmentTitle.pdf

IV. Submission Platform:

✓ Upload the final document to the designated Learning Management System (LMS) or email it to Fazidah.wahit@unitar.my as per your course guidelines.

V. Deadline:

✓ The assignment must be submitted by SATURDAY, 14 February 2026. Late submissions may incur a penalty unless prior arrangements are made.

VI. Plagiarism:

✓ Ensure that all work is your own and properly cited. Any detected plagiarism will result in penalties according to the academic integrity policy of the institution.

VII. References:

✓ Include a reference list at the end of the report, with a minimum of 8 credible sources (e.g., academic journals, industry reports).

VIII. Plagiarism:

Ensure that all work is your own and properly cited. Any detected plagiarism will result in penalties according to the academic integrity policy of the institution.

IX. Use of AI Tools (e.g., ChatGPT):

  • Do not use AI tools like ChatGPT or any other automated writing software to generate any part of your report. You are expected to complete this assignment based on your own research, analysis, and writing.
  • Using AI tools to generate content may be considered academic dishonesty and will be penalized according to the institution’s plagiarism and academic integrity policies.

ITWB2053 Rubric of Assignment 1  Semester Jan 2026 –Group 32

Criteria (20 Marks Each) 5 – Excellent (17-20) 4 – Very Good (13-16) 3 – Satisfactory (9-12) 2 – Poor (5-8) 1 – Very Poor (1-4)
1. Program Functionality & Requirements All Java program requirements fully implemented; runs correctly without errors Most requirements met; minor logical errors Core functionality works but some requirements missing Limited functionality; major requirements not met Program fails or does not meet requirements
2. Use of Selection Constructs (ifelse / switchcase) Correct, efficient, and well-structured use of selection constructs with clear logic Correct use with minor inefficiencies Basic use but logic is unclear or repetitive Incorrect or inconsistent use No meaningful use of selection constructs
3. Input Validation & Error Handling Comprehensive validation with clear error messages and retry mechanism Good validation; few cases missed Basic validation implemented Minimal validation; frequent runtime errors No validation or error handling
4. Program Design, Pseudocode & Flowchart Clear, logical pseudocode and well-structured flowchart reflecting program flow Mostly clear with minor omissions Understandable but lacks clarity or detail Poorly structured or incomplete Missing or incorrect
5. Demo Presentation & Screenshots Evidence Confident demo; all required screenshots and execution cases shown Good demo; most screenshots provided Average demo; some evidence missing Weak demo; limited screenshots No demo or screenshots

Hire Expert Assignment Helper and Complete Your ITWB2053 Object Oriented Programming Assignment 1

Get Help By Expert

Many UNITAR students find the ITWB2053 Object Oriented Programming Assignment 1 challenging because it requires designing Java console applications, implementing selection constructs (if-else or switch-case), performing input validation, and creating pseudocode, flowcharts, and documentation for systems such as a Student Grade Calculator and Library Management System. But there is no need to worry, as Malaysia Assignment Help offers expert programming assignment help aligned with UNITAR academic requirements. You can also review our computer and IT assignment sample to understand proper coding structure and documentation. Order now UNITAR assignment help to receive a 100% human-written programming assignment solution prepared according to your coursework guidelines.

Answer

UP TO 15 % DISCOUNT

Instant Paper Writing Services by Native Malaysia Writers

Plagiarism Free Solutions
100% Original Work
24*7 Online Assistance
Native PhD Experts
Hire a Writer Now
Convincing Features
ITWB2053 Object Oriented Programming Assignment 1 Semester Jan 2026 | UNITAR
Plagiarism Free Report
On-Time Delivery
Native Writers
A+ Quality
100% Confidential
24*7 Online Assistance

Get these features included in Your Assignment

Facing Issues with Assignments? Talk to Our Experts Now!Download Our App Now!

Have Questions About Our Services?
Download Our App!

Get the App Today!

QRcode

Get Assistance for Assignments, online Exam, and Projects Writing