Skip to content

This is a project from Cmpsc-101: Data Abstraction. This repository features code that tests for an input for its primality.

Notifications You must be signed in to change notification settings

folkenrothk/DataAbstraction-primalityTest

Repository files navigation

Cmpsc 101 Data Abstaction: Primality Testing

Completed Fall 2021

Project Instructions

  • Use the cd command to change into the directory for this repository
  • Change into the program directory by typing cd primality
  • Install the dependencies for the project by typing poetry install
  • Run the program in with both algorithms by typing:
    • poetry run primality --number 49979687 --approach efficient
    • poetry run primality --number 49979687 --approach efficient --profile
    • Please note that the program will not work unless you add the required source code
    • Please refer to the writing/reflection.md file for all ways to run the program
  • Confirm that the program is producing the expected output

Findings

Please refer to the final report for reflection and findings.

About

This is a project from Cmpsc-101: Data Abstraction. This repository features code that tests for an input for its primality.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages