Introduction of Computers
Introduction
Now a days computer is a very common and useful device. You would have seen it, if not then we hope you would have operated calculator. Computer is just larger and very powerful than calculator. In some way it resemble to calculator.To know about computer we must know about calculator.
A Calculator is an electronic device that is used to perform numerical calculations. It has less memory and data cannot be stored for future use. We can take output only on the screen but not in printed form.
Difference between Computer and Calculator:
Computer
Calculator
1. Computer Works faster than Calculator. Calculator is slow.
2. Computer has more memory. It has very less memory.
3. It Provide facility to use alphabets as well as numbers. In calculator we cannot use alphabets.
4. It provides facility to store output in printed form.
Here we can only take the output on the screen.
When in early 80’s computers were not very common & were expensive calculator were most commonly used device for calculations but now computer has just taken place of calculator because of its better feature.
Definition of computer
The word ‘compute’ means to calculate, so ‘Computer’ means the device, which performs calculations. It is an electronic device that is used to store any kind of data.
• It takes data, stores the data, processes the data and gives the desired output in the desired format.
• Hence computer acts as a device that transforms data into information. Data can be like name, age, height, weight etc of a person.
COMPUTER CENTRE IN PATIALA
H K COMPUTERS
LOWER MALL ROAD
OPP. BRITISH CO-ED SCHOOL
PATIALA
MOB-98152-95668
BEST COMPUTER CENTRE IN PATIAL
LOW FEE COMPUTER CENTRE IN PATIALA
EXCELLENT COMPUTER CENTRE IN PATIALA
HK COMPUTERS,LOWER MALL ROAD,OPP.BRITISH CO-ED SCHOOL,PATIALA,MOB- 98152-95668FREE INDUSTRIAL TRAINING IN PATIALA
Mob. Office-98152-95668
H K C PATIALAH.K COMPUTERS
AN ISO 9001:2008 CERTIFIED INSTITUTEIndustrial Training in Web-Desiginig in H K C Patiala
PHP Industrial Trainers of H K C Patiala has been a trusted industry leader in the field of industrial maintenance technical training since our company was started...
SYLLABUS
|
|
DURATION & FEES
| Rs.7500/- only |
INDUSTRIAL TRAINING IN PATIALA
we are providing various computer courses in patiala.
industrial training in webdesigning,
industrial training in java,
industrial training in php,
industrial training in c++,
industrial training in c,
industrial training in asp.net,
industrial training in dot net,
industrial training in php joomla,
industrial training in wordpress,
industrial training in networking,
Free industrial training in java,
Free industrial training in php,
Free industrial training in asp,
Free industrial training in c,
Free industrial training in c++,
Free industrial training in web designing,
Free industrial training in web development,
Free industrial training in vb.net,
Free industrial training in php joomla,
Free industrial training in wordpress
H K COMPUTERS
LOWER MALL ROAD,
OPP.BRITISH CO-ED SCHOOL
PATIALA
MOBILE:- 98152-95668
BEST INDUSTRIAL TRAINING IN PATIALA
H K C PATIALAH.K COMPUTERS
AN ISO 9001:2008 CERTIFIED INSTITUTEIndustrial Training in Web-Desiginig in H K C Patiala
PHP Industrial Trainers of H K C Patiala has been a trusted industry leader in the field of industrial maintenance technical training since our company was started...
SYLLABUS
|
|
DURATION & FEES
| Rs.7500/- only |
web designing in patiala
H K C PATIALAH.K COMPUTERS
AN ISO 9001:2008 CERTIFIED INSTITUTEIndustrial Training in Web-Desiginig in H K C Patiala
PHP Industrial Trainers of H K C Patiala has been a trusted industry leader in the field of industrial maintenance technical training since our company was started...SYLLABUS
|
|
DURATION & FEES
|
Rs.7500/- only
Rs.2500/- only |
Fundamentals of C Language
Introduction of C Language
Q.1. Write a note on #
(Preprocessor).
Ans:- 1) # include<stdio.h>
Standard Input Output Header File
2) # include<conio.h>
Console Input Output Header File
Preprocessor tells the compiler to include the input output related
functions into our program which are stored in stdio.h header file and conio.h
header file.
1) <Stdio.h> Standard Input
Output Header File is header file or library file.This library file contain
various input output related functions which are used in program. The functions
like printf( ),scanf( ).
2) <conio.h> Console Input
Output Header File is used to include the console input output related
functions into our program.The functions like clrscr( ),getch( ).
Q.2) What is void ?
Ans:- void is
our not return type which tells the
compiler the main( ) function cannot return any value. The void keyword always
written before the main( ) function. Simple meaning of void is null or empty.
Its our data type.
Q.3) What is main( )
function?
Ans:- main( ) is a our main
method or function which execute the set of statements which are written inside
the main( ) function. A program has at least one main( ) function.
4) Delimeter ( { } ) :-
Delimeter are used to show the beginning and ending of the program. It’s
also used for group of statements. Delimeters are written after the main( )
function.
5) clrscr( ) :-
It is called clear screen function which is used to clear the console
(Output)
screen.
6) Sentence Terminator ( ; ) :-
In program each line is called a statement or a sentence.To use
terminate the sentence. We can use sentence terminator which is called a
semicolon.
7) printf( ) :-
It’s our output function or method
which is used to print the results on our console screen.
8) Escape Seqence:-
It is
written as \n and is used for new line.
9) getch( ):- ( get
character function )
getch( ) is our input function which takes input from the ures. It stay
our output till the user pressess any key from the keyboard.
Subscribe to:
Posts (Atom)