PHYSICS FOR INFORMATION SCIENCE

480 335

Regulation 2021

ISBN978-81-1943263-9

UNIT I BASICS OF C PROGRAMMING

Introduction to programming paradigms – Applications of C Language – Structure of C program – C programming: Data Types – Constants – Enumeration Constants – Keywords – Operators: Precedence and Associativity – Expressions – Input/Output statements, Assignment statements – Decision making statements – Switch statement – Looping statements – Preprocessor directives – Compilation process

UNIT II ARRAYS AND STRINGS

Introduction to Arrays: Declaration, Initialization – One dimensional array –Two dimensional arrays – String operations: length, compare, concatenate, copy – Selection sort, linear and binary search.

UNIT III FUNCTIONS AND POINTERS

Modular programming – Function prototype, function definition, function call, Built-in functions (string functions, math functions) – Recursion, Binary Search using recursive functions –Pointers – Pointer operators – Pointer arithmetic – Arrays and pointers – Array of pointers – Parameter passing: Pass by value, Pass by reference.

UNIT IV STRUCTURES AND UNION

Structure – Nested structures – Pointer and Structures – Array of structures – Self referential structures – Dynamic memory allocation – Singly linked list – typedef – Union – Storage classes and Visibility.

UNIT V FILE PROCESSING

Files – Types of file processing: Sequential access, Random access – Sequential access file – Random access file – Command line arguments.

Reviews

There are no reviews yet.

Be the first to review “PHYSICS FOR INFORMATION SCIENCE”

Your email address will not be published. Required fields are marked *