Vous êtes sur la page 1sur 10

Lovely Professional University, Punjab

Course Code

Course Title

Course Planner

Lectures

CSE101

FOUNDATIONS OF COMPUTING

14335::Navneet Malik

Course Category

Courses with Placement focus

3.0

Tutorials Practicals Credits


0.0

0.0

TextBooks
Sr No

Title

Author

Edition

Year

Publisher Name

T-1

Programming With C

Byron Gottfried

3rd

2011

Tata McGraw Hill

Reference Books
Sr No

Title

Author

Edition

Year

Publisher Name

R-1

Programming in C

Ashok N. Kamthane

2nd

2011

Pearson

R-2

A Workbook on C

Vikas Verma

2nd

2012

Cengage Learning

R-3

Programming in ANSI C

E. Balagurusamy

6th

2012

Tata McGraw Hill

R-4

The C Programming Language

B. W. Kernighan and D.M. 2nd


Ritchie

Prentice Hall of India Private Limited, New Delhi

R-5

Computer Science - A Structured


Approach using C

Forouzan and Gilberg

Cengage Learning

3rd

Relevant Websites
Sr No

(Web address) (only if relevant to the course)

Salient Features

RW-1

http://www.c-lang.thiyagaraaj.com/tutorials/c-basics

Basic feature of c

RW-2

http://www.sitepoint.com/fundamentals-of-c/

basic feature of c

RW-3

http://www.tutorialspoint.com/ansi_c/c_operator_types.htm

operator types

RW-4

http://www.tutorialspoint.com/ansi_c/c_control_statements.htm

control statements

RW-5

http://www.vectorsite.net/tscpp_3.html

input and output

RW-6

http://www.java-samples.com/showtutorial.php?tutorialid=498

type conversion

RW-7

http://www.mycplus.com/tutorials/c-programming-tutorials/functions/

functions

RW-8

http://webdocs.cs.ualberta.ca/~holte/T26/rec-prog-tech.html

recursion

RW-9

http://www.dreamincode.net/forums/topic/51296-types-of-recursion/

types of recursion

RW-10

http://www.tutorialspoint.com/ansi_c/c_storage_classes.htm

storage classes

RW-11

http://www.cs.cf.ac.uk/Dave/C/node17.html

library function

RW-12

http://www.cplusplus.com/doc/tutorial/arrays/

arrays

3.0

RW-13

http://www.tutorialspoint.com/ansi_c/c_play_with_strings.htm

strings handling

RW-14

http://ee.hawaii.edu/~tep/EE160/Book/chap9/subsection2.1.3.1.html

sorting and searching in string

RW-15

http://www.cs.cf.ac.uk/Dave/C/node10.html

pointer in detail

RW-16

http://www.exforsys.com/tutorials/c-language/c-structures-and-unions.html

structures and union

RW-17

http://www.cprogramming.com/tutorial/typedef.html

typedef

RW-18

http://www.ibm.com/developerworks/aix/library/au-toughgame/

memory leak

RW-19

http://pic.dhe.ibm.com/infocenter/aix/v6r1/index.jsp?topic=
%2Fcom.ibm.aix.basetechref%2Fdoc%2Fbasetrf1%2Fmalloc.htm

Dynamic memory management

RW-20

http://www.cs.bu.edu/teaching/c/file-io/intro/

file handling

RW-21

http://www.cprogramming.com/tutorial/cfileio.html

file i/o

RW-22

http://www.cprogramming.com/tutorial/c/lesson14.html

command line argument

RW-23

http://blog.eviac.com/2010/07/header-files-and-libraries-in-c.html

Header files and libraries

RW-24

http://www.cplusplus.com/doc/tutorial/preprocessor/

preprocessor

RW-25

http://www.acm.uiuc.edu/webmonkeys/book/c_guide/1.7.html

macro

RW-26

www.mec.ac.in/resources/notes/notes/ds/sorting.htm

different type of sorting

RW-27

www.codeproject.com/Articles/24684/How-to-create-Linked-list-using-C-C

linked list

LTP week distribution: (LTP Weeks)


Weeks before MTE

Weeks After MTE

Spill Over

Detailed Plan For Lectures


Week
Number

Lecture
Number

Broad Topic(Sub Topic)

Week 1

Lecture 1

Introduction to C programming,
Operators and Control statements
(The C character set)

Chapters/Sections
of Text/reference
books

T-1:2.1
R-1:2.2

Other Readings, Lecture Description


Relevant
Websites, Audio
Visual Aids,
software and
Virtual Labs
RW-1

L1 Introduction to
character set

Learning Outcomes

