pca241c: python programming - bec - python programming ... learning python, fourth edition, mark...
Post on 22-Jun-2018
222 views
Embed Size (px)
TRANSCRIPT
PCA241C: Python Programming
4 credits (4-0-0)
CIE Marks: 50 SEE Marks: 100
Total Hours: 52 SEE Hours: 03
UNIT I 13 Hours
Installing Python, Simple program using Python, Expressions and Values, Variables and
Computer Memory, error detection, multiple line statements, Designing and using
functions, functions provided by Python, Tracing function calls in memory model,
omitting return statement. Working with Text: Creating Strings of Characters, Using
Special Characters in Strings, Creating a Multiline String, Printing Information, Getting
Information from the Keyboard. A Boolean Type, Choosing Statements to Execute,
Nested If Statements, remembering the Results of a Boolean Expression Evaluation.
UNIT II 13 Hours
A Modular Approach to Program Organization, Importing Modules, Defining Your Own
Modules, Testing Code Semi automatically Grouping Functions Using Methods:
Modules, Classes, and Methods, Calling Methods the Object-Oriented Way, Exploring
String Methods, Underscores. Storing Collections of Data Using Lists: Storing and
Accessing Data in Lists, modifying Lists. Operations on Lists, Slicing Lists, Aliasing,
List Methods, Working with a List of Lists.
UNIT III 13 Hours
Repeating Code Using Loops: Processing Items in a List, Processing Characters in
Strings, Looping Over a Range of Numbers, Processing Lists Using Indices, Nesting
Loops in Loops, Looping Until a Condition Is Reached, Repetition Based on User Input,
Controlling Loops Using Break and Continue. Reading and Writing Files: Kinds of
files, Opening a File, Techniques for Reading Files, Files over the Internet, Writing Files,
and Writing Algorithms That Use the File-Reading Techniques, Multiline Records.
UNIT IV 13 Hours
Storing Data Using Other Collection Types: Storing Data Using Sets, Storing Data
Using Tuples, Storing Data Using Dictionaries, Inverting a Dictionary, Using the In
Operator on Tuples, Sets, and Dictionaries, Comparing Collections. Collection of New
Information Object-Oriented Programming: Understanding a Problem Domain,
Function Isinstance, Class Object, and Class Book, Writing a Method in Class Book.
Plugging into Python Syntax: More Special Methods. Creating Graphical User
interface: Building a Basic GUI, Models, Views, and Controllers, Customizing the
Visual Style Introducing few more Widgets, Object-Oriented GUIs, Keeping the
Concepts from Being a GUI Mess.
Text Books:
1. Practical Programming: An introduction to Computer Science Using Python, second
edition, Paul Gries, Jennifer Campbell, Jason Montojo, The Pragmatic Bookshelf.
2. Learning with Python: How to Think Like a Computer Scientist Paperback Allen
Downey , Jeffrey Elkner, 2015
Reference Books:
1. Introduction to Python for Computational Science and Engineering (A beginner's
guide), Hans Fangohr.
2. Exploring Python, Timothy A. Budd, Mc Graw Hill Education.
3. Python for Informatics: Exploring Information, C harles Severance.
4. Learning Python, Fourth Edition, Mark Lutz, ORe illy publication
PCA242C: Object Oriented Programming Using C++
4 Credits (4- 0- 0)
CIE Marks: 50 SEE Marks: 100
Total Hours: 52 SEE Hours: 03
UNIT I 13 Hours
Principles of Object-Oriented Programming :Software Crisis, Software Evolution, A
Look at Procedure-Oriented Programming, Object-Oriented Programming Paradigm,
Basic Concepts of Object-Oriented Programming, Benefits of OOP, Object-Oriented
Languages,
Applications of OOP . Beginning With C++: What is C++? Applications of C++, A
Simple C++ Program, More C++ Statements, An Example with Class, Structure of C++
Program, Creating the Source File, Compiling and Linking, Functions in C++:
Introduction, The Main Function, Call by Reference, Return by Reference, inline
Functions, Default Arguments, const Arguments, Function Overloading, Friend and
Virtual Functions.
UNIT II 13 Hours
Classes and objects: Introduction, C Structures Revisited, Specifying a Class, Defining
Member Functions, A C++ Program with Class, Making an Outside Function Inline,
Nesting of Member Functions, Private Member Functions, Arrays within a Class,
Memory Allocation for Objects, Static Data Members, Static Member Functions, Arrays
of Objects, Objects as Function Arguments, Friendly Functions, Returning Objects, const
Member Functions, Pointers to Members, Local classes. Constructors and Destructors:
Introduction, Constructors, Parameterized Constructors, Multiple Constructors in a Class,
Constructors with Default Arguments, Dynamic Initialization of Objects, Copy
Constructor, Dynamic Constructors ,Constructing Two-Dimensional Arrays, const
Objects, Destructors. Operator Overloading and Type Conversions: Introduction,
Defining Operator Overloading, Overloading Unary Operators, Overloading Binary
Operators, Overloading Binary Operators Using Friends ,Manipulation of Strings Using
Operators .
UNIT III 13 Hours
Rules for Overloading Operators, Type Conversions. Inheritance: Extending Classes
Introduction, Defining Derived Classes Contents, Single Inheritance Making a Private
Member Inheritable, Multilevel Inheritance, Multiple Inheritance, Hierarchical
Inheritance, Hybrid Inheritance, Virtual Base Classes, Abstract Classes, Constructors in
Derived Classes. Pointers, Virtual Functions and Polymorphism :Introduction, Pointers
to Objects, this Pointer, Pointers to Derived Classes, Virtual Functions, Pure Virtual
Functions .Managing Console I/O Operations: Introduction, C++ Streams, C++ Stream
Classes, Unformatted I/O Operations, Formatted Console I/O Operations, Managing
Output with Manipulators.
UNIT IV 13 Hours
Working With Files :Introduction, Classes for File Stream Operations, Opening and
Closing a File, Detecting End-of File ,More about Open(): File Modes, File Pointers and
their Manipulations Sequential Input and Output Operations, Updating a File: Random
Access, Error Handling During File Operations, Command-Line Arguments. Templates:
Introduction, Class Templates, Class Templates with Multiple Parameters, Function
Templates, Function Templates with Multiple Parameters, Overloading of Template
Functions, Member Function Templates, Non-Type Template Arguments.
Text Books:
1.Balaguruswamy ,Object Oriented Programming with C++ , TMH , 2nd Edition.
Reference Books:
1. Herbert Schildt ,C++ , The Complete Reference , TMH, 3rd Edition.
2. Stanley B. Lippman and Josee Lajore, C++ Primer, Addison Wesley, 3rd
Edition,2006
3. Bjarne Stroustrup,The C++ programming language , Pearson Education, 3rd
Edition,2002
PCA243C: Database Management Systems
4 Credits (4-0-0)
CIE Marks: 50 SEE Marks: 100
Total Hours: 52 SEE Hours: 03
UNIT I 13 Hours
Databases and Database Users: Introduction, An Example, Characteristics of the
Database Approach, Actors on the scene, Workers behind the scene, Advantages of using
the DBMS approach, A brief history of database applications, When not to use a DBMS,
Database System Concepts and Architecture: Data models, schemas and instances,
Three-schema architecture and data independence, Database language and interfaces, The
database system environment. Data Modeling Using the Entity-Relationship(ER)
Model: Using High-Level Conceptual Data Models for Database Design; An Example
Database Application; Entity Types, Entity Sets, Attributes and Keys; Relationships,
Relationship Types, Roles and Structural Constraints; Weak Entity Types; Refining the
ER Design for the COMPANY Database; ER Diagrams, Naming Conventions and
Design Issues.
UNIT II 13 Hours
The Relational Data Model and Relational Database Constraint: Relational Model
Concepts, Relational Constraints and Relational Database Schemas, Update Operations,
Transactions, and Dealing with Constraint Violations. Relational A
Recommended