folkenrothk / DataAbstraction-primalityTest

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.


Languages

Language:Python 100.0%