Pedagogical Tool
Demonstration/ Case
Study / Images /
animation / ppt etc.
Planned

Students will come to Presentations and live


know the very basics of demo on compilers
C language Without
them it is not possible
to work with C

Week 1

Lecture 1

Lecture 2

Lecture 3

Week 2

Lecture 4

Lecture 5

Introduction to C programming,
Operators and Control statements
(Identifiers and keywords)

T-1:2.3
R-1:2.5 and 2.6

RW-2

L2 Discussion on
Students will come to Presentations and live
identifiers and keywords know the very basics of demo on compilers
C language Without
them it is not possible
to work with C

Introduction to C programming,
Operators and Control statements
(Data types)

T-1:2.7
R-1:2.10 and 2.11

RW-2

L3 Discussion on
different data types

Students will come to Presentations and live


know the very basics of demo on compilers
C language Without
them it is not possible
to work with C

Introduction to C programming,
Operators and Control statements
(Constants and Variables)

T-1:2.8 and 2.9


R-1:2.7 to 2.9

RW-2

L1 Discussion on
constants and variable

Students will come to Presentations and live


know the very basics of demo on compilers
C language Without
them it is not possible
to work with C

Introduction to C programming,
Operators and Control statements
(Expressions)

T-1:2.11
R-1:3.7

L2 Discussion on
different type of
expression

Students will come to Presentations and live


know the very basics of demo on compilers
C language Without
them it is not possible
to work with C

Introduction to C programming,
Operators and Control statements
(Arithmetic operators)

T-1:3.1
R-1:3.5

RW-3

L1 Discussion on
different arithmetic
operators

Students will come to Presentations and live


know to perform
demo on compilers
various operations with
the help of C operators

Introduction to C programming,
Operators and Control statements
(Unary)

T-1:3.2
R-1:3.5

RW-3

L2 Discussion on unary
operator

Students will come to Presentations and live


know to perform
demo on compilers
various operations with
the help of C operators

Introduction to C programming,
Operators and Control statements
(Relational)

T-1:3.3
R-1:3.6

RW-3

L3 Discussion on
different relational
operators

Students will come to Presentations and live


know to perform
demo on compilers
various operations with
the help of C operators

Introduction to C programming,
Operators and Control statements
(logical)

T-1:3.3
R-1:3.8

RW-3

L1 Discussion on
different logical
operators

Students will come to Presentations and live


know to perform
demo on compilers
various operations with
the help of C operators

Introduction to C programming,
Operators and Control statements
(Assignment and Conditional
Operator)

T-1:3.4 and 3.5


R-1:3.4 and 3.7

RW-3

L2 Discussion on
assignment and
conditional operators

Students will come to Presentations and live


know to perform
demo on compilers
various operations with
the help of C operators

Introduction to C programming,
Operators and Control statements
(Bitwise operators)

T-1:14.2
R-1:3.9

RW-3

L3 Discussion on
different bitwise
operators

Students will come to Presentations and live


know to perform
demo on compilers
various operations with
the help of C operators

Introduction to C programming,
Operators and Control statements
(Conditional control Statements
(if, if-else, switch))

T-1:6.2 and 6.7


R-1:5.2 to 5.6 and
5.9

RW-4

L1 Conditional
branching statements
including If Elseif

Students will come to


know
which of the statement
to use in solving
different types of
problems

Presentations and live


demo on compilers

Week 2

Lecture 5

Lecture 6

Week 3

Lecture 7

Lecture 8

Data Input and Output(Looping


Control statements (while, dowhile, for))

T-1:6.3 to 6.5
R-1:6.4 to 6.6

RW-4

L2
Iterative statements
including While Do
while and for loop

Students will come to


know
which of the statement
to use in solving
different types of
problems

Presentations and live


demo on compilers

Data Input and Output(Jumping


Control Statements (break,
continue, goto, return))

T-1:6.8 to 6.9 and


6.11
R-1:5.6to5.8

RW-4

L3
Jump statements
including Break
Continue Go to
statements

Students will come to


know
which of the statement
to use in solving
different types of
problems

Presentations and live


demo on compilers

T-1:4.2 and 4.3

RW-5

L1
getchar and putchar
function

Students will come to


know
which statement must
be used for different
type of data

Presentations and live


demo on compilers

Data Input and Output(Entering


input data)

T-1:4.4

RW-5

L2
scanf function

Students will come to


know
which statement must
be used for different
type of data

Presentations and live


demo on compilers

Data Input and Output(Writing


output data)

T-1:4.6

RW-5

L3
printf function

Students will come to


know
which statement must
be used for different
type of data

