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

Critical Section

A critical section in an operating system is a section of code that must be executed automatically, i.e., it must be completed without interruption from other processes or threads. It cannot be interrupted by other threads or processes.  In an …

Loading

Scheduler & its Type

Definition A Scheduler/Process Schedular is an operating system program (or module) that performs process scheduling i.e. selects/sets the next job to be submitted in the ready queue for execution. Features The main function/objective of a schedular is to process scheduling …

Loading