SlideShare a Scribd company logo
Comprehensive Project Report on A super advanced calculator.
CALCULATOR
Working Of The Program :
• The program starts by presenting the user with a menu of arithmetic operations:
addition, subtraction, multiplication, division, or a random mixture of all.
• After the user makes a selection, the program generates random numbers based on
the chosen operation.
• It then prompts the user to solve the arithmetic problem and
provides feedback on whether the answer is correct or incorrect.
Logic Of Program :
• The program follows a structured approach to handle each arithmetic operation
by using loops (if/else if).
• It utilizes functions to generate random numbers 2 to 5 in the range of 1 to 100
by using random module of numpy library.
• It uses options to use operators to operate between numbers such as ‘Addition’ ,
‘Substraction’, ‘Multiplication’ , ‘Division’ and Random mixture of all four.
• We used proper operands to match the operator requirements i.e. two operands
for substraction and division where no restriction for addition and
multiplication.
Logic Of Program :
• It take user input for choice of operator in the range of 1 to 5, based on choice it
perform the operation and saved the response nature whether right/wrong.
• It provide feedback for both right and wrong answer and update the number of
response by a user.
Choose The
operator (+,-,*,/)
Process the
operation
Compare it and
provide feedback
Logic Of Program :
• We have used various loops to implement same code for different users and
store their responses. Take input
for new user
Process
according to
choice
Provide the
feedback
Store the
performanc
e
Output Of Program :
• We Store and display the progress of an user in both topic-wise and total
exercise form.
• Along with numerical data, we have used graphical representation using
matplot.
Positive Negative
5
2
Progress report
Questions
Key Value
Total Exercise 7
Total correct
response
5
Total Incorrect
response
2
STRING
Working Of The Program :
• extract_letters_from_string(input_string):
• This function takes an input string and extracts only the alphabetic characters from it, converting
them to lowercase.
• summarize_letters(letters):
• This function takes a list of letters and counts the frequency of each letter, returning a dictionary
where keys are unique letters and values are their frequencies.
• has_all_alphabets(letters):
• This function checks if the input list of letters contains all the letters of the alphabet (a to z).
Working Of The Program :
• present_descriptive_statistics(letters):
• This function presents descriptive statistics of the input letters.
• It creates a dataframe to visualize the frequency of each letter using seaborn.
• It prints the total number of letters, total unique letters, unique letters, most frequent letter(s),
and least frequent letter(s).
• sort_letters(letters, reverse=False):
• This function sorts the input list of letters in either ascending or descending order and
removes duplicates.
• generate_anagrams(letters):
• This function generates all possible anagrams of the input string.
Logic Of Program :
• The program first prompts the user to input an arbitrary string.
• It then extracts the letters from the input string, summarizes their frequency, checks if all alphabet
letters are present, and presents descriptive statistics.
• It sorts the letters in ascending and descending order and generates anagrams of the input string.
• The code employs error handling to handle cases where no letters are found in the input string.
Input The
String
Extract The
Letters
Perform
various
Operations
Output Of Program :
• The program displays the frequency summary of letters, whether all alphabet letters are
present, and presents descriptive statistics in tabular form.
• It visualizes the frequency of each letter using a bar plot.
• The sorted letters and generated anagrams are printed to the console.
Character Frequency
a 2
b 1
c 1
SURVEY
Working Of The Program :
• The program begins by prompting the user to input ratings for 20 products, ensuring that
the entered ratings fall within the range of 1 to 5.
• Upon successful input, the program calculates the frequency of each rating using
NumPy's np.unique function and presents this information in a tabular format,
displaying the frequency of each rating.
Working Of The Program :
• Subsequently, the program computes various statistical measures, including the minimum,
maximum, mean, median, mode, variance, and standard deviation of the ratings, utilizing
functions from the statistics module.
• Furthermore, the program visualizes the frequency distribution of ratings by generating a bar
chart using Matplotlib, illustrating the distribution of ratings across the 1 to 5 scale.
Output Of Program :
• The program displays the frequency of each rating in tabular format.
• It presents various statistical measures of the ratings, including the minimum,
maximum, mean, median, mode, variance, and standard deviation.
• It visualizes the frequency distribution of ratings using a bar chart.
Ratings Frequnecy
5 STAR 3
4 STAR 2
3 STAR 8
2 STAR 4
1 STAR 3
Output Of Program :

More Related Content

