View Categories

Programming Exercises

7 Chapters

Reading and Concatenating Strings in Java

Last Updated: December 14, 2025

Problem: The Formal Greeting Objective: Write a program that takes two names from the user and outputs a single, formatted...

Printing Alphabet Characters

Last Updated: December 14, 2025

Programming Exercise: Alphabet Output This exercise is designed to solidify your understanding of basic output formatting in Java, specifically the...

Hello World

Last Updated: December 14, 2025

Programming Exercise: Hello World Output This exercise is the universally recognized starting point for every new programmer. Its objective is...

Basic Arithmetic and Output Formatting

Last Updated: December 14, 2025

Programming Exercise: Basic Arithmetic Operations This exercise reinforces your knowledge of: Problem Statement: Given two integers, A and B, as...

Bake Time Countdown

Last Updated: December 14, 2025

Bake Time Countdown This exercise focuses on using a fixed constant in your calculation and reading a single integer input...

What is the Preparation Time

Last Updated: December 14, 2025

Preparation Time This exercise focuses on reading a single integer input and using a fixed constant with the multiplication operator...

Total Elapsed Cooking Time

Last Updated: December 14, 2025

This exercise combines concepts from the previous two problems: using a constant for preparation time (multiplication) and summing two time...

Scroll to Top