Skip to content

Repository files navigation

Jcoco Exercises

This repository contains a collection of exercises written in the Jcoco language, which is a simple educational programming language often used to teach basic programming concepts.

Table of Contents

Getting Started

To get started with these exercises, you'll need to have the Jcoco interpreter installed on your machine. If you haven't installed it yet, you can download it from the official Jcoco website or follow the installation instructions provided in the documentation.

Exercises

This repository includes the following exercises:

  1. AleatorioParcial.casm: A program that generates random numbers and performs specific tasks based on the random values.
  2. RaizParcial.casm: Calculates the square root of a given number using a specific algorithm.
  3. ejemplo_for.casm: Demonstrates the use of 'for' loops in Jcoco to iterate over a set of values.
  4. ejemplo_if.casm: An example of conditional statements ('if') in Jcoco, used to make decisions in the program.
  5. leerTeclado.casm: A program that reads input from the keyboard and processes the data accordingly.
  6. recursion.casm: An example of how to implement recursive functions in Jcoco.

How to Use

To run any of the exercises, follow these steps:

  1. Clone this repository to your local machine:

    git clone https://github.com/your-username/jcoco-exercises.git
    
  2. Navigate to the directory containing the exercise you want to run.

  3. Use the Jcoco interpreter to execute the file:

    jcoco <filename>.casm
    

Contributing

Contributions are welcome! If you have any suggestions for improving the exercises or adding new ones, feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

About

JCoCo is a robust Java library for code coverage analysis, providing developers with tools to measure and improve the quality of their test suites. It offers detailed reports, integration with CI/CD pipelines, and support for various Java versions

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages