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 Concept Suppose you want to represent a car in you program. To represent a … 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 declaration To declare an array in JavaScript use following syntax. JavaScript push() and pop() method You can use … 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 loop int … 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. … 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 Definition The bisection method find the real roots of a function. Suppose you are given a function and interval … 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 Definition The doubly linked-list structure has two … Read more

C++ Program To Implement Queue Using Pointers

In this article, you will learn to write a C++ program to implement queue using pointers A 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 Definition We want to implement a queue using linked list structure. A … 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 Definition In this C … 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 … 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 Table The hardware page table can … Read more

Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

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