After completion of this course each student would be able to:
The Introduction to Computer & C++ Programming is a compulsory course and has been offered by the Department of Computer Systems Engineering.
CLO |
Description |
Taxonomy level |
PLO |
1 |
UNDERSTAND basic computer organization and functions of various computer hardware and software components. |
C2 |
1 |
2 |
GET basic computational problem solving skills. |
C2 |
2 |
3 |
DESIGN and implement effective solutions to computer oriented industrial engineering problems using C++. |
C3 |
5 |
4 |
ANALYZE and debug simple computer program. |
P3 |
4 |
Course Outline:
Generations of computers, Application areas of computer, Information/Data Processing Cycle, Number systems (Binary, Octal, Decimal, Hexadecimal), Input, output and peripheral Devices, Computer Memory: RAM, ROM, SRAM, DRAM, PROM, EPROM, EEPROM; Primary, cache memory, Secondary storage: Magnetic, Optical and solid state, Units of memory measurement, Basic CPU organization, Parts of CPU: ALU. MU, CU, FPU and Registers. Computer software and its types.
Compilation process, Basic C++ program structure, The main procedure, return type and return statement, Outputting data with Cout statement, Preprocessor directives, header file and namespace, Comments, Whitespaces, Manipulators (endl), Escape sequences, Variables, Variable declaration, Variable initialization, Data Types and Identifiers, Literals, Constants, Operators in C++ (Arithmetic, Relational, Logical, Short circuit, Arithmetic assignment , Increment and Decrement), Expressions and <cmath> header file, Inputting with Cin statement.
One-Way Selection, Two-Way Selection, Multi-Way Selection, Choice-Way Selection, If Statement, If-Else Statement, If-Else-If Statement, Switch Statement.
Counter-Controlled Repetition, Sentinel-Controlled Repetition, For Loop, While Loop, Do-While Loop, Break Statement, Continue Statement, Nested Loops.
Introduction to arrays, Declaring and initializing arrays, Array indices and accessing array elements, Searching arrays with linear search, Sorting arrays with bubble sort, Multidimensional arrays.
Introduction to functions, Function declaration, Function definition, Function calling, Return type of functions, Arguments and parameters, Function overloading, Passing arguments by value, Passing arguments by reference.
Introductions to strings, Types of strings in C++, Character string / null character terminated strings, Character string functions, String objects, String object functions.
Introduction to structures, Creating structures, Structure variables, Accessing structure members, Structure of structures.
Practical Outline