JavaScript – Exercise 13 – Objects

Previous Next JavaScript objects are variables that hold multiple types of data. The objects represents real life or abstract ideas using properties and methods. In this article, you will learn to create a JavaScript object and access its members.JavaScript Object ConceptSuppose you want to represent a car in you program. To represent a car object … Read more

JavaScript – Exercise 12 – Arrays

Previous Next JavaScript arrays can hold different types of data unlike other programming languages like C, C++, and Java. In this article, you will create a simple array and store elements in the array.Structure of array declarationTo declare an array in JavaScript use following syntax.JavaScript push() and pop() methodYou can use JavaScript arrays like a … Read more

JavaScript – Exercise 11 – The Do-While Loop

Previous Next In this example, you will learn about a different kind of JavaScript loop control structure. All other loops do not let the loop execute if the condition of the loop is false. However, the do-while loop make sure that the loop execute at least once before it fails.Structure of do-while loopint i = … Read more

VB 6 Declaring A Subroutine

A subroutine is a block of code like function that do a specific task. The difference between subroutine and function is that a subroutine does not return a value. However, you may pass arguments to a subroutine in VB 6.The syntax for subroutine is given below, the keywords within square bracket ([]) are optional.Public keyword … Read more

C++ Program For Bisection Method

The bisection method is a root finding numerical method. Given a function the bisection method finds the real roots of the function. In this article you will learn to write a program for bisection method.Problem DefinitionThe bisection method find the real roots of a function. Suppose you are given a function and interval [a…b] the … Read more

C++ Program To Implement Doubly Linked-List

In this article, you will learn to write a C++ Program to implement Doubly Linked-List. The doubly linked-list is a linear data structure that allows traversing the list in both direction.This program is written using Turbo C++ 3.0 compiler installed on a Windows 7 64-bit PC. Problem DefinitionThe doubly linked-list structure has two links for … Read more

C++ Program To Implement Queue Using Pointers

In this article, you will learn to write a C++ program to implement queue using pointersA queue have two ends – front and the rear. The new elements are inserted from the rear position and deleted from front of the queue. Problem DefinitionWe want to implement a queue using linked list structure. A single node … Read more

C Program To Draw Bar Diagram With Data

In this article, you will learn to write a C program to draw bar diagram with data input by user.This program is written using Turbo C++ compiler installed on a Windows 7 64-bit PC. The compiler supports C language and the header Graphics.h is used to draw the chart.Problem DefinitionIn this C example program, you … Read more

C++ Program to Convert Infix to Postfix Using Stack

Previous Next In this article, you will write a C++ program to convert infix expression to a postfix expression using stack operations.This program is written using Turbo C++ compiler on a Windows 7 64-bit PC. You can use any other suitable C++ compiler and it will still work. Make sure to change the syntax according … Read more

Page Table

Most OS allocate a page table for each process. A pointer to the page table is stored in the PCB of the process. When the dispatcher start a process, it must reload the user registers and define the correct hardware page table from the stored user page-table.Hardware Page TableThe hardware page table can be implemented … Read more

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.

Exit mobile version