SlideShare a Scribd company logo
Python Programming
UNIT 1 : SYLLABUS
• Conceptual introduction: topics in computer science, algorithms;
• Modern computer systems: hardware architecture, data
representation in computers, software and operating system;
• Installing Python; basic syntax, interactive shell, editing, saving, and
running a script.
• The concept of data types; variables, assignments; immutable
variables; numerical types;
• arithmetic operators and expressions; comments in the program;
understanding error messages;
Topics in computer
science
Algorithms
Information
Processing
Conceptual Introduction
Hardware architecture
Data representation in
computers
Software and
operating system
Modern computer
systems
Topics in computer
science
Algorithms
Information
Processing
Conceptual Introduction
Topics in computer science
Conceptual
Introductio
n
Programming
Language
Data Structures &
Retrieval
Computer Networks
& Security
Computer Design
Algorithms
Parallel and
Distributed
Computing
Computer Science
Topics in computer
science
Algorithms
Information
Processing
Conceptual Introduction
Algorithms
Conceptual
Introductio
n
Purchase cost?
Cash Given?
Change?
Rs.133/-
Rs.500/-
Rs.367/-
Algorithms
Conceptual
Introductio
n
• Step 1 : Write down the two numbers, with the larger
number above the smaller number and their digits aligned
in columns from the right.
• Step 2 : Assume that you will start with the rightmost
column of digits and work your way left through the
various columns.
• Step 3 : Write down the difference between the two digits
in the current column of digits, borrowing a 1 from the top
number’s next column to the left if necessary.
• Step 4 : If there is no next column to the left, stop.
Algorithms
Conceptual
Introductio
n
• If the computing agent (in this case a human being) follows each of these
simple steps correctly, the entire process results in a correct solution to
the given problem.
• We assume in Step 3 that the agent already knows how to compute the
difference between the two digits in any given column, borrowing if
necessary.
• The sequence of steps that describes each of these computational
processes is called an algorithm.
• An algorithm describes a process that ends with a solution to a problem.
• An algorithm consists of a finite number of instructions.
Topics in computer
science
Algorithms
Information
Processing
Conceptual Introduction
Information Processing
Conceptual
Introductio
n
Computer
Topics in computer
science
Algorithms
Information
Processing
Conceptual Introduction
Topics in computer
science
Algorithms
Information
Processing
Conceptual Introduction
Hardware architecture
Data representation in
computers
Software and
operating system
Modern computer
systems
Hardware architecture
Data representation in
computers
Software and
operating system
Modern computer systems
Hardware architecture
Modern
computer
systems
Processor
Input
Devices
Output
Devices
Memory
Hardware architecture
Modern
computer
systems
Processor
Hardware architecture
Modern
computer
systems
Memory
Primary
Secondar
y
Hardware architecture
Modern
computer
systems
Processor
Input
Devices
Output
Devices
Primary
Secondar
y
Cache
Hardware architecture
Data representation in
computers
Software and
operating system
Modern computer systems
Data representation in computers
Modern
computer
systems
0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 0
0 0 0 0 0 0 0 1 0 1 0 0 0 0 1 0
0 0 0 0 1 1 1 1 1 0 1 0 0 0 0 0
0 0 1 1 1 0 0 0 1 0 0 0 0 0 0 0
2
22
322
4000
40000
1 (Over Flow)
Data representation in computers
Modern
computer
systems
Hardware architecture
Data representation in
computers
Software and
operating system
Modern computer systems
Software and operating system
Modern
computer
systems
Any programs that are
stored in memory so that
they can be executed later
are called software.
Types of computer
software:
• Application software
• System software
• Programming software
Software and operating system
Modern
computer
systems
Application: Used in educational, business
and medical fields.
Ex: computer games.
System: Load and execute other
programs that make the development,
execution, and management of
programs easier. This type of software
is called system software.
Ex: Operating System
Programming: Develop the
programming languages necessary to
run computer software.
Ex: Compliers, interpreters, linkers and
text editors.
Software and operating system
Modern
computer
systems
Translators :
•Compilers
•Interpreters
Software and operating system
Modern
computer
systems
Main( )
{
int a= 2;
int b= 3;
int c;
c = a + b;
}
This method is compilation
Object
code
Execute
Software and operating system
Modern
computer
systems
Print (“hello world”)
Print(2)
A=2
B=3
Print(A+B)
Execute
Execute
Execute
Execute
Execute
This method is interpretation
Hardware architecture
Data representation in
computers
Software and
operating system
Modern computer systems
Topics in computer
science
Algorithms
Information
Processing
Conceptual Introduction
Hardware architecture
Data representation in
computers
Software and
operating system
Modern computer
systems
UNIT 1 : SYLLABUS
• Conceptual introduction: topics in computer science, algorithms;
• Modern computer systems: hardware architecture, data
representation in computers, software and operating system;
• Installing Python; basic syntax, interactive shell, editing, saving, and
running a script.
• The concept of data types; variables, assignments; immutable
variables; numerical types;
• arithmetic operators and expressions; comments in the program;
understanding error messages;

