SlideShare ist ein Scribd-Unternehmen logo
1 von 17
Downloaden Sie, um offline zu lesen
Programming in C -AUE 010 305- Course File

Jul 2013 – Nov 2013

COURSE FILE

NAME OF STAFF

JOMS ANTONY

COURSE NAME

PROGRAMMING IN C

COURSE CODE

AUE 010 305

SEMESTER

3

BRANCH

INFORMATION TECHNOLOGY

BATCH

2011- 2015

ACADEMIC YEAR

2013 - 2014

Amal Jyothi College of Engineering

Department of Information Technology
Programming in C -AUE 010 305- Course File

Jul 2013 – Nov 2013

COURSE FILE INDEX
SL NO

CONTENTS

1

PROGRAMME EDUCATIONAL OBJECTIVES-PEO

2

PROGRAM OUTCOME – PO

3

COURSE (SYLLABUS)

4

COURSE OBJECTIVES – CO

5

COURSE OUTCOME –CEO

6

MAPPING OF CO WITH PO

7

COURSE PLAN & COURSE TRACEABILITY MATRIX

8

LECTURE NOTE TEMPLATES

9

INTERNAL EXAMINATION QUESTION PAPERS

10

UNIVERSITY QUESTION PAPERS

11

SAMPLE ASSIGNMENTS &ANSWER SHEETS

12

INTERNAL MARK EVALUATION SHEET

Amal Jyothi College of Engineering

Department of Information Technology
Programming in C -AUE 010 305- Course File

Jul 2013 – Nov 2013

PROGRAMME EDUCATIONAL OBJECTIVES – PEO
1. To prepare students for successful careers in automotive and ancillary industries that meet the
needs of Indian and Multinational companies.
2. To develop the ability among students to synthesize data and technical concepts for application
to automotive design.
3. To provide opportunity for students to work as part of teams on multidisciplinary projects.
4. To provide students with a sound foundation in the mathematical, scientific and engineering
fundamentals necessary to formulate, solve and analyze engineering problems and to prepare
them for research oriented studies.
5. To promote student awareness for life-long learning and to introduce them to professional
PROGRAMME OUTCOME – PO
a) Graduates will demonstrate basic knowledge in mathematics, science and engineering.
b) Graduates will demonstrate the ability to design and conduct experiments, interpret and analyze
data and report results.
c) Graduates will demonstrate the ability to design automotive or a thermal system or a mechanical
process that meets desired specifications and requirements.
d) Graduates will demonstrate the ability to function on engineering and science teams, as well as
on multidisciplinary design teams.
e) Graduates will demonstrate the ability to identify, formulate and solve engineering problems.
f) Graduates will demonstrate an understanding of their professional and ethical responsibilities.
g) Graduates will be able to communicate effectively in verbal, written and graphical forms.
h) Graduates will have the confidence to apply engineering solutions in global and societal
contexts.

Amal Jyothi College of Engineering

Department of Information Technology
Programming in C -AUE 010 305- Course File

Jul 2013 – Nov 2013

COURSE SYLLABUS
AUE010 305: Programming in C
(Common with PE010 305 and ME010 305)
Course Title

PROGRAMMING IN C Course Code ME010305

Course Duration Jul‘13 – Dec ‘13

Course Load 0-2-1-2-0

Prerequisite

Version

02

Objectives
To impart advanced knowledge in programming in C language
Module I (15 hours)
Introduction to computer programming; Various I/O functions; Data types; Constants and Variables;
Escape Sequences; Type Casting; Preprocessor Directive; Storage Classes; Scope of Variables;
Mathematical Operators; Relational Operators; Branching Instructions; Logical Operators; Conditional
Operator; Precedence of Operators; Loops – for, while and do-while, break and continue instructions,
Nested Loops; Switch statement; Evaluation of ex, sin(x), cos(x) Numerical Integration using
Trapezoidal and Simpson’s rules.
Module II (10 hours)
Arrays; One Dimensional Arrays; Selection Sorting; Binary Searching; Various String Handling
Functions; Multidimensional Arrays; Matrix Operations (Addition, Transpose and Multiplication);
Sorting of Strings; Structure and Union; Array of Structures; Module III (10 hours)Functions; Call by
Value Method; Stack; Passing One Dimensional and Multidimensional Arrays to a Function; Recursion;
Writing Different String Handling Functions Using Simple Functions and Functions with Recursive
Calls; Quick Sorting; Macros; Writing Macros for Simple Operations;
Module IV (15 hours)
Declaration of Pointers; Call by Reference Method; Pointer to a Structure; Pointer to an Array; Array of
Pointers; Pointer to a Pointer; Self Referential Structure; Dynamic Memory Allocation; Reallocation of
Memory; Linear Linked List; Circular Linked List; Double Linked List; Addition, Insertion and Deletion
of Nodes from a Linked List; Command Line Arguments
Module V (10 hours)
Different types of Files; Reading, Writing, Appending and Rewriting of Text and Binary Files; Transfer
of Data in Blocks; Moving of File Pointer in a File; Usage of bitwise AND, OR, NOT, XOR, Shift Left
and Shift Right Operations
Teaching scheme Credits: 4
3 hours lecture and 1 hour tutorial per week
Amal Jyothi College of Engineering

Department of Information Technology
Programming in C -AUE 010 305- Course File

Jul 2013 – Nov 2013

Text Books
1. Bryon S.Gottfried, Programming with C Language.
Reference Books
2. Balaguruswamy, Programming in ANSI C,
3. Deitel, How to Program C
4. Kamthane, Programming with ANSI and Turbo C

Internal Continuous Assessment (Maximum Marks-50)
60% - Tests (minimum 2)
20% - Assignments (minimum 2) such as home work, problem solving, group discussions,
quiz, literature survey, seminar, term-project, software exercises, etc.
20% - Regularity in the class

COURSE OBJECTIVES
[CO1] Illustrate the importance of programming and its applications.
[CO2]Provide an insight about problem solving using computers.
[CO3] Illustrate the basic programming approach using C.
[CO4]Impart advanced knowledge in C programming.

COURSE OUTCOME
[CEO1] Able to appreciate the importance of programming.
[CEO2] Able to develop problem solving algorithms and convert them into programs.
[CEO3] Able to appreciate modular(functions) programming approach.
[CEO3] Ability to understand and apply memory references and allocation.
[CEO5] Ability to apply the knowledge of files in different applications.

Amal Jyothi College of Engineering

Department of Information Technology
Programming in C -AUE 010 305- Course File

Jul 2013 – Nov 2013

MAPPING COURSE OUTCOMES AND PROGRAMME OUTCOMES

PEO’s

Course Outcomes

a

b

c

CEO1

X

X

X

CEO2

X

X

X

X

X

CEO3
CEO4
CEO5

Amal Jyothi College of Engineering

e

X

X
X

X

Department of Information Technology
Programming in C -AUE 010 305- Course File

Jul 2013 – Nov 2013

LECTURE SCHEDULE
(COURSE PLAN AND COURSE TRACEABILITY MATRIX)
Course Duration: 01/07/2013 to 31/11/2013
Lecture
No

Week
&
Modul
e

Planned
Scheduled
Hour
(Planned)

Syllabus Topics

Actually
Taken
Hours

Lecture
Note No

Work RegisterDate

MODULE-1
01

Introduction to programming

03

Algorithms &Flow charts

02

01

LN 02

04

Simple-programs-datatypes, variables

02

02

LN 03

06

Various IO functions, escape sequences.

02

02

LN 04

16-7-13

08

Structure of C-programs, pre-processor
directives.

02

01

LN 05

18-7-13

01

01

LN06

22-7-13

02

02

LN07

23-7-13

02

02

LN08

25-7-13

09
10
12

Operators and Operands
Relational, Logical
Decision Controls-if, if-else
Switch.
OperatorsArithmetic,conditional,bitwise,special

02

02

LN01

14

Special operators, pointer basics

01

01

LN09

15

Intro to Loop controls

02

02

LN10

17

Loop Control Examples, Algorithms

04

22

MODULE-2
Introduction to Arrays, strings, sample
programs

05

LN11

02

02

LN12

09-7-13
11-7-13
12,15-713

29-7-13
30-7-13

1,5,6-8-13

13-8-13

24

Break,continue statements

01

01

LN13

19-8-13

25

String handling functions

01

01

LN14

29-08-13

26

Sorting and Searching

03

LN15

29, 31-0813

Amal Jyothi College of Engineering

03

Department of Information Technology
Programming in C -AUE 010 305- Course File

Jul 2013 – Nov 2013

29

Structures and Unions, Sample programs

03

03

LN16

32

Sum of Series, Algorithms

03

03

LN17

35

Matrix operations

04

04

02, 03-9-13

LN18

03,05-8-13

MODULE-3
01

39

Functions-Introduction

40

Passing values to a function, passing arrays

01

01

41

Recursive functions, sample programs

02

02

01

LN19
LN20

12-09-13

23-09-13

LN21

24-09-13

LN22

26-09-13

MODULE-4
43

Intro-pointers, memory referencing

01

44

Pointer to an array, array of pointers

02

46

Dynamic memory allocation

02

48

Linked Lists

02

50
5356

MODULE-5
Intro to files-reading and writing, file
functions, modes
Files-Sample programs

Amal Jyothi College of Engineering

03
04

01
02

02

01
03
04

LN23

LN24

LN25

LN26
LN27

30-09-13

01-10-13

03-10-13

4,8-10-13
10, 17-1013

Department of Information Technology
Programming in C -AUE 010 305- Course File

Jul 2013 – Nov 2013

DELIVERY TECHNOLOGIES:
Sl. No. Delivery Technology
1.

Classroom with Blackboard/White Board

2.

Classroom with LCD Projector

3.

Web Distribution of Supplementary course materials

ASSESMENT SCHEDULE
1
3
2
4
5

Assignment 1
TEST
Series Test 1
Assignment 2
Series Test 2

A1
CT1
S1
A2
S2

Prepared by: JOMS ANTONY.
Date :

Amal Jyothi College of Engineering

Solving Univ.Que. Papers
Module 1,2
Module 1,2
Written Assignment
Module 3,4,5

W-5
W-4
W- 4
W-1
W-13

Approved by: Ms.Sandhya Ramakrishnan
Date :

Department of Information Technology
Programming in C -AUE 010 305- Course File

Jul 2013 – Nov 2013

LECTURE NOTE TEMPLATES

Amal Jyothi College of Engineering

Department of Information Technology
Programming in C -AUE 010 305- Course File

Jul 2013 – Nov 2013

LECTURE: 1
Objectives:
To provide an introduction about programming and its importance
Explanation:
 Importance of programming
 Human Vs Computer
 Free form Vs Syntax
 Problems Solving using Computers
LECTURE: 2
Objectives:
To provide an introduction about flowcharts, algorithms approach for problem solving
Explanation:
 Problem Solving phases
 Flowcharts illustration
 Writing Algorithms for the problem at hand eg:prime numbers, sorting etc
 Optimized Solutions eg: Binary searching
LECTURE: 3
Objectives:
To illustrate how to write simple programs and explain data types, variables, constants,
keywords
Explanation:
 Writing simple programs eg: print a messege.
 Different basic data types; int,float, char etc
 Concept of a variable as a reference box
 Explain what are constants
LECTURE: 4
Objectives:
To explain about various IO functions, escape sequences.
Explanation:
 Usage of printf(), scanf() statements
 Usage of %d,%f,%c,%s, & symbols
 Usage of newline(n) and tab(t)
 Sample programs Demonstration

Amal Jyothi College of Engineering

Department of Information Technology
Programming in C -AUE 010 305- Course File

Jul 2013 – Nov 2013

LECTURE: 5
Objectives:
To explain about basic structure of a C-program, pre-processor directives, user defined functions
Explanation:
 Basic structure of C-programs
 Pre-processor directives, comments, symbolic constants
 main() function
 user defined functions
LECTURE: 6
Objectives:
To explain about operators and operands, relational & logical operators
Explanation:
 Concept of operands and operators
 Unary, binary, ternary operators
 Usage of relational (= =, <, >, !=, <=, >=) and logical(&&, ||, !) operators.
LECTURE: 7
Objectives:
To explain about Decision control constructs in C
Explanation:
 Deciosion controls and their usage
 Usage of switch, if-else,nested if’s etc
 Sample programs

LECTURE: 8
Objectives:
To explain various operators in C
Explanation:
 Arithmetic operators
 Conditional operators
 Logical and Relational operators
 Bitwise operators

Amal Jyothi College of Engineering

Department of Information Technology
Programming in C -AUE 010 305- Course File

Jul 2013 – Nov 2013

LECTURE: 9
Objectives:
To explain about special operators and introduce the concept of pointers
Explanation:
 Memory referencing operator( &)
 De-referencing operator(*)
 sizeof() operator
LECTURE: 10
Objectives:
To introduce and illustrate the concept of loop controls
Explanation:
 Iteration concepts
 Examples to illustrate iteration operations
 Different Loop control statements in C while, do-while, for
LECTURE: 11
Objectives:
To illustrate the usage of loop controls using sample programs and algorithms
Explanation:
 Syntax and Usage of different loop controls for iteration
 Iterative algorithms
 Sample programs prime no, reverse of a number, palindrome,
greatest, factorial, power etc
LECTURE: 12
Objectives:
To provide introduction to arrays, strings
Explanation:
 Introduction to arrays
 Scanning, printing the contents of array
 Sample programs using arrays
LECTURE: 13
Objectives:
To illustrate the usage of break and continue statements

Amal Jyothi College of Engineering

Department of Information Technology
Programming in C -AUE 010 305- Course File

Jul 2013 – Nov 2013

Explanation:
 Usage of break statement inside a loop control
 Usage of continue statement inside a loop control
 Sample programs
LECTURE: 14
Objectives:
To illustrate the usage of strings and string handling functions
Explanation:
 Introduction to string handling
 String handling functions and their working
 Different string hanling functions like strcmp(), strcat(), strcpy()
LECTURE: 15
Objectives:
To discuss sorting and searching operations and implement them.
Explanation:
 Importance of sorting and searching operations.
 Different sorting techniques like bubble sort, selection sort, quick sort.
 Different searching techniques like linear search and binary search.
 Implementation of sorting and searching techniques.
LECTURE: 16
Objectives:
To introduce the concept of structures, unions and their usage.
Explanation:
 Importance of structures and their usage
 Referencing the elements in a structure
 Unions Vs Structures
 Nested structures
 Sample programs
LECTURE: 17
Objectives:
To solve sum of the series problems using C
Explanation:
 Introduction to sum of the series problems
 Solving sum of the series problems
Amal Jyothi College of Engineering

Department of Information Technology
Programming in C -AUE 010 305- Course File



Jul 2013 – Nov 2013

Solving for Sine series, Cosine series, e-series

LECTURE: 18
Objectives:
To illustrate the usage of matrices and the different matrix operations
Explanation:
 Introduction to matrices
 Reading and Writing matrices
 Different matrix operations like sum, multiplication, identity, diagonal etc.
LECTURE: 19
Objectives:
To introduce the concept of functions and modular programming
Explanation:
 Concept of modular programming and functions
 Function declaration, definition and invocation
 Usage of functions, sample programs
LECTURE: 20
Objectives:
To illustrate the usage of functions by passing values, arrays etc
Explanation:
 Passing values to a function
 Return types
 Usage of functions, sample programs

LECTURE: 21
Objectives:
To introduce the concept of recursion and illustrate recursive functions
Explanation:
 Concept of recursion
 Recursive functions
 Recursive functions for factorial, power,gcd etc
LECTURE: 22
Objectives:
To introduce the concept pointers and memory referncing
Explanation:
Amal Jyothi College of Engineering

Department of Information Technology
Programming in C -AUE 010 305- Course File







Jul 2013 – Nov 2013

Introduction to pointers
Memory referencing and de-referncing
Usage of * and & operators
Pointer Arithmetic
Sample programs

LECTURE: 23
Objectives:
To introduce the concept pointer to an array and array of pointers
Explanation:
 Memory referencing for arrays
 Meaning of *(a+i) and a[i]
 Array of pointers
 Sample programs

LECTURE: 24
Objectives:
To introduce the concept of dynamic memory allocation and its implementation
Explanation:
 Effective memory utilization
 Dynamic memory allocation function malloc(),calloc(),realloc(),free()
 Sample programs
LECTURE: 25
Objectives:
To introduce the concept of linked lists and their usage
Explanation:
 Linked lists as self referential structures
 Types of linked lists singly, doubly,circular etc
 Insertion and deletion of nodes in LL
LECTURE: 26
Objectives:
To introduce the concept of linked lists and their usage
Explanation:
Amal Jyothi College of Engineering

Department of Information Technology
Programming in C -AUE 010 305- Course File





Jul 2013 – Nov 2013

Linked lists as self referential structures
Types of linked lists singly, doubly,circular etc
Insertion and deletion of nodes in LL

LECTURE: 27
Objectives:
Introduce concept of files and its usage
Explanation:
 Files, file modes,file functions
 Reading from and writing into a file
LECTURE: 28
Objectives:
To illustrate the usage of files using sample programs
Explanation:
 Exception/Error handling in files
 Sample programs

Amal Jyothi College of Engineering

Department of Information Technology

Weitere ähnliche Inhalte

Andere mochten auch (9)

Laboratory Linkage for NICU Automation in JMMC
Laboratory Linkage for NICU Automation in JMMCLaboratory Linkage for NICU Automation in JMMC
Laboratory Linkage for NICU Automation in JMMC
 
Decision support
Decision supportDecision support
Decision support
 
MCSCS301-Final Presentation
MCSCS301-Final PresentationMCSCS301-Final Presentation
MCSCS301-Final Presentation
 
MCCS301-Final Presentation
MCCS301-Final PresentationMCCS301-Final Presentation
MCCS301-Final Presentation
 
Icuautomation
IcuautomationIcuautomation
Icuautomation
 
ICUAS
ICUASICUAS
ICUAS
 
Icon Based text Editor
Icon Based  text EditorIcon Based  text Editor
Icon Based text Editor
 
Architectural Design
Architectural DesignArchitectural Design
Architectural Design
 
Context aware
Context awareContext aware
Context aware
 

Ähnlich wie Course File-AUE010305

Te computer-syllabus-2015-course-3-4-17
Te computer-syllabus-2015-course-3-4-17Te computer-syllabus-2015-course-3-4-17
Te computer-syllabus-2015-course-3-4-17
abc19789
 
Te computer syllabus 2015 course 3-4-17 3-5-17
Te computer syllabus 2015 course 3-4-17 3-5-17Te computer syllabus 2015 course 3-4-17 3-5-17
Te computer syllabus 2015 course 3-4-17 3-5-17
VishalButkar2
 
Scheme g fifth semester (co)
Scheme   g fifth semester (co)Scheme   g fifth semester (co)
Scheme g fifth semester (co)
anita bodke
 
SE_Computer_Engg__2019_course_28_06_2021 (6).pdf
SE_Computer_Engg__2019_course_28_06_2021 (6).pdfSE_Computer_Engg__2019_course_28_06_2021 (6).pdf
SE_Computer_Engg__2019_course_28_06_2021 (6).pdf
tomlee12821
 
CIS-(Data Structures and Algorithms)FALL2023.pdf
CIS-(Data Structures and Algorithms)FALL2023.pdfCIS-(Data Structures and Algorithms)FALL2023.pdf
CIS-(Data Structures and Algorithms)FALL2023.pdf
ShayanAamir2
 
e3f55595181f7cad006f26db820fb78ec146e00e-1646623528083 (1).pdf
e3f55595181f7cad006f26db820fb78ec146e00e-1646623528083 (1).pdfe3f55595181f7cad006f26db820fb78ec146e00e-1646623528083 (1).pdf
e3f55595181f7cad006f26db820fb78ec146e00e-1646623528083 (1).pdf
SILVIUSyt
 
4.74 s.e. computer engineering (1)
4.74 s.e. computer engineering (1)4.74 s.e. computer engineering (1)
4.74 s.e. computer engineering (1)
Aditya66086
 
22nd August Final - COA Handout Microprocessor.docx
22nd August Final - COA Handout Microprocessor.docx22nd August Final - COA Handout Microprocessor.docx
22nd August Final - COA Handout Microprocessor.docx
SZahidNabiDar
 

Ähnlich wie Course File-AUE010305 (20)

Te computer-syllabus-2015-course-3-4-17
Te computer-syllabus-2015-course-3-4-17Te computer-syllabus-2015-course-3-4-17
Te computer-syllabus-2015-course-3-4-17
 
Te computer syllabus 2015 course 3-4-17 3-5-17
Te computer syllabus 2015 course 3-4-17 3-5-17Te computer syllabus 2015 course 3-4-17 3-5-17
Te computer syllabus 2015 course 3-4-17 3-5-17
 
Scheme g fifth semester (co)
Scheme   g fifth semester (co)Scheme   g fifth semester (co)
Scheme g fifth semester (co)
 
Scheme g fifth semester (co)
Scheme   g fifth semester (co)Scheme   g fifth semester (co)
Scheme g fifth semester (co)
 
nba ppt for inspection.pptx
nba ppt for inspection.pptxnba ppt for inspection.pptx
nba ppt for inspection.pptx
 
files_1570175665_204715750.pdf
files_1570175665_204715750.pdffiles_1570175665_204715750.pdf
files_1570175665_204715750.pdf
 
SE_Computer_Engg__2019_course_28_06_2021 (6).pdf
SE_Computer_Engg__2019_course_28_06_2021 (6).pdfSE_Computer_Engg__2019_course_28_06_2021 (6).pdf
SE_Computer_Engg__2019_course_28_06_2021 (6).pdf
 
Cs8581 networks lab manual 2017
Cs8581 networks lab manual   2017Cs8581 networks lab manual   2017
Cs8581 networks lab manual 2017
 
Ece 1322 programming_for_engineers_s1_201213(1)
Ece 1322 programming_for_engineers_s1_201213(1)Ece 1322 programming_for_engineers_s1_201213(1)
Ece 1322 programming_for_engineers_s1_201213(1)
 
CIS-(Data Structures and Algorithms)FALL2023.pdf
CIS-(Data Structures and Algorithms)FALL2023.pdfCIS-(Data Structures and Algorithms)FALL2023.pdf
CIS-(Data Structures and Algorithms)FALL2023.pdf
 
Road Map and OUtlines BS(CS) 2019-23.pdf
Road Map and OUtlines BS(CS) 2019-23.pdfRoad Map and OUtlines BS(CS) 2019-23.pdf
Road Map and OUtlines BS(CS) 2019-23.pdf
 
e3f55595181f7cad006f26db820fb78ec146e00e-1646623528083 (1).pdf
e3f55595181f7cad006f26db820fb78ec146e00e-1646623528083 (1).pdfe3f55595181f7cad006f26db820fb78ec146e00e-1646623528083 (1).pdf
e3f55595181f7cad006f26db820fb78ec146e00e-1646623528083 (1).pdf
 
OOAD & ST LAB MANUAL.pdfOose feasibility study in detail Oose feasibility stu...
OOAD & ST LAB MANUAL.pdfOose feasibility study in detail Oose feasibility stu...OOAD & ST LAB MANUAL.pdfOose feasibility study in detail Oose feasibility stu...
OOAD & ST LAB MANUAL.pdfOose feasibility study in detail Oose feasibility stu...
 
M tech-cse-hptu
M tech-cse-hptuM tech-cse-hptu
M tech-cse-hptu
 
CS251 Intro. to SE [Lec. 0 - Course Introduction & Plan] Spring 2022.pdf
CS251 Intro. to SE [Lec. 0 - Course Introduction & Plan] Spring 2022.pdfCS251 Intro. to SE [Lec. 0 - Course Introduction & Plan] Spring 2022.pdf
CS251 Intro. to SE [Lec. 0 - Course Introduction & Plan] Spring 2022.pdf
 
4.74 s.e. computer engineering (1)
4.74 s.e. computer engineering (1)4.74 s.e. computer engineering (1)
4.74 s.e. computer engineering (1)
 
22nd August Final - COA Handout Microprocessor.docx
22nd August Final - COA Handout Microprocessor.docx22nd August Final - COA Handout Microprocessor.docx
22nd August Final - COA Handout Microprocessor.docx
 
IT6511 Networks Laboratory
IT6511 Networks LaboratoryIT6511 Networks Laboratory
IT6511 Networks Laboratory
 
Syllabus for fourth year of engineering
Syllabus for fourth year of engineeringSyllabus for fourth year of engineering
Syllabus for fourth year of engineering
 
anna university syllabus regulation 2013
anna university syllabus regulation 2013anna university syllabus regulation 2013
anna university syllabus regulation 2013
 

Kürzlich hochgeladen

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Kürzlich hochgeladen (20)

Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 

