smi ages te
Electronics and Telecommunic
ion and Digital Electronics
Program Cade: EJUDEVETIEN/EX
Semester + Second
Course Tithe ogramming Language
Course Code 522218
1. RATIONALE
Automation Industry needs to build Microcontroller based applications which are being
eveloped using. °C’. This course deals with concepis of programming to emhance
programming skis of diploma students. This course will enable the students to inculeate
programming concepts and methodology to solve engineering peoblems.
2. compEreNcy
‘The aim of this couse is to help the student to ate the following industry identified
competency through various teaching leaning experiences
+ Develop ‘C’ programs to solve broad-based electronic engineering related
problems.
3. COURSE OUTCOMES (COs)
‘The theory, practical experiences snd relevant sol sills associated with this course are tobe
taught and implemented, so that the student demonstrates the following industry oriented
COs assneited with the above mentioned competency
Interpret the basic code of C
Ieapement decision making i °C” programming,
‘Use Arrays and sting in °C” programming.
[Use fametions in “C" programs for modular programming approach,
Use pointers to increase efficiency of programs,
Implement basie concept of structure in °C
4. TEACHING AND EXAMINATION SCHEME
[PREC ean] S| Win Nie 1 M[Wa | [Ni | i
TTS Pe fae oop pap aso ae we a
():Under the theory PA, Out of 30 marks, 10 marks are for microsproject assessment 10
faciltote integration of COs and the remaining 20 marks isthe average of 2tets tobe taken
“daring the semester forthe assessment ofthe UOs required for ue atanmsent ofthe COs
Legends: L-Lecture; T—Tutorial/Teacher Guided Theory Practice, P- Pr
ESE - End Semester Examination, PA’- Progressive Assessment,“
Examination
1. COURSE MAP (with sample COs, Ps, UOs, ADOs and opis)
Chayaems nae —
5. This course map iistates an overview of the flow and linkages of the topics at
various levels oF outcomes (details in subseauent sections) to be tained by the
student by the end of the course, in all domains of leaming in terms of the
Indusry/employer denied competency depicted atthe cenge of this map.
Figure 1 - Course Map
6. _ SUGGESTED PRACTICALS/ EXERCISES
‘The practices inthis sector are PrOs (ie. sub-components ofthe COs) to he developed and
assessed in the student forthe attinment ofthe competency
s. Practical Outcomes (POs) Unit | Approx
Xe No Required
1 ]a) Write a program to diplay hexadecimal, decimal Ocal TT @
fomotenseireereng Mae sa evs | | |
hs, x
b) Write algorithm an draw lw chart fo follwing problems
Addition of twa nambers
fi_Exchange value of to variable
‘NRGTE Fil Copy deo TORTT ———age.08s Unie) ABER Prete! Outcomes (POs) van) RR
No No Required | © | Required
7 Wie soar w prs out eos Tt as maa GGT as GSB cs, ml RCTS
(a) Disp the message “Helo Worl ou des dae of Senco, mars >id0 nd mate 20 at valid
bit and emailing i) uncon TGF Writes program to dlr, mod nd pit lemcnisata TT
(b) Logical operations & (AND) | (OR) forgiven values itwie sven dara
operant: (LEFT SHIFT), >> (RIGHT OPERATOR) fo ( Wete propram od bight aks nls
fon vas - sing a
316 Writ onan edly caren ine ae ina ime] Wee nga 8 Spy oT oe ay ae way BHT]
heater fe | fiven da lements
(0) Wit program to play dion of vale of reise R, ¢o) We progam cate nara y reversing te clement of
Wes the iene.
1 Recs “RI +R26RS and | Ta) Writes prog 0 nT a ang wad eg ||
Ropu R) = UREN ina gven ara.
Note Ute math header ie (0) Woke rogram tad wo matics of sie 3°9 or adons
Fa) We a program to calcu aaieve eaanee EJ wTE | | OE inhi ar fr qiven dats ements _|
helpof given formula Fy=2 aL | TERY Wises pou Dat accept sig Hom ea pa iat] 0
Were tare gen da ene |
(t) Write a program to cll cpacve eine (Fe wih he | (&) Writes pos sat apt sing ne compare it with
helpof gen formula Fe= a0) |_| exiting sg -
Were Ge given data Ta) Wee pro pT and CONGR gS a}
Nate Develop above programs sing local aribles, goal | (5) Weiss pogran to findlenghofasting
Sarthe ond orthe operator | 17] Libres Fuses Develop Progra 0 decane wo
5 plement econ ono statements a Cea 1 (9) Use ofall Sri henna factions.
(2) Wate «program to find whether given number ie even oF od
(>) Waite a program to find whether given number is Positive,
©] Write a program to find the Targest among a numbers wing
ese. i
(6) Write program to dete
Implement dstionsontol sutement in C" weg nctedeSle |] OE]
{a)_ Determine whether a string palindrome,
(Use of lew Mathematical functions,
TE (a) Waite a program to add two numbers wing function
(8) Write a peegrem to perform addition, subtrection, w]e om
ruhipliction and division using switch ese statement and user
| __ defined funtion for given data
T3 (a) Write « program to use address operator (@) and pointer vp
‘operator (*) for given data
(6) Weite a program to adi two integer numbers using pointer
(©) Find the areutest ofthe tree numbers sing conditional 2D /) Write a program to calculate te sum of elements of given uray -V | 02
2 pesto sing pointer |
‘S| Write « pogrom to perform addon, sabiaction; muliplion | 1T —02 (b) Write a program to access the aay elements using pointe.
and division according o user's choice using sitch ease ttre BT] (a) Write a program to interchange given values of two variables T
forgiven dais using eal by value mechanism
3 Implement oop sone saiemens in" wang To? Top Te (by Write aprogram to imerchange given values oftwo variables Vo 02
(a) Wee progra te print the able for given no. in one column, cing cal by refbreoce mechanism |
(8) Nea ropam y ou te nunber of er [2 Witea program o exchange given values ofiwo varies wing V OP
TO Trplement loop canal semen mC Te er
(@). Fing Fibonacetseies for given number,
(®) Write a program to produce the following cuput=
2S Create structure DATE using C having members &
and assign intial values to that seu
[24 Wire a program to create a svucture for student Raving data «VIO
members like Roll No, Neme, Clas, marks in tees subjects and
month, year VT) a
Print the Result sheet: Conditions
calcu ate he % of marks,
Total #
SOTE Fin Cop SOTOTOTT reset
NSETE= Fal Copy @ TOOT Page SaF ©A suggestive list of PrOs is given tn the above table. More such PrOs can be added to
fain the COs and competency. A judicial mix of minimum 12 or more practical need 10 be
Deformed. out of which the practical marked ax "are compulsory, 0 thal the steent
reaches the ‘Precision Level’ of Dave's ‘Psychomotor Domain Taxonomy” as generally
revived by the industry
The ‘Process’ ond “Product” reloted skills associoed with each PrO ie to be asceted
acearding 10 a suggested sample given below:
|SNo. | Performance Indicators Weightage
1" Wii algoritin and raw ow chart - 20
]2 Use ‘Csoftware tool for programming to crete, edi, compile the 40
‘C’pmograms/appicaions |
3 Debug, test and execute the prosrans/appications @
44 Able o answer oral questions o
Submission oF report in ime i
‘Total 100
“The shove PrOs also comprise ofthe following social skillsattudes which are Affective
Domain Outeomes (ADOs) thet are best developed through the laborstory/feld based
experiences
Handle command prompt environment
Experiment with C/ C=+ envionment
Plan, constrict, compile, debug and test C programs,
Demonstrate working a a leader tam member.
‘Maintain tools and equipment.
Follow ethical practices
The ADOs are not specific to any one PrO, but are embedded in many PrOs. Hence, the
acquisition of the ADOs takes place gradually inthe student when sfbe undertakes a series of
practical experiences over & period of time. Moreover, the level of achievement of the ADOs
according to Krathwohs ‘Affective Domain Taxonomy’ should pradually increase as planned
below
‘+ Valuing Level in I* year
‘+ ‘Organising Level in2”* year.
+ “Characterising Level” in 3" year.
1. MAJOR EQUIPMENTY INSTRUMENTS REQUIRED
‘The major equipment wih broad specification mentioned here will usher ia uniformity in
Forail
[1 | Hardware: Persone computer
Experiments
onwards
(2 Operating stern: Windows RPAVindows TINO onwards)
137 Sotware: Turbo C, oF
Microsof Visual Sudio 2005 onwards (Options).
UNDERPINNING THEORY COMPONENTS
referable), RAM minimum 2 GB
z
TSBTE~ Fal Copy SOTO Page ST
‘The following topcssubtopic is to be taught
achieving the COs to attain the identified compete
aie Unit Outcomes (COS)
(in cognitive domain)
and assessed in order to develop UOs for
ney!
“Topics and Subtopics
Ta Descrie the given datatype
1b. Construct algorithm, flow chart
forthe given problem,
lc. Use peeinerement and post
increment operators inthe
sien situation,
1. Use bitwise operators inthe
ven situation
IT Sirasure oF C program, Assembler
Linker, Compile, Interpreter |
h.2 -C'charater sevkeywords, identifiers,
\ypes of constants (Integer single
character, string, and real) variables,
Scope of variables, concept of ASC
[5 Date ypes integer unsigned, signed.
long lat oat, double, character
hat, string, ot hexadecimal
14 Algorithm and flow char.
1.5 Formatted inpt and output statements)
Input and output function.
1.6 Operators and expressions:
4 Operators in 'C'> aitmetc, logical
ssignment, relational. increment
and decrement conditional. bit
‘wise, special operators
Expressions
¢. Precedence and associatively,
Ta Wie aC program using De
given decision making strocture
‘or wwo-way branching,
2. Write a°C° program using the
Px1 Decision making i statement GF else
nested ifelse), switch case statement.
b.2 Repetition nC" (loop contre
statement) while, do-hile and for loop, |
1 onthe given ary.
5 Write step to initialization nd
declaration of the given string in
‘C program
Ba. Apply relevant contol satement
on the given stings to
‘manipulate its elements
control” decisionmaking scture for | break and contin Sateret nested
nltovay branching loops |
de. Write °C” program using loop |
statements 9 solve the given
iterative problem,
Dd, Use elated statements to ater
the program flow inthe given
| t00p
ee oe
Array and of given aay 2 Declaration, initialization oF aay,
Strings 36. Write steps to perform operation| accessing elomns ofan ey, adding,
deleing. sorting searchme
353 Introduction ossing initisloing,
declaring and displ of sting
4 Sing handling functions from standard
brary (strlen (. stepy 0), sat 0,
stremp0, srt) strup)}[tae Tit Outomes (UOS) “Topics and Sub-opies
\ Lincoanitive domain)
Unley Use inbuilt factions foe
Funétions "gives problem
180. Develop relevant user defined
Funetions forthe sven problem
“He. Write °C. codes to Pass faction
parameters using the given
approach
‘44. Write recursive fintion forthe
ven problem,
"ST Conceprand need of Tineuons
442 Library functions: Math functions,
String handling unetons, other
svscellaneousfintions,
4.3 Woiting User dened functions, scope of
variables
14 Parameter pas ng: cal by value, call by
reference
5 Recursive funcions
‘Concept oF pater and potter variables, |
Inilization of pointer, call-by-
sefererce,
2 Pointer arith
5 Handling arrays using pointers
4 Handling functons using pointers
Unit-V_— Si Use pointer for address acces
Pointers tw manipulite the given das
Sh Use pointers 0 access memory
Toeations to solve the given
problem,
Se Use pointers for petorming the
given anthmetic operation.
Js Develop a program to access
seray elements using the given
Unie-VT a Crest wsrucure forthe piven @T Iniroduction asd Features and Syria of
Structur | cata structure
es b Develop a program to access 62 Declaration and Initialization of|
clement of stucture using ‘Structures
pointers 63 failing, assessing structre members
se Use the suture for solving the | using pointers
siven problem, (64 Type def, Enumerated Data Type,
1é Use ofenumersted datatype in| using structures in C Program
structure co slve the given (6 Operation on structure
Noe: To atin the COs and competency, afove Used UOs need tobe wndertaten to acieve
‘he “Application Level ond above of Bloom + “Cognite Domain Taxanomy
9, SUGGESTED SPECIFICATION TABLE FOR QUESTION PAPER DESIGN
Tait oie Te Teaching | Disibuton af Theory Mavis
oa Mowe ee de
| Level | Level | Level | Marks
(Co env ofC romamaing wp op oe} ro
TT] Deskion sonata oopconeal 12)“ 82} a} be
Taya Sas
TV Funsions
VY Poiaters
Surtees
ote: This specification table provider general guidelines 10 assist student for their learning
fn 1 teachers 10 teach ond assess students with respect 10 auainment of UO8. The actual
distribution of marks a diffrent taxonony levels (of BU and A) in the question paper may
ver from above tle
This specification able alo provides a general guideline for teachers to frane internal end
semester practical theory exam paper which sadents have to undertake
10, SUGGESTED STLDENT ACTIVITIES.
(Other than the classroom and laboratory’ learning, following ate the suggested sudent-rated
co-curricular acivities wh ch ean be undertaken to aeeelerate the aainmen ofthe various
‘outcomes in tis course:
Prepare journals based or practical performed in fabortory.
Give seminar on relevant rie
Libeary-Book suse regarding °C’ wscd in clecronis industries,
Prepare power poist presentation or animation for showing different iypes of