Presentations and live


demo on compilers

Data Input and Output(Gets(), Puts


())

T-1:4.8

RW-5

L4
gets and puts function

Students will come to


know
which statement must
be used for different
type of data

Presentations and live


demo on compilers

R-1:2.16 and 2.17

RW-6

L1
Students will come to Presentations and live
signed,unsigned,short,lon know how to convert
demo on compilers
g
one data to another data
type

Functions and Storage Classes in C


(Defining and accessing a
function)

T-1:7.2 and7.3
R-1:10.3

RW-7

L2
function calling

Students will come to


know about the use of
the functions in C
language

Presentations and live


demo on compilers

Functions and Storage Classes in C


(Function Prototype)

T-1:7.4

RW-7

L3
function prototype

Students will come to


know about the use of
the functions in C
language

Presentations and live


demo on compilers

Functions and Storage Classes in C


(Introduction to passing arguments
by value and passing arguments by
reference)

R-1:10.6

RW-7

L1
function call with by
value and by reference

Students will come to


know about the use of
the functions in C
language

Presentations and live


demo on compilers

Data Input and Output(Single


character input/output)

Data Input and Output(Type


Conversion and Type Modifiers)

Week 3

Week 4

Week 5

Lecture 9

Functions and Storage Classes in C


(Recursive Functions)

R-1:10.13 to 10.15

RW-8

L1
rules of recursive
function

Students will come to


know about the use of
the functions in C
language

Presentations and live


demo on compilers

Functions and Storage Classes in C


(Types of Recursion)

R-1:10.14

RW-9

L2
different type of
recursion

Students will come to


know about the use of
the functions in C
language

Presentations and live


demo on compilers

Functions and Storage Classes in C


(Efficiency of recursion)

R-1:10.21

RW-8

L3
recursion vs
iteration,efficiency of
recursion

Students will come to


know about the use of
the functions in C
language

Presentations and live


demo on compilers

Functions and Storage Classes in C


(Functions as an argument)

R-1:10.8

L1
pass user defined
function as an argument

Students will come to


know about the use of
the functions in C
language

Presentations and live


demo on compilers

Functions and Storage Classes in C


(Scope Rules (Local and global
scope))

R-1:11.1

L2
lifetime of a
variable,visibility of a
varaible

Students will come to Presentations and live


know about the various demo on compilers
types of variables that
can be used in C
programs

Lecture 11

Functions and Storage Classes in C


(Storage Classes in C)

T-1:11.2 to 11.5

RW-10

L1
storage classes
automatic,extern,static
and register

Students will come to Presentations and live


know about the various demo on compilers
types of variables that
can be used in C
programs

Lecture 12

Functions and Storage Classes in C


(Basic Library Functions (math.h))

R-1:10.22

RW-11

L1
basic library function
from math library

tudents will come to


Presentations and live
know about the use of demo on compilers
various built in function
of math library

Lecture 13

Working with Arrays in C


(Introduction to arrays)

R-1:7.1 to 7.4

RW-12

L1
array intialization,array
terminology and
characteristics of an
array

Students will come to Presentations and live


know that how the data demo on compilers
is stored in arrays and
how various operations
are performed on them

Working with Arrays in C


(Defining and processing 1D)

R-1:7.5

RW-12

L2
defining 1D array and
operation on 1D array
insert,delete and search

Students will come to Presentations and live


know that how the data demo on compilers
is stored in arrays and
how various operations
are performed on them

Working with Arrays in C(2D and


multidimensional arrays)

T-1:9.4
R-1:7.10

RW-12

L1
data storage and access
in 2D array

Students will come to Presentations and live


know that how the data demo on compilers
is stored in arrays and
how various operations
are performed on them

Lecture 10

Lecture 14

Week 5

Lecture 14

Working with Arrays in C


(Operations on Arrays (1D & 2D))

T-1:9.2
R-1:7.9

RW-12

Lecture 15
Week 6

Week 7

L2
insert,delete and matrix
representation

Students will come to Presentations and live


know that how the data demo on compilers
is stored in arrays and
how various operations
are performed on them

Quiz 1

Lecture 16

Working with Arrays in C(Passing


arrays to functions)

T-1:9.3

RW-12

L1
passing array as an
function argument

Students will come to


know that how arrays
are passed in function

Presentations and live


demo on compilers

Lecture 17

Working with Arrays in C


(Returning array from function)

T-1:9.3

RW-12

L1
returning array from
function

Students will come to


know that how arrays
are passed in function

Presentations and live


demo on compilers

Lecture 18

Strings in C(Defining and


Initialization string)

