Syllabus & Course Curriculam
Course Type: MAJ-1
Semester: 1
Course Code: BBCAMAJ01C
Course Title: Programming in C
(L-P-Tu): 4-2-0
Credit: 6
Practical/Theory: Combined
Course Objective: Course Objectives: Introduce the fundamental concepts and principles of C programming language. Develop students' ability to design, implement, and debug C programs. Familiarize students with essential programming constructs, such as variables, control structures, and functions. Provide a foundation for problem-solving and algorithm development through practical programming exercises.
Learning Outcome: Course Outcomes: Demonstrate a comprehensive understanding of the basic syntax, data types, and operators in the C programming language. Apply problem-solving strategies to develop algorithms and implement them as C programs. Analyze and debug C programs to identify and rectify errors, ensuring program correctness and efficiency. Develop proficiency in utilizing fundamental programming constructs, such as loops, conditionals, and functions, to solve real-world problems.
Syllabus:
Unit I: Theory Credit: 4 (L 60)
Introduction: Problem Analysis, need for programming languages, overview of C language, Basic Structure, Character sets, Keywords, Identifiers, Constants, Variables, Data types (Data types – primitive and non-primitive). [L 4]
Operators: Arithmetic, Relational, Logical and Assignment; Increment, Decrement and Conditional, Operator Precedence and Associativity; Expressions, Expression evaluation and type conversion, casts, Formatted input and output. [L 4]
Statements: Assignment, Initialization, Decision making, looping and control structure. [L 5]
Array: One-Dimensional Arrays and Initialization, Two-Dimensional Arrays and Initialization, Accessing array elements, Character Arrays and Initialization, Introduction to Multi-Dimensional Arrays. [L 8]
String and String handling function: String declaration, Initialization and accessing, Array of Strings, String functions. [L 6]
Pointers: Declaration and initialization, accessing variables through pointer, Pointer arithmetic, Pointers and arrays, Dynamic Storage Allocation, Problems with Pointers. [L 5]
Functions: General form of a Function, Function Declaration and Definition, Function Arguments (Call by Value and Call by Reference), Arguments to main() (argc and argv), Returning from a Function, Functions Returning Values and their types, Function Returning Pointers, Functions of Type void, Declaring Variable-Length Parameter Lists, Passing pointer to function, Passing One-Dimensional Arrays to Functions, Passing Two-Dimensional Arrays to Functions, Recursion, Library Functions. [L 10]
Derived Data Types (Structures and Unions): Basics of Structures, Accessing Structure Members, Structure Assignments, Array of Structures, Pointers to Structures, Passing Structures to Functions, Nested Structures, Self-Referential Structures, Bit-Fields, Unions, typedef. [L 8]
Memory Allocation in C: Static and Dynamic Memory Allocation, C’s Dynamic Allocation Functions (malloc(), calloc(), free()). [L 6]
File I/O and Pre-processor Directives: Opening and Closing a File, Reading and Writing Text Files, Random Access in Files, Pre-processor Directives, Macros. [L 4]
Unit II: Computer Programming and Numerical Methods Lab (Using C) Credit: 2 (L 60)
Reading References:
Basic Features
Undergraduate degree programmes of either 3 or 4-year duration, with multiple entry and exit points and re-entry options, with appropriate certifications such as:
Note: The eligibility condition of doing the UG degree (Honours with Research) is- minimum75% marks to be obtained in the first six semesters.
Powered By CityHub web solution