0% found this document useful (0 votes)
184 views

Programming in C

Pdf

Uploaded by

shubhamtaksal534
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
184 views

Programming in C

Pdf

Uploaded by

shubhamtaksal534
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 8
‘23, 12:94 AM £112303-PROGRAMMING IN C PROGRAMMING IN C Course Code : 312303 : Artificial Intelligence’ Artificial Intelligence and Machine Learning/ Cloud Computing and Big Data/ Computer Technology/ Programme Name/s Computer Engincering/ Computer Science & Engincering/ Data Sciences/ Computer Hardware & Maintenance/ Information Technology/ Computer Sei Programme Code _ : Al/ AN/ BD/ CM/ CO/ CW/ DS/ HA/ LF/ 1H nce & Information 1 .chnology Semester : Second Course Title : PROGRAMMING IN C Course Code 312303 L_ RATIONALE *C’ programming language helps to build a strong foundation for computer programming. This course will help to solve beginner level problems such as mathematical operations, string processing, data structure and data structure related processing, with the help of basic concepts, program strueture, and principles of C. This course is basically designed to create a base to develop foundation skills of procedure - oriented programming. Il. INDUSTRY / EMPLOYER EXPECTED OUTCOME The aim of this course is to help the students to attain the following industry identified outcome through various teaching learning experiences: Develop ‘C’ programs that address issues with processing strings, mathematic operations, and data structures. III, COURSE LEVEL LEARNING OUTCOMES (COS) Students will be able to achieve & demonstrate the following COs on completion of course based leaning COI - Develop C program using input - output functions and arithmetic expressions C02 - Develop C program involving branching and looping statements 93 - Implement Arrays and structures using C programs C04 - Develop C program using user-defined functions, + COS - Write C program using pointer IV. TEACHING-LEARNING & ASSESSMENT SCHEME, T [Learning Scheme | ‘Assessment Scheme Actal Contact Base op LES Ia aed on Course}, tite {Abbe Course |Hrs/Week| credit ery “ SL votat Coae ester suave 8 Pape Fractal rea cuca Tort [rare [sare | sia [Max Max] Max] in| Max] Vin) Vax] vii | Max Min| fisosROGRANBENG .c! ano al -af2 [io] s 3 _| 07 [roo] a0] 30 | 20 s08| 20 | 25 | 10 22s ‘Semester - 2, K Scheme nitps:services msbte.eduinischeme._dgipafdownloadldownload_ératt 18 ‘23, 12:94 AM £112303-PROGRAMMING IN C PROGRAMMING IN C Course Code : 312303, Total IKS Hrs for Sem, : 0 Hrs Abbreviations: CL- ClassRoom Learning , TL- Tutorial Learning, LL-Laboratory Learning, SLH-Self Learning Hours, NLH-Notional Learning Hours, FA - Formative Assessment, SA -Summative assessment, IKS - Indian Knowledge System, SLA - Self Leaning Assessment Legends: @ Internal Assessment, # External Assessment, *# On Line Examination , @$ Internal Online Examination Note 1, FA-TH represents average of two class tests of 30 marks each conducted during the semester. 2. If candidate is not securing minimum passing marks in FA-PR of any course then the candidate shall be declared as "Detained’ in that semester. If candidate is not securing minimum passing marks in SLA of any course then the candidate shall be declared as fail and will have to repeat and resubmit SLA work. Notional Learning hours for the semester are (CL+LL+TL+SL)hrs.* 15 Weeks 1 credit is equivalent to 30 Notional hrs. * Self learning hours shall not be reflected in the Time Table. * Self leaming includes micro project / assignment / other activities. V. THEORY LEARNI (G OUTCOMES AND ALIGNED COURSE CONTENT lcenvol Theory Learning Outcomes | Learning content mapped with Theory Learning Sai No) (TLO's)aligned to CO's. Outcomes (TLO's) and CO's. arming Pedagogies. Unit - I Basies of ©’ Programming 1.1 Fundamentals of algorithms: Notion of eae eee ares igertne fOr | aigorithm. Notations used for assignment statements FLO 12 Identify the siven and basic control structures. building blocks of a C Program. | '2 Introduction to ‘C’: General stroture of * C TLO TS Use basieconstucts | PTET, Header file ‘main 0 funetion 1.3 Fundamental constructs of *C’ : Character set, like constants,variables data Chalk-Board tokens, keywords, Identifiers, Constants - number 1 | types for developing C program, Demonstration ‘ me constants, character constants, string constants, ' TLO 1.4 Write C programs : stay Hands-on using print?) and scent) ‘Variables, Data types in °C’. Declaring variables, famations data type conversion TLOLS Write C programs | /4 Basie Input and Output funetions: input and sing arithettftcee toes output statements using printf), scanf() functions binee et 1.5 Assignments and expressions: simple assignment Ps statements, arithmetic operators, shift operators, bitwise operators, sizeof operator Unit - If Control structures TLO 2.1 Explain the syntax of | 2.1 Conditional statements: Relational operators, various conditional statements | logical operators, if statement, if-else statements, 3 with an example. nested if-else statements, if-else ladder, switch Ck Boa 2 | TLO 2.2 Write the syntax of | statement Presenta Iterative statements, 2.2 Looping statements : 2.1 While loop, Do. Hands-on TLO 2.3 Explain goto,break and| While loop , For loop, continue statement. 2.3 Branching Statements: goto statement, Use of bbreak and continue statements ‘Semester - 2, K Scheme nitps:services msbte.eduinischeme._dgipafdownloadldownload_ératt ‘23, 12:94 AM £112303-PROGRAMMING IN C PROGRAMMING IN C Course Code : 312303 lsr:No| Theory Learning Outcomes | Learning content mapped with Theory Learning een (TLO's)aligned to CO's. Outcomes (TLO's) and CO’ Pedagogies. TLO 3.1 Explain the characteristies of an Array. Unit - III Arrays and structure TLO 3.2 Enlist the types of | 3.1 Characteristics of an array, One dimension and Arrays. two dimensional arrays, concept of multi- TLO 3.3 Write C Program to | dimensional arrays he perform operations on one 3.2 Array declaration and Initialization Chalk-Board ; Demonstration dimensional array. 3.3 Operations on Arrays Tan TLO 3.4 Declare initialize and | 3.4 Character and String input/output and String Vide o access elements of two related operations reo dimensional array. 3.5 Introduction and Features of Structures, Demonstrations TLO 3.5 Declare ,inititize and | Declaration and Initialization of Structures, array of access data using Structure. | structures TLO 3.6 Explain typedef and | 3.6 Type def, Enumerated Data Type enum Unit - IV Functions nee : wee 4.1 Concept and need of functions TLO42 Wits © roma 4.2 Library functions: Math functions, Sting handling functions, other miscellaneous functions involving C library functions. | such ag getchar(), putchar(), malloc(), callocO) TLO 4.3 Write user defined — | $448 2 a . . Chatk-Board fumctions for given problem in C program. TLO 4.4 Write C Program for calling function by ‘value’ and calling function by ‘reference’ TLO 4.5 Implement recursive functions in € Program, 4.3 Writing User defined functions - function definition, functions declaration, function call, scope of variables - local variables, global variables 4.4 Function parameters: Parameter passing- call by value & call by reference, Function Return Values Function Return Types ,Declaring Function Return ‘Types, The return Statement 4.5 Recursive functions Demonstration Presentations Hands-on TLO 5.1 Declare and Define Pointer Variable. TLO 5.2 Write C program to print the address and values of pointer variables, TLO 5.3 Write C program to perform arithmetic operations 5 | using pointers ‘TLO 5.4 Write C Program to perform operations on Arrays using Pointers. ‘TLO 5.5 Explain string related operations using pointer. TLO 5.6 Describe the concept of structure using Pointer. Unit - V Pointers 5.1 Introduction to Pointers : Definition, use of pointers, ‘*” and *&' operators, declaring, initializing, accessing pointers 5.2 Pointer arithmetic 5.3 Pointer to array 5.4 Pointer and Text string 5.5 Function handling using pointers 5.6 Pointers to Structure Demonstration Chalk-Board Presentations Hands-on VI. LABORATORY LEARNING OUTCOME AND ALIGNED PRACTICAL / TUTORIAL EXPERIENCE! Practical / Tutorial / Laboratory Learning Outcome (LLO) Sr No} Laboratory Experiment / Practical Titles / Tutorial Titles Number |Relevant ofhrs. | COs ‘Semester - 2, K Scheme nitps:services msbte.eduinischeme._dgipafdownloadldownload_ératt 3 ‘23, 12:94 AM PROGRAMMING IN C £112303-PROGRAMMING IN C Course Code : 312303, Practical / Tutorial / any problem using If statements. statement and if..else statement. L ‘ Sr| Laboratory Experiment / Practical Titles / Tutorial | Number |Relevant aboratory Learning |No| Titles ofhrs. | COs ‘Outcome (LLO) "ie TLO 1.1 Write logical steps Tor given program flow Frat maven fee 1 | * Write algorithm for given problem statement. 2 col programming flow of given problem statement LLO 2.1 Write Simple C program using constant and Hees se thearithmetic | 2_| Implement C programs using Constants and Variables 2 col operators for developing C Program TLO 3.1 Use Arithmetic * Implement C programs using arithmetic operators to 3 2 col operators in C Program solve given arithmetic operations LLO 4.1 Write code for type | | Implement C programs using implicit and Explicit data | col casting in C type conversion : Write well commented C programs using formatted Input/Output statements. LLO 5.1 Write C code for g. Sample Output: displaying formatted output | 5 | Kame [FName MName Lname 4 | cor applicable. [Roll No Percentage Date of Birth IDDIMMIVYYY [Branch, College IXXXXXXXXXXXAX TLO 6.1 Use Relational and logical operators in C to solve given problem * : ‘ tt 0 o5 Write C program ¢.| *]mplement minimum two C programs using > col Relational and conditional operator. co2 using Relational and logical operators for solving given problem LLO 7.1 Use logical operators | > | * Implement minimum two C programs using Logical > Cor in given expressions Operators 2 co2 110 6.1 Write expressions Implement minimum two C programs using Bitwise cor using bitwise operators in| 8 J vPlemen 2 Cop given problem statement perators LLO 9.1 Write the syntax for various if statements implemelf c elt [LO 9.2 Write C program for | 9 | Implement minimum two C programs using simple 4 cor ‘Semester - 2, K Scheme nitps:services msbte.eduinischeme._dgipafdownloadldownload_ératt 48 ‘23, 12:94 AM PROGRAMMING IN C £112303-PROGRAMMING IN C Course Code : 312303, Practical / Tutorial / implementation of one dimensional array. and display sum of it) ; Sr] Laboratory Experiment / Practical Titles / Tutorial | Number | Relevant Laboratory Learning INo| Titles ofhrs. | COs Outcome (LO) ; - |e * Implement minimum two C programs using nested IF «else statement and if. elseif ladder e.g Write and Execute the C program to print the grades of students based on percentage. « syntax of Grade: Distinction If per>=75 11.0 10. wie syntax off. 4p a | coo else statements Grade: A If per>=60 and Per<75, Grade: B Ifper>=55 and Per<60 Grade: Pass If per>=40 and Per<55 Grade-Fail ifper<40 TLO TIA Write syntax of Switch statement to solving | 11 | * Develop C program using Switch staements 2 coz given problem * Write a © program to print English Calendar months LLO 12.1 Write C program 119) as per given number(eg: If input is 4 then print 2 coz using Switch statement. as pes giver “April”) using Switch statement TLO 13.1 Implementiterative | fay “while lation to problem ueieg Sf 3] * lmptement minimum two C programs using while a | coo Joop and 'do...while' loop statements. while and do - - while loop LLO 14.1 Write the syntax for sateen Implement C for loop statement col LEO 142 Waite C code for | 14] Implement C programs using for loop statement (eg- | > : ’ ° Write a C Program to print numbers from 1 to 100) co2 solving given problem using for loop, * Print various patterns using loops. eg. - Write C Program to print following or similar patter LLO 15.1 Write syntax for * while and do .. while loop LLO 15.2 Write syntax for'for'| !5] + * 2 02 loop TLO 16.1 Declare and initialize the Array. * Implement C programs using One Dimensional Array. coz LLO 16.2 Write C program for] 16 (e.g.-Write C program to input § numbers using array | 2 ce ‘Semester - 2, K Scheme nitps:services msbte.eduinischeme._dgipafdownloadldownload_ératt 5 ‘23, 12:94 AM £112303-PROGRAMMING IN C PROGRAMMING IN C Course Code : 312303, Practical / Tutorial / Laboratory Learning ‘Outcome (LLO) TLO 17.1 Declare and initialize two dimensional Array. LLO 17.2 Write C program for! implementation of two dimensional array LLO 18.1 Declare character array as Strings in C * Write C program to perform following operations LLO 18.2 Write C programs without using standard string functions. i) Caleulate Sr| Laboratory Experiment / Practical Titles / Tutorial | Number |Relevant No Titles ofhrs. | COs * Implement C programs using Two Dimensional 17| Array. (e.g.-Write C program to calculate addition of 4 cos two 3X3 matrices.) for print string operations —_| '8| Length of given string 2 C03 without using string handling | | ii) Print reverse of given string funetions TLO 19.1 Declare define and |g] Implement Stucture’in C(eg.-Addand Substact | 4 | cog access structure variables complex numbers using structure) TLO 20.1 Write C programs [5] * Implement “Array of Stucture’in C(eg-Acceptand] | coy using Array of Structure Display 10 Employee information using structure) "08 LO 21.1 Use builtin library |, | * Develop C program using in-built mathematical functions in C programs 21) and string functions, 2 cos LLO 22.1 Write C programs * Write C program to demonstrate User defined 5 2 4 | cos using user defined functions Functions LLO 25.1 Write Recursive 951 jimplement recursive functions in C program, 2 cos functions in C. LLO 24.1 Declare and initialize pointer variables LLO 24.2 Write C program to access variables using pointers, LLO 25.1 Perform arithmetic |, * Implement C Programs to perform arithmetic > operations using pointers, operations using Pointer. Note : out of above suggestive LLOs - * Write € Program to print addresses and values of 24| variables using Pointer. (¢.g- Write C program to access] 2 cos and display address of variables.) cos * Minimum 12 for 2 LL Hrs./Week or 24 for 4 LL hrs./Week are to be Performed. + '* Marked Practicals (LLOs) Are mandatory ‘+ Judicial mix of LLOs are to be performed to complete minimum requirement of 12 / 24 as applicable VI. SUGGESTED MICRO PROJECT / ASSIGNMENT/ ACTIVITIES FOR SPECI SKILLS DEVELOPMENT (SELF LEARNING) Self learning + Following are some suggestive self-learning topics or any relevant topics suggested by the Teacher: + Complete any one course related to Programming in C on Infosys Springboard Micro project + The micro project has to be Industry Application Based, Internet-based, Workshop-| Field-based as suggested by Teacher ased, Laboratory-based or ‘Semester - 2, K Scheme nitps:services msbte.eduinischeme._dgipafdownloadldownload_ératt 68 ‘yan, 2:34AM 112803-PROGRAMMING INC PROGRAMMING IN C Course Code : 312303 + 1, Prepare a simple calculator to perform mathematical operations. Accept values and operations to be performed from user. Allow only numeric values else show appropriate messages to user. 2. Prepare menu driven program for Invoice management system. Accept user inputs and generate receipt and calculate amounts as per purchased items. 3. Develop employee leave management system to display leave related information of employee. 4, Develop food menu card for restaurant. Display food items. Accept food menu, quantity and generate bill for the same. 5. Develop a menu-driven program to perform matrix operations - matrix addition, matrix multiplication, transpose of matrix Assignment + 1, Prepare a journal for given practical’s 2. Prepare a report of microproject VIII. LABORATORY EQUIPMENT / INSTRUMENTS / TOOLS / SOFTWARE REQUIRED Sr.No] Equipment Name with Broad Specifications Relevant LLO Number | 1 Computer system - (Any computer system with basie configuration) ‘All 2°’ Compiler (Any) IX, SUGGESTED WEIGHTAGE TO LEARNING EFFORTS & ASSESSMENT PURPOSE (Specification Table) [SrNo[Uni Unit Title [Aligned COs|Learning Hours |R-Level]U-Levell A-Level] Total Marks 1 | 1 [Basics of C Programming | COT 10 la 4 4 12 2_ [1 | Control structures COICO 14 ik 4 8 16 3 [it | Arrays and structure ‘cos 14 lk 4 8 16 4_ [AV | Functions Coa 14 2 6 6 14 3_[V [Pointers COs; 12 lk 4 4 12 Grand Total 64 is [22 | 30 70 X. ASSESSMENT METHODOLOGIES/TOOLS Formative assessment (Assessment for Learning) + Continuous assessment based on process and product related performance indicators + Each practical will be assessed considering 60% weightage to process 40% weightage to product Summative Assessment (Assessment of Learning) ‘+ End semester examination, Lab performance, Viva voce XI. SUGGESTED COS - POS MATRIX FORM. ‘Semester - 2, K Scheme nitps:services msbte.eduinischeme._dgipafdownloadldownload_ératt 78 ‘23, 12:94 AM £112303-PROGRAMMING IN C PROGRAMMING IN C Course Code 312303 Programme Specific Programme Outcomes (POs) ogee (S08) Course POs lOutcomes|P0-1 Basic Engineering P0-3 n PO-7 (COs) ) and | PO2 | Designs | PO4 [Practices for po ¢ project] Life |PSO-[PSO-PSO- Discipline [Problemy Engineering iscip! ™ Development| "= Management| Long | 1 | 2 | 3 Specific Analysis! oe sotutions | Tals y lLearnin IKnowledge| “ 8 Environment Col 2 2 2 2 1 i z C02 2 2 2 2 1 H 2 CO3 2 2 z 3 1 1 3 Coa 2 2 2 3 1 1 3 (Cos 2 2 2 3 1 i 3 Legends :- High:03, Medium:02,Low:01, No Mapping: = *PSOs are to be formulated at institute level XI. SUGGESTED LEARNING MATERIALS / BOOKS SrNo ‘Author Title Publisher with ISBN Number 1_[E, Balaguruswamy Programming in ANSI “C"] Megraw Hill Publications ISBN 0070534772 2_| Yashwant Kanetkar Let us °C” BPB Publication ISBN 9788183331630 3_| David Griffiths, Dawn Griffiths | Head First C ‘OReilly Media, Inc. ISBN: 9781449345013 XII, LEARNING WEBSITES & PORTALS [SraNo Link / Portal Description 1_| hiips:7inptel.ac.in/eourses/106104128 C Programming 2 | https:/isommers github io/ebook/controlbuml Contos, Tow conol serena 3_| huips:7hwwwleam-c orglen/Functions Functions {| htps:7oeww simplilearn.com/utorialyetutorial/pomnE-| po story Semester - 2, K Scheme nitps:services msbte.eduinischeme._dgipafdownloadldownload_ératt ae

You might also like