All Easy Articles

## Accenture’s most asked Interview Questions 2.5

1) What is/are your favorite subject(s)? There may be many questions on the subject told. 2) Differences between C and C++. 3) What is include… Read More »

## Count trailing zeroes in factorial of a number 2.5

Given an integer n, write a function that returns count of trailing zeroes in n!. Examples : Input: n = 5 Output: 1 Factorial of… Read More »

## Program for nth Catalan Number 2.6

Catalan numbers are a sequence of natural numbers that occurs in many interesting counting problems like following. 1) Count the number of expressions containing n… Read More »

## C/C++ Program for nth Catalan Number 2

Catalan numbers are a sequence of natural numbers that occurs in many interesting counting problems like following. 1) Count the number of expressions containing n… Read More »

## Can virtual functions be inlined? 2.7

Virtual functions are used to achieve runtime polymorphism or say late binding or dynamic binding. Inline functions are used for efficiency. The whole idea behind… Read More »

## Data Structures and Algorithms | Set 35 2

Following questions have been asked in GATE CS 2014 exam. 1) The number of distinct minimum spanning trees for the weighted graph below is ____… Read More »

## Bucket Sort 2.2

Bucket sort is mainly useful when input is uniformly distributed over a range. For example, consider the following problem. Sort a large set of floating… Read More »

## Android Developer Interview at Headstrong and SnapDeal 2

Headstrong: 1st Round: 1) What is Heap Memory and Difference between stack and heap memory. 2) Why would you do the setContentView() in onCreate() of… Read More »

## Data Structures and Algorithms | Set 33 2

Following questions have been asked in GATE CS 2014 exam. 1) Consider the tree arcs of a BFS traversal from a source node W in… Read More »

## Data Structures and Algorithms | Set 32 2

Following questions have been asked in GATE CS 2014 exam. 1) Let G be a graph with n vertices and m edges. What is the… Read More »

## GATE | GATE-CS-2014-(Set-3) | Question 45 2

Which of the following problems is undecidable? (A) Deciding if a given context-free grammar is ambiguous. (B) Deciding if a given string is generated by… Read More »

## GATE | GATE-CS-2014-(Set-3) | Question 65 2

An operating system uses shortest remaining time first scheduling algorithm for pre-emptive scheduling of processes. Consider the following set of processes with their arrival times… Read More »

## GATE | GATE-CS-2014-(Set-3) | Question 65 2.5

A system contains three programs and each requires three tape units for its operation. The minimum number of tape units which the system must have… Read More »

## GATE | GATE-CS-2014-(Set-3) | Question 65 2

Consider the transactions T1, T2, and T3 and the schedules S1 and S2 given below. T1: r1(X); r1(Z); w1(X); w1(Z) T2: r2(Y); r2(Z); w2(Z) T3:… Read More »

## GATE | GATE-CS-2014-(Set-3) | Question 35 2

Host A (on TCP/IP v4 network A) sends an IP datagram D to host B (also on TCP/IP v4 network B). Assume that no error… Read More »

## GATE | GATE-CS-2014-(Set-3) | Question 65 2

A prime attribute of a relation scheme R is an attribute that appears (A) in all candidate keys of R. (B) in some candidate key… Read More »

## GATE | GATE-CS-2014-(Set-3) | Question 28 2

Which of the following statements are CORRECT? 1) Static allocation of all data areas by a compiler makes it impossible to implement recursion. 2) Automatic… Read More »

## GATE | GATE-CS-2014-(Set-3) | Question 65 2

One of the purposes of using intermediate code in compilers is to (A) make parsing and semantic analysis simpler. (B) improve error recovery and error… Read More »

## GATE | GATE-CS-2014-(Set-3) | Question 65 2.5

Consider the following statements: P: Good mobile phones are not cheap Q: Cheap mobile phones are not good L: P implies Q M: Q implies… Read More »

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

Suppose implementation supports an instruction REVERSE, which reverses the order of elements on the stack, in addition to the PUSH and POP instructions. Which one… Read More »