0% found this document useful (0 votes)
254 views3 pages

4.82 F. Y. B.SC Computer Scienc1 Python

FYBSC

Uploaded by

Manoj kavedia
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
0% found this document useful (0 votes)
254 views3 pages

4.82 F. Y. B.SC Computer Scienc1 Python

FYBSC

Uploaded by

Manoj kavedia
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 3

Text book:

1. Carl Hamacher et al., Computer Organization and Embedded Systems, 6 ed., McGraw-Hill
2012
Additional References:
1. Patterson and Hennessy, Computer Organization and Design, Morgan Kaufmann, ARM
Edition, 2011
2. R P Jain, Modern Digital Electronics, Tata McGraw Hill Education Pvt. Ltd. , 4th Edition,
2010

Course: Programming with Python- I


USCS102 (Credits : 2 Lectures/Week: 3)

Objectives
The objective of this paper is to introduce various concepts of programming to the students using Python.
Expected learning outcomes
1) Students should be able to understand the concepts of programming before actually starting to write
programs.
2) Students should be able to develop logic for Problem Solving.
3) Students should be made familiar about the basic constructs of programming such as data, operations,
conditions, loops, functions etc.
4) Students should be able to apply the problem solving skills using syntactically simple language i.e.
Python (version: 3.X or higher)

Reasons for Python as the learner’s first programming language. Introduction to the
IDLE interpreter (shell) and its documentation. Expression evaluation: similarities and
differences compared to a calculator; expressions and operators of types int, float,
boolean. Built-in function type. Operator precedence.
Enumeration of simple and compound statements. The expression statement. The
assert statement, whose operand is a boolean expression (values true or false). The
assignment statement, dynamic binding of names to values, (type is associated with
data and not with names); automatic and implicit declaration of variable names with
the assignment statement; assigning the valueNone to a name. The del (delete)
statement. Input/output with print and input functions. A statement list (semicolon-
Unit I separated list of simple statements on a single line) as a single interpreter command. 15 L
The import statement for already-defined functions and constants. The augmented
assignment statement. The built-inhelp() function.
Interactive and script modes of IDLE, running a script, restarting the shell.
The compound statement def to define functions; the role of indentation for delimiting
the body of a compound statement; calling a previously defined function. Compound
data types str, tuple and list (enclosed in quotes, parentheses and brackets,
respectively). Indexing individual elements within these types. Strings and tuples are
immutable, lists are mutable. Built-in functions min, max, sum. Interactive solution of
model problems, (e.g., finding the square root of a number or zero of a function), by
repeatedly executing the body of a loop (where the body is a statement list).

5
Advantages of functions, function parameters, formal parameters, actual parameters,
global and local variables.
The range function, the iterative for statement. The conditional statements if, if-else,
if-elif-else. The iterative statements while, while-else, for-else. The continue
Unit II 15 L
statement to skip over one iteration of a loop, the break statement to exit the loop.
Nested compound statements. Dictionaries: concept of key-value pairs, techniques to
create, update and delete dictionary items. Problem-solving using compound types
and statements.

Anonymous functions. List comprehensions. Gentle introduction to object-oriented


programming; using the built-in dir() function, enumerate the methods of strings,
Unit III 15 L
tuples, lists, dictionaries. Using these methods for problem-solving with compound
types.

Text books:
1. Magnus Lie Hetland, Beginning Python: From Novice to Professional, Apress
2. Paul Gries, et al., Practical Programming: An Introduction to Computer Science Using Python 3,
Pragmatic Bookshelf, 2/E 2014

Additional References:
1. Charles Dierbach, Introduction to Computer Science using Python, Wiley, 2013
2. Paul Gries , Jennifer Campbell, Jason Montojo, Practical Programming: An Introduction to Computer
Science Using Python 3, Pragmatic Bookshelf, 2/E 2014
3. Adesh Pandey, Programming Languages – Principles and Paradigms, Narosa, 2008

Course: Free and Open-source Software


USCS103 (Credits : 2 Lectures/Week: 3)

Objective:
Open Source has acquired a prominent place in software industry. Having knowledge of Open Source and its
related technologies is an essential for Computer Science student. This course introduces Open Source
methodologies and ecosystem to students.
Expected Learning Outcome:
1) Upon completion of this course, students should have a good working knowledge of Open Source
ecosystem, its use, impact and importance.
2) This course shall help student to learn Open Source methodologies, case studies with real life
examples.

Introduction
Introduction: Open Source, Free Software, Free Software vs. Open Source
software, Public Domain Software, FOSS does not mean no cost. History: BSD,
The Free Software Foundation and the GNU Project.
Methodologies
Unit I Open Source History, Initiatives, Principle and methodologies. Philosophy : 15L
Software Freedom, Open Source Development Model Licenses and Patents: What
Is A License, Important FOSS Licenses (Apache,BSD,GPL, LGPL), copyrights and
copy lefts, Patents Economics of FOSS : Zero Marginal Cost, Income-generation
opportunities, Problems with traditional commercial software,
Internationalization

6
Programming with Python – I
1. Installing and setting up the Python IDLE interpreter. Executing simple
statements like expression statement (numeric and Boolean types), assert,
assignment, delete statements; the print function for output.
2. Script and interactive modes; defining a function in the two modes; executing
a script; interactively executing a statement list (semicolon-separated
sequence of simple statements); the input function.
3. Programs based on lists, conditional constructs, the for statement and the
USCSP102
range function; interactively using the built-in functions len, sum, max, min
4. Programs related to string manipulation
5. Programs based on the while statement; importing and executing built-in
functions from the time, math and random modules
6. Programs using break and continue statements.
7. Programs related to dictionaries
8. Programs using list comprehenstions and anonymous functions
9. Programs using the built-in methods of the string, list and dictionary classes

15

You might also like