OneStopGate.Com
OnestopGate   OnestopGate

  JOIN GATE GROUP, Looking for GATE Preparation Materials? Join & Get GATE Preparation Materials now!, JOIN GATE GROUP
OnestopGate
Home | Overview | Syllabus | Tutorials | FAQs | Downloads | Advertise | Contact Us | Forum
OneStopGate

GATE Overview
  arrow to indicate  Overview
  arrow to indicate  GATE Eligibility
  arrow to indicate  Structure Of GATE
  arrow to indicate  GATE Coaching       Centers
  arrow to indicate  Colleges Providing M.Tech/M.E.
  arrow to indicate  GATE Score
  arrow to indicate  GATE Results
  arrow to indicate  PG with Scholarships
  arrow to indicate  Article On GATE
  arrow to indicate  GATE Forum

GATE 2009 Exclusive
  arrow to indicate  GATE 2009 Syllabus
  arrow to indicate  GATE Organizing Institute
  arrow to indicate  Important Dates
  arrow to indicate  How to Apply
  arrow to indicate  Discipline Codes

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

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

GATE Preparation
  arrow to indicate  GATE Pattern
  arrow to indicate  GATE Tips N Tricks
  arrow to indicate  Compare Evaluation
  arrow to indicate  Sample Papers
  arrow to indicate  GATE Downloads
  arrow to indicate  Experts View

CEED 2009
  arrow to indicate  CEED Exams
  arrow to indicate  Eligibility
  arrow to indicate  Application Forms
  arrow to indicate  Important Dates
  arrow to indicate  Contact Address
  arrow to indicate  Examination Centres
  arrow to indicate  CEED Sample Papers

Discuss GATE
  arrow to indicate  GATE Forum
  arrow to indicate  Exam Cities
  arrow to indicate  Contact Details
  arrow to indicate  Bank Details

Miscellaneous
  arrow to indicate  GATE FAQs
  arrow to indicate  Advertisment
  arrow to indicate  Contact Us

Home » Gate Prepration » Sample Papers

Computer Science Engineering

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

Discuss/
Query

Papers/
Syllabus

Feedback/
Suggestion

Yahoo
Groups

Sirfdosti
Groups

Contact
Us
  Print
Computer Science Engineering Sample Papers

Computer Science Engineering Sample Papers
1 The order of an internal node in a B+ tree index is the maximum number of children it can have. Suppose that a child pointer takes 6 bytes, the search field value takes 14 bytes, and the block size is 512 bytes. What is the order of the internal node?
A) 24
B) 25
C) 26
D) 27
Answer : (C)

2 The Boolean function x, y, + xy + x, y
A) x, + y,
B) x + y
C) x + y,
D) x, + y
Answer : (D)

3 In an MxN matrix such that all non-zero entries are covered in a rows and b columns. Then the maximum number of non-zero entries, such that no two are on the same row or column, is
A) £ a + b
B) £ max {a, b}
C) £ min {M-a, N-b}
D) £ min {a, b}
Answer : (A)

4 The relation scheme Student Performance (name, courseNo, rollNo, grade) has the following functional dependencies:
A) name, courseNo -> grade
B) rollNo, courseNo -> grade
C) name -> rollNo
D) rollNo -> name
The highest normal form of this relation scheme is
Answer : (A)

5 The minimum number of page frames that must be allocated to a running process in a virtual memory environment is determined by
A) the instruction set architecture
B) page size
C) physical memory size
D) number of processes in memory
Answer : (D)

6 Let G be a simple graph with 20 vertices and 100 edges. The size of the minimum vertex cover of G is 8. Then, the size of the maximum independent set of G is
A) 12
B) 8
C) Less than 8
D) More than 12
Answer : (A)

7 What does the following algorithm approximate? (Assume m > 1, Î > 0).
x = m;
y-i;
while (x - y > Î)
{ x = (x + y) / 2 ;
y = m/x ;
}
print (x) ;

A) log m
B) m2
C) m1/2
D) m1/3
Answer : (C)

8 Consider the following C program
main ()
{ int x, y, m, n ;
scanf ("%d %d", &x, &y);
/ * Assume x > 0 and y > 0 * /
m = x; n = y ;
while ( m ! = n)
{ if (m > n)
m = m — n;
else
n = n - m ; }
printf("%d",n); }
The program computes

A) x + y, using repeated subtraction
B) x mod y using repeated subtraction
C) the greatest common divisor of x and y
D) the least common multiple of x and y
Answer : (C)

9 The best data structure to check whether an arithmetic expression has balanced parentheses is a
A) queue
B) stack
C) tree
D) list
Answer : (B)

10 A Priority-Queue is implemented as a Max-Heap. Initially, it has 5 elements. The level-order traversal of the heap is given below: 10, 8,5,3,2 Two new elements 1 and 7 are inserted in the heap in that order. The level-order traversal of the heap after the insertion of the elements is
A) 10,8,7,5,3,2,1
B) 10,8,7,2,3,1,5
C) 10,8,7,1,2,3,5
D) 10,8,7,3,2,1,5
Answer : (D)

11 An organization has a class B network and wishes to form subnets for 64 departments. The subnet mask would be
A) 255.255.0.0
B) 255.255.64.0
C) 255.255.128.0
D) 255.255.252.0
Answer : (D)

12 Suppose the round trip propagation delay for a 10 Mbps Ethernet having 48-bit jamming signal is 46.4 ms. The minimum frame size is:
A) 94
B) 416
C) 464
D) 512
Answer : (C)

13 The following numbers are inserted into an empty binary search tree in the given order: 10, 1, 3, 5, 15, 12, 16. What is the height of the binary search tree (the height is the maximum distance of a leaf node from the root)?
A) 2
B) 3
C) 4
D) 6
Answer : (B)

14 Consider the following C function:
int f (int n)
{ static int i = 1;
if (n >= 5) return n;
n = n + i;
i ++;
return f (n);
}
The value returned by f(1) is

A) 5
B) 6
C) 7
D) 8
Answer : (C)

15 The minimum number of page frames that must be allocated to a running process in a virtual memory environment is determined by
A) the instruction set architecture
B) page size
C) physical memory size
D) number of processes in memory
Answer : (D)

MEMBERS LOGIN
  
EmailId:
Password:

  Forgot Password?
 New User? Register!
A D V E R T I S E M E N T
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
START YOUR WEBSITE
India's Best Web Hosting Company
GATE RESOURCES
 
  • Gate Books
  • Training Institutes
  • Gate FAQs
  • 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 © 2008. One Stop Gate.com. All rights reserved Privacy Policies | About Us
    Our Portals : Academic Tutorials | Best eBooksworld | Beyond Stats | City Details | Interview Questions | Discussions World | Excellent Mobiles | Free Bangalore | Give Me The Code | Gog Logo | Indian Free Ads | Jobs Assist | New Interview Questions | One Stop FAQs | One Stop GATE | One Stop GRE | One Stop IAS | One Stop MBA | One Stop SAP | One Stop Testing | Quick2Host | Quick2Host Mirror | Quick Site Kit | Sirf Dosti | Source Codes World | Tasty Food | Tech Archive | Testing Interview Questions | Tests World | 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