Skip to content
Gblog Must Do Coding Questions for Product Based Companies
As the placement season is back, GeeksforGeeks is here to help you crack the interview. We have selected some most commonly asked and MUST DO… Read More
Consider a relation R with five attributes V, W, X, Y, and Z. The following functional dependencies hold: VY→ W, WX → Z, and ZY… Read More
Consider the following structure chart diagram. The boxes have function names embedded in them, while the variables are indicated along the arcs. Given below are… Read More
A software program consists of two modules M1 and M2 that can fail independently, but never simultaneously. The program is considered to have failed if… Read More
The wait and signal operations of a monitor are implemented using semaphores as follows. In the following, x is a condition variable, mutex is a… Read More
Note: This post contains codes that cannot be run using an online compiler. Please make sure that you have Python 2.7 and cv2 module installed… Read More
Given a Binary Tree (BT), convert it to a Doubly Linked List(DLL) In-Place. The left and right pointers in nodes are to be used as… Read More
For each of the four processes P1, P2, P3 and P4. The total size in kilobytes (KB) and the number of segments are given below.… Read More
Consider the solution to the bounded buffer producer/consumer problem by using general semaphores S, F, and E. The semaphore S is the mutual exclusion semaphore… Read More
The arrival time, priority, and duration of the CPU and I/O bursts for each of three processes P1, P2 and P3 are given in the table… Read More
Match the following concepts and their best possible descriptions.<br> (A) i-b, ii-d, iii-e, iv-f, v-g, vi-a (B) i-c, ii-a, iii-e, iv-d, v-h, vi-f (C) i-c,… Read More
The following function computes the value of mCn correctly for all legal values m and n (m≥1,n≥0 and m>n) Attention reader! Don’t stop learning now. … Read More
Which one of the choices given below would be printed when the following program is executed?Attention reader! Don’t stop learning now.  Practice GATE exam well… Read More
Which one of the choices given below would be printed when the following program is executed?Attention reader! Don’t stop learning now.  Practice GATE exam well… Read More
Which one of the choices given below would be printed when the following program is executed ?Attention reader! Don’t stop learning now.  Practice GATE exam… Read More
The characters a to h have the set of frequencies based on the first 8 Fibonacci numbers as follows a : 1, b : 1,… Read More