GATE 2022 Toppers Weekly Quiz 2
Attempt now to get your rank among 52 students!
Question 1
L2 is the complement of language denoted by a*b*c*. Here the alphabet set,
L = L1 L2 Then the complement of L is
Question 2
Assume A and B are binary semaphore variables initialized with 1 and 0 respectively. a and b are shared variable and initial value of a = 3, b = Assume that short term scheduler always starts process P1 first, while executing P0 and P1 concurrently, the sum of the value of a and b after the execution ________.
Question 3
Question 4
Question 5
R(A, B, C, D, E, F, G, H ) with FD set {AB → C, AC → B, AD → E, B → D, BC → A, E → G} the following
relations are sub relations of the relation R.
R1(A, B, C)
2. R2(A, B, C, D)
3. R3(A, B, C, E, G)
The number of sub relation are in BCNF __________.
Question 6
What is the output(F) of the above circuit?
Question 7
Preorder: 50, 27, 16, 4, 12, 34, 29, 44, 88, 65, 52, 77, 93, 92
Postorder: 12, 4, 16, 29, 44, 34, 27, 52, 77, 65, 92, 93, 88, 50
The number of nodes present at level 3 are _________. Assume root is present at level 0
Question 8
Question 9
The size of file is 90,000 bytes. The file will be transferred in 1,500-byte data packets, for which 40 bytes are taken up with headers. The size of acknowledgement packets is 40 bytes including header. Every packet is acknowledged. The communication is bidirectional, and the bandwidth is 100 Mbps (megabits/sec) in each direction. Hosts can send and receive at the same time. The latency from Delhi to Goa is 5 ms, as is the latency in the opposite direction. Assume that time to process a packet is very small, so the receiver can send an acknowledgement as soon as it receives a data packet, but not before it receives the entire data packet. Assume no packet loss. With Stop-and-Wait, how long will it take to transfer the file successfully?
Question 10
S → A * C
A → B + A | B
B → A – B | A
A → id
B → id
C → id
Which of the following is true?
- 52 attempts
- 0 upvotes
- 0 comments
Tags :
GATE & PSU CSGeneral