PPTX
Python_Unit_III.pptx
PPTX
Csci101 lect03 algorithms_i
PPTX
Dictionary
PDF
Ejercicios de estilo en la programación
PDF
Python summer course play with python (lab1)
PDF
Python summer course play with python (lab1)
PDF
python_lab_manual_final (1).pdf
PPTX
Python Exam (Questions with Solutions Done By Live Exam Helper Experts)
Python_Unit_III.pptx
Csci101 lect03 algorithms_i
Dictionary
Ejercicios de estilo en la programación
Python summer course play with python (lab1)
Python summer course play with python (lab1)
python_lab_manual_final (1).pdf
Python Exam (Questions with Solutions Done By Live Exam Helper Experts)

Similar to Comprehensive Project Report on A super advanced calculator. (20)

PDF
xii cs practicals
PDF
python practicals-solution-2019-20-class-xii.pdf
DOCX
Basic python laboratoty_ PSPP Manual .docx
DOCX
COMPUTER SCIENCE CLASS 12 PRACTICAL FILE
PPTX
Python programming workshop session 3
PPTX
Unit 1 Introduction Part 3.pptx
PDF
STRING LIST TUPLE DICTIONARY FILE.pdf
DOCX
Compiler lab final report writing
PDF
python.pdf
PPTX
ANSHUL RANA - PROGRAM FILE.pptx
DOCX
python file for easy way practicle programs
PDF
Python for High School Programmers
DOCX
Python Laboratory Programming Manual.docx
PDF
Xi CBSE Computer Science lab programs
PDF
Python Lab Manual
PPTX
Basic pogramming concepts
PPTX
GE8151 Problem Solving and Python Programming
PDF
xii cs practicals class 12 computer science.pdf
DOCX
cs class 12 project computer science .docx
xii cs practicals
python practicals-solution-2019-20-class-xii.pdf
Basic python laboratoty_ PSPP Manual .docx
COMPUTER SCIENCE CLASS 12 PRACTICAL FILE
Python programming workshop session 3
Unit 1 Introduction Part 3.pptx
STRING LIST TUPLE DICTIONARY FILE.pdf
Compiler lab final report writing
python.pdf
ANSHUL RANA - PROGRAM FILE.pptx
python file for easy way practicle programs
Python for High School Programmers
Python Laboratory Programming Manual.docx
Xi CBSE Computer Science lab programs
Python Lab Manual
Basic pogramming concepts
GE8151 Problem Solving and Python Programming
xii cs practicals class 12 computer science.pdf
cs class 12 project computer science .docx
Ad

Recently uploaded (20)

PPTX
Media And Information Literacy for Grade 12
PDF
Key Trends in Website Development 2025 | B3AITS - Bow & 3 Arrows IT Solutions
PPTX
Orthtotics presentation regarding physcial therapy
PDF
SEVA- Fashion designing-Presentation.pdf
PPT
robotS AND ROBOTICSOF HUMANS AND MACHINES
PPT
UNIT I- Yarn, types, explanation, process
PPTX
YV PROFILE PROJECTS PROFILE PRES. DESIGN
DOCX
A Contemporary Luxury Villa in Dubai Jumeirah-2.docx
PPT
pump pump is a mechanism that is used to transfer a liquid from one place to ...
PPTX
Complete Guide to Microsoft PowerPoint 2019 – Features, Tools, and Tips"
PPTX
EDP Competencies-types, process, explanation
PDF
Urban Design Final Project-Context
PDF
Skskkxiixijsjsnwkwkaksixindndndjdjdjsjjssk
PDF
YOW2022-BNE-MinimalViableArchitecture.pdf
PPTX
LITERATURE CASE STUDY DESIGN SEMESTER 5.pptx
PDF
ART & DESIGN HISTORY OF VEDIC CIVILISATION.pdf
PPTX
CLASS_11_BUSINESS_STUDIES_PPT_CHAPTER_1_Business_Trade_Commerce.pptx
PDF
intro_to_rust.pptx_123456789012446789.pdf
PDF
Test slideshare presentation for blog post
PDF
SOUND-NOTE-ARCHITECT-MOHIUDDIN AKHAND SMUCT
Media And Information Literacy for Grade 12
Key Trends in Website Development 2025 | B3AITS - Bow & 3 Arrows IT Solutions
Orthtotics presentation regarding physcial therapy
SEVA- Fashion designing-Presentation.pdf
robotS AND ROBOTICSOF HUMANS AND MACHINES
UNIT I- Yarn, types, explanation, process
YV PROFILE PROJECTS PROFILE PRES. DESIGN
A Contemporary Luxury Villa in Dubai Jumeirah-2.docx
pump pump is a mechanism that is used to transfer a liquid from one place to ...
Complete Guide to Microsoft PowerPoint 2019 – Features, Tools, and Tips"
EDP Competencies-types, process, explanation
Urban Design Final Project-Context
Skskkxiixijsjsnwkwkaksixindndndjdjdjsjjssk
YOW2022-BNE-MinimalViableArchitecture.pdf
LITERATURE CASE STUDY DESIGN SEMESTER 5.pptx
ART & DESIGN HISTORY OF VEDIC CIVILISATION.pdf
CLASS_11_BUSINESS_STUDIES_PPT_CHAPTER_1_Business_Trade_Commerce.pptx
intro_to_rust.pptx_123456789012446789.pdf
Test slideshare presentation for blog post
SOUND-NOTE-ARCHITECT-MOHIUDDIN AKHAND SMUCT
Ad

