Skip to content

Code examples for unit assignments for Programming I with Java

Notifications You must be signed in to change notification settings

ark229/Programming1-Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Programming I with Java

My instructor code examples for unit assignments in Programming I with Java.

Content Listing

Unit 1 - Quiz Game

Description:

This Java program, "QuizGame," is a console-based quiz application that tests the user's knowledge on various topics. The program utilizes an array to store a series of multiple-choice questions and their corresponding answers. Users interact with the program through the console, selecting their answers for each question. The application validates user input to ensure it matches the expected format (A, B, C, or D). After answering all questions, the program calculates and displays the user's score as a percentage. This simple yet interactive application serves as an excellent example of array handling, input validation, and basic control structures in Java.

Unit 2 - Library System Program

Description:

The "LibrarySystem" is a Java-based application that simulates a basic library management system. It offers functionalities such as adding books to the library, borrowing books, returning books, and displaying the current inventory. The program uses a HashMap to store book details, where the book title acts as the key, and a custom Book class (storing author and quantity) serves as the value. The system allows users to interact through a menu-driven interface in the console, facilitating various library operations. This application exemplifies the use of data structures, object-oriented programming concepts, and basic user input handling in Java. It's an ideal project for understanding fundamental programming constructs and real-world application development.

About

Code examples for unit assignments for Programming I with Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages