Sunteți pe pagina 1din 9

Session 1

Session Name: Swap function using pointers Author Name: Prof. Dinesh .D.Patil Department: Computer Science & Engineering Subject/Course: C Programming/SE Comp Cell Number: < 9561294444>

Your Picture Here

Session Objectives
At the end of this session, the learner will be able to:

Understand what is swapping Know the necessity of pointers in swapping Develop the swapping program Teaching Learning Material White Board and Markers

Topic Name: C Program for Swapping of two Numbers Page 2 Author Name: Prof. D.D.Patil College Name: S.S.G.B.C.O.E & T,Bhusawal

Session Plan
Time (in min) Content Learning Aid and Methodology Faculty Approach Typical Student Activity Learning Outcomes (Blooms + Gardeners) Understand Inter Personal Spatial Linguistic Logical Remember Interpersonal Linguistic Logical Understand Logical Visual Linguistic Apply Logical Linguistic Remembering Logical

15

Concept of Swapping

Role Play / Show Video of Role Play

Debrief & Facilitates

Participate

10

Compilation process w. r. t. swapping Swap Function With and without pointer Swap Function With and without pointer Conclusion of Swapping

Group Task

Gives Task & guides

Discuss in group and present

10

Demonstration

Shows demo of program

observe

20

Assignment

Gives assignment & Guides Gives List of keywords

Develops program

Keywords

Explain the keywords

Topic Name: C Program for Swapping of two Numbers Page 3 Author Name: Prof. D.D.Patil College Name: S.S.G.B.C.O.E & T,Bhusawal

Session Inputs
<

Swap function using pointers>


< All the book material related to c language programming>

Suggested Activity: Role Play I have assign different task for 9 students, every student execute their own task in the program Sequence. The video for the role play is attached.

Suggested Activity: Role Play I have assign different task for 9 students, every student execute their own task in the program Sequence. The video for the role play is attached.

Suggested Activity: Role Play I have assign different task for 9 students, every student execute their own task in the program Sequence. The video for the role play is attached.

Topic Name: C Program for Swapping of two Numbers Page 4 Author Name: Prof. D.D.Patil College Name: S.S.G.B.C.O.E & T,Bhusawal

Suggested Activity: Role Play I have assign different task for 9 students, every student execute their own task in the program Sequence. The video for the role play is attached.

Suggested Activity: Role Play I have assign different task for 9 students, every student execute their own task in the program Sequence. The video for the role play is attached.

< how swapping can be done using pointer ,in swapping a program initial value of variable is interchange using third variable >

<Swapping of two number>

Topic Name: C Program for Swapping of two Numbers Page 5 Author Name: Prof. D.D.Patil College Name: S.S.G.B.C.O.E & T,Bhusawal

Topic Name: C Program for Swapping of two Numbers Page 6 Author Name: Prof. D.D.Patil College Name: S.S.G.B.C.O.E & T,Bhusawal

Summary
In this session, we learnt to: How the c program is execute. Use of pointer Role of Complier Sequence of execution of program .

Topic Name: C Program for Swapping of two Numbers Page 7 Author Name: Prof. D.D.Patil College Name: S.S.G.B.C.O.E & T,Bhusawal

Assignment
1. Write a program for swapping of two numbers using arithmetic operator.

Topic Name: C Program for Swapping of two Numbers Page 8 Author Name: Prof. D.D.Patil College Name: S.S.G.B.C.O.E & T,Bhusawal

References
Let us C by yashwant Kanetker.BPB Publication
C through by G.S.Buluja, Dhapat rai & co.

Topic Name: C Program for Swapping of two Numbers Page 9 Author Name: Prof. D.D.Patil College Name: S.S.G.B.C.O.E & T,Bhusawal

S-ar putea să vă placă și