Comprehensive Project Report on A super advanced calculator.

  • 2. CALCULATOR Working Of The Program : • The program starts by presenting the user with a menu of arithmetic operations: addition, subtraction, multiplication, division, or a random mixture of all. • After the user makes a selection, the program generates random numbers based on the chosen operation. • It then prompts the user to solve the arithmetic problem and provides feedback on whether the answer is correct or incorrect.
  • 3. Logic Of Program : • The program follows a structured approach to handle each arithmetic operation by using loops (if/else if). • It utilizes functions to generate random numbers 2 to 5 in the range of 1 to 100 by using random module of numpy library. • It uses options to use operators to operate between numbers such as ‘Addition’ , ‘Substraction’, ‘Multiplication’ , ‘Division’ and Random mixture of all four. • We used proper operands to match the operator requirements i.e. two operands for substraction and division where no restriction for addition and multiplication.
  • 4. Logic Of Program : • It take user input for choice of operator in the range of 1 to 5, based on choice it perform the operation and saved the response nature whether right/wrong. • It provide feedback for both right and wrong answer and update the number of response by a user. Choose The operator (+,-,*,/) Process the operation Compare it and provide feedback
  • 5. Logic Of Program : • We have used various loops to implement same code for different users and store their responses. Take input for new user Process according to choice Provide the feedback Store the performanc e
  • 6. Output Of Program : • We Store and display the progress of an user in both topic-wise and total exercise form. • Along with numerical data, we have used graphical representation using matplot. Positive Negative 5 2 Progress report Questions Key Value Total Exercise 7 Total correct response 5 Total Incorrect response 2
  • 7. STRING Working Of The Program : • extract_letters_from_string(input_string): • This function takes an input string and extracts only the alphabetic characters from it, converting them to lowercase. • summarize_letters(letters): • This function takes a list of letters and counts the frequency of each letter, returning a dictionary where keys are unique letters and values are their frequencies. • has_all_alphabets(letters): • This function checks if the input list of letters contains all the letters of the alphabet (a to z).
  • 8. Working Of The Program : • present_descriptive_statistics(letters): • This function presents descriptive statistics of the input letters. • It creates a dataframe to visualize the frequency of each letter using seaborn. • It prints the total number of letters, total unique letters, unique letters, most frequent letter(s), and least frequent letter(s). • sort_letters(letters, reverse=False): • This function sorts the input list of letters in either ascending or descending order and removes duplicates. • generate_anagrams(letters): • This function generates all possible anagrams of the input string.
  • 9. Logic Of Program : • The program first prompts the user to input an arbitrary string. • It then extracts the letters from the input string, summarizes their frequency, checks if all alphabet letters are present, and presents descriptive statistics. • It sorts the letters in ascending and descending order and generates anagrams of the input string. • The code employs error handling to handle cases where no letters are found in the input string. Input The String Extract The Letters Perform various Operations
  • 10. Output Of Program : • The program displays the frequency summary of letters, whether all alphabet letters are present, and presents descriptive statistics in tabular form. • It visualizes the frequency of each letter using a bar plot. • The sorted letters and generated anagrams are printed to the console. Character Frequency a 2 b 1 c 1
  • 11. SURVEY Working Of The Program : • The program begins by prompting the user to input ratings for 20 products, ensuring that the entered ratings fall within the range of 1 to 5. • Upon successful input, the program calculates the frequency of each rating using NumPy's np.unique function and presents this information in a tabular format, displaying the frequency of each rating.
  • 12. Working Of The Program : • Subsequently, the program computes various statistical measures, including the minimum, maximum, mean, median, mode, variance, and standard deviation of the ratings, utilizing functions from the statistics module. • Furthermore, the program visualizes the frequency distribution of ratings by generating a bar chart using Matplotlib, illustrating the distribution of ratings across the 1 to 5 scale.
  • 13. Output Of Program : • The program displays the frequency of each rating in tabular format. • It presents various statistical measures of the ratings, including the minimum, maximum, mean, median, mode, variance, and standard deviation. • It visualizes the frequency distribution of ratings using a bar chart. Ratings Frequnecy 5 STAR 3 4 STAR 2 3 STAR 8 2 STAR 4 1 STAR 3