OneStopGate.Com
OnestopGate   OnestopGate
   Friday, May 17, 2024 Login  
OnestopGate
Home | Overview | Syllabus | Tutorials | FAQs | Downloads | Recommended Websites | Advertise | Payments | Contact Us | Forum
OneStopGate

GATE Resources
Gate Articles
Gate Books
Gate Colleges 
Gate Downloads 
Gate Faqs
Gate Jobs
Gate News 
Gate Sample Papers
Training Institutes

GATE Overview
Overview
GATE Eligibility
Structure Of GATE
GATE Coaching Centers
Colleges Providing M.Tech/M.E.
GATE Score
GATE Results
PG with Scholarships
Article On GATE
Admission Process For M.Tech/ MCP-PhD
GATE Topper 2012-13
GATE Forum




GATE 2025 Exclusive
Organizing Institute
Important Dates
How to Apply
Discipline Codes
GATE 2025 Exam Structure

GATE 2025 Syllabus
Aerospace Engg..
Agricultural Engg..
Architecture and Planning
Chemical Engg..
Chemistry
Civil Engg..
Computer Science / IT
Electronics & Communication Engg..
Electrical Engg..
Engineering Sciences
Geology and Geophysics
Instrumentation Engineering
Life Sciences
Mathematics
Mechanical Engg..
Metallurgical Engg..
Mining Engg..
Physics
Production & Industrial Engg..
Pharmaceutical Sciences
Textile Engineering and Fibre Science

GATE Study Material
Aerospace Engg..
Agricultural Engg..
Chemical Engg..
Chemistry
Civil Engg..
Computer Science / IT
Electronics & Communication Engg..
Electrical Engg..
Engineering Sciences
Instrumentation Engg..
Life Sciences
Mathematics
Mechanical Engg..
Physics
Pharmaceutical Sciences
Textile Engineering  and Fibre Science

GATE Preparation
GATE Pattern
GATE Tips N Tricks
Compare Evaluation
Sample Papers 
Gate Downloads 
Experts View

CEED 2013
CEED Exams
Eligibility
Application Forms
Important Dates
Contact Address
Examination Centres
CEED Sample Papers

Discuss GATE
GATE Forum
Exam Cities
Contact Details
Bank Details

Miscellaneous
Advertisment
Contact Us


Home » GATE Study Material » Computer Science & IT » GATE Previous Year Question Papers List » Questions

GATE Information Technology(IT)-2004 paper

Looking for GATE Preparation Material? Join & Get here now!

** Gate 2013 Question Papers.. ** CEED 2013 Results.. ** Gate 2013 Question Papers With Solutions.. ** GATE 2013 CUT-OFFs.. ** GATE 2013 Results.. **

Information Technology(IT)

61. 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 at the previous request, service was for track 90. the pending requests (in order of their arrival) are for track numbers. 30 70 115 130 110 80 20 25. How many times will the head change its direction for the disk scheduling policies SSTF (Shortest Seek Time First) and FCFS (First Come First Serve)?

(A) 2 and 3

(B) 3 and 3

(C) 3 and 4

(D)4 and 4

62. 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 same timestamp if killed. Let P be the process holding a resource R, P be a process requesting for the same resource R, and T(Ph) and T(PP)be their timestamps respectively. The decision to wait or preempt one of the processes is based on the following algorithm.

if T()<T(Ph) then 
kill F 
else 
wait 
Which one of the following is TRUE? 

(A) The scheme is deadlock free, but not starvation free

(B) The scheme is not deadlock free, but starvation free

(C) The scheme is neither deadlock free nor starvation free

(D) The scheme is both deadlock free and starvation free

63. A process executes the following segment of code:

fo r( i =1; i = n ; i + +) 
forkQ: 
The number of new processes created is: 

(A) n

(B) n(n+l)

(C) 2-1

(D)3-1

64. The semaphore variables full, empty and mutex are initialized to 0, n and 1, respectively. Process F repeatedly adds one item at a time to a buffer of size n, and process P2 repeatedly removes one item at a time from the same buffer suing the programs given below. In the program, K, L, M and N are unspecified statements.

P1: while (1) { 
K; P(mutex); 
Add an item to the buffer; 
V(mutex);L; 
} 
P2: while (1) { 
M; P(mqt�x); Drum 
Remove an item from the buffer; 
V(mutex);N; 
} 
The statements K, L, M and N are respectively 

(A) P(full), V(empty), P(full), V(empty)

(B) P(full), V(empty), P(empty), V(full)

(C) P(empty), V(full), P(empty), V(full)

(D) P(empty), V(full), P(full), V(empty)

65. In a virtual memory system, size of virtual address is 32bit, size of physical address is 30 bit, page size is 4 Kbyte and size of each page table entry is 32-bit. The main memory is byte addressable. Which one of the following is the maximum number of bits that can be used for storing protection and other information in each page table entry?

(A) 2

(B) 10

(C) 12

(D)14

66. 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: one for single indirect block, one for double indirect block and one for triple indirect block. Also, each block can contain addresses for 128 blocks. Which one of the following is approximately the maximum size of a file in the file system?

(A) 512 MB

(B) 2 GB

(C) 8 GB

(D) 16 GB

67. A software project involves execution of 5 tasks Ti, T2, T3, T4 and T5 of duration 10, 15, i8, 30 and 40 days, respectively. T2 and T4 can start only after Ti completes. T3 can start after T2 completes. T5 can start only after both T3 and T4 complete. What is the slack time of the task T3 in days?

(A) 0

(B) 3

(C) 18

(D) 30

68. Consider the following program module:

mt modulel (mt x, mt y) 
while (x!=y) { 
if (x>y) 
x=x-y; 
else y = y - 
} 
return x; 
} 
What is Cyclomatic complexity of the above module? 

(A) 1

(B) 2

(C) 3

(D) 4

69. Assume that the delivered liens of code L of a software is related to the effort E in person months and duration t in calendar months by the relation LP * (E/B)113 * t413, where P and B are two constants for the software process and skills factor. For a software project, the effort was estimated to be 20 person months and the duration was estimated to be 8 months. However, the customer asked the project team to complete the software project in 4 months. What would be the required effort in person months?

(A) 10

(B) 40

(C) 160

(D) 320

70. 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 complete test suite, 16 of the seeded errors were detected. The same test suite also detected 200 non- seeded errors. What is the estimated number of undetected errors in the code after this testing?

(A) 4

(B) 50

(C) 200

(D)250

71. What is the availability of a software with the following reliability figures? Mean Time Between Failure (MTBF) = 25 days Mean Time To Repair (MTTR) = 6 hours

(A) i�h

(B) 24�h

(C) 99�h

(D)99.009�h

72. Consider the following entity relationship diagram (ERD), where two entities El and E2 have a relation R of cardinality l:m. El ____________ m E2 The attributes of El are All, A12 and A13 where All is the key attribute. The attributes of E2 are A21, A22 and A23 where A21 is the key attribute and A23 is a multi-valued attribute. Relation R does not have any attribute. A relational database containing minimum number of tables with each table satisfying the requirements of the third normal form (3NF) is designed from the above ERD. The number of tables in the database is:

(A) 2

(B) 3

(C) 5

(D) 4

73. A relational database contains two table student and department in which student table has columns roll_no, name and dept_id and department table has columns dept_id and detp_name. the following insert statements were executed successfully to populate the empty tables:

Insert into department values (1, �Mathematics�) 
Insert into department values (2, �Physics�) 
Insert into student values (1, �Navin�,l) 
Insert into student values (2, �Mukesh�,2) 
Insert into student values (3, �Gita�,l) 
How many rows and columns will be retrieved by the following SQL statement? Select * from student, department

(A) 0 row and 4 columns

(B) 3 rows and 4 columns

(C) 3 rows and 5 columns

(D) 6 rows and 5 columns

74. 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. Also, for any given street, city and state, thereis just one pincode. In normalization terms, Empdtl is a relation in

(A) 1 NF only

(B) 2 NF and hence also in 1 NF

(C) 3 NF and hence also in 2 NF and 1 NF

(D) BCNF and hence also in 3 NF, 2NF and 1NF

75. A table Ti in a relational database has the following rows and columns: The following sequence of SQL statements was successfully executed on table Ti.

Update Ti set marks = marks + 5 
Select avg(marks) from Ti 
What is the output of the select statement? 

