sem12
sem12
Most Important
Problem Solving
with
Python Programming
Osmania University
B.Sc I Semester – Data Science
UNIT –I
Important Concepts
Computing Devices
Computing devices are electronic systems designed to
process data and perform various computational tasks.
These devices include a wide range of technology, from
personal computers, smartphones, and tablets to
advanced systems like servers, supercomputers, and
embedded systems.
Uses
Communication
Education
Business Applications
Entertainment
Scientific Research
Healthcare
Everyday Tasks
Features of Python
Easy-to-learn
Easy-to-maintain
Portable
Interpreted
Extensible
Free and Open Source
High Level Language
Scalable
Algorithm
Algorithm is an ordered sequence of finite,
well defined, unambiguous instructions for
completing a task.
It is an English-like representation of the
logic which is used to solve the problem.
It is a step- by-step procedure for solving a
task or a problem.
Characteristics of an
Finiteness Algorithm
Definiteness
Input
Output
Effectiveness
Generality
Feasibility
Independent
Building Blocks of an Algorithm
Input
Process
Output
Control Structures
Sequence
Decision/Selection
Repetition/Iteration
Modularity
Flowchart
Flow chart is defined as graphical or diagrammatic
representation of the logic for problem solving.
Pseudocode
2. BEGIN,END: Begin is the first statement and end is the last statement.
i. for in sequence
ii.for in loop
iii.while loop
for in sequence
for loop in range
While loop
Operator Precedence
Parentheses () have the highest precedence.