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 an upvoted answer
0
votes
1
answer
19801
more than n/2
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 Θ(n) Θ(logn) Θ(log∗n) Θ(1) isnt O(1) enough for this.....the answer give in this site is log N can i get a counter on why O(1) wont work ?
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Θ(n)Θ(logn)Θ(log∗n)Θ(1)isnt O(1)...
A_i_$_h
3.4k
views
A_i_$_h
asked
Dec 11, 2017
Algorithms
algorithms
sorting
time-complexity
+
–
0
votes
0
answers
19802
dlda Q
Number of 3*8 Decoders required to construct a 9×29 Decoder having 3 levels.
Number of 3*8 Decoders required to construct a 9×29 Decoder having 3 levels.
mohitbawankar
394
views
mohitbawankar
asked
Dec 11, 2017
0
votes
1
answer
19803
Connection in TCP
TCP send an SYN=1 and an ACK=1 for data transfer . After data has transferred TCP client want to close the connection sending FIN. So, for closing the connection, what TCP server will send? 1)ACK 2)FIN-1 3)FIN-2 4)None of these
TCP send an SYN=1 and an ACK=1 for data transfer . After data has transferred TCP client want to close the connection sending FIN. So, for closing the connection, what TC...
srestha
577
views
srestha
asked
Dec 11, 2017
Computer Networks
computer-networks
+
–
0
votes
0
answers
19804
Stanford(Computer Networks)
Suppose that you have two nodes communicating with an AP that are hidden terminals to one another. The AP, except for acknowledgments, remains silent and there are no other transmitters in the network. The two nodes are both transmitting ... start transmitting at exactly the same time, what is the minimum number of backoffs before a packet is delivered successfully?
Suppose that you have two nodes communicating with an AP that are hidden terminals to one another. The AP, except foracknowledgments, remains silent and there are no othe...
vijay_jr
485
views
vijay_jr
asked
Dec 11, 2017
Computer Networks
computer-networks
csma-ca
wireless-lan
+
–
1
votes
0
answers
19805
TEST SERIES - SQL
You executed the following SQL statements in the given order: CREATE TABLE orders (order_id NUMBER(3) PRIMARY KEY, order_date DATE, customer_idnumber(3)); INSERT INTO orders VALUES (100,'10-mar-2007',222); ALTER TABLE orders MODIFY order_date NOT ... All the statements up to the ALTER TABLE statement would be committed and the outcome of UPDATE statement would be rolled back.
You executed the following SQL statements in the given order:CREATE TABLE orders(order_id NUMBER(3) PRIMARY KEY,order_date DATE,customer_idnumber(3));INSERT INTO orders V...
shaurya vardhan
538
views
shaurya vardhan
asked
Dec 11, 2017
Databases
sql
databases
query
+
–
0
votes
0
answers
19806
TCP sequence number in case of Dummy packet
Hi Guys, I know 1 new sequence number is consumed consumed for SYN, FIN or 1 byte of Data (means for 100 Byte 100 sequence number will be used). But sometimes TCP sends Dummy packet for example when receivers window size is zero ... as Silly window Syndrome problem). So in such kind of cases does new sequence number is used for every dummy packet ?
Hi Guys,I know 1 new sequence number is consumed consumed for SYN, FIN or 1 byte of Data (means for 100 Byte 100 sequence number will be used). But sometimes TCP sends D...
Chhotu
405
views
Chhotu
asked
Dec 11, 2017
Computer Networks
computer-networks
tcp
sequencenumber
+
–
0
votes
1
answer
19807
Memory Access
In Numerical answer type questions, when we have to consider simultaneous memory access and when we have to use hierarchical memory access model? How to know it?
In Numerical answer type questions, when we have to consider simultaneous memory access and when we have to use hierarchical memory access model? How to know it?
ankitgupta.1729
646
views
ankitgupta.1729
asked
Dec 10, 2017
CO and Architecture
co-and-architecture
effective-memory-access
+
–
1
votes
0
answers
19808
Assignment-Cache,please guide
The access time of cache memory is 45 nsec and that of main memory is 750 nsec. It is found that 75% of memory requests are for read and remaining for write. If the hit access for read and write is 0.9 and 1 respectively and write through protocol is ... protocol is used in write equation In answer given 0.75[0.9(45)+0.1(750)] where i lag the concept,please help
The access time of cache memory is 45 nsec and that of main memory is 750 nsec. It is found that 75% of memory requests are for read and remaining for write. If the hit a...
Learner_jai
382
views
Learner_jai
asked
Dec 10, 2017
0
votes
1
answer
19809
IF L1 and L2 are languages are recognised by machines m1 and m2 with n and m states
Sanjay Sharma
981
views
Sanjay Sharma
asked
Dec 10, 2017
Theory of Computation
theory-of-computation
bad-question
+
–
2
votes
1
answer
19810
Efficiency of Stop-and-Wait, Selective Reject and Go-Back-N ARQ when error probability is p
Hi Guys, Do you know formula for efficiency of Stop-and-Wait, Selective Reject and Go-Back-N ARQ when error probability is p ? PS: Although i am mentioning the link for answer but if you want to add some ... info.(or some more elegant proof for the formula) then it will be really helpful for all readers. :)
Hi Guys,Do you know formula for efficiency of Stop-and-Wait, Selective Reject and Go-Back-N ARQ when error probability is p ?PS: Although i am mentioning the link for an...
Chhotu
2.4k
views
Chhotu
asked
Dec 10, 2017
CO and Architecture
computer-networks
sliding-window
stop-and-wait
go-back-n
+
–
0
votes
0
answers
19811
Chomsky Normal Form
Sanjay Sharma
816
views
Sanjay Sharma
asked
Dec 10, 2017
Theory of Computation
theory-of-computation
context-free-grammar
conjunctive-normal-form
+
–
2
votes
1
answer
19812
Database
Consider the following statements. S1: If relation R is in 3NF and every key is simple, then R is in BCNF S2: If relation R is in 3NF and R has only one key, then R is in BCNF A).Both S1 and S2 are true. B).S1 is true S2 is false. C).S2 is true S1 is false. D).Both S1 and S2 are false.
Consider the following statements.S1: If relation R is in 3NF and every key is simple, then R is in BCNFS2: If relation R is in 3NF and R has only one key, then R is in...
Bad_Doctor
764
views
Bad_Doctor
asked
Dec 10, 2017
Databases
databases
database-normalization
+
–
0
votes
0
answers
19813
Tuple relational calculus
What does the following tuple relational calculus query produce? • Student (Student_name, street, city) • Score (Student_name, Branch_name, marks) • Branch (Branch_name, HOD) • Manages (Student_name, Faculty_name)
What does the following tuple relational calculus query produce?• Student (Student_name, street, city)• Score (Student_name, Branch_name, marks)• Branch (Branch_nam...
Tuhin Dutta
716
views
Tuhin Dutta
asked
Dec 10, 2017
Databases
relational-calculus
databases
tuple-relational-calculus
+
–
0
votes
0
answers
19814
Tuple relational calculus
Student (Student_name, street, city) • Score (Student_name, Branch_name, marks) • Branch (Branch_name, HOD) • Manages (Student_name, Faculty_name) What does the following tuple relational calculus query produce?
Student (Student_name, street, city)• Score (Student_name, Branch_name, marks)• Branch (Branch_name, HOD)• Manages (Student_name, Faculty_name)What does the followi...
Tuhin Dutta
352
views
Tuhin Dutta
asked
Dec 10, 2017
Databases
databases
relational-calculus
tuple-relational-calculus
+
–
0
votes
0
answers
19815
Coefficient of variation . Is it included in syllabus?
Parshu gate
240
views
Parshu gate
asked
Dec 10, 2017
0
votes
0
answers
19816
gate question
Consider a carry look ahead adder for adding two n-bit integers, built using gates of fan-in at most two. The time to perform addition using this adder is
Consider a carry look ahead adder for adding two n-bit integers, built using gates of fan-in at most two. The time to perform addition using this adder is
Chandrabhan Vishwa 1
283
views
Chandrabhan Vishwa 1
asked
Dec 10, 2017
3
votes
1
answer
19817
Buffer sizes of error and flow control protocol
Is it true? The correct order of buffer sizes in stop and wait, GBN and SR is: (STOP and Wait) < GBN < (selective repeat)
Is it true?The correct order of buffer sizes in stop and wait, GBN and SR is: (STOP and Wait) < GBN < (selective repeat)
Tuhin Dutta
1.6k
views
Tuhin Dutta
asked
Dec 10, 2017
Computer Networks
computer-networks
+
–
0
votes
1
answer
19818
Nielit
Deadlock does not occurs with single resource why? Is Single resource can't be in shareable mode?
Deadlock does not occurs with single resource why?Is Single resource can't be in shareable mode?
Harikesh Kumar
459
views
Harikesh Kumar
asked
Dec 10, 2017
Operating System
databases
deadlock-prevention-avoidance-detection
+
–
0
votes
1
answer
19819
equivalence class
Consider the following regular expression R = a*b* + b*a*. The number of equivalence classes of Σ* to represent a language which is equivalent to R is __________.
Consider the following regular expression R = a*b* + b*a*. The number of equivalence classes of Σ* to represent a language which is equivalent to R is __________.
set2018
285
views
set2018
asked
Dec 10, 2017
Theory of Computation
theory-of-computation
+
–
1
votes
1
answer
19820
graph Theory
Consider an undirected graph G where self-loops are not allowed. The vertex set of G is {(i,j):1<=i<=12,1<=j<=12}. There is an edge between (a, b) and (c, d) if |a-c|<=1 and |b-d|<=1. The number of edges in this graph is __________.
Consider an undirected graph G where self-loops are not allowed. The vertex set of G is {(i,j):1<=i<=12,1<=j<=12}. There is an edge between (a, b) and (c, d) if |a-c|<=1 ...
Parshu gate
438
views
Parshu gate
asked
Dec 10, 2017
Graph Theory
discrete-mathematics
graph-theory
+
–
0
votes
1
answer
19821
Which of the following is true?
1)S1 is regular but not S2 2)S2 is regular but not S1 3)S1 and S2 are not regular 4)S1 and S2 are regular
1)S1 is regular but not S22)S2 is regular but not S13)S1 and S2 are not regular4)S1 and S2 are regular
set2018
2.1k
views
set2018
asked
Dec 10, 2017
Theory of Computation
theory-of-computation
+
–
0
votes
1
answer
19822
Number of Page faults
Let be the reverse of a reference string S then which of the following statements is false? A. page-fault rate for the LRU algorithm on S is the same as the page-fault rate for the LRU algorithm on B. page-fault rate for the FIFO algorithm on S is the ... -Replacement algorithm on D. None of the above Answer given was B but I think it must be D. what wud be the correct choice?
Let be the reverse of a reference string S then which of the following statements is false?A. page-fault rate for the LRU algorithm on S is the same as the page-fault ra...
atul_21
949
views
atul_21
asked
Dec 10, 2017
1
votes
2
answers
19823
Interrupts
In case of Vectored interrupts,the I/o device send the vector address along with the I/o request or does it sends after it receives ack/INTA from CPU?
In case of Vectored interrupts,the I/o device send the vector address along with the I/o request or does it sends after it receives ack/INTA from CPU?
rahul sharma 5
419
views
rahul sharma 5
asked
Dec 10, 2017
Operating System
interrupts
co-and-architecture
+
–
2
votes
2
answers
19824
ME OS
Which of the following scheduling algorithms may cause starvation? S1 : Short remaining time first (SRTF) S2 : Longest remaining time first (LRTF) S3 : Pre-emptive algorithms S4 : First in first out ME ans is S1 and S3 only but LRTF also cause starvation right? please correct me if i m wrong ans: S1 S2 S3 right?
Which of the following scheduling algorithms may cause starvation?S1 : Short remaining time first (SRTF)S2 : Longest remaining time first (LRTF)S3 : Pre-emptive algori...
mohitbawankar
1.5k
views
mohitbawankar
asked
Dec 10, 2017
0
votes
2
answers
19825
Discreet maths set
Set of Natural number contain 0 or no ?
Set of Natural number contain 0 or no ?
Nitesh Choudhary
272
views
Nitesh Choudhary
asked
Dec 10, 2017
Mathematical Logic
discrete-mathematics
set-theory&algebra
+
–
0
votes
0
answers
19826
Data structure
Consider an implementation of towers of hanoi where there are 25 discs(numbered from 0 to 24) and three pegs(source, auxiliary, destination). We have to move all 25 discs from source peg to destination peg using auxiliary peg only. What is the number of ... number 0) respectively to complete the task in least possible time ? 16777216 and 1 1 and16777216 16777215 and 1 1 and 16777215
Consider an implementation of towers of hanoi where there are 25 discs(numbered from 0 to 24) and three pegs(source, auxiliary, destination). We have to move all 25 discs...
heena singh
336
views
heena singh
asked
Dec 10, 2017
0
votes
0
answers
19827
tournament
Once the tournament finishes, pick up the logN competitors that were beaten by the tournament winner and hold a mini-tournament to find which one is the best among them. If we imagine that better players correspond with smaller numbers, the algorithm ... in logN−1l steps. This algorithm requires N+logN−2 comparisons to complete How is the competitors beaten by tournament winner log N ?
Once the tournament finishes, pick up the logN competitors that were beaten by the tournament winner and hold a mini-tournament to find which one is the best among them. ...
A_i_$_h
300
views
A_i_$_h
asked
Dec 10, 2017
0
votes
1
answer
19828
Lalr1 parsing
Consider the below given grammar: S→(A S→B] S→C) A→B) A→C] B→D C→D D→ϵ The number of states in LALR(1) canonical item set are _______ and number of inadequate states (if any) in LALR(1) canonical item set is/are ____________respectively.
Consider the below given grammar: S→(A S→B] S→C) A→B) A→C] B→D C→D D→ϵ The number of states in LALR(1) canonical item set are _______ and number of inade...
Parshu gate
913
views
Parshu gate
asked
Dec 10, 2017
Compiler Design
compiler-design
lalr
clr
parsing
lr-parser
+
–
0
votes
0
answers
19829
slotted aloha
6000 stations are competing for use of single slotted aloha channel. The average station makes 30 requests/hr ,where each request is for 500 us(micro sec) duration. calculate normalized total traffic on channel
6000 stations are competing for use of single slotted aloha channel. The average station makes 30 requests/hr ,where each request is for 500 us(micro sec) duration. calcu...
arch
414
views
arch
asked
Dec 10, 2017
0
votes
0
answers
19830
internet
consider the packet size 1400 B is passed through a network having mtu 620B(including header) header size is 20B.what will be the packet size in last fragment (in Byte) a)1440 b)1444 c)1436 d)1428
consider the packet size 1400 B is passed through a network having mtu 620B(including header) header size is 20B.what will be the packet size in last fragment (in Byte)...
eyeamgj
399
views
eyeamgj
asked
Dec 10, 2017
Page:
« prev
1
...
656
657
658
659
660
661
662
663
664
665
666
...
1007
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register