2.4 Introduction to UNIX and C Programming
First Year
Part III Group A Second
Semester Subject Code :
Unit – 1
Overview of Unix Operating System
– Unix file system – working with files, file permissions, file security and
directories – vi editor.
Unit – 2
Introduction and C Fundamentals: Introduction to
computer – Type of programming languages – Introduction to C – The C character
set – Identifiers and Keywords – Data types – constants – Variables –
Declarations – Expression – Various types of operators. Data Input, Output and
Control Statements: Preliminaries – Single character Input and Output –
Entering Input data – Writing output data – The gets and puts functions –
Branching Looping – Nested control structures – Switch – Break – Continue –
Goto.
Unit – 3
Function :Overview – Defining a function – Accessing
a function – function prototypes – passing arguments to a function – Recursion
– Library function – Macros – The C processor. Program Structure : Storage
classes – Automatic variables – Global variables – static variables – Multiple
programming – Bitwise operation.
Unit – 4
Arrays: Defining and processing Array – passing
arrays to function – Multidimensional arrays – Arrays and strings. Pointers : Fundamentals
– Declaration – passing pointers to function – Usage in one Dimensional and
Multi Dimensional arrays – Dynamic memory allocation – operations and pointers
– Arrays of pointers – passing functions to other functions.
Unit – 5
Structures and Unions : Defining a structure –
Procession a Structure – Structures and pointers – passing structures to
functions – self referential structures – Bit fields – unions – enumerations -
Opening and closing a Data file – creating a Data file – processing a Data file
– unformatted Data file – command line parameters.
TEXT BOOK:
1. Unix Concepts and Applications –
S.Das, TMH, II Edition – 1998.
2. E.Balagurusamy, “ Programming in
ANSI C ”, Edition 2.1, Tata McGraw Hill
Publishing Company, 2002.
No comments:
Post a Comment