GETTING STARTED WITH PRGRAMMING USING IDE
1.
How
many levels of Computer languages are there?
-
There
are four types of programming language in computers
-
First
Generation
-
Second
Generation
-
Third
Generation
-
Fourth
Generation
2.
What
is Java?
-
Java
is a High Level Programming Language.
-
Java
is an Interpreter & Compiler based programming language.
3.
What
are the features of Java program
-
Java
is a Platform independent software
-
Java
is a Byte code based software.
4.
How
do java work
-
Java
uses Byte code to execute the program in Java Virtual Machine
5.
What
is JVM
-JVM is the software that works as virtual machine to run the java Byte
codes
-JVM is the software that helps java to become Platform independent.
6.
What is the good characteristics of Java
-Write
Once Run Anywhere (WORA)
-Light
Weight Code
-
Security
-Built-in
Graphics
-
Object-Oriented Language
-
Supports Multimedia
-
Platform Independent
-Open
Product
7.
What
is java byte code
-
The
java byte code is a machine instruction for a Java processor chip called java
virtual machine. The byte code is independent of the computer system it has to
run upon.
-
The
java byte code is a machine instruction for a Java processor chip called java
virtual machine. The byte code is independent of the computer system it has to
run upon.
-


8.
What
is embedded java
-
The
JVM in hardcode or hardware chip is called embedded java.
9.
What
are java APIs?
-
The
java APIs (Application Program Interface ) are libraries of compiled code that
can be used in your programs.
10.
What
is Rapid Application Development
-RAD is the process of creating very fast applications using RAD tools.
Like netbeans
- drag and drop method is used to create RAD applications.
11.
What
is NetBeans?
-
NetBeans
is an IDE (Integrated Development Environment) tool which is free, open source,
cross-platform.
-
It
supports JVM and Java
12.
Explain
some features of NetBeans
-
It
supports GUI programming
-
Drag-and-Drop
GUI objects
-
Excellent
editing (advance source code editor)
-
Web-services
-
Excellent
debugging
-
Good
many wizards, code generation and management tools and many more.
13.
Define
the different parts / areas of NetBeans
-
Title
Bar
-
Menu
Bar & Pull Down Menu
-
GUI
Builder / Design Window
-
The
Coder Window / Code Editor Windows
-
The
Palettes
-
The
Inspector Window.
-
The
Property Window.
14.
Explain the two types of programming technic
(based on command console)
-
Command
Line Interface (CLI ) C++
-
Graphical
User Interface ( GUI) Java NetBeans
15.
How GUI works
-
Most
GUI Programming works on Events occurrence.
16.
What is an Event
-
Event
is an action given by the user to the program. E.g. Mouse Click , Mouse Over
17.
What is the concept of GUI Programming in Java NetBeans
-
In Java GUI programming the the
event are fired by the user and the messages are passed to the program. The
program then handles the message and execute the program. E.g. 1+2 is passed to
calculator program as message, the event of click button to find in sum is
fired by the user, the output is returned to the user from the program as
message.
18.
What is java GUI toolkit
-
Java GUI API library like swing class, AWT classes are called as GUI
Toolkit. Toolkit are the component allowed to design a GUI interface for the
program.
19.
What is a component
-
A component is the object that defines a screen element such as a push
button or test field.
20.
What is a widget
-
A control in java swing is called a
21.
How many types of widget or controls are there in Java Swing
-
There are two types of container controls.
-
Child control
o Low level control
-
Parent control
o Top Level control
o Middle Level control
22.
What is a control / component in java swing
-
It is the java swing object for GUI based programming
-
J Frame
-
J TextFields
-
J Password
23.
What is the naming convention in Java
-
The rules given to identify the program or program variables are called naming
convention
E.g int /class / String
is never used as identifier
24.
What are the rules of naming convention
-
It should not start with number of any special character expect _ $
o Amit is ok
o 1amit is worng
o _amit is ok
o @amit is wrong
-
It should not contain any special character
or symbol expect _ $
o amit1 is OK
o Rahul Jaiswal is worng
o Rahuljaiswal is ok
o Rahul_jaiswal is ok
25.
What are component , event and event listeners
-
The event is an object that gets generated when user does something as
mouse click
-
The event listener is attach to a component and contains the methods /
functions that will be executed in response to an event.
-
ActionPerformed - Event
-
ActionEvent – Event Listener
26.
What is a difference between Run File and Clear & Build.
-
Run File put the program in Run time Mode
-
Clear & Build converts the source file to Byte code.
No comments:
Post a Comment