Check The Programming Section
UNIT 0: Understanding the Basic of Compueter Fundamentals
Every day we generate different types of data and when a piece of data is processed by a computer it becomes meaningful information. So it is very important for us and required to know how data are kept in computer memory. Every data has a certain type and their representation in computer memory is also different.
UNIT 1: Understanding Computer Programming with an Introduction to C Language
In this part we have explaind what is a computer and how to write a computer program using C programming language. We have also explained how to convert a real world problem to computer programming using algorithm and flow chart. After that we have expianed memory management of various types of variables. Specially, you can consider this unit will build the backbone of C programming language with its various compnents.
To work with computer and to make any system automatic it is required to know any computer programming language. Normaly we begin with one of the old, existing and powerful programming tool C language which is introduced in 1972. This tutorial will help you to understnad the need and importnace of C language.
UNIT 2: Working with Operators and Operands
Before start writing a program, we must know about the types of operators and their working mechanisms. The C programming language provides two sets of arithmetic operators as unary and binary to perform mathematical operatios such as addition, subtraction, multiplications, and division. Apart from these operations C program provides an operator to get the reminder of division operations. Most of the tutorial present in the web did not talk about reminder operation between floating-point operands. So we have also highlighted this and explained with example.
To initialise or to update the value of a varibale we need an assignment operator. The value of a varibale depends on two factors of an assignemnt operator. We have covered this point in detial and along with this we have discussed the loss of information while converting a higher type to lower type. This part of the notes also explains the ternary operator and how to write conditional operator with this.
Type conversion allows a compiler to convert one data type to another data type at the compile time of a program or code. It can be used both compatible data type and incompatible data type. Type conversion is only used with compatible data types, and hence it does not require any casting operator. C compiler supports two ways to convert one data type to another using implicit or explicit type casting.
A relational operator checks the relationship between two operands. If the relation is true, it returns 1; if the relation is false, it returns value 0. Relational operators are used in decision making and loops. Relational, equality and logical operators are used to form logic expressions. Relational and equality operators usually compare two numbers and return a value of true or false (forming a logic expression). Logical operators combine logical values of true or false into a logical expression. We have also explained how to write optimised code using logical AND, OR operators.
UNIT 4: The Arrays Data Sturcture with its Application
In this part we have explined datt structure array. The applications where arrays are used is explinaed with annimation. Arrays a kind of data structure that can store a fixed-size sequential collection of elements of the same type. An array is used to store a collection of data, but it is often more useful to think of an array as a collection of variables of the same type.
Before start working with arrays such as one, two or multi-dimensional it is always important for us to understand how memory is initailsed and alloctaed to array data structure. In this notes, we have simply explained what is array and its requirement with how to declare and initialise an 1-d array. We have also expined how to work with designated array initialisation in C99 standards. I am suggesting you after downloading the notes kindly run the in presentation mode. At last we have explained what are the various points that you must remember while working with arrays. Array name in C programming represents the base address of the array and we have expined the base address concept in slide no 16. To see the complete notes sign in to your gmail is required.
In the previous notes we have explained about the various points related to the declaration and initialisation of 1-d arrays in C programming. Here we have explained the use of 2-d and 3-d arrays as part of multidimesional array. We have provided required logic to perform matrix addtion and multiplication. You need use this logic to complete the code. The memory representtaion of a 2-d array is expianed in two different ways and for 3-d arrays we shown the declaration and initialisation of 3-d arrays and how to access the items of the array.