BSc CS Sem 1 Syllabus

 Syllabus:  PROBLEM SOLVING IN C

Objectives:

This course aims to provide exposure to problem-solving through programming. It introduces the concepts of the C Programming language.


UNIT I (10H)

General Fundamentals: Introduction to computers: Block diagram of a computer, characteristics and limitations of computers, applications of computers, types of computers, computer generations.

Introduction to Algorithms and Programming Languages: Algorithm,  Key features of Algorithms, Flow Charts, Generations of Programming Languages.

UNIT II (10H)

Introduction to C: Introduction, Structure of C Program – Keywords,  Identifiers,  Basic Data Types in C,  Variables,  Constants,  I/O Statements in C – Operators in C – Programming Examples.

Decision Control and Looping Statements: Introduction to Decision Control Statements, Conditional Branching Statements,  Iterative Statements,  Nested Loops,  Break and Continue Statement,  Goto Statement.

UNIT III (12H)

Arrays: Introduction,  Declaration of Arrays , Accessing elements of the Array,  Storing Values in Array,  Operations on Arrays,  one dimensional, two dimensional and multi dimensional arrays, character handling and strings.

UNIT IV (14H)

Functions: Introduction,  using functions , Function declaration/ prototype,  Function definition,  function call,  return statement , Passing parameters,  Scope of variables , Storage Classes,  Recursive functions.

Structure, Union, and Enumerated Data Types: Introduction to Structures,  Nested Structures,  Arrays of Structures,  Union , Arrays of Unions Variables,  Enumerated Data Types.

UNIT V (14H)

Pointers: Introduction to Pointers,  declaring Pointer Variables,  Pointer Expressions and Pointer Arithmetic,  Null Pointers - Passing Arguments to Functions using Pointer , Pointer and Arrays.

Files: Introduction to Files, Opening and Closing a file,  Reading Data from Files , Writing Data to Files,  Detecting the End-of-file. 


Comments

Popular Posts