### New Update

6/recent/ticker-posts

# OCS752 Introduction to C Programming Syllabus Notes Question Banks with answers

## OCS752 Introduction to C Programming Syllabus Notes Question Paper Question Banks with answers Anna University

#### Anna University Introduction to C Programming Syllabus Notes Question Bank Question Papers Regulation 2017

Anna University OCS752 Introduction to C Programming Notes are provided below. OCS752 Notes all 5 units notes are uploaded here. here OCS752 Introduction to C Programming notes download link is provided and students can download the OCS752 Notes and can make use of it.

#### OCS752 Introduction to C Programming Syllabus Regulation 2017

UNIT I INTRODUCTION
Structure of C program – Basics: Data Types – Constants –Variables - Keywords – Operators: Precedence and Associativity - Expressions - Input/Output statements, Assignment statements – Decision-making statements - Switch statement - Looping statements – Pre-processor directives - Compilation process – Exercise Programs: Check whether the required amount can be withdrawn based on the available amount – Menu-driven program to find the area of different shapes – Find the sum of even numbers
Text Book: Reema Thareja (Chapters 2,3)
UNIT II ARRAYS
Introduction to Arrays – One dimensional arrays: Declaration – Initialization - Accessing elements – Operations: Traversal, Insertion, Deletion, Searching - Two dimensional arrays: Declaration – Initialization - Accessing elements – Operations: Read – Print – Sum – Transpose – Exercise Programs: Print the number of positive and negative values present in the array – Sort the numbers using bubble sort - Find whether the given is matrix is diagonal or not.
Text Book: Reema Thareja (Chapters 5)
UNIT III STRINGS
Introduction to Strings - Reading and writing a string - String operations (without using built-in string functions): Length – Compare – Concatenate – Copy – Reverse – Substring – Insertion – Indexing – Deletion – Replacement – Array of strings – Introduction to Pointers – Pointer operators – Pointer arithmetic - Exercise programs: To find the frequency of a character in a string - To find the number of vowels, consonants and white spaces in a given text - Sorting the names.
Text Book: Reema Thareja (Chapters 6 & 7)
UNIT IV FUNCTIONS
Introduction to Functions – Types: User-defined and built-in functions - Function prototype - Function definition - Function call - Parameter passing: Pass by value - Pass by reference - Built-in functions (string functions) – Recursive functions – Exercise programs: Calculate the total amount of power consumed by ‘n’ devices (passing an array to a function) – Menu-driven program to count the numbers which are divisible by 3, 5 and by both (passing an array to a function) – Replace the punctuations from a given sentence by the space character (passing an array to a function)
Text Book: Reema Thareja (Chapters 4)
UNIT V STRUCTURES
Introduction to structures – Declaration – Initialization – Accessing the members – Nested Structures – Array of Structures – Structures and functions – Passing an entire structure – Exercise programs: Compute the age of a person using structure and functions (passing a structure to a function) – Compute the number of days an employee came late to the office by considering his arrival time for 30 days (Use array of structures and functions)
Text Book: Reema Thareja (Chapters 8)
Anna University internal Marks Out of 20 check here
Search by students
OCS752 Introduction to C Programming Regulation 2017 notes
Anna university UG Notes
Anna University Regulation 2017 Notes Syllabus
Regulation 2017 Syllabus Notes Anna University
OCS752 Introduction to C Programming Notes Syllabus
OCS752 Introduction to C Programming Notes
OCS752 Introduction to C Programming Syllabus
OCS752 Introduction to C Programming Question papers
OCS752 Introduction to C Programming Question Bank