GithubHelp home page GithubHelp logo

Parisa Arbab's Projects

abstract-factory-pattern--os icon abstract-factory-pattern--os

The Abstract Factory Pattern enables the creation of platform-specific UI widgets while ensuring consistency across different operating systems.

coprime-numbers icon coprime-numbers

use gcd (Greatest Common Divisor) function from math library for determining if two numbers are coprime.

cup-and-dice icon cup-and-dice

runs a dice betting game where players can roll different sets of dice, betting on the outcome to win money based on specific rules

data-modeling icon data-modeling

Retrieve data from two different websites, loading them into the PostgreSQL database using Python, and combine them to get and present new information

dbms-er-diagram icon dbms-er-diagram

Draw Boat Repair ER diagram, identify multi-valued, composite and derived attributes, relationships, specialization

decorator-pattern--pizza icon decorator-pattern--pizza

To use the decorator pattern for a pizza with toppings, I created a Pizza base class with a method to display "Pizza". Then, create decorator classes for each topping (Olive, Pepper, Mashroom), each extending Pizza. These classes would override the display method to include their specific topping message.

dice-and-cups icon dice-and-cups

simulating dice with different numbers of sides (six, ten, and twenty) and a class for managing a collection of these dice.

employee icon employee

The Manager class extends the Employee class. It adds a list of subordinate employees and modifies the salary calculation. The manager's salary includes a 5% increase per service year, plus 2% per subordinate. There's an overloaded calculateSalary method with a bonus parameter; if true, it adds 10% of the base salary.

goldbach-conjecture-problem icon goldbach-conjecture-problem

This Python code tests Goldbach's Conjecture for even numbers less than 100, demonstrating that each can be expressed as the sum of two prime numbers.

happy-prime-numbers icon happy-prime-numbers

classifies numbers into one of four categories: Happy Prime, Sad Prime, Happy Non-Prime, or Sad Non-Prime, based on their primality and happiness status.

human-weight-pyramid- icon human-weight-pyramid-

identify if there exists a pair of numbers within a randomly generated list that sums up to a target value specified by the user. The program combines the use of binary search with the generation of random numbers to efficiently solve the problem.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.