## GATE | GATE-CS-2014-(Set-1) | Question 13

Let G=(V,E) be a directed graph where V is the set of vertices and E the set of edges. Then which one of the following… Read More »

## GATE | GATE-CS-2014-(Set-1) | Question 65

Suppose you break a stick of unit length at a point chosen uniformly at random. Then the expected length of the shorter stick is ________… Read More »

## GATE | GATE-CS-2014-(Set-1) | Question 11

Consider the statement “Not all that glitters is gold” Predicate glitters(x) is true if x glitters and predicate gold(x) is true if x is gold.… Read More »

## GATE | GATE-CS-2014-(Set-1) | Question 65

When a point inside of a tetrahedron (a solid with four triangular surfaces) is connected by straight lines to its corners, how many (new) internal… Read More »

## GATE | GATE-CS-2014-(Set-1) | Question 65

In a survey, 300 respondents were asked whether they own a vehicle or not. If yes, they were further asked to mention whether they own… Read More »

## GATE | GATE-CS-2014-(Set-1) | Question 65

Round-trip tickets to a tourist destination are eligible for a discount of 10% on the total fare. In addition, groups of 4 or more get… Read More »

## GATE | GATE-CS-2014-(Set-1) | Question 7

Geneticists say that they are very close to confirming the genetic roots of psychiatric illnesses such as depression and schizophrenia, and consequently, that doctors will… Read More »

## GATE | GATE-CS-2014-(Set-1) | Question 6

The Palghat Gap (or Palakkad Gap), a region about 30 km wide in the southern part of the Western Ghats in India, is lower than… Read More »

## GATE | GATE-CS-2014-(Set-1) | Question 5

The roots of ax2 + bx + c are real and positive. a, b and c are real. Then ax2 + b|x| + c has… Read More »

## GATE | GATE-CS-2014-(Set-1) | Question 4

IF (z + 1/z)2 = 98, compute (z2 + 1/z2) (A) 96 (B) 99 (C) 100 (D) 94 Answer: (A) Explanation: (z + 1/z)2 =… Read More »

## GATE | GATE-CS-2014-(Set-1) | Question 3

In a press meet on the recent scam, the minister said, “The buck stops here”. What did the minister convey by the statement? (A) He… Read More »

## GATE | GATE-CS-2014-(Set-1) | Question 2

Choose the most appropriate word from the options given below to complete the following sentence. He could not understand the judges awarding her the first… Read More »

## GATE | GATE-CS-2014-(Set-1) | Question 1

Which of the following options is the closest in meaning to the phrase underlined in the sentence below? It is fascinating to see life forms… Read More »

## How to dynamically allocate a 2D array in C?

Following are different ways to create a 2D array on heap (or dynamically allocate a 2D array).

## G-Fact 18 | Finding nth Fibonacci Number using Golden Ratio

We have discussed different methods to find nth Fibonacci Number.