Chapter 1.
To Know about any Languages u must first know the basics
So My first Question to u is..
What is a Computer?
//As soon as u see this question u will be thinking that am i gone mad to ask u this question ? But cant answer it in perfect meaning.//
So basically, a Computer is a device that can
exceute programs.
What is a program?
A set of instructions that performs
some specific task.
A program contains
1) Code (Instructions)
2) Data (Information)
==================================
Code : Set of instructions.
The instructions are grouped into one
unit, called as a "function".
Every function has a unique name.
==================================
Data is classified as Input and Output.
Input : Information that we give in to a program
Ouput : Information that we get from a program
A program stores the data into "variables".
A variable is a block of memory.
A varible is identified by a unique name.
Further the variable is read/written
using the variables name.
Value of a variable can change.
A variable can hold only one value at
a time.
==================================
Thats all basic U have learned in this chapter we will continue to the next chapter....
No comments:
Post a Comment