Kathmandu University Virtual Class


An Online Course Module For Teachers and Students

http://vclass.ku.edu.np , Moodle Virtual Class for Teachers and Students

Admissions


Intakes on : August
Availability of Forms : Mid. July

Download forms for UNG | ME.IT

 



COMP 112
Computer Programming (C & C++ )

Subject: Computer Programming
Course Code: COMP 112
Type: Core
FM: 100(50 int+50 final)

Course Description: This course is designed to introduce students to Procedure Oriented Programming and Object Oriented Programming concepts on the assumption that they are not familiar with programming. Its main aim is to teach the principle of programming in two different paradigms, using C & C++, rather than attempting to give complete exposition of all the features of C & C++.

Contents:

  1. Introduction to Programming: Attributes of a good program, HLPL, MLPL, LLPL, popular programming languages, programming paradigms – procedure oriented programming and object oriented programming.

  2. C Fundamentals: The C character set, identifiers and keywords, data types, constants, variables and arrays, declarations, expressions, statements and symbolic constants.

  3. Operators and Expression: Arithmetic, unary, relational, logical, assignment and conditional operators.

  4. Data Input and Output: Input-Output functions

  5. Control Statements: Branching, looping, nested control structures, switch, break, continue, drawback of ‘goto' statement.
  6. Functions: Overview, defining and accessing a function, function prototypes, passing arguments to a function, recursion and its importance.

  7. Program Structures: Different types of variables & parameters, multi-file programs.

  8. Arrays: Defining and processing single and multi-dimensional arrays .

  9. Pointers: Fundamentals, pointer declarations, passing pointers to functions, pointers and one dimensional arrays, dynamic memory allocation, operations on pointers, pointers and multi-dimensional arrays, arrays of pointers, passing functions to other functions.

  10. Classes and Objects: Introduction, class declarations, constructors, constructor initialization lists, access functions, private member functions, copy constructor, class destructor, constant objects, structures, pointers to objects, static data members, static function members.

  11. Polymorphism: Overloading operators .

  12. Composition and Inheritance: Types of inheritance, construction, destruction, multiple inheritance.

Text Books:
Programming with C – Byron S. Gottfried

References:
The C Programming Language- B. W. Kernighan and D. M. Ritchie
Programming with C++- John Hubbard
C++ How to Program - Dietel & Dietel
The C++ Programming Language - Bjarne Stroustroup

 

 
   Phone: 977-11661399
   Address : Kathmandu University
                   Dhulikhel, Kavre, Nepal
   Email: cse@ku.edu.np
Programs offered in the department list of courses Faculty members Research Activities