/cis106-python-projects

Projects for CIS 106 Introduction to Programming (in Python)

Primary LanguagePython

cis106-python-projects

Leomar Durán

Projects for CIS 106 Introduction to Programming (in Python).

project1-sales-tax

A project demonstrating assignments, user input, the float number parsing function, arithmetic, formatting and console output by calculating the total price including tax of a purchase.

project2-day-of-week

A project demonstrating dual alternative decision structures by finding the day of the week given a day number.

project3-bug-collector

A project demonstrating repetition structures, namely

  • a count-control loop to collect and process data about collecting bugs for 5 days,
  • a nested loop
    • a condition-control loop
      • specifically, an input validation loop to check the data input, and
  • calculating a running total of the bugs collected during a 5 day period.

project4-sales-tax-ii

A project demonstrating modularization by refactoring ../project1-sales-tax.

project5-line-numbers

A project demonstrating text file input and exceptions, by numbering the lines in a given text file.

project6-total-sales

A project demonstrating lists by asking for the sales for each day of the week, storing them in a list, and calculating the total.

project7-initials

A project demonstrating looping through a string, comparing characters and string concatenation by accepting a name and returning the first, (middle), and last initials.

project8-course-information

Menu that accepts a course by course number and displays the information about the course using various functions of a dictionary, len(), keys(), keying.

project9-pet-class

A program that demonstrates classes and objects by instantiating and mutating an object, then accessing its properties.

project10-employee-class-and-classes

A program that demonstrates inheritance by managing a list of several employees.

project11-recursive-printing

A program that demonstrates recursion by printing the numbers [1, n].