More Related Content

PPTX
Python Programming | JNTUK | UNIT 1 | Lecture 3
PPTX
Instruction Set (Part 2)
PPTX
Computer Architecture
PPTX
Enee114 01
PPT
Mips architecture
PPTX
INSTRUCTION SET
PPT
isa architecture
Python Programming | JNTUK | UNIT 1 | Lecture 3
Instruction Set (Part 2)
Computer Architecture
Enee114 01
Mips architecture
INSTRUCTION SET
isa architecture

What's hot (20)

PDF
number system understand
PDF
Fundamentals of data structures ellis horowitz & sartaj sahni
PPTX
Intro to Data Structure & Algorithms
PDF
Machine language
PPTX
Computer architecture
ODP
Local Exploits
PPT
Chapt 01 Assembly Language
PDF
It tools and buisness system.docx
PDF
Assembly Langauge Chap 1
PPTX
Datapath design
PPTX
Programming the basic computer
PPTX
Quiz KU 1073 - Introduction to Information Technology
PPTX
Process of algorithm evaluation
PPT
Computer Organization and Assembly Language
PPTX
PROGRAM LOGIC AND FORMULATION
PPSX
Dsp Datapath
PPTX
Assembly language
PPT
Lecture#2 Computer languages computer system and Programming EC-105
PDF
Computer arithmetics coa project pdf version
PDF
Lecture 7
number system understand
Fundamentals of data structures ellis horowitz & sartaj sahni
Intro to Data Structure & Algorithms
Machine language
Computer architecture
Local Exploits
Chapt 01 Assembly Language
It tools and buisness system.docx
Assembly Langauge Chap 1
Datapath design
Programming the basic computer
Quiz KU 1073 - Introduction to Information Technology
Process of algorithm evaluation
Computer Organization and Assembly Language
PROGRAM LOGIC AND FORMULATION
Dsp Datapath
Assembly language
Lecture#2 Computer languages computer system and Programming EC-105
Computer arithmetics coa project pdf version
Lecture 7
Ad

Similar to Python Programming | JNTUK | UNIT 1 | Lecture 1 & 2 (20)

PPTX
Lecture-1-Introduction-Sep02-2018 (1).pptx
PPTX
Introduction to computers and programming languages
PPTX
Chapter 1 Introduction to computer components
PPT
Python Fundamentals
PPTX
UNIT-1.pptx
PPTX
Computer organization and architecture.pptx
PPTX
programming for problem solving-1 unit -1 ppt.pptx
PPTX
Csci101 lect00 introduction
PPTX
Fundamntl of computer programing in python.pptx
PDF
BCA 1st semester Problem Solving Notes using C.pdf
PPT
Introduction to computer sciences
PPT
Introduction to CS
PPTX
scb2013--_owasptop10-2013-131028002253-phpapp02_(1)-10082017104949
PPT
01CHAP_1.PPT
PPT
chapter one Gaddis Python 4e Chapter 01 PPT.ppt
PPT
Lecture 2 - Introductory Concepts
PPTX
Unit 1.1 Introduction to python programming
PPTX
introductiontocomputerprogramming.pptx
DOCX
COMPUTER.docx
PPT
Introduction to Java and computers
Lecture-1-Introduction-Sep02-2018 (1).pptx
Introduction to computers and programming languages
Chapter 1 Introduction to computer components
Python Fundamentals
UNIT-1.pptx
Computer organization and architecture.pptx
programming for problem solving-1 unit -1 ppt.pptx
Csci101 lect00 introduction
Fundamntl of computer programing in python.pptx
BCA 1st semester Problem Solving Notes using C.pdf
Introduction to computer sciences
Introduction to CS
scb2013--_owasptop10-2013-131028002253-phpapp02_(1)-10082017104949
01CHAP_1.PPT
chapter one Gaddis Python 4e Chapter 01 PPT.ppt
Lecture 2 - Introductory Concepts
Unit 1.1 Introduction to python programming
introductiontocomputerprogramming.pptx
COMPUTER.docx
Introduction to Java and computers
Ad

