program

How to Create a Question and Answer (QA) Revision Program in Visual Basic

Submitted by Yorkiebar on
Introduction: Welcome to a tutorial on how to create a revision tool in Visual Basic. It will load a list of Questions and Answers (separated by a ":") and test you on the questions. Steps of Creation: Step 1: First we want to do a couple of things: Create a form with... Label4 - Current Question Button1 - Load QA List Button2 - Start Questions Button3 - Check Answer Textbox1 - Enter Answer Create

Creating Executable Program in Java

Submitted by mehfuza on
Executable software can be created using JAR(Java Archive) utility. Once you create jar file of the program it can run on any machine having JRE(Java Runtime Environment ) installed. JAR file should contain the .class files and resource such images, audio or any other files required. Including only .class files makes the code private. It can also include .java files, the source code of the program. Following are the commands to be run at Command Prompt or Terminal in Linux. Step 1: Compiling the Java Programs First compile all the Java programs of an application.

Creating a Simple Paint Program in Java

Submitted by mehfuza on
Introduction In this tutorial, a simple Paint program is created, which enables us to draw anything to screen. It's a basic program to understand the logic behind creating a paint program. Here main concept is implementing MouseMotionListener which handles mouse events. Whenever mouse is dragged a mouse event is sent to Java which finds the event listener in the program in order to take any action. We need to implement only mouseDragged() of many functions of MouseMotionListener class to draw to the Panel.

Creating Quiz using JavaScript and HTML

Submitted by mehfuza on
The Quiz is created by designing it in HTML and Quiz Logic in JavaScript. It's a very basic and easy to implement Quiz Program. In the quiz program, one question is displayed at a time. It has two buttons next and previous. Answers are selected by checking radio buttons. Step 1: Design part: Form is created and <legend> tag is used to give title to the form. Inside the <fieldset> tag a table is created with id attribute.