100% tevredenheidsgarantie Direct beschikbaar na je betaling Lees online óf als PDF Geen vaste maandelijkse kosten 4.2 TrustPilot
logo-home
College aantekeningen

PYTHON PROGRAMMING LECTURE NOTES {COMPUTER SCIENCE AND ENGINEERING} Core Python Programming, W.Chun, Pearson.

Beoordeling
-
Verkocht
-
Pagina's
142
Geüpload op
12-11-2025
Geschreven in
2025/2026

PYTHON PROGRAMMING LECTURE NOTES {COMPUTER SCIENCE AND ENGINEERING} Core Python Programming, W.Chun, Pearson.

Instelling
Python Programming
Vak
Python programming











Oeps! We kunnen je document nu niet laden. Probeer het nog eens of neem contact op met support.

Geschreven voor

Instelling
Python programming
Vak
Python programming

Documentinformatie

Geüpload op
12 november 2025
Aantal pagina's
142
Geschreven in
2025/2026
Type
College aantekeningen
Docent(en)
Python programming
Bevat
Alle colleges

Onderwerpen

Voorbeeld van de inhoud

PYTHON PROGRAMMING III YEAR/II SEM

PYTHON PROGRAMMING
LECTURE NOTES



DEPARTMENT OF
COMPUTER SCIENCE AND ENGINEERING
M
ED

MALLA REDDY COLLEGE OF ENGINEERING &
TECHNOLOGY
ST
U
D
Y

,PYTHON PROGRAMMING III YEAR/II SEM

SYLLABUS
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY

III Year B. Tech CSE -II SEM L T/P/D C
3 -/-/- 3
OPEN ELECTIVE III
(R17A0554) PYTHON PROGRAMMING
OBJECTIVES:
 To read and write simple Python programs.
 To develop Python programs with conditionals and loops.
 To define Python functions and call them.
 To use Python data structures –- lists, tuples, dictionaries.
 To do input/output with files in Python.
M
UNIT I
INTRODUCTION DATA, EXPRESSIONS, STATEMENTS
Introduction to Python and installation, data types: Int, float, Boolean, string, and list; variables,
ED
expressions, statements, precedence of operators, comments; modules, functions--- function and its
use, flow of execution, parameters and arguments.

UNIT II
CONTROL FLOW, LOOPS
Conditionals: Boolean values and operators, conditional (if), alternative (if-else), chained conditional
ST
(if-elif-else); Iteration: while, for, break, continue.

UNIT III
FUNCTIONS, ARRAYS
Fruitful functions: return values, parameters, local and global scope, function composition,
U
recursion; Strings: string slices, immutability, string functions and methods, string module; Python
arrays, Access the Elements of an Array, array methods.
D
UNIT IV
LISTS, TUPLES, DICTIONARIES
Lists: list operations, list slices, list methods, list loop, mutability, aliasing, cloning lists, list
Y
parameters, list comprehension; Tuples: tuple assignment, tuple as return value, tuple comprehension;
Dictionaries: operations and methods, comprehension;

UNIT V
FILES, EXCEPTIONS, MODULES, PACKAGES
Files and exception: text files, reading and writing files, command line arguments, errors and
exceptions, handling exceptions, modules (datetime, time, OS , calendar, math module), Explore
packages.

,PYTHON PROGRAMMING III YEAR/II SEM
OUTCOMES: Upon completion of the course, students will be able to
 Read, write, execute by hand simple Python programs.
 Structure simple Python programs for solving problems.
 Decompose a Python program into functions.
 Represent compound data using Python lists, tuples, dictionaries.
 Read and write data from/to files in Python Programs


TEXT BOOKS
1. Allen B. Downey, ``Think Python: How to Think Like a Computer Scientist‘‘, 2nd edition,
Updated for Python 3, Shroff/O‘Reilly Publishers, 2016.
2. R. Nageswara Rao, “Core Python Programming”, dreamtech
3. Python Programming: A Modern Approach, Vamsi Kurama, Pearson

REFERENCE BOOKS:
M
1. Core Python Programming, W.Chun, Pearson.
2. Introduction to Python, Kenneth A. Lambert, Cengage
3. Learning Python, Mark Lutz, Orielly
ED
ST
U
D
Y

, PYTHON PROGRAMMING III YEAR/II SEM

INDEX
UNIT TOPIC PAGE NO
INTRODUCTION DATA,
EXPRESSIONS, STATEMENTS
1
Introduction to Python and installation 1
data types: Int 6
float 7
Boolean 8
string 8
List 10
I variables 11
M
expressions 13
statements 16
precedence of operators 17
ED
comments 18
modules 19
functions ----- function and its use 20
flow of execution 21
ST
parameters and arguments 26
CONTROL FLOW, LOOPS 35
Conditionals: Boolean values and 35
operators,
II conditional (if) 36
U
alternative (if-else) 37
chained conditional (if-elif-else) 39
41
D
Iteration: while, for, break, continue.
FUNCTIONS, ARRAYS 55
Fruitful functions: return values 55
Y
parameters 57
local and global scope 59
function composition 62
III recursion 63
Strings: string slices 64
immutability 66
string functions and methods 67
string module 72
Python arrays 73
Access the Elements of an Array 75
Array methods 76

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
MedStudy Chamberlain College Of Nursing
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
18
Lid sinds
4 maanden
Aantal volgers
0
Documenten
886
Laatst verkocht
1 week geleden
Welcome to MedStudy on Stuvia!

Unlock academic success with high-quality, student-approved study materials. My shop offers well-structured, easy-to-understand notes, summaries, exam guides, and assignments tailored to help you ace your courses with confidence. Whether you\\\'re preparing for finals or just need a quick refresher, you\\\'ll find reliable, up-to-date resources here—created with clarity, accuracy, and real student needs in mind. Subjects covered: [Nursing, Business, Accounting, Mathematics, Biology, etc...] .Verified content .Clear explanations & key exam tips . Instant digital download Start learning smarter—browse my notes today!

Lees meer Lees minder
5,0

2 beoordelingen

5
2
4
0
3
0
2
0
1
0

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Veelgestelde vragen