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
Questions by Soumya29
1
votes
1
answer
1
Testbook Test Series: Operating System - Process Synchronization
Que- Consider the following statements about the dining philosopher problem. 1. There should be at least 6 chopsticks to avoid deadlock for 6 philosophers. 2. If the asymmetric solution is implemented then $1^{st}$ philosopher picks up her right ... above statement is correct? a. Only 1 b. Only 2 c. Both I and II d. None of the above
Que- Consider the following statements about the dining philosopher problem.1. There should be at least 6 chopsticks to avoid deadlock for 6 philosophers.2. If the asymme...
817
views
asked
Jan 6, 2019
Operating System
testbook-test-series
operating-system
process-synchronization
+
–
0
votes
0
answers
2
Testbook Test Series: Theory of Computation - Minimal State Automata
$Que-$ The minimum number of states in the $NFA$ for the regular expression $(a + a(b + aa)*b)* a(b + aa)*a$ is ______. Approach ?
$Que-$ The minimum number of states in the $NFA$ for the regular expression $(a + a(b + aa)*b)* a(b + aa)*a$ is ______.Approach ?
623
views
asked
Jan 6, 2019
Theory of Computation
testbook-test-series
theory-of-computation
minimal-state-automata
+
–
0
votes
1
answer
3
Testbook Test Series: Computer Networks - Stop And Wait
$Que-$ A sender uses a Stop-and-Wait protocol for transmission of $8000 \ K-bits$ size frames on a $1Gbps$ satellite channel with a propagation delay of $400 \ ms$. What will be the link utilization (%) if a probability of single frame error is $0.001?$ $\text{Note – Here Frame size is 8000 K- bits i.e 8}*10^6 \ bits$
$Que-$ A sender uses a Stop-and-Wait protocol for transmission of $8000 \ K-bits$ size frames on a $1Gbps$ satellite channel with a propagation delay of $400 \ ms$. What ...
635
views
asked
Jan 6, 2019
Computer Networks
testbook-test-series
computer-networks
stop-and-wait
+
–
1
votes
0
answers
4
Self doubt- Propositional Logic
Que. Consider domain is the set of all people in the world. $F(x,y) =x \text{ is the friend of y}.$ Represent each of the following sentences using first-order logic statements $1.$ Every person has $at most \ 2$ friends. $2.$ Every person has $exactly \ 2$ ... $3. \forall x \exists y_1\exists y_2(F(x,y_1) \wedge F(x,y_2) \wedge (y_1 \neq y_2))$ Please verify.
Que. Consider domain is the set of all people in the world.$F(x,y) =x \text{ is the friend of y}.$ Represent each of the following sentences using first-order logic state...
661
views
asked
Dec 6, 2018
Mathematical Logic
discrete-mathematics
first-order-logic
propositional-logic
+
–
2
votes
0
answers
5
Self Doubt- Quick Sort
Que - Consider the recursive quicksort algorithm with random pivoting . That is, in each recursive call, a pivot is chosen uniformly at random from the sub-array being sorted. When this randomized algorithm is applied to an array of size n all whose elements are distinct, what is the probability ... - $\frac{2}{n}+(\frac{1}{n}*\frac{2}{n-1}) = \frac{2}{n-1} $ Please verify.
Que – Consider the recursive quicksort algorithm with “random pivoting”. That is, in each recursive call, a pivot is chosen uniformly at random from the sub-array b...
1.1k
views
asked
Dec 3, 2018
Algorithms
algorithms
quick-sort
+
–
0
votes
1
answer
6
Thrashing
Q. Consider Global Replacement policy is used for page replacement. Which of the following statement is correct - S1 - Increase in the degree of multiprogramming beyond a certain point leads to thrashing. S2 - Thrashing beyond a certain point leads to ... ready queue decreases. As a result, CPU utilization drops and scheduler tries to increase the degree of multiprogramming even more.
Q. Consider Global Replacement policy is used for page replacement. Which of the following statement is correct -S1 - Increase in the degree of multiprogramming beyond a ...
2.7k
views
asked
Nov 17, 2018
Operating System
operating-system
thrashing
+
–
0
votes
0
answers
7
Binary Tree
I know the answer. But is there any general FORMULA for it? If yes, please provide the complete derivation of it. In the solution, they used $\rightarrow 2^{h-1}+1.$ I tried but I am not able to derive it.
I know the answer. But is there any general FORMULA for it?If yes, please provide the complete derivation of it. In the solution, they used $\rightarrow 2^{h-1}+1.$ I tri...
308
views
asked
Oct 22, 2018
Programming in C
data-structures
binary-tree
+
–
0
votes
0
answers
8
Self-doubt - Case of Deletion when Open Addressing is used for collision resolution
In case of Open Addressing, when a key is deleted, a tombstone marker(delete marker) is inserted at its place. So if the hash table contains a lot of markers then it degrades the performance to a great extent ... DOUBT is - When the hash table contains a lot of tombstone markers, will it increases the load factor?
In case of Open Addressing, when a key is deleted, a tombstone marker(delete marker) is inserted at its place.So if the hash table contains a lot of markers then it degra...
615
views
asked
Oct 5, 2018
Algorithms
hashing
algorithms
+
–
1
votes
2
answers
9
Peter Linz 4th edition Ex-1.2 -Q10
Q- Prove or Disprove the following claim- $(L^R)^*=(L^*)^R$ for all languages.
Q- Prove or Disprove the following claim- $(L^R)^*=(L^*)^R$for all languages.
1.0k
views
asked
Sep 18, 2018
Theory of Computation
theory-of-computation
+
–
0
votes
3
answers
10
Self Doubt
How to evaluate this quickly? $\large\sum^{20}_{r=0}(-1)^r\binom{r+2}{r}\\OR\\\large\sum^{20}_{r=0}(-1)^r(r+2)(r+1)$
How to evaluate this quickly?$\large\sum^{20}_{r=0}(-1)^r\binom{r+2}{r}\\OR\\\large\sum^{20}_{r=0}(-1)^r(r+2)(r+1)$
449
views
asked
Jul 11, 2018
Combinatory
combinatory
+
–
0
votes
0
answers
11
Self doubt regarding complete lattice related to https://gateoverflow.in/27341/tifr2014-b-16
https://gateoverflow.in/27341/tifr2014-b-16z In this question, why ($\mathbb{N},∣)$ is not a complete lattice? For $any \ finite$ subset of $\mathbb{N}$, $LCM$ of its elements will be $lub$ ... could come up with is they might not considering $0 \ \epsilon \ \mathbb{N}$. Is there any other reason?
https://gateoverflow.in/27341/tifr2014-b-16zIn this question, why ($\mathbb{N},∣)$ is not a complete lattice?For $any \ finite$ subset of $\mathbb{N}$, $LCM$ of its ele...
736
views
asked
Jun 8, 2018
Set Theory & Algebra
discrete-mathematics
set-theory&algebra
lattice
+
–
0
votes
1
answer
12
Quasi- Order Relations
What are the conditions for a relation to be quasi-ordered? In NPTEL video lectures, I found conditions for it to be Irreflexive and Transitive. But on Wikipedia and other resources, it's given that a binary relation R on a set A quasi-order if it is Reflexive and Transitive. Which one is correct ? or Am I missing something?
What are the conditions for a relation to be quasi-ordered?In NPTEL video lectures, I found conditions for it to be Irreflexive and Transitive.But on Wikipedia and other ...
926
views
asked
Jun 6, 2018
Set Theory & Algebra
set-theory&algebra
discrete-mathematics
relations
+
–
3
votes
1
answer
13
Problem in gate1998-10 part b -
Can someone help me in "part b" of this question- https://gateoverflow.in/1724/gate1998-10 . I am still not able to understand why $R^0$ is considered here ? and what is $R^0 $? Is it Equality relation? Do we have to consider it in every question of this type ?
Can someone help me in "part b" of this question- https://gateoverflow.in/1724/gate1998-10 .I am still not able to understand why $R^0$ is considered here ? and what is $...
1.2k
views
asked
May 22, 2018
Set Theory & Algebra
discrete-mathematics
set-theory&algebra
relations
+
–
4
votes
1
answer
14
Self Doubt. Related to https://gateoverflow.in/94634/gate1988-13ii#c216658.
1. If the set $S$ is countably infinite, prove or disprove that if $f$ maps $S$ onto $S$ (i.e $f:S \rightarrow S$ is a surjective function), then $f$ is one-to-one.
1. If the set $S$ is countably infinite, prove or disprove that if $f$ maps $S$ onto $S$ (i.e $f:S \rightarrow S$ is a surjective function), then $f$ is one-to-one.
687
views
asked
May 14, 2018
Set Theory & Algebra
discrete-mathematics
set-theory&algebra
functions
+
–
1
votes
1
answer
15
Self Doubt
The smallest number of states a TM can have?
The smallest number of states a TM can have?
294
views
asked
Dec 16, 2017
Theory of Computation
theory-of-computation
turing-machine
+
–
0
votes
1
answer
16
Decidability
L= {<G> | G is CFG and G is NOT ambiguous} . L is TM recognizable or not even TM recognizable?
L= {<G | G is CFG and G is NOT ambiguous} .L is TM recognizable or not even TM recognizable?
1.1k
views
asked
Dec 16, 2017
Theory of Computation
decidability
theory-of-computation
+
–
2
votes
3
answers
17
Kenneth Rosen Edition 7 Exercise 10.8 Question 23 (Page No. 734)
Find the edge chromatic numbers of a) Cn, where n ≥ 3. (Cycle with n vertices) b) Wn, where n ≥ 3 (Wheel with n vertices) c)Complete graph with n vertices.
Find the edge chromatic numbers ofa) Cn, where n ≥ 3. (Cycle with n vertices)b) Wn, where n ≥ 3 (Wheel with n vertices)c)Complete graph with n vertices.
3.8k
views
asked
Jul 8, 2017
Graph Theory
discrete-mathematics
kenneth-rosen
graph-theory
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register