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 akshayaK
6
answers
1
#DBMS ER Model - Minimum Number of tables
What are minimum number of tables required for the following given ER models such that they satisfy 1NF ?
What are minimum number of tables required for the following given ER models such that they satisfy 1NF ?
2.3k
views
commented
Jul 27, 2022
Databases
databases
er-diagram
er-to-relational
relational
+
–
1
answer
2
MadeEasy Subject Test: Databases - Timestamp Ordering
506
views
comment edited
Jul 21, 2022
Databases
made-easy-test-series
databases
time-stamp-ordering
+
–
1
answer
3
Secondary Index
Secondary key over key is dense and secondary key over non key is sparse is it correct ? i think it should be Secondary key over non key is dense and secondary key over key is sparse
Secondary key over key is dense and secondary key over non key is sparseis it correct ?i think it should beSecondary key over non key is dense and secondary key over key ...
1.8k
views
commented
Jan 22, 2019
2
answers
4
Whether given CFL is Regular is Decidable?
Which of the following are True? $S1$: Every NFA can be converted to equivalent PDA $S2$: Whether a given CFL is Regular is decidable. 1. $S1$ 2. $S2$ 3. Both 4. None
Which of the following are True?$S1$: Every NFA can be converted to equivalent PDA$S2$: Whether a given CFL is Regular is decidable.1. $S1$ ...
3.9k
views
commented
Jan 14, 2019
Theory of Computation
theory-of-computation
context-free-language
decidability
+
–
3
answers
5
Give me the formula for write back and write through ( avg access time ) in both parallel and serial
14.3k
views
commented
Jan 12, 2019
11
answers
6
GATE CSE 1999 | Question: 2.7, UGCNET-June2014-III: 25
Consider the schema $R=(S,T, U, V)$ and the dependencies $S \rightarrow T, T \rightarrow U, U \rightarrow V$ and $V \rightarrow S$. Let $R = (R1\text{ and } R2)$ be a decomposition such that $R1 \cap R2 \neq \phi$. The decomposition ... but not $\textsf{3NF}$ in $\textsf{3NF}$ but not in $\textsf{2NF}$ in both $\textsf{2NF}$ and $\textsf{3NF}$
Consider the schema $R=(S,T, U, V)$ and the dependencies $S \rightarrow T, T \rightarrow U, U \rightarrow V$ and $V \rightarrow S$. Let $R = (R1\text{ and } R2)$ be a dec...
27.4k
views
commented
Jan 4, 2019
Databases
gate1999
databases
database-normalization
normal
ugcnetjune2014iii
+
–
0
answers
7
Threads
Consider following statements given below : S1 : User level thread does not require context switching. S2 : VM increases context switching overhead. Which of the following statements are TRUE ?
Consider following statements given below :S1 : User level thread does not require context switching.S2 : VM increases context switching overhead.Which of the following s...
755
views
commented
Dec 27, 2018
Operating System
operating-system
threads
+
–
1
answer
8
#Threads #OS True/False statements
for kernel-level threads, a system call can block the entire process. User level threads can be scheduled independently. Kernel level threads are transparent to the user level threads. Which of them is True?
for kernel-level threads, a system call can block the entire process.User level threads can be scheduled independently.Kernel level threads are transparent to the user le...
922
views
commented
Dec 27, 2018
Operating System
threads
operating-system
+
–
0
answers
9
Self Doubt
L= {a*b*c* – (a^nb^nc^n : n>=0)} Explain whether it is Regular, CFL,DCFL.,CSL
L= {a*b*c* – (a^nb^nc^n : n>=0)} Explain whether it is Regular, CFL,DCFL.,CSL
678
views
commented
Dec 24, 2018
0
answers
10
Heaps
Why do we need a Build Heap procedure ? if we want to build a heap, we will call max_heapify on root node and we will form a heap in O(log N) TC. if we use build heap, it will take O(N) TC, what is the use im not getting ? please explain.
Why do we need a Build Heap procedure ?if we want to build a heap, we will call max_heapify on root node and we will form a heap in O(log N) TC.if we use build heap, it w...
356
views
commented
Dec 21, 2018
1
answer
11
Subset Problem
$L1 \subseteq L2$ decidable ? (for any of languages) i read No language is closed under subset operation Not even Regular Langauge ? I it TRUE ??
$L1 \subseteq L2$ decidable ? (for any of languages)i read No language is closed under subset operation Not even Regular Langauge ?I it TRUE ??
1.0k
views
commented
Dec 21, 2018
0
answers
12
Equivalence Problem
L(G1) = L(G2) for DCFL is decidable and undecidable for all other languages. how do we prove intuitively and how do we check it ? Please Explain it
L(G1) = L(G2) for DCFL is decidable and undecidable for all other languages.how do we prove intuitively and how do we check it ?Please Explain it
238
views
asked
Dec 20, 2018
12
answers
13
GATE CSE 2010 | Question: 10
In a binary tree with $n$ nodes, every node has an odd number of descendants. Every node is considered to be its own descendant. What is the number of nodes in the tree that have exactly one child? $0$ $1$ $\frac{(n-1)}{2}$ $n-1$
In a binary tree with $n$ nodes, every node has an odd number of descendants. Every node is considered to be its own descendant. What is the number of nodes in the tree ...
16.3k
views
commented
Dec 18, 2018
DS
gatecse-2010
data-structures
binary-tree
normal
+
–
4
answers
14
GATE CSE 2001 | Question: 1.2
Consider the following relations: $R_1\:(a,b)$ iff $(a+b)$ is even over the set of integers $R_2 \:(a,b)$ iff $(a+b)$ is odd over the set of integers $R_3 \:(a,b)$ iff $a.b > 0$ ... $R_4$ are not $R_1$ and $R_4$ are equivalence relations, $R_2$ and $R_3$ are not $R_1, R_2, R_3$ and $R_4$ all are equivalence relations
Consider the following relations:$R_1\:(a,b)$ iff $(a+b)$ is even over the set of integers$R_2 \:(a,b)$ iff $(a+b)$ is odd over the set of integers$R_3 \:(a,b)$ iff $a.b ...
6.2k
views
commented
Dec 18, 2018
Set Theory & Algebra
gatecse-2001
set-theory&algebra
normal
relations
+
–
4
answers
15
GATE IT 2008 | Question: 71
A Binary Search Tree (BST) stores values in the range $37$ to $573$. Consider the following sequence of keys. $81, 537, 102, 439, 285, 376, 305$ $52, 97, 121, 195, 242, 381, 472$ $142, 248, 520, 386, 345, 270, 307$ ... list nodes in the order in which we could have encountered them in the search? II and III only I and III only III and IV only III only
A Binary Search Tree (BST) stores values in the range $37$ to $573$. Consider the following sequence of keys.$81, 537, 102, 439, 285, 376, 305$$52, 97, 121, 195, 242, 381...
14.7k
views
commented
Dec 18, 2018
DS
gateit-2008
data-structures
binary-search-tree
normal
+
–
13
answers
16
GATE CSE 2017 Set 2 | Question: 55
Consider the following C program. #include<stdio.h> #include<string.h> int main() { char* c="GATECSIT2017"; char* p=c; printf("%d", (int)strlen(c+2[p]-6[p]-1)); return 0; } The output of the program is _______
Consider the following C program.#include<stdio.h #include<string.h int main() { char* c="GATECSIT2017"; char* p=c; printf("%d", (int)strlen(c+2[p]-6[p]-1)); return 0; }T...
27.9k
views
commented
Dec 16, 2018
Programming in C
gatecse-2017-set2
programming-in-c
numerical-answers
array
pointers
+
–
0
answers
17
Turing Machine
L = {M | M is a TM and L(M) is infinite} L is Rec/ RE/ Not RE ?
L = {M | M is a TM and L(M) is infinite}L is Rec/ RE/ Not RE ?
125
views
closed
Dec 15, 2018
4
answers
18
Question of regular expression
Consider the following regular expressions : (i) ($(a/b)^{*}$ (ii) $(a^{*}/b^{*})^{*}$ (iii) $((\epsilon /a)b^{*})^{*}$ Which of the following statements are correct ? (a) (i) ,(ii) are equal and (ii) , (iii) are not . (b) (i) ,(ii) are equal and ( ... me (a)* . Isn't it so ? From (i) ($(a/b)^{*}$ : I can not separate a and b . So , how can they all be equal ?
Consider the following regular expressions :(i) ($(a/b)^{*}$ (ii) $(a^{*}/b^{*})^{*}$ (iii) $((\epsilon /a)b^{*})^{*}$Which of the following statements are correct ?...
6.2k
views
commented
Dec 15, 2018
Theory of Computation
theory-of-computation
regular-expression
+
–
5
answers
19
GATE CSE 2017 Set 2 | Question: 45
The read access times and the hit ratios for different caches in a memory hierarchy are as given below: ... and $40\%$ are for memory operand fetch. The average read access time in nanoseconds (up to $2$ decimal places) is _________
The read access times and the hit ratios for different caches in a memory hierarchy are as given below:$$\begin{array}{|l|c|c|} \hline \text {Cache} & \text{Read access ...
30.0k
views
commented
Dec 14, 2018
CO and Architecture
gatecse-2017-set2
co-and-architecture
cache-memory
numerical-answers
+
–
1
answer
20
Regular Expression
Ans. D
Ans. D
1.1k
views
commented
Dec 14, 2018
Theory of Computation
theory-of-computation
regular-expression
finite-automata
+
–
0
answers
21
Thomas Write Rule
what do you mean by outdated writes ? we ignore outdated writes in TWR, what do we mean by this ?? from this, which of this allowed under TWR and not Basic Timestamp ? anyone please help me in understanding this
what do you mean by outdated writes ?we ignore outdated writes in TWR, what do we mean by this ??from this, which of this allowed under TWR and not Basic Timestamp ?anyon...
601
views
commented
Dec 10, 2018
1
answer
22
recoverable doubt
In the following T1 and T2 are transaction and A is an object ,which of the following has the potential of becoming of irrecoverable schedules? A) T2 writes A after T1 wrote A; T1 is uncommitted B) T2 reads A after T1 wrote A; T1 is uncommitted C ) T2 writes A after T1 wrote A; T1 is committed D) T2 reads A after T1 read A; T1 is uncommitted
In the following T1 and T2 are transaction and A is an object ,which of the following has the potential of becoming of irrecoverable schedules?A) T2 writes A after T1 w...
583
views
commented
Dec 9, 2018
3
answers
23
Schedules
$1)$ Find the number of all possible conflict-equivalent and view-equivalent schedules to the following serial schedules. (a) r1(A), w1(B), r2(A), w2(B), r3(A), w3(B).
$1)$ Find the number of all possible conflict-equivalent and view-equivalent schedules to the following serial schedules. (a) r1(A), w1(B), r2(A), w2(B), r3(A), w3(B)....
5.0k
views
commented
Dec 8, 2018
Databases
transaction-and-concurrency
conflict-serializable
view-serializable
+
–
1
answer
24
[DBMS] Strict recoverable schedules
S:- R1(A) R2(A) W2(A) W2(A) Is S strict recoverable schedule?
S:- R1(A) R2(A) W2(A) W2(A)Is S strict recoverable schedule?
635
views
commented
Dec 7, 2018
Databases
databases
+
–
1
answer
25
#self doubt
Let a schedule be Strict Recoverable then it will suffer from which problem? a) ww problem b) rw problem c)wr problem d) Lost update problem
Let a schedule be Strict Recoverable then it will suffer from which problem?a) ww problem b) rw problemc)wr problem d) Lost update problem
2.4k
views
commented
Dec 7, 2018
Databases
transaction-and-concurrency
+
–
0
answers
26
Error Detction
Inorder to detect 1bit error, min distance required is 2 and for 2bit error detection, min distance required is 3…. can anyone please explain why is it so ??
Inorder to detect 1bit error, min distance required is 2and for 2bit error detection, min distance required is 3….can anyone please explain why is it so ??
365
views
asked
Nov 27, 2018
9
answers
27
exponential backoff
Nodes A and B are connected with 100 Mbps ethernet segment with 6 microsec pop.delay between them.Suppose A,B send frames at t=0 and frames get collided.after first collision A draws k=0 and bdraws k=1.if jam signal is ignored and timeout ... what time A's packet gets completely delivered to B...assume packet size 1000 bits. 28 microsec 16 microsec 22 microsec 38 microsec
Nodes A and B are connected with 100 Mbps ethernet segment with 6 microsec pop.delay between them.Suppose A,B send frames at t=0 and frames get collided.after first colli...
3.0k
views
answered
Nov 16, 2018
1
answer
28
Knapsack problem
5.Consider the Knapsack instance with 5 objects and a capacity M=11, profit P=(5,4,7,2,3) and weight W=(4,3,6,2,2.). Solve it using dynamic programming approach.
5.Consider the Knapsack instance with 5 objects and a capacity M=11, profit P=(5,4,7,2,3) andweight W=(4,3,6,2,2.). Solve it using dynamic programming approach.
2.8k
views
answered
Nov 10, 2018
Algorithms
algorithms
knapsack-problem
dynamic-programming
+
–
0
answers
29
deleteStack() VS deleteQueue() [Linked List Implementation]
why deleteQueue() is taking O(1) even if it has to traverse whole linked list ??? whereas deleteStack() has time complexity of O(n) ?? can anyone please explain it ?
why deleteQueue() is taking O(1) even if it has to traverse whole linked list ???whereas deleteStack() has time complexity of O(n) ??can anyone please explain it ?
340
views
asked
Nov 8, 2018
0
answers
30
MadeEasy Test Series : TCP
236
views
asked
Oct 29, 2018
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register