(A) i8.75

(B) 20

(C) 25

(D)Null

1 | 2 | 3 | 4 | 5 | 6



Discussion Center

Discuss/
Query

Papers/
Syllabus

Feedback/
Suggestion

Yahoo
Groups

Sirfdosti
Groups

Contact
Us

MEMBERS LOGIN
  
Email ID:
Password:

  Forgot Password?
 New User? Register!

INTERVIEW EBOOK
Get 9,000+ Interview Questions & Answers in an eBook. Interview Question & Answer Guide
  • 9,000+ Interview Questions
  • All Questions Answered
  • 5 FREE Bonuses
  • Free Upgrades
GATE RESOURCES
 
  • Gate Books
  • Training Institutes
  • Gate FAQs
  • GATE BOOKS
     
  • Mechanical Engineeering Books
  • Robotics Automations Engineering Books
  • Civil Engineering Books
  • Chemical Engineering Books
  • Environmental Engineering Books
  • Electrical Engineering Books
  • Electronics Engineering Books
  • Information Technology Books
  • Software Engineering Books
  • GATE Preparation Books
  • Exciting Offers



    GATE Exam, Gate 2009, Gate Papers, Gate Preparation & Related Pages


    GATE Overview | GATE Eligibility | Structure Of GATE | GATE Training Institutes | Colleges Providing M.Tech/M.E. | GATE Score | GATE Results | PG with Scholarships | Article On GATE | GATE Forum | GATE 2009 Exclusive | GATE 2009 Syllabus | GATE Organizing Institute | Important Dates for GATE Exam | How to Apply for GATE | Discipline / Branch Codes | GATE Syllabus for Aerospace Engineering | GATE Syllabus for Agricultural Engineering | GATE Syllabus for Architecture and Planning | GATE Syllabus for Chemical Engineering | GATE Syllabus for Chemistry | GATE Syllabus for Civil Engineering | GATE Syllabus for Computer Science / IT | GATE Syllabus for Electronics and Communication Engineering | GATE Syllabus for Engineering Sciences | GATE Syllabus for Geology and Geophysics | GATE Syllabus for Instrumentation Engineering | GATE Syllabus for Life Sciences | GATE Syllabus for Mathematics | GATE Syllabus for Mechanical Engineering | GATE Syllabus for Metallurgical Engineering | GATE Syllabus for Mining Engineering | GATE Syllabus for Physics | GATE Syllabus for Production and Industrial Engineering | GATE Syllabus for Pharmaceutical Sciences | GATE Syllabus for Textile Engineering and Fibre Science | GATE Preparation | GATE Pattern | GATE Tips & Tricks | GATE Compare Evaluation | GATE Sample Papers | GATE Downloads | Experts View on GATE | CEED 2009 | CEED 2009 Exam | Eligibility for CEED Exam | Application forms of CEED Exam | Important Dates of CEED Exam | Contact Address for CEED Exam | CEED Examination Centres | CEED Sample Papers | Discuss GATE | GATE Forum of OneStopGATE.com | GATE Exam Cities | Contact Details for GATE | Bank Details for GATE | GATE Miscellaneous Info | GATE FAQs | Advertisement on GATE | Contact Us on OneStopGATE |
    Copyright © 2024. One Stop Gate.com. All rights reserved Testimonials |Link To Us |Sitemap |Privacy Policy | Terms and Conditions|About Us
    Our Portals : Academic Tutorials | Best eBooksworld | Beyond Stats | City Details | Interview Questions | India Job Forum | Excellent Mobiles | Free Bangalore | Give Me The Code | Gog Logo | Free Classifieds | Jobs Assist | Interview Questions | One Stop FAQs | One Stop GATE | One Stop GRE | One Stop IAS | One Stop MBA | One Stop SAP | One Stop Testing | Web Hosting | Quick Site Kit | Sirf Dosti | Source Codes World | Tasty Food | Tech Archive | Software Testing Interview Questions | Free Online Exams | The Galz | Top Masala | Vyom | Vyom eBooks | Vyom International | Vyom Links | Vyoms | Vyom World
    C Interview Questions | C++ Interview Questions | Send Free SMS | Placement Papers | SMS Jokes | Cool Forwards | Romantic Shayari