PDF Google Drive Downloader v1.1


Báo lỗi sự cố

Nội dung text CMP 118 Programming in C.pdf


2.4 Constants and Variables 2.4.1 Introduction to Constants and Variables 2.4.2 Variable Declaration 2.4.3 Variable types 2.5 Datatypes 2.6 Operator 2.6.1 Types 2.6.2 Precedence and associativity of operators 2.7 Formatted and Unformatted I/O functions 2.8 Comments- Single line and Block Unit-3 Control Statements 8 hours  Describing the role of control statement with its types 3.1 Clean code practices 3.2 Sequential control Statement 3.3 Selection Control Statement 3.3.1 Decision-making with if-else statements (if, if-else, else if) 3.3.2 Nested if 3.3.3 Conditional Operator 3.3.4 Switch statement for multi-choice decisions 3.4 Iteration control Statement 3.4.1 Looping with for, while and do-while loops 3.4.2 Nested Loop 3.5 Jump Statements 3.6 Best practices for writing structured code. Unit-4 Arrays and Strings 10 hours  Describe the arrays and their declaration, accessing and manipulation in C  Introduce the strings and string manipulation functions  Explain the role of multi-dimensional arrays and its implementation 4.1 Introduction to arrays and their declaration 4.2 Accessing array elements and array indexing 4.3 Manipulating array elements 4.4 Multi-dimensional arrays 4.5 Working with strings and string manipulation functions Unit-5 Functions 7 hours  Describing the basics of functions declaration, definition, calling and returning  Compare the pass by value and pass by address  Explain the role of recursion and pass arrays/strings to functions 5.1 Introduction to function 5.1.1 Types of function (Library and User defined) 5.2 Declaration, definition, and calling 5.3 Function arguments and return values 5.4 Function prototypes: 5.4.1 No Arguments and No return values 5.4.2 Arguments but No return Values 5.4.3 Arguments with return values 5.4.4 No arguments but return a value 5.5 Recursive function. 5.6 Iteration versus recursion 5.7 Passing arrays and strings to functions Unit-6 Structure and Union 4 hours  Describe the user defined data types  Compare features and function of Structure and Unions  Introduce code modularity and maintainability, reusability and reduce 6.1 Introduction to Structure and Union 6.2 Declaration, accessing members, initialization, size. 6.3 Nested structures 6.4 Arrays of structures
5. Laboratory and Assignments The instructor should design laboratory and assignments by taking into consideration the necessary knowledge, technological aspects, practicality, and current trends related to the topic. The assignment guidelines should cater to the average students while also providing the opportunity to engage and challenge the more advanced ones. It is advisable for the instructor to create multiple sets of assignments and distribute them among different groups of students. It is also preferable that the assignments are based on real-world problems or applications. Students should be encouraged to utilize Hungarian notation, practice proper indentation, and include comments in their code. Furthermore, the instructor can assign a mini-project that showcases the application of the learned concepts in a real-life scenario. Additionally, they may assign an assignment or mini-project that aligns with the respective branch of study, going beyond the syllabus. 6. Evaluation System and Students’ Responsibilities Evaluation System The internal evaluation of a student may consist of assignments, attendance, term-exams, lab reports and projects etc. The tabular presentation of the internal evaluation is as follows: Internal Evaluation Weight Marks External Evaluation Marks Theory 30 Semester End 50 Attendance & Class Participation 10% Assignments 20% Presentations/Quizzes 10% Internal Assessment 60% Practical 20 Attendance & Class Participation 10% Lab Report/Project Report 20% Practical Exam/Project Work 40% Viva 30% Total Internal 50 Full Marks: 50 + 50 = 100 complexity. 6.5 Passing structures to functions, returning structures from functions. 6.6 Difference between structure and union Unit-7 Pointers 3 hours  Describe the role of pointers with its operator.  Introduce dereferencing and access memory location  Explain the role of pointer arithmetic  Compare the features and functions for dynamic memory allocation 7.1 Introduction to pointers and pointer declaration 7.2 Dereferencing pointers and accessing memory locations. 7.3 Returning multiple values using pointers 7.4 Pointer arithmetic’s 7.5 Pointers and arrays. 7.6 Pointers to structures 7.7 Pointer as a function argument 7.8 Dynamic Memory Allocation Unit-8 File Handling 6 hours  Discuss the role of file and file handling in C with its modes and functions 8.1 Opening, reading, writing, and closing files using different techniques 8.2 Sequential and random access to files 8.3 Error handling and file input/output operations 8.4 File handling best practices
Students’ Responsibilities Each student must secure at least 45% marks separately in internal assessment and practical evaluation with 80% attendance in the class in order to appear in the Semester End Examination. Failing to get such score will be given NOT QUALIFIED (NQ) to appear the Semester-End Examinations. Students are advised to attend all the classes, formal exam, test, etc. and complete all the assignments within the specified time period. Students are required to complete all the requirements defined for the completion of the course. 7. Reference Books: 1. S.K. Srivastava and Deepali Srivastava: C in Depth 2. Kely and Pohl: A book on C 3. Wait, Mitchell, Steven Prata and Donald Martin: C primer Plus 4. Yeswant Kanetkar: Let us C

Tài liệu liên quan

x
Báo cáo lỗi download
Nội dung báo cáo



Chất lượng file Download bị lỗi:
Họ tên:
Email:
Bình luận
Trong quá trình tải gặp lỗi, sự cố,.. hoặc có thắc mắc gì vui lòng để lại bình luận dưới đây. Xin cảm ơn.