Skip to content

Tag Archives: GATE-GATE IT 2004

A relation Empdtl is defined with attributes empcode (unique), name, street, city, state and pincode. For any pincode, there is only one city and state.… Read More
A relational database contains two tables student and department in which student table has columns roll_no, name and dept_id and department table has columns dept_id… Read More
Consider the following entity relationship diagram (ERD), where two entities E1 and E2 have a relation R of cardinality 1 : m. The attributes of… Read More
What is the availability of a software with the following reliability figures? Mean Time Between Failure (MTBF) = 25 days Mean Time To Repair (MTTR)… Read More
A software was tested using the error seeding strategy in which 20 errors were seeded in the code. When the code was tested using the… Read More
Assume that the delivered lines of code L of a software is related to the effort E in person months and duration t in calendar… Read More
Consider the following program module: int module1 (int x, int y) { while (x! = y) { if (x > y) x = x -… Read More
A software project involves execution of 5 tasks T1, T2, T3, T4 and T5 of duration 10, 15, 18, 30 and 40 days, respectively. T2… Read More
In a particular Unix OS, each data block is of size 1024 bytes, each node has 10 direct data block addresses and three additional addresses:… Read More
In a virtual memory system, size of virtual address is 32-bit, size of physical address is 30-bit, page size is 4 Kbyte and size of… Read More
The semaphore variables full, empty and mutex are initialized to 0, n and 1, respectively. Process P1 repeatedly adds one item at a time to… Read More
A process executes the following segment of code : for(i = 1; i < = n; i++) fork (); The number of new processes created… Read More
In a certain operating system, deadlock prevention is attempted using the following scheme. Each process is assigned a unique timestamp, and is restarted with the… Read More
A disk has 200 tracks (numbered 0 through 199). At a given time, it was servicing the request of reading data from track 120, and… Read More
Consider the following C program: #include <stdio.h> typedef struct  {     char *a;     char *b; } t; void f1(t s); void f2(t *p); main() {     static… Read More

Start Your Coding Journey Now!