Learning JavaScript tutorial – JavaScript while(loop), do…while(Loop) statement

Learning JavaScript tutorial – JavaScript while(loop), do…while(Loop) statement

JavaScript while statement

In JavaScript, while loop statement allows us to perform some action on a piece of code till the condition is satisfied or true. The JavaScript while loop statement check condition at the start of the execution of the loop. If the expression evaluates to true, the while loop statement execute the body of the loop; means the piece of code between the curly brackets.

JavaScript while statement Syntax

while(conditional expression is true)
{
  statement block executed while conditional expression
  evaluates to true(satisfied).
}

Here, If the resulting value of conditional expression is true or it evaluated to true, while loop statement block enclosed within the Curly braces – {} is executed.

JavaScript While loop Statement Flowchart
do while loop statement flowchart

Continue reading “Learning JavaScript tutorial – JavaScript while(loop), do…while(Loop) statement”

Review – C.J. Date’s SQL and Relational Theory Master Class

Review – C.J. Date’s SQL and Relational Theory Master Class- How to Write Accurate SQL Code

SQL and Relational Theory Master Class
C.J. Date's SQL and Relational Theory Master Class

Simple and Clean presentation. I really appreciate the way he has used to introduce complex sql logic in the simpler way. To start with this video you must have the basic understanding of SQL. In this tutorial we start from the ground and moves towards the excel our logic to design a robust and maintainable database.

Continue reading “Review – C.J. Date’s SQL and Relational Theory Master Class”

How I can Hibernate Windows XP

How I can Hibernate Windows XP

Hibernate (Hibernation) is a feature of Windows XP operating systems where the contents and programs that were running on the OS keep as it is, while Windows XP goes to the state of inactivity. When your Windows XP hibernates, it stores whatever it has in memory (the contents of RAM) on the hard disk and the shut down. When the computer is restarted it comes out of hibernation and reloads the content of memory which wrote on the hard disk to returns to its previous state.

To use Hibernate feature first of all we need to enable hibernation support on Windows XP. You must be an administrator or a member of the Administrators or Power Users group. If your computer is connected to a network, network policy settings may prevent this procedure.

Continue reading “How I can Hibernate Windows XP”

Learning JavaScript tutorial – Understanding JavaScript Variable Types

Learning JavaScript tutorial – Understanding JavaScript Variable Types

JavaScript Variable is the best mean of storing the data (value). The JavaScript is a loosely typed programming languages and do not need to define the type of a variable while defining it. The main advantage of JavaScript Variable is that it can held any kind of data values, or types, which include number, string, Boolean, and null.

JavaScript allows us to assigned any variable with any value. This feature of javascript provides great flexibility in coding. In this article we are going to Understand the JavaScript Variable Types. If you want to learn some basic about the JavaScript Variables please go through "Learning JavaScript tutorial – JavaScript Variables".

Continue reading “Learning JavaScript tutorial – Understanding JavaScript Variable Types”

Learning JavaScript tutorial – JavaScript with Statement

Learning JavaScript tutorial – JavaScript with Statement

JavaScript offer lots of verity whiling dealing with the statements. Along with the flow control and loop control statements JavaScript supports object-related "with statements". With statement allows using a shorthand notation when referring objects and deals with the object scope chain.

with (object)
{
  statement(s);
}

Let us consider an example of the document object allows us to access the objects that compose a document. Using JavaScript with Statement we can access the scope of document object.

Continue reading “Learning JavaScript tutorial – JavaScript with Statement”