Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
Profile
Wall
Recent activity
All questions
All answers
Exams Taken
All Blogs
Answers by vamp_vaibhav
1
votes
1
madeeasy
Given f(n) = θ(n), g(n) = Ω(n), h(n) = O(n). Then f(n) + [g(n) ⋅ h(n)] = ? A.O(n) B. θ(n) C. Ω(n) D. None of these Ans is given C Please explain how to solve such questions
Given f(n) = θ(n), g(n) = Ω(n), h(n) = O(n). Then f(n) + [g(n) ⋅ h(n)] = ?A.O(n)B. θ(n)C. Ω(n)D. None of theseAns is given CPlease explain how to solve such questio...
309
views
answered
Dec 30, 2017
Algorithms
algorithms
asymptotic-notation
made-easy-test-series
+
–
1
votes
2
RBR_Cn
which of the protocol is flow control but not error control? 1)stop n wait 2) go back n 3)selective repeate 4)simplest
which of the protocol is flow control but not error control?1)stop n wait2) go back n3)selective repeate4)simplest
396
views
answered
Dec 23, 2017
1
votes
3
# made easy demo test #Q 23
my answer 5 plz check but answer given 4
my answer 5 plz check but answer given 4
328
views
answered
Dec 22, 2017
4
votes
4
madeeasy
The following assembly code is to be executed in a 3-stage pipelined processor with hazard detection and resolution in each stage. The stage are IF, OF (one or more as required) and execution (including writeback operation). What are the number of possible RAW, WAW and WAR hazards in the execution of the code. A. 6,1,2 B. 5,1,2 C. 5,3,2 D. 5,3,3 Ans is B please explain with solution
The following assembly code is to be executed in a 3-stage pipelined processor with hazard detection and resolution in each stage. The stage are IF, OF (one or more as re...
1.5k
views
answered
Dec 19, 2017
6
votes
5
MadeEasy Test Series: Databases - Transactions
Consider the following schedule: S:r1(a) r3(d) w1(B) r2(B) r4(B) w2(C) r5(C) w4(E) r5(E) w5(B) How many serial schedules conflict equal to schedules (S)?
Consider the following schedule:S:r1(a) r3(d) w1(B) r2(B) r4(B) w2(C) r5(C) w4(E) r5(E) w5(B)How many serial schedules conflict equal to schedules (S)?
1.9k
views
answered
Dec 5, 2017
Databases
transaction-and-concurrency
databases
made-easy-test-series
+
–
0
votes
6
Test Series
Please explain why first option is wrong
Please explain why first option is wrong
696
views
answered
Dec 4, 2017
Algorithms
test-series
graph-theory
graph-search
+
–
3
votes
7
Hashing
Suppose you insert three keys into a hash table with m slots. Assuming the simple uniform hashing assumption, and given that collisions are resolved by chaining, what is the probability that both slots 0 and 1 are empty? (A) (m−2) /(m−1) (B) (m−2) /m (C) ((m−2) /m )3 (D) None
Suppose you insert three keys into a hash table with m slots. Assuming the simple uniform hashing assumption, and given that collisions are resolved by chaining, what is ...
1.6k
views
answered
Dec 4, 2017
DS
hashing
data-structures
uniform-hashing
+
–
2
votes
8
Dijkstra algorithm
1.4k
views
answered
Nov 29, 2017
Computer Networks
dijkstras-algorithm
shortest-path
computer-networks
+
–
2
votes
9
AVL tree rotations
781
views
answered
Nov 29, 2017
DS
test-series
data-structures
avl-tree
+
–
1
votes
10
go back n
Assume while transmitting packets using GB5, every 4th packet is lost. Number of transmissions required to transmit 10 packets is ________
Assume while transmitting packets using GB5, every 4th packet is lost. Number of transmissions required to transmit 10 packets is ________
2.4k
views
answered
Nov 28, 2017
Computer Networks
computer-networks
sliding-window
+
–
3
votes
11
recoverable and cascadeless
845
views
answered
Nov 28, 2017
Databases
concurrency
databases
transaction-and-concurrency
+
–
0
votes
12
SQL query
Answer given on virtual gate is a1,a3,a2 I'm getting a1,a3,a2,a1 as duplicate values are allowed in SQL. What is my mistake here ?
Answer given on virtual gate is a1,a3,a2I'm getting a1,a3,a2,a1 as duplicate values are allowed in SQL. What is my mistake here ?
782
views
answered
Nov 25, 2017
Databases
sql
databases
+
–
0
votes
13
Linked List (Time Complexity)
What would be the asymptotic time complexity to add a node at the end of singly linked list, if the pointer is initially pointing to the head of the list? O(n) O(1) θ(n2) θ(n)
What would be the asymptotic time complexity to add a node at the end of singly linked list, if the pointer is initially pointing to the head of the list?O(n)O(1)θ(n2)θ...
3.5k
views
answered
Nov 24, 2017
DS
data-structures
linked-list
time-complexity
+
–
2
votes
14
Dbms #self doubt
1. How many super key is possible if (a,bc,cd) is candidate key and R(ABCDEF) #DOUBT When we use veen digram why we are taking only intersections part only ??? Need help please explain ..
1. How many super key is possible if (a,bc,cd) is candidate key and R(ABCDEF)#DOUBTWhen we use veen digram why we are taking only intersections part only ??? Need help pl...
559
views
answered
Nov 17, 2017
Databases
databases
relational-algebra
database-normalization
transaction-and-concurrency
+
–
0
votes
15
Huffman coding
The following message is: GATE2018GAATTTEEEE22000011188 What is the average length of bits required for encoding each letter using Huffman coding___?
The following message is: GATE2018GAATTTEEEE22000011188What is the average length of bits required for encoding each letter using Huffman coding___?
2.7k
views
answered
Nov 16, 2017
Algorithms
huffman-code
algorithms
+
–
1
votes
16
Bellman Ford Shortest path
Is the below statement correct: Bellman Ford finds all negative weight cycles in the graph. This is true or false?
Is the below statement correct:Bellman Ford finds all negative weight cycles in the graph.This is true or false?
1.9k
views
answered
Nov 2, 2017
Algorithms
algorithms
shortest-path
bellman-ford
true-false
+
–
1
votes
17
MADE EASY TEST SERIES
Suppose we used a hash function H(n) to hash ‘n’ distinct elements (keys) into an array T of length ‘m’. What is the expected number of colliding pairs of elements, if we used simple uniform hashing?
Suppose we used a hash function H(n) to hash ‘n’ distinct elements (keys) into an array T of length ‘m’.What is the expected number of colliding pairs of elements...
824
views
answered
Oct 31, 2017
DS
hashing
+
–
1
votes
18
Made easy test series
How L2 is NOT regular and L3 is regular??? please explain
How L2 is NOT regular and L3 is regular??? please explain
1.3k
views
answered
Oct 10, 2017
1
votes
19
In Go-Back-N protocol, if the maximum window size is 127, what is the range of the sequence number?
In Go-Back-N protocol, if the maximum window size is 127, what is the range of the sequence number? A. 0 to 127 B. 0 to 128 C. 1 to 127 D. 1 to 128 Answer given is A Please explain :) Thanks.
In Go-Back-N protocol, if the maximum window size is 127, what is the range of the sequence number?A. 0 to 127 B. 0 to 128 C. 1 to 127 D. 1 to 128Answer given is APlease ...
13.7k
views
answered
Oct 6, 2017
Computer Networks
computer-networks
go-back-n
sliding-window
+
–
0
votes
20
merge sort
1.2k
views
answered
Oct 6, 2017
Programming in C
merge-sort
algorithms
sorting
+
–
0
votes
21
Binary search
How to get space complexity of binary search .. I am getting confusion in Space complexity = ip + extra (stack) And ip = nB ( why it is nB) ????? And extra = logn B So nB+ log n B = O(n) ...
How to get space complexity of binary search ..I am getting confusion in Space complexity = ip + extra (stack) And ip = nB ( why it is nB) ????? And extra = logn B So nB+...
2.0k
views
answered
Oct 5, 2017
Algorithms
algorithms
binary-search
+
–
0
votes
22
Solve the following Recurrence using any method
T(n) = 2n T $(\frac{n}{2})$ + nn
T(n) = 2n T $(\frac{n}{2})$ + nn
1.1k
views
answered
Sep 29, 2017
Algorithms
algorithms
time-complexity
asymptotic-notation
recurrence-relation
+
–
0
votes
23
solve the recurrence using any method just solve it
T(n) = 100 T (n/99) + log(n!) Answer is T(n) = θ (n log n) a)answer is justified b)answer is not justified c)cannot be determined d)none
T(n) = 100 T (n/99) + log(n!) Answer is T(n) = θ (n log n)a)answer is justifiedb)answer is not justifiedc)cannot be determinedd)none
4.4k
views
answered
Sep 29, 2017
Algorithms
algorithms
time-complexity
asymptotic-notation
recurrence-relation
+
–
0
votes
24
Binary Search
I/p - Sorted array of n element O/p- find any two elements a and b such that (a+b)>1000 if lenear search is possible then go to Binary Search and Find time complexity ..?
I/p - Sorted array of n elementO/p- find any two elements a and b such that (a+b)>1000if lenear search is possible then go to Binary Search and Find time complexity ..?
2.7k
views
answered
Sep 29, 2017
Algorithms
algorithms
binary-search
time-complexity
+
–
0
votes
25
Please Solve this Q
In the following C function, let n >= m. int gcd(n,m) { if (n%m ==0) return m; n = n%m; return gcd(m,n); } How many recursive calls are made by this function? (A) (logn)? (B) (n) (C) (loglogn) (D) (sqrt(n))
In the following C function, let n >= m.int gcd(n,m) { if (n%m ==0) return m; n = n%m; return gcd(m,n); }How many recursive calls are made by this function? (A) (logn)?(B...
433
views
answered
Sep 28, 2017
Algorithms
algorithms
time-complexity
+
–
0
votes
26
Data Hazards [GateBook]
2.0k
views
answered
Sep 27, 2017
CO and Architecture
pipelining
data-hazards
co-and-architecture
+
–
1
votes
27
if WXW^R is regular W,X belongs (a,b)* then www^R is not regular language,why? w belongs (a,b)*
Please ,can somebody explain this? Thanks lot :).
Please ,can somebody explain this?Thanks lot :).
8.9k
views
answered
Sep 21, 2017
Theory of Computation
theory-of-computation
regular-language
+
–
1
votes
28
Prove a language is regular using pumping lemma.
Prove $a^{2n}: n>0$ is regular using pumping lemma. But I am ending up with a prove that this language is not regular as follows. Point my mistakes out. Let $w = a^{2n}$ where $n\geq m$, a positive integer. If $xyz$ is a decomposition then ... $w_{0} \notin L$ for odd $k$. Hence the given language is not regular.
Prove $a^{2n}: n>0$ is regular using pumping lemma. But I am ending up with a prove that this language is not regular as follows. Point my mistakes out. Let $w = a^{2n}$ ...
4.1k
views
answered
Sep 21, 2017
Theory of Computation
theory-of-computation
pumping-lemma
regular-language
+
–
0
votes
29
Lossless decomposition
Relation: R(ABCDE): FDs: A->BC, CD->E, B->D, E->A This relation is not in BCNF bcz of FD B->D. So how it make BCNF by decomposition so that the resultant decomposition is both lossless and dependency preserving ? plzz explain ?
Relation: R(ABCDE):FDs: A->BC, CD->E, B->D, E->AThis relation is not in BCNF bcz of FD B->D. So how it make BCNF by decomposition so that the resultant decomposition is b...
3.5k
views
answered
Sep 21, 2017
Databases
lossless-decomposition
bcnf-decomposition
+
–
0
votes
30
DBMS Conditional Join
Does out put of conditional join contains duplicates?I know that it gives distinct in natural join as the projection operator removes duplicate rows. But in conditional join does this thing holds true?
Does out put of conditional join contains duplicates?I know that it gives distinct in natural join as the projection operator removes duplicate rows. But in conditional j...
1.7k
views
answered
Sep 12, 2017
Databases
databases
relational-algebra
+
–
Page:
1
2
3
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register