Course File-AUE010305

  • 1. Programming in C -AUE 010 305- Course File Jul 2013 – Nov 2013 COURSE FILE NAME OF STAFF JOMS ANTONY COURSE NAME PROGRAMMING IN C COURSE CODE AUE 010 305 SEMESTER 3 BRANCH INFORMATION TECHNOLOGY BATCH 2011- 2015 ACADEMIC YEAR 2013 - 2014 Amal Jyothi College of Engineering Department of Information Technology
  • 2. Programming in C -AUE 010 305- Course File Jul 2013 – Nov 2013 COURSE FILE INDEX SL NO CONTENTS 1 PROGRAMME EDUCATIONAL OBJECTIVES-PEO 2 PROGRAM OUTCOME – PO 3 COURSE (SYLLABUS) 4 COURSE OBJECTIVES – CO 5 COURSE OUTCOME –CEO 6 MAPPING OF CO WITH PO 7 COURSE PLAN & COURSE TRACEABILITY MATRIX 8 LECTURE NOTE TEMPLATES 9 INTERNAL EXAMINATION QUESTION PAPERS 10 UNIVERSITY QUESTION PAPERS 11 SAMPLE ASSIGNMENTS &ANSWER SHEETS 12 INTERNAL MARK EVALUATION SHEET Amal Jyothi College of Engineering Department of Information Technology
  • 3. Programming in C -AUE 010 305- Course File Jul 2013 – Nov 2013 PROGRAMME EDUCATIONAL OBJECTIVES – PEO 1. To prepare students for successful careers in automotive and ancillary industries that meet the needs of Indian and Multinational companies. 2. To develop the ability among students to synthesize data and technical concepts for application to automotive design. 3. To provide opportunity for students to work as part of teams on multidisciplinary projects. 4. To provide students with a sound foundation in the mathematical, scientific and engineering fundamentals necessary to formulate, solve and analyze engineering problems and to prepare them for research oriented studies. 5. To promote student awareness for life-long learning and to introduce them to professional PROGRAMME OUTCOME – PO a) Graduates will demonstrate basic knowledge in mathematics, science and engineering. b) Graduates will demonstrate the ability to design and conduct experiments, interpret and analyze data and report results. c) Graduates will demonstrate the ability to design automotive or a thermal system or a mechanical process that meets desired specifications and requirements. d) Graduates will demonstrate the ability to function on engineering and science teams, as well as on multidisciplinary design teams. e) Graduates will demonstrate the ability to identify, formulate and solve engineering problems. f) Graduates will demonstrate an understanding of their professional and ethical responsibilities. g) Graduates will be able to communicate effectively in verbal, written and graphical forms. h) Graduates will have the confidence to apply engineering solutions in global and societal contexts. Amal Jyothi College of Engineering Department of Information Technology
  • 4. Programming in C -AUE 010 305- Course File Jul 2013 – Nov 2013 COURSE SYLLABUS AUE010 305: Programming in C (Common with PE010 305 and ME010 305) Course Title PROGRAMMING IN C Course Code ME010305 Course Duration Jul‘13 – Dec ‘13 Course Load 0-2-1-2-0 Prerequisite Version 02 Objectives To impart advanced knowledge in programming in C language Module I (15 hours) Introduction to computer programming; Various I/O functions; Data types; Constants and Variables; Escape Sequences; Type Casting; Preprocessor Directive; Storage Classes; Scope of Variables; Mathematical Operators; Relational Operators; Branching Instructions; Logical Operators; Conditional Operator; Precedence of Operators; Loops – for, while and do-while, break and continue instructions, Nested Loops; Switch statement; Evaluation of ex, sin(x), cos(x) Numerical Integration using Trapezoidal and Simpson’s rules. Module II (10 hours) Arrays; One Dimensional Arrays; Selection Sorting; Binary Searching; Various String Handling Functions; Multidimensional Arrays; Matrix Operations (Addition, Transpose and Multiplication); Sorting of Strings; Structure and Union; Array of Structures; Module III (10 hours)Functions; Call by Value Method; Stack; Passing One Dimensional and Multidimensional Arrays to a Function; Recursion; Writing Different String Handling Functions Using Simple Functions and Functions with Recursive Calls; Quick Sorting; Macros; Writing Macros for Simple Operations; Module IV (15 hours) Declaration of Pointers; Call by Reference Method; Pointer to a Structure; Pointer to an Array; Array of Pointers; Pointer to a Pointer; Self Referential Structure; Dynamic Memory Allocation; Reallocation of Memory; Linear Linked List; Circular Linked List; Double Linked List; Addition, Insertion and Deletion of Nodes from a Linked List; Command Line Arguments Module V (10 hours) Different types of Files; Reading, Writing, Appending and Rewriting of Text and Binary Files; Transfer of Data in Blocks; Moving of File Pointer in a File; Usage of bitwise AND, OR, NOT, XOR, Shift Left and Shift Right Operations Teaching scheme Credits: 4 3 hours lecture and 1 hour tutorial per week Amal Jyothi College of Engineering Department of Information Technology
  • 5. Programming in C -AUE 010 305- Course File Jul 2013 – Nov 2013 Text Books 1. Bryon S.Gottfried, Programming with C Language. Reference Books 2. Balaguruswamy, Programming in ANSI C, 3. Deitel, How to Program C 4. Kamthane, Programming with ANSI and Turbo C Internal Continuous Assessment (Maximum Marks-50) 60% - Tests (minimum 2) 20% - Assignments (minimum 2) such as home work, problem solving, group discussions, quiz, literature survey, seminar, term-project, software exercises, etc. 20% - Regularity in the class COURSE OBJECTIVES [CO1] Illustrate the importance of programming and its applications. [CO2]Provide an insight about problem solving using computers. [CO3] Illustrate the basic programming approach using C. [CO4]Impart advanced knowledge in C programming. COURSE OUTCOME [CEO1] Able to appreciate the importance of programming. [CEO2] Able to develop problem solving algorithms and convert them into programs. [CEO3] Able to appreciate modular(functions) programming approach. [CEO3] Ability to understand and apply memory references and allocation. [CEO5] Ability to apply the knowledge of files in different applications. Amal Jyothi College of Engineering Department of Information Technology
  • 6. Programming in C -AUE 010 305- Course File Jul 2013 – Nov 2013 MAPPING COURSE OUTCOMES AND PROGRAMME OUTCOMES PEO’s Course Outcomes a b c CEO1 X X X CEO2 X X X X X CEO3 CEO4 CEO5 Amal Jyothi College of Engineering e X X X X Department of Information Technology
  • 7. Programming in C -AUE 010 305- Course File Jul 2013 – Nov 2013 LECTURE SCHEDULE (COURSE PLAN AND COURSE TRACEABILITY MATRIX) Course Duration: 01/07/2013 to 31/11/2013 Lecture No Week & Modul e Planned Scheduled Hour (Planned) Syllabus Topics Actually Taken Hours Lecture Note No Work RegisterDate MODULE-1 01 Introduction to programming 03 Algorithms &Flow charts 02 01 LN 02 04 Simple-programs-datatypes, variables 02 02 LN 03 06 Various IO functions, escape sequences. 02 02 LN 04 16-7-13 08 Structure of C-programs, pre-processor directives. 02 01 LN 05 18-7-13 01 01 LN06 22-7-13 02 02 LN07 23-7-13 02 02 LN08 25-7-13 09 10 12 Operators and Operands Relational, Logical Decision Controls-if, if-else Switch. OperatorsArithmetic,conditional,bitwise,special 02 02 LN01 14 Special operators, pointer basics 01 01 LN09 15 Intro to Loop controls 02 02 LN10 17 Loop Control Examples, Algorithms 04 22 MODULE-2 Introduction to Arrays, strings, sample programs 05 LN11 02 02 LN12 09-7-13 11-7-13 12,15-713 29-7-13 30-7-13 1,5,6-8-13 13-8-13 24 Break,continue statements 01 01 LN13 19-8-13 25 String handling functions 01 01 LN14 29-08-13 26 Sorting and Searching 03 LN15 29, 31-0813 Amal Jyothi College of Engineering 03 Department of Information Technology
  • 8. Programming in C -AUE 010 305- Course File Jul 2013 – Nov 2013 29 Structures and Unions, Sample programs 03 03 LN16 32 Sum of Series, Algorithms 03 03 LN17 35 Matrix operations 04 04 02, 03-9-13 LN18 03,05-8-13 MODULE-3 01 39 Functions-Introduction 40 Passing values to a function, passing arrays 01 01 41 Recursive functions, sample programs 02 02 01 LN19 LN20 12-09-13 23-09-13 LN21 24-09-13 LN22 26-09-13 MODULE-4 43 Intro-pointers, memory referencing 01 44 Pointer to an array, array of pointers 02 46 Dynamic memory allocation 02 48 Linked Lists 02 50 5356 MODULE-5 Intro to files-reading and writing, file functions, modes Files-Sample programs Amal Jyothi College of Engineering 03 04 01 02 02 01 03 04 LN23 LN24 LN25 LN26 LN27 30-09-13 01-10-13 03-10-13 4,8-10-13 10, 17-1013 Department of Information Technology
  • 9. Programming in C -AUE 010 305- Course File Jul 2013 – Nov 2013 DELIVERY TECHNOLOGIES: Sl. No. Delivery Technology 1. Classroom with Blackboard/White Board 2. Classroom with LCD Projector 3. Web Distribution of Supplementary course materials ASSESMENT SCHEDULE 1 3 2 4 5 Assignment 1 TEST Series Test 1 Assignment 2 Series Test 2 A1 CT1 S1 A2 S2 Prepared by: JOMS ANTONY. Date : Amal Jyothi College of Engineering Solving Univ.Que. Papers Module 1,2 Module 1,2 Written Assignment Module 3,4,5 W-5 W-4 W- 4 W-1 W-13 Approved by: Ms.Sandhya Ramakrishnan Date : Department of Information Technology
  • 10. Programming in C -AUE 010 305- Course File Jul 2013 – Nov 2013 LECTURE NOTE TEMPLATES Amal Jyothi College of Engineering Department of Information Technology
  • 11. Programming in C -AUE 010 305- Course File Jul 2013 – Nov 2013 LECTURE: 1 Objectives: To provide an introduction about programming and its importance Explanation:  Importance of programming  Human Vs Computer  Free form Vs Syntax  Problems Solving using Computers LECTURE: 2 Objectives: To provide an introduction about flowcharts, algorithms approach for problem solving Explanation:  Problem Solving phases  Flowcharts illustration  Writing Algorithms for the problem at hand eg:prime numbers, sorting etc  Optimized Solutions eg: Binary searching LECTURE: 3 Objectives: To illustrate how to write simple programs and explain data types, variables, constants, keywords Explanation:  Writing simple programs eg: print a messege.  Different basic data types; int,float, char etc  Concept of a variable as a reference box  Explain what are constants LECTURE: 4 Objectives: To explain about various IO functions, escape sequences. Explanation:  Usage of printf(), scanf() statements  Usage of %d,%f,%c,%s, & symbols  Usage of newline(n) and tab(t)  Sample programs Demonstration Amal Jyothi College of Engineering Department of Information Technology
  • 12. Programming in C -AUE 010 305- Course File Jul 2013 – Nov 2013 LECTURE: 5 Objectives: To explain about basic structure of a C-program, pre-processor directives, user defined functions Explanation:  Basic structure of C-programs  Pre-processor directives, comments, symbolic constants  main() function  user defined functions LECTURE: 6 Objectives: To explain about operators and operands, relational & logical operators Explanation:  Concept of operands and operators  Unary, binary, ternary operators  Usage of relational (= =, <, >, !=, <=, >=) and logical(&&, ||, !) operators. LECTURE: 7 Objectives: To explain about Decision control constructs in C Explanation:  Deciosion controls and their usage  Usage of switch, if-else,nested if’s etc  Sample programs LECTURE: 8 Objectives: To explain various operators in C Explanation:  Arithmetic operators  Conditional operators  Logical and Relational operators  Bitwise operators Amal Jyothi College of Engineering Department of Information Technology
  • 13. Programming in C -AUE 010 305- Course File Jul 2013 – Nov 2013 LECTURE: 9 Objectives: To explain about special operators and introduce the concept of pointers Explanation:  Memory referencing operator( &)  De-referencing operator(*)  sizeof() operator LECTURE: 10 Objectives: To introduce and illustrate the concept of loop controls Explanation:  Iteration concepts  Examples to illustrate iteration operations  Different Loop control statements in C while, do-while, for LECTURE: 11 Objectives: To illustrate the usage of loop controls using sample programs and algorithms Explanation:  Syntax and Usage of different loop controls for iteration  Iterative algorithms  Sample programs prime no, reverse of a number, palindrome, greatest, factorial, power etc LECTURE: 12 Objectives: To provide introduction to arrays, strings Explanation:  Introduction to arrays  Scanning, printing the contents of array  Sample programs using arrays LECTURE: 13 Objectives: To illustrate the usage of break and continue statements Amal Jyothi College of Engineering Department of Information Technology
  • 14. Programming in C -AUE 010 305- Course File Jul 2013 – Nov 2013 Explanation:  Usage of break statement inside a loop control  Usage of continue statement inside a loop control  Sample programs LECTURE: 14 Objectives: To illustrate the usage of strings and string handling functions Explanation:  Introduction to string handling  String handling functions and their working  Different string hanling functions like strcmp(), strcat(), strcpy() LECTURE: 15 Objectives: To discuss sorting and searching operations and implement them. Explanation:  Importance of sorting and searching operations.  Different sorting techniques like bubble sort, selection sort, quick sort.  Different searching techniques like linear search and binary search.  Implementation of sorting and searching techniques. LECTURE: 16 Objectives: To introduce the concept of structures, unions and their usage. Explanation:  Importance of structures and their usage  Referencing the elements in a structure  Unions Vs Structures  Nested structures  Sample programs LECTURE: 17 Objectives: To solve sum of the series problems using C Explanation:  Introduction to sum of the series problems  Solving sum of the series problems Amal Jyothi College of Engineering Department of Information Technology
  • 15. Programming in C -AUE 010 305- Course File  Jul 2013 – Nov 2013 Solving for Sine series, Cosine series, e-series LECTURE: 18 Objectives: To illustrate the usage of matrices and the different matrix operations Explanation:  Introduction to matrices  Reading and Writing matrices  Different matrix operations like sum, multiplication, identity, diagonal etc. LECTURE: 19 Objectives: To introduce the concept of functions and modular programming Explanation:  Concept of modular programming and functions  Function declaration, definition and invocation  Usage of functions, sample programs LECTURE: 20 Objectives: To illustrate the usage of functions by passing values, arrays etc Explanation:  Passing values to a function  Return types  Usage of functions, sample programs LECTURE: 21 Objectives: To introduce the concept of recursion and illustrate recursive functions Explanation:  Concept of recursion  Recursive functions  Recursive functions for factorial, power,gcd etc LECTURE: 22 Objectives: To introduce the concept pointers and memory referncing Explanation: Amal Jyothi College of Engineering Department of Information Technology
  • 16. Programming in C -AUE 010 305- Course File      Jul 2013 – Nov 2013 Introduction to pointers Memory referencing and de-referncing Usage of * and & operators Pointer Arithmetic Sample programs LECTURE: 23 Objectives: To introduce the concept pointer to an array and array of pointers Explanation:  Memory referencing for arrays  Meaning of *(a+i) and a[i]  Array of pointers  Sample programs LECTURE: 24 Objectives: To introduce the concept of dynamic memory allocation and its implementation Explanation:  Effective memory utilization  Dynamic memory allocation function malloc(),calloc(),realloc(),free()  Sample programs LECTURE: 25 Objectives: To introduce the concept of linked lists and their usage Explanation:  Linked lists as self referential structures  Types of linked lists singly, doubly,circular etc  Insertion and deletion of nodes in LL LECTURE: 26 Objectives: To introduce the concept of linked lists and their usage Explanation: Amal Jyothi College of Engineering Department of Information Technology
  • 17. Programming in C -AUE 010 305- Course File    Jul 2013 – Nov 2013 Linked lists as self referential structures Types of linked lists singly, doubly,circular etc Insertion and deletion of nodes in LL LECTURE: 27 Objectives: Introduce concept of files and its usage Explanation:  Files, file modes,file functions  Reading from and writing into a file LECTURE: 28 Objectives: To illustrate the usage of files using sample programs Explanation:  Exception/Error handling in files  Sample programs Amal Jyothi College of Engineering Department of Information Technology