0% found this document useful (0 votes)
33 views

L T P C Continuous Internal Assessment End Exam Total

This document outlines a course on scientific programming with Python. The course introduces Python fundamentals like variables, data types, operators and control structures. It covers functions, modules, packages, exceptions and object-oriented programming concepts. Students will learn to perform file input/output and plotting with Matplotlib. Key scientific Python packages like NumPy for numerical computing and SciPy for scientific computing are also introduced. The goal is for students to develop general scientific programming skills through these Python packages. Assessment includes sessional and end exams with questions from each unit covering the concepts taught.

Uploaded by

Rameswar Gprec
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views

L T P C Continuous Internal Assessment End Exam Total

This document outlines a course on scientific programming with Python. The course introduces Python fundamentals like variables, data types, operators and control structures. It covers functions, modules, packages, exceptions and object-oriented programming concepts. Students will learn to perform file input/output and plotting with Matplotlib. Key scientific Python packages like NumPy for numerical computing and SciPy for scientific computing are also introduced. The goal is for students to develop general scientific programming skills through these Python packages. Assessment includes sessional and end exams with questions from each unit covering the concepts taught.

Uploaded by

Rameswar Gprec
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

SCIENTIFIC PROGRAMMING WITH PYTHON (SCIPYP)

VI Semester: B.Tech Scheme: 2017


Course Code Category Hours/Week Credits Maximum Marks
Continuous
L T P C Internal End Exam TOTAL
OE315 Open Elective - 2
Assessment
3 0 0 3 40 60 100
Sessional Exam Duration:2 Hrs End Exam Duration:3 Hrs

Course Outcomes: At the end of the course students will be able to


CO1: Understand fundamentals of programming –variables, conditions, Lists, Tuples & Dictionaries.
CO2: Understand Arithmetic, Relational, Assignment, Logical, Bitwise, Membership, Identity Operators
and Conditional
CO3: Statements.
Impart Functions, Scope of variables, Modules, Packages.
CO4: Comprehend Concepts of File I/O, Exception Handling, Classes and Objects.
CO5: Develop general scientific programming through Matplotlib, NumPy and SciPy packages.

UNIT– I
Introduction
History of Python, Features, Advantages, Environment setup and Interaction using Command prompt,
IDLE, Script mode, IPython Notebook.
Basic Syntax: Keywords, Identifiers, Variables.
Data Types: Strings, Numbers, Booleans, Date and Time, Lists, Tuples, Dictionaries
UNIT– II
Operators: Arithmetic Operators, Comparison (Relational) Operators, Assignment Operators, Logical
Operators, Bitwise Operators, Membership Operators, Identity Operators.
Conditional Statements: if, if-elif-else
Loops: for, while
Control Statements: break, continue, pass
UNIT– III
Functions: Defining Functions, Calling a Function, Function Arguments: Required arguments, Keyword
arguments, Default Arguments, Variable-length arguments, Anonymous Functions, The Return
Statement, Scope of the Variables in a Function - Global and Local Variables.
Modules: Defining module, namespacing, Importing modules and module attributes, from. Import
statement, Module built-in functions, Introduction to Packages.
UNIT– IV
Error and Exceptions: Difference between an error and Exception, Detecting and Handling Exceptions,
Raising Exceptions, Assertions, Built-in Exceptions, User Defined Exceptions
Classes and Objects: Overview of OOP terminology, Creating Classes, Creating Instance Objects,
Inheritance, Overriding Methods, Overloading Methods, Operators, Data hiding.
Files and Input/ Output: Opening and Closing Files,VReading and Writing Files, Renaming and
UNIT–
Deletingplotting
Simple Files, Directories
with pylab:inBasic
Python.
plotting, Labels, legends and customization, More advanced plotting
Matplotlib: Matplotlib basics, Contour plots, heatmaps and 3D plots.
NumPy: Basic array methods, Reading and writing an array to a file, Statistical methods, Polynomial,
Linear algebra, Matrices, Random sampling, Discrete Fourier transforms
SciPy: Physical constants and special functions, Integration and ordinary differential equations,
Interpolation, Optimization, data-fitting and root-finding.
General scientific programming: Floating point arithmetic, Stability and conditioning, Programming
techniques and software development.
Text Books :
1. Learning To Program With Python- 2011 Richard L. Halterman
2. Learning Scientific Programming with Python, Christian Hill, Cambridge University Press
(2016)
Reference Books :
1. Python Programming-An Introduction to Computer Science 2nd edition-John Zelle 2010
2. Python -The Ultimate Beginner’s Guide! , Andrew Johansen
3. Core Python Programming, Wesley J. Chun, Pearson.

Web References:
1. https://www.tutorialspoint.com/python3/
2. https://realpython.com/
Question Paper Pattern:
Sessional Exam
The question paper for Sessional examination is for 30 marks, covering half of the syllabus for first
Sessional and remaining half for second Sessional exam. Question No1which carries 6 marks contains
three short answer questions of two marks each. The remaining three questions shall be EITHER/OR type
questions carrying 8 marks each.
End Exam
Question Paper Contains Six Questions. Question 1 contains 5 short Answer questions each of 2marks.
(Total 10 marks) covering one question from each unit. The remaining five questions shall be
EITHER/OR type questions carrying 10 marks each. Each of these questions is from one unit and may
contain sub-questions .i.e. there will be two questions from each unit and the student should answer any
one question.

Note:
1. Python IDLE, Ipython notebook tools can be used to develop programs in UNIT-1 & UNIT-5.
2. Scope for develop type questions for assignment from UNIT-V

You might also like