Introduction to Visual Basic – Chapter 2 – Visual Basic

Introduction to Visual Basic 


  1. What is Visual Basic?
  2. Structure of Visual Basic Application
  3. 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…)

C Program implementing Lagrange Interpolation Formula (Numerical Computing)

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…)

Database Management System (DBMS) – Advantages and Uses

Definition: Database management systems (DBMSs) are computer software applications that interact with the user, other applications, and the database itself to capture and analyze data. A general-purpose DBMS is designed to allow the definition, creation, querying, update, and administration of databases.

A   database   management   system   (DBMS)   consists   of   a collection of interrelated data and a set of program to access those data. The collection of data, usually referred to as the database, contains information about one particular    enterprise.    The   primary   goal   of   DBMS   is   to provide   an environment that is both convenient and efficient to use in retrieving and storing database information.

Example of database management systems are MS Access, DB2, ORACLE, SQL Server, MySQL, Ingress, Paradox, SYBASE, INFORMIX, etc. (more…)

Database – Data and Information [Need of Database]

What is Database?

Definition: A Database is a repository for collection of related data or facts stored so that it is available to many users for different purposes. The content of database is obtained by combining data from all the different sources in an organization, so that data are available to all users and redundant data can be eliminated or at least minimized. A database contains a collection of related items or facts arranged in a specific structure called Data and Information.

Databases are used in every part of day-to-day life. Examples of common database use include: depositing or withdrawing money from a bank, making a travel reservation, accessing a library catalog, buying something from the internet via a web page, etc. (more…)

Basic Understanding of Java Programming Language

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…)

How do we begin to construct Data Flow Diagrams (DFDs)?

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…)

Bisection Method Algorithm and Flowchart [Numerical Computing]

Illustration of Bisection Method

Illustration of Bisection Method

The bisection method is one of the simplest and most reliable of iterative methods for the solution of nonlinear equations. This method, also known as binary chopping or half-interval method, relies on the fact that if f(x) is real and continuous in the interval a < x < b, and f(a) and f(b) are of opposite signs, that is,

f(a)*f(b) < 0

then there is at least one real root in the interval between a and b. (more…)

Difference between Applets and Applications Program in Java with Examples

Introduction to Applets and Applications in Java

Venn diagram explaining features of Java Applets and Application

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…)

Software Engineering Design Concepts and Principles – Part 2

This is the Part 2 of the Software Engineering Design – Concepts and Principles, you can read Part 1 here. If you are redirected from Part 1, you can continue reading from here.

In Part 2 of Software Engineering Design – Concepts and Principles, I’ll be discussing about Software Architecture Designs, Data Design, Requirement mapping.


Software Architecture

Design has been described as a multistep process in which representations of data and program structure, interface characteristics, and procedural detail are synthesized from information requirements.

Architectural design represents the structure of data and program components that are required to build a computer-based system. Architectural design begins with data design and then proceeds to the derivation of one or more representations of the architectural structure of the system. (more…)