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
Recent activity by akankshadewangan24
1
answer
1
Binary serach tree
Can binary serach tree have duplicate elements in the tree?
Can binary serach tree have duplicate elements in the tree?
327
views
asked
Jan 12, 2019
Programming in C
binary-search-tree
+
–
5
answers
2
GATE CSE 2001 | Question: 2.6
Consider the following languages: $L1=\left\{ww \mid w \in \{a,b\}^*\right\}$ $L2=\left\{ww^R \mid w \in \{a,b\}^*, w^R \text{ is the reverse of w} \right\}$ $L3=\left\{0^{2i} \mid \text{ i is an integer} \right\}$ ... $L1$ and $L2$ Only $L2, L3$ and $L4$ Only $L3$ and $L4$ Only $L3$
Consider the following languages:$L1=\left\{ww \mid w \in \{a,b\}^*\right\}$$L2=\left\{ww^R \mid w \in \{a,b\}^*, w^R \text{ is the reverse of w} \right\}$$L3=\left\{0^{2...
8.0k
views
commented
Jan 4, 2019
Theory of Computation
gatecse-2001
theory-of-computation
normal
regular-language
+
–
14
answers
3
GATE CSE 2008 | Question: 67
A processor uses $36$ bit physical address and $32$ bit virtual addresses, with a page frame size of $4$ Kbytes. Each page table entry is of size $4$ bytes. A three level page table is used for virtual to physical address translation, where the virtual address is used as ... tables are respectively $\text{20,20,20}$ $\text{24,24,24}$ $\text{24,24,20}$ $\text{25,25,24}$
A processor uses $36$ bit physical address and $32$ bit virtual addresses, with a page frame size of $4$ Kbytes. Each page table entry is of size $4$ bytes. A three level...
76.4k
views
commented
Nov 2, 2018
Operating System
gatecse-2008
operating-system
virtual-memory
normal
+
–
8
answers
4
TIFR CSE 2012 | Part B | Question: 15
Let $T$ be a tree of $n$ nodes. Consider the following algorithm, that constructs a sequence of leaves $u_{1}, u_{2}...$. Let $u_{1}$ be some leaf of tree. Let $u_{2}$be a leaf that is farthest from $u_{1}$ ... . For the same tree, the distance between the last two vertices visited can be different, based on the choice of the first leaf $u_{1}$.
Let $T$ be a tree of $n$ nodes. Consider the following algorithm, that constructs a sequence of leaves $u_{1}, u_{2}...$. Let $u_{1}$ be some leaf of tree. Let $u_{2}$be ...
3.8k
views
commented
Oct 20, 2018
DS
tifr2012
data-structures
tree
+
–
4
answers
5
GATE CSE 1989 | Question: 11a
A system of four concurrent processes, $P, Q, R$ and $S$, use shared resources $A, B$ and $C$. The sequences in which processes, $P, Q, R$ and $S$ ... What strategies can be used to prevent deadlocks in a system of concurrent processes using shared resources if preemption of granted resources is not allowed?
A system of four concurrent processes, $P, Q, R$ and $S$, use shared resources $A, B$ and $C$. The sequences in which processes, $P, Q, R$ and $S$ request and release res...
3.3k
views
commented
Oct 13, 2018
Operating System
descriptive
gate1989
operating-system
resource-allocation
+
–
4
answers
6
GATE CSE 1999 | Question: 20-b
Consider the following solution to the producer-consumer problem using a buffer of size 1. Assume that the initial value of count is 0. Also assume that the testing of count and assignment to count are atomic operations. Producer: Repeat Produce an ... item; Forever; Show that in this solution it is possible that both the processes are sleeping at the same time.
Consider the following solution to the producer-consumer problem using a buffer of size 1. Assume that the initial value of count is 0. Also assume that the testing of co...
3.5k
views
commented
Oct 13, 2018
Operating System
gate1999
operating-system
process-synchronization
normal
descriptive
+
–
0
answers
7
Matrix
Vector space is in syllabus of gate 2019 cse????????
Vector space is in syllabus of gate 2019 cse????????
195
views
asked
Oct 12, 2018
Mathematical Logic
engineering-mathematics
+
–
2
answers
8
Cyclic group
The order of cyclic group is equal to order of generating element.... Somebody explain with example plz
The order of cyclic group is equal to order of generating element.... Somebody explain with example plz
1.0k
views
asked
Oct 10, 2018
Mathematical Logic
group-theory
discrete-mathematics
cyclic-
set-theory&algebra
+
–
5
answers
9
GATE IT 2005 | Question: 81-b
A disk has $8$ equidistant tracks. The diameters of the innermost and outermost tracks are $1$ cm and $8$ cm respectively. The innermost track has a storage capacity of $10$ MB. If the disk has $20$ sectors per track and is currently at the end of the $5^{th}$ sector ... starting from the sector $4$ of the outer-most track? $13.5 \ ms$ $10 \ ms$ $9.5 \ ms$ $20 \ ms$
A disk has $8$ equidistant tracks. The diameters of the innermost and outermost tracks are $1$ cm and $8$ cm respectively. The innermost track has a storage capacity of $...
13.8k
views
commented
Oct 4, 2018
Operating System
gateit-2005
operating-system
disk
normal
+
–
1
answer
10
Paging advantage
Advantage of paging: It support time sharing system..... Explain plz can't get it
Advantage of paging: It support time sharing system..... Explain plz can't get it
378
views
commented
Oct 2, 2018
Operating System
operating-system
paging
+
–
8
answers
11
GATE CSE 2006 | Question: 29
If $s$ is a string over $(0+1)^*$ then let $n_0(s)$ denote the number of $0$'s in $s$ and $n_1(s)$ the number of $1$'s in $s$. Which one of the following languages is not regular? $L=\left \{ s\in (0+1)^* \mid n_{0}(s) \text{ is a 3-digit prime } \right \}$ ... $L=\left \{ s\in (0+1)^*\mid n_{0}(s) \mod 7=n_{1}(s) \mod 5=0 \right \}$
If $s$ is a string over $(0+1)^*$ then let $n_0(s)$ denote the number of $0$’s in $s$ and $n_1(s)$ the number of $1$’s in $s$. Which one of the following languages i...
19.6k
views
commented
Sep 24, 2018
Theory of Computation
gatecse-2006
theory-of-computation
normal
regular-language
+
–
0
answers
12
https://www.geeksforgeeks.org/wp-content/uploads/gq/2016/02/GATECS201612.png
How to solve this https://www.geeksforgeeks.org/wp-content/uploads/gq/2016/02/GATECS201612.png
How to solve thishttps://www.geeksforgeeks.org/wp-content/uploads/gq/2016/02/GATECS201612.png
2.2k
views
asked
Sep 22, 2018
Discrete Mathematics
functions
+
–
2
answers
13
Ace Test Series: Algorithms - Time Complexity Notation
If t(n) and s(n) denotes the time and space complexity of an algorithm with input size n element then which one of the following is always true? S(n)=O(t(n)) correct How???
If t(n) and s(n) denotes the time and space complexity of an algorithm with input size n element then which one of the following is always true?S(n)=O(t(n)) correct H...
869
views
asked
Sep 20, 2018
Algorithms
ace-test-series
algorithms
time-complexity
+
–
5
answers
14
GATE CSE 2017 Set 1 | Question: 19
Let $X$ be a Gaussian random variable with mean 0 and variance $\sigma ^{2}$. Let $Y$ = $\max\left ( X,0 \right )$ where $\max\left ( a,b \right )$ is the maximum of $a$ and $b$. The median of $Y$ is ______________ .
Let $X$ be a Gaussian random variable with mean 0 and variance $\sigma ^{2}$. Let $Y$ = $\max\left ( X,0 \right )$ where $\max\left ( a,b \right )$ is the maximum of $a$ ...
20.6k
views
commented
Mar 23, 2018
Probability
gatecse-2017-set1
probability
numerical-answers
normal-distribution
+
–
2
answers
15
data structure
the number of inversions in (n,n-1,.........3,2,1) is n(n-1)/2 how??????????????????/
the number of inversions in (n,n-1,.........3,2,1)is n(n-1)/2how??????????????????/
366
views
answer selected
Mar 19, 2018
Programming in C
data-structures
+
–
4
answers
16
GATE CSE 2015 Set 1 | Question: 51
Consider the NPDA ... follows: Which one of the following sequences must follow the string $101100$ so that the overall string is accepted by the automaton? $10110$ $10010$ $01010$ $01001$
Consider the NPDA $$ \left \langle Q= \left \{ q_{0}, q_{1}, q_{2} \right \},\Sigma = \left \{ 0, 1 \right \}, \Gamma = \left \{ 0, 1, \perp \right \}, \delta, q_{0}, \p...
23.8k
views
commented
Mar 15, 2018
Theory of Computation
gatecse-2015-set1
theory-of-computation
pushdown-automata
normal
+
–
9
answers
17
GATE CSE 2014 Set 2 | Question: 34
For a C program accessing $\mathbf{X[i] [j] [k]}$, the following intermediate code is generated by a compiler. Assume that the size of an integer is $32$ bits and the size of a character is $8$ bits. t0 = i ∗ 1024 t1 = j ∗ 32 t2 = k ∗ 4 t3 = t1 + t0 t4 ... as "char $\mathbf{X[4] [32] [8]}$ . $\mathbf{X}$ is declared as "char $\mathbf{X[32] [16] [2]}$ .
For a C program accessing $\mathbf{X[i] [j] [k]}$, the following intermediate code is generated by a compiler. Assume that the size of an integer is $32$ bits and the siz...
36.2k
views
commented
Mar 13, 2018
Compiler Design
gatecse-2014-set2
compiler-design
intermediate-code
programming-in-c
normal
+
–
4
answers
18
GATE CSE 2012 | Question: 21
Consider a random variable $X$ that takes values $+1$ and $−1$ with probability $0.5$ each. The values of the cumulative distribution function $F(x)$ at $x = −1$ and $+1$ are $0$ and $0.5$ $0$ and $1$ $0.5$ and $1$ $0.25$ and $0.75$
Consider a random variable $X$ that takes values $+1$ and $−1$ with probability $0.5$ each. The values of the cumulative distribution function $F(x)$ at $x = −1$ and ...
12.6k
views
commented
Mar 9, 2018
Probability
gatecse-2012
probability
random-variable
easy
+
–
5
answers
19
GATE IT 2007 | Question: 65
Consider a selection of the form $\sigma_{A\leq 100} (r)$, where $r$ is a relation with $1000$ tuples. Assume that the attribute values for $A$ among the tuples are uniformly distributed in the interval $[0, 500].$ Which one of the following options is the best estimate of the number of tuples returned by the given selection query ? $50$ $100$ $150$ $200$
Consider a selection of the form $\sigma_{A\leq 100} (r)$, where $r$ is a relation with $1000$ tuples. Assume that the attribute values for $A$ among the tuples are unifo...
12.7k
views
commented
Mar 7, 2018
Databases
gateit-2007
databases
relational-calculus
probability
normal
+
–
11
answers
20
GATE CSE 2008 | Question: 45
Dijkstra's single source shortest path algorithm when run from vertex $a$ in the above graph, computes the correct shortest path distance to only vertex $a$ only vertices $a, e, f, g, h$ only vertices $a, b, c, d$ all the vertices
Dijkstra's single source shortest path algorithm when run from vertex $a$ in the above graph, computes the correct shortest path distance toonly vertex $a$only vertices $...
27.6k
views
commented
Feb 18, 2018
Algorithms
gatecse-2008
algorithms
graph-algorithms
normal
+
–
9
answers
21
GATE IT 2006 | Question: 25
Consider the undirected graph $G$ defined as follows. The vertices of $G$ are bit strings of length $n$. We have an edge between vertex $u$ and vertex $v$ if and only if $u$ and $v$ differ in exactly one bit position (in other words, $v$ can be obtained from $u$ by ... $\left(\frac{1}{n}\right)$ $\left(\frac{2}{n}\right)$ $\left(\frac{3}{n}\right)$
Consider the undirected graph $G$ defined as follows. The vertices of $G$ are bit strings of length $n$. We have an edge between vertex $u$ and vertex $v$ if and only if ...
13.2k
views
commented
Feb 13, 2018
Graph Theory
gateit-2006
graph-theory
graph-coloring
normal
+
–
2
answers
22
GATE CSE 1990 | Question: 3-xi
A graph is planar if and only if, It does not contain a subgraph homeomorphic to $k_{5}$ and $k_{3, 3}$. It does not contain a subgraph isomorphic to $k_{5}$ and $k_{3, 3}$. It does not contain a subgraph isomorphic to $k_{5}$ or $k_{3, 3}$ It does not contain a subgraph homeomorphic to $k_{5}$ or $k_{3, 3}$.
A graph is planar if and only if,It does not contain a subgraph homeomorphic to $k_{5}$ and $k_{3, 3}$.It does not contain a subgraph isomorphic to $k_{5}$ and $k_{3, 3}$...
12.6k
views
commented
Feb 13, 2018
Graph Theory
gate1990
normal
graph-theory
graph-planarity
multiple-selects
+
–
5
answers
23
ISRO2015-7
If half adders and full adders are implements using gates, then for the addition of two $17$ bit numbers (using minimum gates) the number of half adders and full adders required will be $0,17$ $16,1$ $1,16$ $8,8$
If half adders and full adders are implements using gates, then for the addition of two $17$ bit numbers (using minimum gates) the number of half adders and full adders r...
9.7k
views
commented
Feb 10, 2018
Digital Logic
isro2015
digital-logic
adder
+
–
1
answer
24
GATE2011 GG: GA-8
Three sisters $(R, S,$ and $T)$ received a total of $24$ toys during Christmas. The toys were initially divided among them in a certain proportion. Subsequently, $R$ gave some toys to $S$ which doubled the share of $S$. Then $S$ in turn gave some of her ... exchanges, the three sisters were left with equal number of toys. How many toys did $R$ have originally? $8$ $9$ $11$ $12$
Three sisters $(R, S,$ and $T)$ received a total of $24$ toys during Christmas. The toys were initially divided among them in a certain proportion. Subsequently, $R$ gave...
3.5k
views
commented
Jan 27, 2018
Analytical Aptitude
gate2011-gg
logical-reasoning
analytical-aptitude
+
–
1
answer
25
Algorithms:Asymptotic Notations
plz help me . how to solve that type of question
plz help me . how to solve that type of question
385
views
answered
Jan 26, 2018
Algorithms
algorithms
asymptotic-notation
test-series
+
–
2
answers
26
GATE CSE 2002 | Question: 2.2
Consider the following multiplexer where $I0, I1, I2, I3$ are four data input lines selected by two address line combinations $A1A0=00,01,10,11$ respectively and $f$ is the output of the multiplexor. EN is the Enable input. The function $f(x,y,z)$ implemented by the above circuit is $xyz'$ $xy + z$ $x + y$ None of the above
Consider the following multiplexer where $I0, I1, I2, I3$ are four data input lines selected by two address line combinations $A1A0=00,01,10,11$ respectively and $f$ is t...
13.3k
views
commented
Jan 26, 2018
Digital Logic
gatecse-2002
digital-logic
circuit-output
normal
+
–
1
answer
27
arun sharma
710
views
commented
Jan 26, 2018
Quantitative Aptitude
quantitative-aptitude
number
system
+
–
1
answer
28
ethernet
if an ethernet station collide 4 times to try to transmit a single frame .How long might it wait to be before the next attempt if time slot 51.2 micro sec ...................micro sec. a. 768 b. 819.2 c.409.6 d. none
if an ethernet station collide 4 times to try to transmit a single frame .How long might it wait to be before the next attempt if time slot 51.2 micro sec ..................
683
views
commented
Jan 26, 2018
Computer Networks
ethernet
+
–
1
answer
29
time complexity
time complexity questions like : h(n)=O(n2); f(n)= O(logn); g(n)=omega(n2); what is the complexity of :::: 1. h(n)-g(n)=?? 2. h(n)-f(n)=??? elaborate plz
time complexity questions like :h(n)=O(n2);f(n)= O(logn);g(n)=omega(n2);what is the complexity of :::: 1. h(n)-g(n)=?? 2. h(...
395
views
commented
Jan 22, 2018
Algorithms
time-complexity
asymptotic-notation
+
–
2
answers
30
GATE2016 EC-1: GA-9
If $\large q^{-a} = \dfrac{1}{r}$ and $\large r^{-b} = \dfrac{1}{s}$ and $\large s^{-c} = \dfrac{1}{q}$, the value of $abc$ is ________. $\left(rqs\right)^{-1}$ $0$ $1$ $r+q+s$
If $\large q^{-a} = \dfrac{1}{r}$ and $\large r^{-b} = \dfrac{1}{s}$ and $\large s^{-c} = \dfrac{1}{q}$, the value of $abc$ is ________.$\left(rqs\right)^{-1}$$0$$1$$r+q+...
2.6k
views
comment moved
Jan 22, 2018
Quantitative Aptitude
gate2016-ec-1
quantitative-aptitude
fractions
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register