Symbiosis International University Symbiosis School for Liberal Arts

Programming concepts and ā€˜Cā€™ Language

 Brief Overview 

C is one of the most widely used programming languages of all time. It was designed to be used on computers of the early 70’s, but is still taken as reference before any other language has to be learnt. Nearly all languages invented today have borrowed their basic features directly or indirectly from C.

‘C’ is still used in appliances, applications, mobile apps. Thus the benefits of knowing this language can go a long way for a person who wants to be part of the IT world today.

 Course Objectives 

After completing this course the student will achieve the following: -

  • Knowledge of programming concepts
  • Understanding of the data and memory usage
  • Modular programming
  • Use of data structures, which is useful know how in database handling

 Teaching Methodology 

‘C’ language will be taught using classroom learning sessions and Computer Practical sessions.

 Requirements 

A keenness to learn ‘C’ and a logical mind.

 Course Outline 

S. No.

Topic

Hours

1

ProgrammingConcepts

Definition - Program

Programminglanguages-Highlevelandlowlevel

Translation-Assemblers,Interpretersandcompilers

Linkers and loaders

3

2

Algorithms

Definition– Algorithm

Characteristicsofalgorithms

1

3

Flowcharts

1

4

Structured programming techniques

Sequential algorithms

1

5

Structured programming techniques

 Selection (If, If – else) control flow

Boolean logic – AND, OR, NOT

Decision tables

3

6

Structured programming techniques

Iterative algorithms

top and bottom tested loops

control break

3

7

Subroutines

1

8

Array Processing

1

9

File Processing

Concept of file,

types of files

File operation

2

10

Introductionto ‘C’ language

Featuresof C

StructureofCprogram-functions, statements, tokens,

Ccompiler (gcc)-Preprocessing, compilationandlinking

2

11

The Data

Data types

Constants – literal, symbolic and named , enumerations

variables(Identifiers),

typemodifiers

typedef

3

12

Standard library functions

Header files

Basic input-output - printf, scanf, conversion specifiers

math functions

3

13

OperatorsandExpressions

Unary,Binary,ternary

Arithmetic,bitwise

OperatorPrecedence, associativity

lvalue and rvalue

3

14

User defined functions

Function arguments – passing values

local and global variables

return statement, return values

2

15

StructuredProgramming -Decisionmaking:

Relational operators

Ifstatement,

if .. else statement

Logical operators

switchcasestatements.

Ternary operator

4

16

Structuredprogramming- iterations:

loops - for,  while, do-while

nested loops

recursion

4

17

Advanced Pre-processor features

function macros

stringizing

Conditional pre-processing and compilation

2

18

Pointers

indirection and de-referencing

constant pointers and pointer constants

Functions – call by references

3

19

Arrays

characteristics

implementation – Pointers

Single and multi-dimensional arrays

Standard library functions – string handling, memory management

passing arrays to functions, returning arrays from functions

6

20

Structured types

structures – structure, union

Pointers to the structures -functions, arrays

6

21

Files

Concept of file

File pointer

File processing

         high level and low level file handling

         Formatted and Un-formatted I/O

6

 

Total

60