T-1:10.1 to10.3

RW-13

L1
define a string and
initialize a string

Students will come to


know about the strings
and to perform
operations on strings

Presentations and live


demo on compilers

Lecture 19

Strings in C(Reading and Writing a


string)

T-1:10.4

RW-13

L1
read a string and write a
string

Students will come to


know about the strings
and to perform
operations on strings

Presentations and live


demo on compilers

Strings in C(Processing of String)

T-1:10.5

RW-13

L2
string processing
functions are
strlen,strcpy,strcmp,strca
t

Students will come to


know about the strings
and to perform
operations on strings

Presentations and live


demo on compilers

Lecture 20

Strings in C(Character Arithmetic)

T-1:10.6

L1
Students will come to
add,subtract,increment,d know the operation on
ecrement and multiply
character

Presentations and live


demo on compilers

Lecture 21

Strings in C(Searching and Sorting


of String)

T-1:10.7

RW-14

L1
search for a
substring,sorting the
string alphabetically

Students will come to


know about the strings
and to perform
operations on strings

Presentations and live


demo on compilers

Strings in C(Library functions of


String)

T-1:10.8

RW-13

L2
library function such as
strupr,strlwr,strcat,strcm
p

Students will come to


know about the strings
and to perform
operations on strings

Presentations and live


demo on compilers

MID-TERM
Week 8

Lecture 22

Working with Pointers(Pointer


Declaration)

T-1:11.1 to 11.2

RW-15

L1
Students will come to
declare a pointer variable know to work with the
addresses of the
variables

Presentations and live


demo on compilers

Working with Pointers(Passing


pointer to a function)

T-1:11.3

RW-15

L2
Students will come to
pointer as an argument in know to work with the
a function
addresses of the
variables

Presentations and live


demo on compilers

Week 8

Lecture 22

Working with Pointers(Pointer and


one dimensional array)

T-1:11.4

RW-15

L3
pointer as base address
of an array

Students will come to


know the relation of
array with the
addresses of the
variables

Presentations and live


demo on compilers

Lecture 23

Working with Pointers(Operations


on Pointers)

T-1:11.6
R-1:9.8

RW-15

L1
arithmetic operation
feasible on pointers

Students will come to


know to work with the
addresses of the
variables

Presentations and live


demo on compilers

Working with Pointers(Pointers


and Multi dimensional Array)

T-1:11.7

RW-15

L2
Students will come to
pointer to pointer for two know the relation of
D array
array with the
addresses of the
variables

Presentations and live


demo on compilers

Working with Pointers(Array of


Pointers)

T-1:11.8
R-1:9.11

RW-15

L3
Students will come to
collection of similar type know the relation of
of pointer variable
array with the
addresses of the
variables

Presentations and live


demo on compilers

Working with Pointers(Passing


function to other function)

T-1:11.9

Lecture 24

Week 9

Students will come to Presentations and live


know that how
demo on compilers
variables are stored into
the memory

Structures and Union(Defining and


Processing a Structure)

T-1:12.1 to 12.2

RW-16

L2
defining a structure and
operation on structure
members

Students will come to


know about the
difference between
structures and unions
and how to work with
union

Presentations and live


demo on compilers

Structures and Union(User defined


Data Type: typedef)

T-1:12.3

RW-16

L3
alternative name to any
data type

Students will come to


know about the
difference between
structures and unions
and how to work with
union

Presentations and live


demo on compilers

Lecture 25
Lecture 26

L1
function as an argument
of another function

Quiz 2
Structures and Union(Structures
and Pointers)

T-1:12.4

RW-16

L1
accessing a structure
member with a pointer

Students will come to


know about the
difference between
structures and unions
and how to work with
union

Presentations and live


demo on compilers

Structures and Union(Passing


Structures to Function)

T-1:12.5
R-1:13.7

RW-16

L2
receiving structure as a
function argument

Students will come to


know about the
difference between
structures and unions
and how to work with
union

Presentations and live


demo on compilers

Week 9

Week 10

Week 11

Lecture 27

Structures and Union(Self


Referential Structure)

T-1:12.6

L1
structure containing the
reference of itself

Students will come to


know about the
difference between
structures and unions
and how to work with
union

Presentations and live


demo on compilers

Structures and Union(Nested


Structures)

R-1:13.4

L2
structure within a
structure accessibility

Students will come to


know about the
difference between
structures and unions
and how to work with
union

Presentations and live


demo on compilers

Structures and Union(Unions)

T-1:12.7
R-1:13.11

RW-16

L1
difference between
structure and union

Students will come to


