Syllabus - Computer Programming CT 401 - for Tribhuvan University Institute of Engineering All BE first year first part


COMPUTER PROGRAMMING
CT 401

Lecture       : 3                                                                                                            Year     : I
Tutorial     :                                                                                                               Part      : I
Practical    : 3     

Course Objective:      To acquaint the student with computer software and high level programming languages. Emphasis will be given on developing computer programming skills using computer programming in C and FORTRAN languages.
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 Data types
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
11.7.    Arrays: one dimensional and two dimensional 
Laboratory:
-                Minimum 6 sets of computer programs in C (from Unit 4 to Unit 10) and 2 sets in FORTRAN (from unit 11) should be done individually. (30 marks out of 50 marks)
-                Student (maximum 4 persons in a group) should submit mini project at the end of course. (20 marks out of 50 marks)
References:
1.       Kelly & Pohl, “A Book on C”, Benjamin/Cumming
2.       Brian W. Keringhan & Dennis M. Ritchie, “The ‘C’ Programming Language”, PHI
3.       Bryons S. Gotterfried, “Programming with C”, TMH
4.       Yashavant Kanetkar, “Let Us C”, BPB
5.       D. M. Etter, “Structured Fortran & for Engineers and Scientist”, The Benjamin/Cummings Publishing Company, Inc.
6.       Rama N. Reddy and Carol A. Ziegler, “FORTRAN 77 with Applications for Scientists and Engineers”, Jaico Publishing House
7.       Alexis Leon, Mathews Leon, “Fundamentals of Information Technology”, Leon Press and Vikas Publishing House

Evaluation Scheme
There will be questions covering all the chapters in the syllabus. The evaluation scheme for the question will be as indicated in the table below:
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
* There may be minor deviation in marks distribution.
Share To:

paudelpadamprasad

Post A Comment:

0 comments so far,add yours

We value your comments. Let us know your thoughts below!