More from FabMinds (20)

PPTX
Python Programming | JNTUA | UNIT 3 | Lists |
PPTX
Python Programming | JNTUA | UNIT 3 | Strings |
PPTX
Python Programming | JNTUA | UNIT 3 | Updating Variables & Iteration |
PPTX
Python Programming | JNTUA | UNIT 2 | Case Study |
PPTX
Python Programming | JNTUA | UNIT 2 | Fruitful Functions |
PPTX
Python Programming | JNTUA | UNIT 2 | Conditionals and Recursion |
PPTX
Application layer protocols
PPTX
Internet connectivity
PPTX
Introduction for internet connectivity (IoT)
PPTX
web connectivity in IoT
PPTX
message communication protocols in IoT
PPTX
web communication protocols in IoT
PPTX
introduction for web connectivity (IoT)
PPTX
Python Introduction | JNTUA | R19 | UNIT 1 | Functions
PPTX
Python Introduction | JNTUA | R19 | UNIT 1 | Functions
PPTX
Python Programming | JNTUK | UNIT 2 | Lecture 6 & 7 | Conditional & Control S...
PPTX
Data enrichment
PPTX
Communication technologies
PPTX
M2M systems layers and designs standardizations
PPTX
Business models for business processes on IoT
Python Programming | JNTUA | UNIT 3 | Lists |
Python Programming | JNTUA | UNIT 3 | Strings |
Python Programming | JNTUA | UNIT 3 | Updating Variables & Iteration |
Python Programming | JNTUA | UNIT 2 | Case Study |
Python Programming | JNTUA | UNIT 2 | Fruitful Functions |
Python Programming | JNTUA | UNIT 2 | Conditionals and Recursion |
Application layer protocols
Internet connectivity
Introduction for internet connectivity (IoT)
web connectivity in IoT
message communication protocols in IoT
web communication protocols in IoT
introduction for web connectivity (IoT)
Python Introduction | JNTUA | R19 | UNIT 1 | Functions
Python Introduction | JNTUA | R19 | UNIT 1 | Functions
Python Programming | JNTUK | UNIT 2 | Lecture 6 & 7 | Conditional & Control S...
Data enrichment
Communication technologies
M2M systems layers and designs standardizations
Business models for business processes on IoT

Recently uploaded (20)

PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
Business Ethics Teaching Materials for college
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
VCE English Exam - Section C Student Revision Booklet
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PPTX
Week 4 Term 3 Study Techniques revisited.pptx
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
Basic Mud Logging Guide for educational purpose
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
Cell Structure & Organelles in detailed.
PPTX
PPH.pptx obstetrics and gynecology in nursing
Anesthesia in Laparoscopic Surgery in India
Final Presentation General Medicine 03-08-2024.pptx
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Business Ethics Teaching Materials for college
Module 4: Burden of Disease Tutorial Slides S2 2025
O7-L3 Supply Chain Operations - ICLT Program
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
VCE English Exam - Section C Student Revision Booklet
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
Week 4 Term 3 Study Techniques revisited.pptx
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Basic Mud Logging Guide for educational purpose
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
STATICS OF THE RIGID BODIES Hibbelers.pdf
Supply Chain Operations Speaking Notes -ICLT Program
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Microbial diseases, their pathogenesis and prophylaxis
Cell Structure & Organelles in detailed.
PPH.pptx obstetrics and gynecology in nursing

Python Programming | JNTUK | UNIT 1 | Lecture 1 & 2