Fundamental of programing lab class.pptx

yeabkalkayel 7 views 5 slides Jun 12, 2024
Slide 1
Slide 1 of 5
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5

About This Presentation

Fundamental of programing
What is flow chart
Exercise
And questions


Slide Content

Fundamentals of programming Fundamentals of Programming Lab Class I

What is flowchart? A flowchart is a graphical representations of steps. It was originated from computer science as a tool for representing algorithms and programming logic but had extended to use in all other kinds of processes. Nowadays, flowcharts play an extremely important role in displaying information and assisting reasoning. They help us visualize complex processes, or make explicit the structure of problems and tasks. A flowchart can also be used to define a process or project to be implemented.

Exercise Draw a flow chart and change it into a python code for the following problems: 1. Convert a decimal number to a binary 2. Check if a number is a palindrome 3. Find the sum of digits of a number 4. Find power of a number.. eg:- x the power of n 5. Find GCD of a two integers

Question 1