Introduction to Visual Basic
- What is Visual Basic?
- Structure of Visual Basic Application
- The state of Visual Basic Application
What is Visual Basic?
Visual Basic is a Visual programming tool that allows you to develop Windows (Graphic User Interface – GUI) and browser based applications. These applications have a simple user interface and are easier for user to use. (more…)
In numerical analysis, Lagrange polynomials are used for polynomial interpolation. For a given set of distinct points Xi and numbers Yi, the Lagrange polynomial is the polynomial of the least degree that at each point Xj assumes the corresponding value Yj (i.e. the functions coincide at each point). The interpolating polynomial of the least degree is unique, however, and it is therefore more appropriate to speak of “the Lagrange form” of that unique polynomial rather than “the Lagrange interpolation polynomial”, since the same polynomial can be arrived at through multiple methods.
The Lagrange interpolating polynomial is the polynomial P(X) of degree <=(n – 1) that passes through the n points (x1, y1 = f(x1)),(x2, y2 = f(x2)) ,.., (xn, yn = f(xn)), , and is given by (more…)
Java programming language was invented for two fundamental reasons:
- to adapt the changing environments and used and
- to implement improvements in the art of programming
Firstly it was called OAK and was designed by James Gosling, Patrick Naughton, Chris Warth, Ed Frank and Mike Sheridan at Sun Microsystems in 1991. Java is not the “Internet version of C++”. Java was not designed to replace C++, but to solve a different set of problems. Java is now used to create web pages with dynamic and interactive content, to develop large-scale enterprise applications, to enhance the functionality of world wide web servers, to provide apps for consumer devices and so on.
Java is purely object-oriented programming language. To understand more about Object Oriented Programming Structures, see our previous article on Object Oriented Programming – Theory and Examples. (more…)
A data flow diagram (DFD) is a graphical representation of the “flow” of data through an information system, modeling its process aspects. A DFD is often used as a preliminary step to create an overview of the system, which can later be elaborated.
Data flow diagram is a popular way to visualize the major steps and data involved in software system processes. This is not the same as business process modeling; DFDs were usually used to show data flows in a computer system, although they could in theory be applied to business process modeling. DFDs were useful to document the major data flow or to explore a new high-level design in terms of data flow. (more…)
First read Bisection Method Algorithm and Flowchart [Numerical Computing]
This program in C is used to demonstrate bisection method.
Bisection method is one of the many root finding methods.
In this method we are given a function f(x) and we approximate 2 roots a and b for the function such that f(a).f(b)<0.
Then we find another point
and we repeat these steps for the given number of iterations.
Introduction to Applets and Applications in Java
Venn diagram explaining features of Java Applets and Application
In java an applet is a special kind of Java program that a browser enabled with Java technology can download from the internet and run. An applet is typically embedded inside a Web page and runs in the context of the browser. In order to be provided with the standard interface between the applet and the browser environment, an applet must be a subclass of the java.applet.Applet class or javax.swing.JApplet class. Java applets are compiled using javac command, but are run either with a browser or with the appletviewer command.
Applications in java are thought to be larger than applets which runs in a desktop mode and is used as productive software application. They can be created by writing packages other than java.applet.Applet. Java application programs run in a standalone environment with the support of virtual machine(JVM). Java applications are also compiled using the javac command and run using java command. A java application has a full network and local file system access, and its potential is limited only by the creativity of its developers. (more…)
Train Ticket reservation system is a very complicated system. It is complicated because it consists of more number of entities and processes. Data in this system should be collected from more number of entities and need to be processed within more number of processes. Example of this type of system is explained below: (more…)
How to use MouseListener Interface to handle Mouse Events in Java
Concept: In this Java program the problem is to handle mouse click using the concept of an Applet and learn how to use MouseListener Interface in Java to handle Mouse Events. Also display the coordinate of the clicked point on the status and display the status of mouse event in a label. (more…)
What is Object Oriented Programming?
Object Oriented Programming (OOP) is commonly used in programs which require doing the same things over and over again. Much like a function or method can be ran multiple times, OOP classes can be ran multiple times, simultaneously.
When is OOP used?
OOP is used in games and some other software. The reason it is used in games is because the game requires the same things to happen over and over again at the same time, for example… (more…)
JDBC is a Java Database Connectivity API that lets you access virtually any tabular data source from a Java application.
In addition to providing connectivity to a wide range of SQL databases, JDBC allows you to access other tabular data sources such as spreadsheets or flat files.
Although JDBC is often thought of as an acronym for Java Database Connectivity, the trademarked API name is actually JDBC.
JDBC defines a low-level API designed to support basic SQL functionality independently of any specific SQL implementation. This means the focus is on executing raw SQL statements and retrieving their results. (more…)