Skip to content

Latest commit

 

History

History
185 lines (166 loc) · 6.91 KB

README.md

File metadata and controls

185 lines (166 loc) · 6.91 KB

Assignment 1 :

Several operating system applications :

arch : Indicates whether the system is 32-bit or 64-bit uptime : Indicates the current running time of the system and the average system load and the number of users logged into the system free : Indicates the amount of memory consumed by the system Pwd : Prints the name of the current work path in its entirety, abbreviated as Print Working Directory exit : The command is to exit and close the terminal

Solotion 2:

Calculate the circumference and area of a circle .

Solution 3 :

Geometry donor theorem .

Solution 4 :

Calculate BMI a Person .

Assignment 2 :

Calculator :

  • Add two numbers together (Press Num1) +
  • Subtract two numbers from each other (Press Num2) -
  • Multiply two numbers together (Press Num3) x
  • Divided two number (Press Num4) /
  • Sinus of an angle (press Num5) Sin
  • Cosinus of an angle (Press Num6) Cos
  • Tangent of an angle (Press Num7) Tan
  • Cotangent of an angle (Press Num8) Cot
  • Logarithm a number (Press Num9) log
  • Exit and close programm (Press Num10)

Palam,Polom,Plish Game✋🎮🤚

  • Play With Two Cpu
  • On Hand ✋ (Press Num1)
  • Back Hand 🤚 (Press Num2)
  • Play in 5 stages and announce the winner 🏆

Rock✊,Paper✋,Scissors🤞,🎮Game🎮

  • Play With CPU
  • Rock✊ (Press Num1)
  • Paper✋ (Press Num2)
  • Scissors ✌️ (Press Num3)
  • Play in 5 stages and announce the winner 🏆

Seconds to Time :

Convert seconds to time format (ex. 3661 sec == 1:01:01)

Time To Second :

Convert time to second format (ex. 1:01:01 sec == 3661)

Assignment 3 :

KMM & BMM: Find the largest common divisor and the smallest common multiple between two integers

HangMan :

330px-Hangman svg The word to guess is represented by a row of dashes, representing each letter of the word. Rules may permit or forbid proper nouns, such as names, places, brands, or slang. If the guessing player suggests a letter which occurs in the word, the other player writes it in all its correct positions. If the suggested letter does not occur in the word, the other player draws one element of a hanged stick figure as a tally mark.

Is Armstrong Number :

The Armstrong number is called a number. If we multiply each of its numbers by the power of the number of numbers, it becomes equal to the number itself.

Example :

Consider the number 153 153 is a three-digit number, so we multiply each of its numbers by the power of three and add it together: 153 = 1 * 1 * 1 + 5 * 5 * 5 + 3 * 3 * 3 The number 153 is an Armstrong number.

Is Factorial :

Checks if it is a factorial number and returns a Boolean variable in response Example : Consider the number 120 = 1 * 2 * 3 * 4 * 5 = 5!

Word Sentence :

Counts the number of words in a sentence

Random Array:

Makes a random array with the size that the user gives as input

Sort Array:

Checks that the presentation received as input from the user is sorted descending

Assignment 4 :

Multiplication_table :

Create a multiplication table with the number of columns and rows desired by the user

chesstable :

Create a checkered page with the number of columns and rows desired by the user in the shape of a star and an hashtag # *

fibo :

Create a Fibonacci sequence to the user's liking using the repeat loop

Run in consol:

image

Assignment 5(Store) :

Build a store software based on the CSV database with limited features such as

  • Adding new items to the store
  • Edit items
  • Delete items
  • Show items list
  • Search items
  • Buy items
  • Exit

Each items have :

  • Id(bar-code)
  • Name
  • Price
  • Count

Assignment 6 (Translator):

Creating a dictionary by a words bank in which all data (words) are stored :

  • Persian to English
  • English to Persian

Assignmen 7 :

Khayam-Pascal:

400px-Pascal's_Triangle1

www.Wikipedia.com Print Khayyam Pascal triangle to the user's desired column

Symmetrical :

Check the symmetry of a Array numbers

Check the symmetry of a number :

The four basic mathematical operations on fractional numbers

  • +
  • -
  • x
  • /
  • Exit

Wedding:

Write a plan for every boy and girl to marry by chance. Note that a boy can not marry two girls at the same time, and vice versa.

Assignment 8:

Complex numbers :

Complex numbers that are displayed in the form "a + i b". Where a and b are real numbers and i are an imaginary part and part a is a real part and part b is an imaginary part

330px-Complex_number_illustration svg

this program have main menu that work :

  • sum two complex numbers
  • mines two complex numbers
  • multi two complex numbers
  • exit

Faraction :

download

this program have main menu that work :

  • sum two fraction numbers
  • mines two fraction numbers
  • multi two fraction numbers
  • div ide two fraction numbers
  • exit

Time :

download

this program have main menu that work :

  • sum two time(E.X 12:20:10 + 5:30:40 = 17:50:50)
  • mines two fraction numbers(E.X 12:20:10 - 5:10:10 = 7:10:00)
  • time to second (E.X input : 3600 seconds ==> output : 01:00:00)
  • divide two fraction numbers (E.X input : 01:00:00 ==> output : 3600 seconds)
  • exit

Assignment 10 (SQL):

Problem description:

Create a database for Digikala with two tables :

  • 1- Enter the desired information into the table using the INSERT command.
  • 2- Show only available items using the SELECT command.
  • 3- Use the DELETE command to delete non-Iranian customers.
  • 4- Reduce the price of all items by 20% using the UPDATE command.

Powerd by sqlitebrowser.org

Certificate:

www.Sololearn.com png png png