Skip to content
/ UE06 Public

Java programs for the sixth exercise unit (UE06) in "Software Development 1". Focus: recursion, text conversion, and factory simulation.

License

Notifications You must be signed in to change notification settings

Paroryx/UE06

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Software Development Exercises - UE06

📜 Tasks

This exercise focuses on various programming tasks involving recursion, array operations, text conversion, and object-oriented programming with factories and machines.

1. Recursive Array Minimum

Develop a recursive method to find the minimum value in a given array.

  • Program: ArrMin.java

2. Numbers to Text

Convert numbers into their text representation.

  • Program: JavalandNumber.java and NumbersToText.java

3. Factory and Machines

Simulate a factory with multiple machines, each producing products at a specified rate.

  • Classes:
    • Machine.java: Represents a machine in the factory.
    • Factory.java: Manages multiple machines.
    • Company.java: Simulates factory operations and calculates service costs.

📂 Project Structure

src/

  • In.java Helper class for input
  • Out.java Helper class for output
  • ArrMin.java Recursive method to find minimum in an array
  • JavalandNumber.java Converts numbers to text recursively
  • NumbersToText.java Converts numbers to text using loops
  • Machine.java Represents a machine with production details
  • Factory.java Manages an array of machines
  • Company.java Simulates a factory and its operations

tests/

  • Testprotokolle.txt Test cases and results for all tasks

🛠 Implementation Details

  • Recursive Methods: Tasks include recursive functions for finding minimum values and converting numbers to text.
  • Factory Simulation: The factory manages machines, handles production, and calculates service costs.
  • Test Coverage: Includes edge cases such as negative inputs and empty arrays.

🛠 Tools

  • Programming Language: Java
  • Editor: Visual Studio Code with JavaWiz extension

📝 License

This project is licensed under the MIT License.

About

Java programs for the sixth exercise unit (UE06) in "Software Development 1". Focus: recursion, text conversion, and factory simulation.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages