Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
No answer
No selected answer
No upvoted answer
Previous GATE
Featured
Recent questions without answers
0
votes
0
answers
7861
#geeks_quiz_datastructure
Consider the following list of the integer: 19, 23, 40, 32, 91, 25, 100, 36 Sort this list in increasing order using insertion sort and determine the number of passes, comparisons, and swaps ? A 7, 14, 8 respectively. B 7, 7, 14 respectively. C 8, 7, 12 respectively. D 8, 14, 7 respectively.
Consider the following list of the integer:19, 23, 40, 32, 91, 25, 100, 36Sort this list in increasing order using insertion sort and determine the number of passes, comp...
anjali007
408
views
anjali007
asked
Nov 17, 2018
0
votes
0
answers
7862
Database GOTest
Under what condition does the selection operation distribute over theta join operation ? Let R and S are two relations then which one of the following statements about the above condition is TRUE ? i) σC (R ⋈ S) ≡ (σC1 (R)) ⋈ (σC2 (S)) ii) σC (R ⋈ S) ≡ (σC (R)) ⋈ R iii) σC (R ⋈ S ) ≡ σC2 ( ... ⋈ S) iv) σC (R ⋈ S ) ≡ σC1 ( R ⋈ (σC2 (S))) A i, iii B i , ii, iii, iv C ii , iii D i, ii
Under what condition does the selection operation distribute over theta join operation ?Let R and S are two relations then which one of the following statements about the...
Abhisek Tiwari 4
301
views
Abhisek Tiwari 4
asked
Nov 17, 2018
0
votes
0
answers
7863
Kenneth Rosen
Is the set of rational numbers between 0 and 1 (inclusive) well ordered over the relation $\leq$?
Is the set of rational numbers between 0 and 1 (inclusive) well ordered over the relation $\leq$?
Lakshay Kakkar
302
views
Lakshay Kakkar
asked
Nov 17, 2018
0
votes
0
answers
7864
self doubts
1)An attribute of an entity is equivalent to relation name in relational model. 2)An attribute of an entity can be calculated from other attributes. given above which is true or false. plz explain why????
1)An attribute of an entity is equivalent to relation name in relational model.2)An attribute of an entity can be calculated from other attributes.given above which is tr...
altamash
141
views
altamash
asked
Nov 17, 2018
0
votes
0
answers
7865
made easy
ans is 9.99 how??
ans is 9.99 how??
CHïntän ÞäTël
215
views
CHïntän ÞäTël
asked
Nov 17, 2018
0
votes
0
answers
7866
Self doubts
Does context switch time depends on scheduling algorithms??
Does context switch time depends on scheduling algorithms??
saif
300
views
saif
asked
Nov 17, 2018
1
votes
0
answers
7867
Operating System
consider an OS that uses paging with a page size of 4K. There is a 32 bit virtual address space.At some particular moment the page table for the currently running process holds the following sequence of frames:[2,-1,3,0,...].-1 is a flag ... each of the following virtual addresses, state whether they are in memory and if so give the corresponding physical address: 50, 5000, 10000.
consider an OS that uses paging with a page size of 4K. There is a 32 bit virtual address space.At some particular moment the page table for the currently running process...
Asma Lokhandwala
323
views
Asma Lokhandwala
asked
Nov 17, 2018
Operating System
operating-system
+
–
0
votes
0
answers
7868
myself
what is the difference between union and cross product of dfa
what is the difference between union and cross product of dfa
namvar
142
views
namvar
asked
Nov 17, 2018
Theory of Computation
finite-automata
theory-of-computation
union
crossproduct
+
–
0
votes
0
answers
7869
Time Complexity
How to solve the following recurrence relation? T(n) = T(n-6) + n2 , n>7 T(n) = 1 , n<= 7
How to solve the following recurrence relation?T(n) = T(n-6) + n2 , n>7T(n) = 1 , n<= 7
garvit_vijai
476
views
garvit_vijai
asked
Nov 17, 2018
Algorithms
time-complexity
asymptotic-notation
recurrence-relation
algorithms
+
–
0
votes
0
answers
7870
TIME COMPLEXITY
n is prime ,find value of x and find time complexity. main() { x=0; for(i=1;i<=n;i++) { if(n%i) { for(j=1;j<=n;j=j*10) { x=x+1; } } } } what i am getting is x=(n-2)logn tym complexity =n+(n-2)log n. is correct ?
n is prime ,find value of x and find time complexity.main(){x=0;for(i=1;i<=n;i++){if(n%i){for(j=1;j<=n;j=j*10){x=x+1;}}}}what i am getting is x=(n-2)logntym complexity =n...
eyeamgj
322
views
eyeamgj
asked
Nov 17, 2018
Algorithms
time-complexity
algorithms
+
–
0
votes
0
answers
7871
#Self-doubt
The minimum number of comparisons required to determine if an integer appears more than n/2 times in a sorted array of n integers is: a) O(logn) b)O(n) c)O(1) d)O(log*n)
The minimum number of comparisons required to determine if an integer appears more than n/2 times in a sorted array of n integers is:a) O(logn)b)O(n)c)O(1)d)O(log*n)
anjali007
305
views
anjali007
asked
Nov 17, 2018
0
votes
0
answers
7872
Test series
abhishekmehta4u
487
views
abhishekmehta4u
asked
Nov 17, 2018
0
votes
0
answers
7873
Rsa algorithm
Rsa algorithm is used by choosing two prime numbers say p=3 and q=11.If the public key is e=3 then what is the cipher value to transmit the character 'u'???
Rsa algorithm is used by choosing two prime numbers say p=3 and q=11.If the public key is e=3 then what is the cipher value to transmit the character 'u'???
saumya mishra
597
views
saumya mishra
asked
Nov 17, 2018
0
votes
0
answers
7874
self doubt
https://gateoverflow.in/2443/gate1994-1-6-isro2008-29 i am doing using 2nCn /(n+1) for n=1 to 3 but total is coming as 8 is it correct?
https://gateoverflow.in/2443/gate1994-1-6-isro2008-29i am doing using 2nCn /(n+1) for n=1 to 3 but total is coming as 8 is it correct?
eyeamgj
293
views
eyeamgj
asked
Nov 17, 2018
0
votes
0
answers
7875
Self doubt
Consider the following justifications for commonly using the two-level CPU scheduling: I. It is used when memory is too small to hold all the ready processes. II. Because its performance is same as that of the FIFO. III. Because it facilitates putting some set of processes into memory and a choice is ... . Which of the following is true ? (A) 1,3 and 4 (B) 1 and 2 (C )3 and 4 (D)1 and 3
Consider the following justifications for commonly using the two-level CPU scheduling: I. It is used when memory is too small to hold all the ready processes. II. Because...
Mahbub Alam
232
views
Mahbub Alam
asked
Nov 16, 2018
Operating System
operating-system
process-scheduling
+
–
0
votes
0
answers
7876
Doubt
can someone explain the formula n^k when k distinguishable items are to be placed in n distinguishable boxes without any restrictions?
can someone explain the formula n^k when k distinguishable items are to be placed in n distinguishable boxes without any restrictions?
aditi19
291
views
aditi19
asked
Nov 16, 2018
Combinatory
combinatory
engineering-mathematics
+
–
1
votes
0
answers
7877
classless subnetting forouzan ex
An organization is granted the block 130.56.0.0/16. The administrator wants to create 1024 subnets. Find the first and last addresses in subnet 3.
An organization is granted the block 130.56.0.0/16. The administrator wants to create 1024 subnets. Find the first and last addresses in subnet 3.
Meenakshi Sharma
915
views
Meenakshi Sharma
asked
Nov 16, 2018
0
votes
0
answers
7878
ibps2015
the scope of a variable is 1. the range of values that can be assigned to a variable 2. the program area is which the variable is accessible 3. the maximum number of characters that can be allowed in the name of variable 4. both 1 and 2
the scope of a variable is1. the range of values that can be assigned to a variable2. the program area is which the variable is accessible3. the maximum number of charact...
Kushagra1234
185
views
Kushagra1234
asked
Nov 16, 2018
0
votes
0
answers
7879
Self Doubt COA
https://gateoverflow.in/63585/pipelining Can anyone Explain the meaning of the line- "Assume that no instruction starts at first stage time the branch condition is evaluated"
https://gateoverflow.in/63585/pipeliningCan anyone Explain the meaning of the line-"Assume that no instruction starts at first stage time the branch condition is evaluate...
Soumya Tiwari
178
views
Soumya Tiwari
asked
Nov 16, 2018
CO and Architecture
co-and-architecture
pipelining
self-doubt
+
–
0
votes
0
answers
7880
Gatebook Test series ques
Answer given is Option A , but here we wil first sort the jobs in order of profit , for each value of deadline scan linearly in the array depending on the value of deadline , so it should take O(n^2) in worst case .
Answer given is Option A , but here we wil first sort the jobs in order of profit , for each value of deadline scan linearly in the array depending on the value of deadli...
radha gogia
512
views
radha gogia
asked
Nov 16, 2018
Algorithms
gatebook
test-series
algorithm-design
+
–
0
votes
0
answers
7881
#CN Error Detection - How many bit errors can simple parity bit error detection or 1-D parity bit can detect?
How many bit errors can simple parity bit error detection or 1-D parity bit can detect?I'm pretty confused about it - that can I detect only one bit errors or all odd bit...
iarnav
497
views
iarnav
asked
Nov 16, 2018
Computer Networks
computer-networks
error-detection
+
–
0
votes
0
answers
7882
Testbook Test Series: Compiler Design - Parsing
Dheeraj Pant
587
views
Dheeraj Pant
asked
Nov 16, 2018
Compiler Design
compiler-design
testbook-test-series
parsing
+
–
1
votes
0
answers
7883
IIT Bombay Phd question
The number of distinct rearrangement of the 6 letters in the name RAJAJI is .....
The number of distinct rearrangement of the 6 letters in the name RAJAJI is .....
Deborah
963
views
Deborah
asked
Nov 16, 2018
0
votes
0
answers
7884
GATEBOOK_DSA5_7
Which of the following provides a lower bound on the number of comparisons needed to find the kth largest element in an array of n integer elements? (A) n ∗ k (B) n + k − log n (C) min (n + k − 1, 2(n − k + 1)) (D) n − 1 + min (k − 1, n − k)
Which of the following provides a lower bound on the number of comparisons needed to find the kth largest element in an array of n integer elements?(A) n ∗ k (B) n + k ...
Ayush Upadhyaya
572
views
Ayush Upadhyaya
asked
Nov 16, 2018
Programming in C
algorithms
+
–
0
votes
0
answers
7885
B+ Tree Doubt
Why internal node split isn't counted in this question? Only leaf node split is counted. https://gateoverflow.in/1330/gate2009-44
Why internal node split isn't counted in this question? Only leaf node split is counted.https://gateoverflow.in/1330/gate2009-44
Shamim Ahmed
315
views
Shamim Ahmed
asked
Nov 16, 2018
Databases
b-tree
databases
+
–
0
votes
0
answers
7886
previous
https://gateoverflow.in/2263/gate1997-6-7 1. They said at least 4 resource are required. First p1 comes takes two system resource, then p2 comes takes 1 system resource, then p3 comes takes 1 system resource. Now P3 needs one more resource so it is ... process keeps track when the other process leaves resource, which part of the os performs this function? is it done by using semaphores?
https://gateoverflow.in/2263/gate1997-6-71. They said at least 4 resource are required.First p1 comes takes two system resource, then p2 comes takes 1 system resource, th...
Swapnil Naik
230
views
Swapnil Naik
asked
Nov 16, 2018
Operating System
operating-system
deadlock-prevention-avoidance-detection
+
–
0
votes
0
answers
7887
#Self doubt
https://gateoverflow.in/193583/computer-network please explain how the answer is option c?
https://gateoverflow.in/193583/computer-networkplease explain how the answer is option c?
himgta
228
views
himgta
asked
Nov 16, 2018
0
votes
0
answers
7888
Self doubt
Show that no grammar that has cycles can be LL(1). Is it true ?? It is saying if the grammar has cycle it can't be LL(1) But what if the cycle in grammar is due to RIGHT RECURSiON which is allowed in LL(1) ???
Show that no grammar that has cycles can be LL(1).Is it true ??It is saying if the grammar has cycle it can't be LL(1)But what if the cycle in grammar is due to RIGHT REC...
jatin khachane 1
224
views
jatin khachane 1
asked
Nov 16, 2018
Compiler Design
compiler-design
ll-parser
+
–
0
votes
0
answers
7889
programming
#include<stdio.h> int(*foo())[3] { static int a[3]={1,2,3}; printf("%d",*a); return &a; } int main() { static int (*p)[3]; p=foo(); printf("%d",*(*p+2)); return 0; } i try to make picture representation i think this is wrong please make correct
#include<stdio.h int(*foo())[3] { static int a[3]={1,2,3}; printf("%d",*a); return &a; } int main() { static int (*p)[3]; p=foo(); printf("%d",*(*p+2)); r...
Gurdeep Saini
412
views
Gurdeep Saini
asked
Nov 16, 2018
Programming in C
programming-in-c
programming
+
–
0
votes
0
answers
7890
made easy test series
answer given is 11. I am Getting 3
answer given is 11. I am Getting 3
amitqy
307
views
amitqy
asked
Nov 16, 2018
Computer Networks
go-back-n
+
–
Page:
« prev
1
...
258
259
260
261
262
263
264
265
266
267
268
...
593
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register