know about the
difference between
structures and unions
and how to work with
union

Presentations and live


demo on compilers

Structures and Union(Bit field in


structures)

R-1:13.9

RW-17

L2
use of bit field in
structures

Students will come to


know about the
difference between
structures and unions
and how to work with
union

Presentations and live


demo on compilers

Lecture 29

Dynamic Memory Management


(Dynamic Memory Management
functions (malloc, calloc, realloc
and free))

T-1:11.5
R-1:16.1 and 16.3

RW-19

L1
different memory
management functions
malloc,calloc,realloc and
free

Students will come to


know about the use of
memory allocation
function

Presentations and live


demo on compilers

Lecture 30

Dynamic Memory Management


(Dynamic Memory Management
functions (malloc, calloc, realloc
and free))

T-1:11.5
R-1:16.1 and 16.3

RW-19

L1
different memory
management functions
malloc,calloc,realloc and
free

Students will come to


know about the use of
memory allocation
function

Presentations and live


demo on compilers

Lecture 31

Dynamic Memory Management


(Memory leak)

R-5:10.4

RW-18

L1
memory allocation
failure

Students will come to


know about the use of
memory allocation
function

Presentations and live


demo on compilers

Lecture 32

File I/O(The FILE structure)

T-1:13.1
R-1:14.1 to 14.2

RW-20

L1
description of file and
usage

Students will come to


know about the use of
file

Presentations and live


demo on compilers

File I/O(Opening and closing files)

T-1:13.2
R-1:14.3

RW-20

L2
function to open and
close a file

Students will come to


know about the use of
file

Presentations and live


demo on compilers

File I/O(Text and binary files)

R-1:14.3

RW-21

L1
different file types

Students will come to


know about the
different modes of file

Presentations and live


demo on compilers

File I/O(Reading)

T-1:13.3
R-1:14.3

RW-21

L2
file content reading
using function

Students will come to Presentations and live


know how to read a file demo on compilers

Lecture 28

Lecture 33

Week 12

Lecture 34

File I/O(writing and appending


files)

T-1:13.3
R-1:14.3

RW-21

L1
storing the data into a
file

Lecture 35

File I/O(Random access of files)

T-1:13.7

RW-21

L1
Students will come to Presentations and live
random movement of file know about reading and demo on compilers
pointer
writing in random
access

Additional Features of C
(Command Line arguments)

T-1:15.2
R-1:14.9

RW-22

L2
using arguments with
main function

Lecture 36
Week 13

Students will come to


know how to write a
file

Students will come to


know the use of
command line
arguments

Presentations and live


demo on compilers

Quiz 3

Lecture 37

Additional Features of C(Creating


Header files and Libraries)

Lecture 38

Additional Features of C
(Preprocessor Directives (#ifndef,
#error, #line))

Lecture 39

Additional Features of C(macros)

RW-23

L1
creating and using user
defined header files

Students will come to


know about the header
file creation

Presentations and live


demo on compilers

T-1:15.5
R-1:12.1

RW-24

L1
compile time code
execution using
preprocessor
directives with
conditions

Students will come to


know about pre
processor directives

Presentations and live


demo on compilers

T-1:15.4
R-1:12.2 and 12.3

RW-24
RW-25

L1
comparison of macro
with function

Students will come to


know about pre
processor directives

Presentations and live


demo on compilers

SPILL OVER
Week 14

Presentations and live


demo on compilers

Lecture 40

RW-26

insertion sort,selection
sort, merge sort,quick
sort,binary sort

Student will learn use


of different sorting
algorithms based on
data

Lecture 41

RW-27

linked list
implementation

Student will learn the


real use of pointers in
implementation of data
structures

Scheme for CA:


Component
Quiz

Frequency

Out Of
2

3
Total :-

Details of Academic Task(s)

Each Marks Total Marks


10

20

10

20

AT No.

Objective

Topic of the Academic Task

Nature of Academic Task


(group/individuals/field
work

Evaluation Mode

Allottment /
submission Week

Quiz 1

To encourage the
Online quiz based on topics covered in week 1 to week4
students for indepth
study of concepts
and preparing them
for placement drives

Individual

Depends upon the


question attempted

4/5

Quiz 2

To encourage the
Online quiz based on topics covered in week 5 to week 8
students for indepth
study of concepts
and preparing them
for placement drives

Individual

Depends upon the


question attempted

7/9

Quiz 3

To encourage the
Online quiz based on topics covered in week 9 to week 11
students for indepth
study of concepts
and preparing them
for placement drives

Individual

Depends upon the


question attempted

11 / 12

Vous aimerez peut-être aussi