Characteristics of Computer
Characteristics of Computer
- Speed- Computer can work at very high speed. Computer can process large amounts of data in a short time where as humans take long time.
- Accuracy- The computer performs all the calculations accurately, but an error can occur only due to the inaccurate data. If the user enters a wrong input then the output will also be wrong.
- Storage- A computer can store large amount of data. The computer not only stores the data but can also give back the data within seconds that the user wants.
- Diligence- A computer can work for long time because a computer is free from tiredness and lack of concentration and even does not get bored whereas the human beings get tired very soon and even lose concentration and hence make errors.
- Versatility- Computer can perform any type of task. Computers can communicate with other computers and can send and receive data. They can perform simple as well as complex task.
- Intelligence- Computers do not have any intelligence of their own. It can perform only those tasks that are instructed by human beings. Therefore it needs to be told what it has to do.
Intorduction to asp.net
Introduction to ASP.Net
ASP.Net is a web development platform, which provides a
programming model, a comprehensive software infrastructure and various services
required to build up robust web application for PC, as well as mobile devices.
ASP.Net works on top of the HTTP protocol and uses the
HTTP commands and policies to set a browser-to-server two-way communication and
cooperation.
ASP.Net is a part of Microsoft .Net platform. ASP.Net
applications are complied codes, written using the extensible and reusable components
or objects present in .Net framework. These codes can use the entire hierarchy
of classes in .Net framework.
-----------------------------------------------------------------------------------------
TEACHER TRAINING INSTITUTE
INDUSTRIAL TRAINING INSTITUTE, PATIALA, BEST INDUSTRIAL TRAINING
INSTITUTE, PATIALA ,6 WEEKS INDUSTRIAL TRAINING INSTITUTE, PATIALA, 6
MONTHS INDUSTRIAL TRAINING INSTITUTE, PATIALA,
TEACHER TRAINING INSTITUTE, PATIALA, WEB SITE DEVELOPMENT TRAINING INSTITUTE, PATIALA,WEB SITE DESIGNING TRAINING INSTITUTE, PATIALA
TEACHER TRAINING INSTITUTE, PATIALA, WEB SITE DEVELOPMENT TRAINING INSTITUTE, PATIALA,WEB SITE DESIGNING TRAINING INSTITUTE, PATIALA
INDUSTRIAL TRAINING INSTITUTE, PATIALA
INDUSTRIAL TRAINING INSTITUTE, PATIALA, BEST INDUSTRIAL TRAINING INSTITUTE, PATIALA ,6 WEEKS INDUSTRIAL TRAINING INSTITUTE, PATIALA, 6 MONTHS INDUSTRIAL TRAINING INSTITUTE, PATIALA, TEACHER TRAINING INSTITUTE, PATIALA, WEB SITE DEVELOPMENT TRAINING INSTITUTE, PATIALA,WEB SITE DESIGNING TRAINING INSTITUTE, PATIALA
How to insert values in java
import java.sql.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
class inst extends Frame implements ActionListener
{
Connection con=null;
PreparedStatement st;
Frame f;
Button b;
Label l1,l2,l3;
TextField t1,t2,t3;
FlowLayout fl;
inst()
{
f=new Frame("insert");
l1=new Label("Enter name");
l2=new Label("Enter roll no");
l3=new Label("Enter marks");
t1=new TextField(10);
t2=new TextField(10);
t3=new TextField(10);
fl=new FlowLayout();
f.setLayout(fl);
f.add(l1);
f.add(t1);
f.add(l2);
f.add(t2);
f.add(l3);
f.add(t3);
b=new Button("Insert");
f.add(b);
b.addActionListener(this);
f.setSize(200,200);
f.setVisible(true);
try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con=DriverManager.getConnection("jdbc:odbc:harsh");
st=con.prepareStatement("INSERT INTO stu VALUES(?,?,?)");
}
catch(Exception e)
{
}
}
public void actionPerformed(ActionEvent ee)
{
if(ee.getSource()==b)
{
try
{
st.setString(1,t1.getText());
st.setString(2,t2.getText());
st.setString(3,t3.getText());
st.executeUpdate();
JOptionPane.showMessageDialog(this,"Record inserted");
}
catch(Exception e)
{
}
}
}
public static void main(String arg[])
{
inst obj=new inst();
}
}
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
class inst extends Frame implements ActionListener
{
Connection con=null;
PreparedStatement st;
Frame f;
Button b;
Label l1,l2,l3;
TextField t1,t2,t3;
FlowLayout fl;
inst()
{
f=new Frame("insert");
l1=new Label("Enter name");
l2=new Label("Enter roll no");
l3=new Label("Enter marks");
t1=new TextField(10);
t2=new TextField(10);
t3=new TextField(10);
fl=new FlowLayout();
f.setLayout(fl);
f.add(l1);
f.add(t1);
f.add(l2);
f.add(t2);
f.add(l3);
f.add(t3);
b=new Button("Insert");
f.add(b);
b.addActionListener(this);
f.setSize(200,200);
f.setVisible(true);
try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con=DriverManager.getConnection("jdbc:odbc:harsh");
st=con.prepareStatement("INSERT INTO stu VALUES(?,?,?)");
}
catch(Exception e)
{
}
}
public void actionPerformed(ActionEvent ee)
{
if(ee.getSource()==b)
{
try
{
st.setString(1,t1.getText());
st.setString(2,t2.getText());
st.setString(3,t3.getText());
st.executeUpdate();
JOptionPane.showMessageDialog(this,"Record inserted");
}
catch(Exception e)
{
}
}
}
public static void main(String arg[])
{
inst obj=new inst();
}
}
web development in patiala
PHP (WEB DEVELOPMENT COURSE)
Contents :- HTML and CORE PHP
ONLY IN RS 2500/-
ONE YEAR DIPLOMA
IN COMPUTER (DCA)
ONLY IN RS 5000 /-
COMPUTER ACCOUTING
(TALLY) Only in Rs. 2000/-
OTHER COURSES:-
MS-OFFICE, C, C++, JAVA, Visual Basic etc.
Contact :- HARSH KAPILA (9 yrs exp.)
Mob :- 9815295668
best coaching in web desgning
PHP (WEB DESINGNING COURSE)
Contents :- HTML and CORE PHP
ONLY IN RS 2500/-
ONE YEAR DIPLOMA
IN COMPUTER (DCA)
ONLY IN RS 5000 /-
COMPUTER ACCOUTING
(TALLY) Only in Rs. 2000/-
OTHER COURSES:-
MS-OFFICE, C, C++, JAVA, Visual Basic etc.
Contact :- HARSH KAPILA (9 yrs exp.)
Mob :- 9815295668
introduction to computers
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.
WEB DESIGNIG 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
Subscribe to:
Posts (Atom)