C programming syllabus

COMPUTER PROGRAMMING

COMPUTER PROGRAMMING

CT 401

Lecture : 3

Year: I

Part: I

Practical : 3

1. Overview of computer software & programming languages (2 hours)

1.1. System software

1.2. Application software

1.3. General software features and recent trends

1.4. Generation of programming languages

1.5. Categorization of high-level languages

2. Problem solving using Computer (2 hours)

2.1. Problem analysis

2.2. Algorithm development and Flowchart

2.3. Compilation and Execution

2.4. Debugging and Testing

2.5. Programming Documentation

3. Introduction to ‘C’ programming (3 hours)

3.1. Character set, Keywords, and Datatypes

3.2. Preprocessor Directives

3.3. Constants and Variables

3.4. Operators and statements

4. Input and Output (2 hours)

4.1. Formatted input/output

4.2. Character Input/output

4.3. Programs using input/output statements

5. Control statements (6 hours)

5.1. Introduction

5.2. The goto, if, if … … else, switch statements

5.3. The while, do … while for statements

6. User-Defined Functions (4 hours)

6.1. Introduction

6.2. Function definition and return statement

6.3. Function Prototypes

6.4. Function invocation, call by value and call by reference, Recursive Functions

7. Arrays and Strings (6 hours)

7.1. Defining an Array

7.2. One-dimensional Arrays

7.3. Multi-dimensional Arrays

7.4. Strings and string manipulation

7.5. Passing Array and String to function

8. Structures (4 hours)

8.1. Introduction

8.2. Processing a Structure

8.3. Arrays of Structures

8.4. Arrays within Structures

8.5. Structures and Function

9. Pointers (4 hours)

9.1. Introduction

9.2. Pointer declaration

9.3. Pointer arithmetic

9.4. Pointer and Array

9.5. Passing Pointers to a Function

9.6. Pointers and Structures

10. Data Files (4 hours)

10.1. Defining opening and closing a file

10.2. Input/Output operations on Files

10.3. Error handling during input/output operations

11. Programming Language: FORTRAN (8 hours)

11.1. Character set

11.2. Data types, Constants, and variables

11.3. Arithmetic operations, Library Functions

11.4. Structure of a Fortran Program

11.5. Formatted and Unformatted Input/Output Statements

11.6. Control Structures: Goto, Logical IF, Arithmetic IF, Do loops

Chapter
Hours
Mark distribution*
1, 2
4
8
3, 4
5
8
5
6
10
6
4
8
7
6
10
8
4
8
9
4
8
10
4
8
11
8
12
Total
45
80