JS Array

Introduction In JavaScript, an array is a multivariant & linear container to store different types of data. Definition In JavaScript, an array is a data structure that can store a collection of values of any data type, including numbers, strings, …

Loading

JS Control Statements

JS control statements are categorized into – (A) Decision Statements (B) Looping Statements (C) Jumping Statements (A) Decision/Conditional Statements: JavaScript supports the following decision statements:- (I) If statement (II) If-else statement (III) Else-if statement (IV) Switch case statement (I) If …

Loading

JS Operators

Introduction of JS Expression: An expression is a combination of operators and operands that can be evaluated. It may also include function calls which return values. For example –  x=23.5; z=x+y; x=”welcome”; Operators: Operators are symbols which is used to …

Loading

JS DataTypes

JS Keywords/Reserve Words : These words cannot be used as JavaScript variables, functions, methods, loop labels, or any object names by the programmers in their programs. A list of all the reserved words in JavaScript are – abstract, boolean, break, …

Loading

JS Introduction

History of JS JavaScript was designed by Brendan Eich, an American computer programmer in Netscape Communications Corporation. They created JavaScript in September 1995 and took only 10 days to develop the scripting language, then known as Mocha. The name JavaScript came from Netscape’s …

Loading

Password Tag

Example : A password box with show/hide the contents using eyeicon. Example : A password box with show/hide the contents using checkbox. Example : A password box to validate at least one uppercase, lowercase, number and at least 10 characters.

Loading

Scheduling Algorithms & its Type

Introduction Scheduling/Process/CPU Scheduling is a fundamental function of an operating system. Strictly, all computer resources are scheduled before use/processing properly. Since CPU is one of the primary/superior computer resources, therefore its scheduling is must and central.  CPU scheduling is the …

Loading

Semaphores

Introduction Semaphores were introduced by Edsger Dijkstra and are commonly used in operating systems and concurrent programming. Definition Semaphores provide a mechanism for coordinating concurrent processes or threads and protecting shared resources from simultaneous access, thereby avoiding race conditions and …

Loading