All Easy Articles

## Microsoft Interview | Set 24 2

Hello everyone, I recently got selected for the internship at Microsoft IDC. GeeksForGeeks helped me a lot in preparing for the coding tests as well… Read More »

## Find next right node of a given key 2.4

Given a Binary tree and a key in the binary tree, find the node right to the given key. If there is no node on… Read More »

## GATE | GATE CS 2010 | Question 33 2

A 5-stage pipelined processor has Instruction Fetch(IF),Instruction Decode(ID),Operand Fetch(OF),Perform Operation(PO)and Write Operand(WO)stages.The IF,ID,OF and WO stages take 1 clock cycle each for any instruction.The PO… Read More »

## Russian Peasant (Multiply two numbers using bitwise operators) 2.5

Given two integers, write a function to multiply them without using multiplication operator. There are many other ways to multiply two numbers (For example, see… Read More »

## GATE | GATE CS 2010 | Question 21 2

The cyclomatic complexity of each of the modules A and B shown below is 10. What is the cyclomatic complexity of the sequential integration shown… Read More »

## GATE | GATE CS 2010 | Question 65 2.3

In a binary tree with n nodes, every node has an odd number of descendants. Every node is considered to be its own descendant. What… Read More »

## Microsoft Interview | Set 22 2

Hi, PFB my on campus interview experience with Microsoft. Written Test: First round was an online test which contains 20 MCQs on C & C++.… Read More »

## Goldman Sachs Interview | Set 2 (On-Campus for Analyst) 2

Thanks GeeksForGeeks for helping me prepare for my placements. Here’s my experience. —————– My interview experience for Goldman Sachs ( On campus process) ( For… Read More »

## GATE | GATE CS 2011 | Question 61 2

Few school curricula include a unit on how to deal with bereavement and grief, and yet all students at some point in their lives suffer… Read More »

## GATE | GATE CS 2011 | Question 46 2

Database table by name Loan_Records is given below. Borrower Bank_Manager Loan_Amount Ramesh Sunderajan 10000.00 Suresh Ramgopal 5000.00 Mahesh Sunderajan 7000.00 What is the output of… Read More »

## GATE | GATE CS 2011 | Question 33 2

Consider a finite sequence of random values X = { x1, x2,…, xn}. Let μx be the mean and σx be the standard deviation of… Read More »

## GATE | GATE CS 2011 | Question 31 2

Given i=√-1, what will be the evaluation of the integral ? (A) 0 (B) 2 (C) -i (D) i Answer: (D) Explanation: Quiz of this… Read More »

## Deepest left leaf node in a binary tree 2.7

Given a Binary Tree, find the deepest leaf node that is left child of its parent. For example, consider the following tree. The deepest left… Read More »

## GATE | GATE CS 2012 | Question 42 2.5

Consider a source computer(S) transmitting a file of size 106 bits to a destination computer(D)over a network of two routers (R1 and R2) and three links(L1, L2,… Read More »

## GATE | GATE CS 2012 | Question 27 2

Let G be a weighted graph with edge weights greater than one and G’be the graph constructed by squaring the weights of edges in G.… Read More »

## GATE | GATE CS 2012 | Question 65 2

Which of the following transport layer protocols is used to support electronic mail? (A) SMTP (B) IP (C) TCP (D) UDP Answer: (C) Explanation: E-mail… Read More »

## GATE | GATE CS 2012 | Question 17 2

Let G be a simple undirected planar graph on 10 vertices with 15 edges. If G is a connected graph, then the number of bounded faces… Read More »

## GATE | GATE CS 2012 | Question 15 2

Which of the following statements are TRUE about an SQL query? P : An SQL query can contain a HAVING clause even if it does… Read More »

## GATE | GATE CS 2012 | Question 14 2

Given the basic ER and relational models, which of the following is INCORRECT? (A) An attribute of an entity can have more than one value… Read More »

## GATE | GATE CS 2012 | Question 65 2

What is the correct translation of the following statement into mathematical logic? “Some real numbers are rational” (A) A (B) B (C) C (D) D… Read More »