## Mathematics | Properties of Boolean algebra

Switching algebra is also known as Boolean Algebra. It is used to analyze digital gates and circuits It is logic to perform mathematical operation on… Read More »

## How to use POSIX semaphores in C language

Semaphores are very useful in process synchronization and multithreading. But how to use one in real life, for example say in C Language? Well, we… Read More »

## GATE | GATE CS 1997 | Question 72

A concurrent system consists of 3 processes using a shared resource R in a non-preemptible and mutually exclusive manner. The processes have unique priorities in… Read More »

## GATE | GATE CS 1997 | Question 71

Following floating point number format is given f is a fraction represented by a 6-bit mantissa (includes sign bit) in sign magnitude form e is… Read More »

## Digital logic | Canonical and Standard Form

Canonical Form – In Boolean algebra,Boolean function can be expressed as Canonical Disjunctive Normal Form known as minterm and some are expressed as Canonical Conjunctive… Read More »

## Rearrange positive and negative numbers using inbuilt sort function

Given an array of positive and negative numbers, arrange them such that all negative integers appear before all the positive integers in the array without… Read More »

## GATE | GATE CS 1997 | Question 70

Let f = (w’+y)(x’+y)(w+x’+z)(w’+z)(x’+z) a). Express f as the minimal sum of products. Write only the answer. b). If the output line is stuck at… Read More »

## GATE | GATE CS 1997 | Question 69

Following is a state table for some finite state machine. A). Find the equivalence partition on the states of the machine. B). Give the state… Read More »

## SQL | Character Functions with Examples

Character functions accept character inputs and can return either characters or number values as output. SQL provides a number of different character datatypes which includes… Read More »

## GATE | GATE CS 1997 | Question 68

Consider the following program fragment in Pascal: Program Main; var X : integer; procedure A: var Y : integer; procedure B: var Z : integer;… Read More »

It is often quite hard to distinguish between scope and linkage, and the roles they play. This article focuses on scope and linkage, and how… Read More »

## Operating System | Overlays in Memory Management

The main problem in Fixed partitioning is the size of a process has to be limited by the maximum size of the partition, which means… Read More »

## GATE | GATE CS 1997 | Question 67

The language L, defined by the following grammar allows use of real or integer data in expressions and assignment statements. (assign-stmt):: = (LHS):= (E) (E)… Read More »

## GATE | GATE CS 1997 | Question 66

A language L is a subset of Pascal with the following constructs: a). Expressions involving the operators ‘+’ and ‘<‘ only b). Assignment statements c).… Read More »

## GATE | GATE CS 1997 | Question 65

Given that L is a language accepted by a finite state machine, show that LP and LR are also accepted by some finite state machines,… Read More »