SPEC302C Python Programming
B. Tech. (Hons./Minor degree) with Specialization in Artificial Intelligence & Machine Learning/Internet of
Things/Robotics
3rd YEAR (SEMESTER –VI)
L T P Credits Class Work : 25
4 0 0 4 Examination : 75
Total : 100
Duration of Exam : 3 Hours
Unit 1 (15 Lectures)
Introduction and Overview: Introduction to Python, Origin, Comparison, Comments, Operators, Variables and Assignment,
Numbers, Strings, Lists and Tuples, Dictionaries, if Statement, while Loop, for Loop and the range(), Built-in Function, Files,
Errors and Exceptions, Functions, Classes, Modules Syntax and Style Statements and Syntax, Variable Assignment,
Identifiers, Memory Management, Python Applications.
Unit 2 (15 Lectures)
Numbers and Strings: Introduction to Numbers, Integers, Floating Point Real Numbers, Complex Numbers, Operators, Built-
in Functions. Sequences: Strings, Lists, and Tuples, Sequences, Strings, Strings and Operators, String-only Operators, Built-
in Functions, String Built-in Methods, Special Features of Strings.
Lists and Dictionaries: Operators, Built-in Functions, List Type Built-in Methods, Special Features of Lists, Tuples, Tuple
Operators and Built-in Functions, Special Features of Tuples, Introduction to Dictionaries, Operators, Built-in Functions,
Built-in Methods, Dictionary Keys.
Unit 3 (15 Lectures)
Functions: Functions, Calling Functions, Creating Functions, Formal Arguments, Positional Arguments, Default Arguments,
Default Function Object Argument Example, Variable-length Arguments, Non-keyword Variable Arguments (Tuple),
Keyword Variable Arguments (Dictionary).
Classes: Problems in Procedure Oriented Approach, Features of Object Oriented Programming System (OOPS), Classes and
objects, Encapsulation, Abstraction, Inheritance, Polymorphism.
Unit 4 (15 Lectures)
Files and Input/output: File Objects, File Built-in Function, File Built-in Methods, File Built-in Attributes, Standard Files,
Command-line Arguments, File System, File Execution, Persistent Storage Modules, Using context managers with files.
Errors and Exceptions : Introduction to Exceptions, Exceptions in Python, Detecting and Handling Exceptions, Exceptions
as Strings, Raising Exceptions, Assertions, Standard Exceptions, Regular Expressions, Special Symbols and Characters for
Regular expressions.
Text/Reference Books:
1.
Wesley J. Chun, “Core Python Programming”, 2nd Edition, Pearson, 2007 (Reprint 2010).
2.
Paul Barry, “Head First Python”, 2nd Edition, O Rielly, 2010.
3.
Mark Lutz, “Learning Python”, 4th Edition, O Rielly, 2009.
Course Outcomes: At the end of the course, students will demonstrate the ability to:
1. Explain the various concept of Python Programming.
2. Apply the basic concepts of Python Programming for writing simpler programs in Python.
3. Apply the advance concepts of Python Programming for writing advance programs in Python.
4. Develop applications in Python.
Note:
1. In Semester Examinations, the paper setter will set two questions from each unit (total 8 questions in all),
covering the entire syllabus. Students will be required to attempt only five questions, selecting atleast one question
from each unit.
2. The use of scientific calculator will be allowed in the examination. However, programmable calculator, mobile
phones or other electrical/ electronic items will not be allowed in the examination.
3. For students admitted in B.Tech. 1st Year (C-Scheme) in 2019 & onwards and all trailing students:
Examinations and evaluations of students shall be conducted, covering the entire syllabus, as per guidelines “AICTE
Examination Reforms”. Students shall be informed about these reforms.
SPEC306C Embedded IoT
B. Tech. (Hons./Minor degree) with Specialization in Internet of Things
3rd YEAR (SEMESTER –VI)
L T P Credits Class Work : 25
4 0 0 4 Examination : 75
Total : 100
Duration of Exam : 3 Hours
Unit 1 (14 Lectures)
Introduction to Embedded IoT: Introduction to Embedded System Design, Categories of ES, Overview of Embedded System
Architecture, Recent Trends in Embedded Systems, Hardware Architecture of Embedded System, Real-time Embedded
Systems and Robots, Robots and Robotics, Microprocessors and Microcontrollers, Microcontroller or Embedded Controller.
Unit 2 (16 Hours)
IoT Controllers: Introduction to IoT controllers, features of IoT controllers, different types of IoT microcontroller,
architecture, memory access and instruction execution, pipelining, program memory considerations, addressing modes, CPU
registers, Instruction set, and simple operations, Embedded C Programming of IoT controllers.
Unit 3 (16 Hours)
Arduino: Architecture, Setup the IDE, Writing Arduino Software, Arduino Libraries, Embedded C programming for Arduino,
Interfacing LED, push button and buzzer with Arduino, Interfacing Arduino with LCD, Interfacing of Temperature, Humidity,
Motion, Light and Gas Sensor with Arduino, Interfacing of Actuators with Arduino, Interfacing of Relay Switch and Servo
Motor with Arduino.
Unit 4 (14 Hours)
Cloud for IoT: Need of Cloud for IoT applications, Cloud Architecture for IoT applications, challenges in IoT with Cloud,
Various Cloud Service Providers for IoT: ThingSpeak, Blynk etc., Embedded C programming for posting sensors data to web
server.
Text/ Reference Books:
1. Shriram K Vasudevan, Abhishaek S Nagarajan and RMD Sundaram, “Internet of Things”, 1st Edition, Wiley, 2019.
2. Jan Holler, Vlasios Tsiatsis, Catherine Mulligan, Stefan Avesand, Stamatis Karnouskos and David Boyle, “From
Machine-to-Machine to the Internet of Things: Introduction to a New Age of Intelligence”, 1st Edition, Academic
Press, 2014.
3. Vijay Madisetti and Arshdeep Bahga, “Internet of Things (A Hands-on-Approach)”, 1st Edition, VPT, 2014.
4. Francis daCosta, “Rethinking the Internet of Things: A Scalable Approach to Connecting Everything”, 1st Edition,
Apress Publications, 2013.
5. Rajkumar Buyya and Amir Vahid Dastjerdi, “Internet of Things: Principles and paradigms”, Elsevier, 2016.
Course Outcomes: At the end of the course, students will demonstrate the ability to:
1. Understand about various types of Robots & Controls used in the Robotics.
2. Know the Sensors and Actuators in Robotics.
3. Work on various Robotic Platforms.
4. Develop applications based on these platforms.