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 Praveenk99
1
votes
1
CFL or CSL
Let L = $\{ a^n b^m | m , n \in \textbf{N} \text{ and m is multiple of n}\}$ How do we prove that this language is not CFL.
Let L = $\{ a^n b^m | m , n \in \textbf{N} \text{ and m is multiple of n}\}$How do we prove that this language is not CFL.
1.8k
views
answered
Jan 21, 2020
Theory of Computation
theory-of-computation
context-free-language
context-sensitive-languages
+
–
14
votes
2
GATE CSE 2019 | Question: 51
A relational database contains two tables Student and Performance as shown below: ... S, Performance P WHERE P.Marks >84 GROUP BY S.Student_name; The number of rows returned by the above SQL query is ________
A relational database contains two tables Student and Performance as shown below:$$\overset{\text{Table: student}}{\begin{array}{|l|l|} \hline \text{Roll_no} & \text{Stud...
27.8k
views
answered
Dec 19, 2019
Databases
gatecse-2019
numerical-answers
databases
sql
2-marks
+
–
0
votes
3
GATE CSE 1998 | Question: 2.19
Which of the following query transformations (i.e., replacing the l.h.s. expression by the r.h.s expression) is incorrect? R1 and R2 are relations, C1 and C2 are selection conditions and A1 and A2 are attributes of R1. ... $\pi_{A_1} \left(\sigma_{C_1}\left(R_1\right)\right) \to \sigma_{C_1} \left(\pi_{A_1}\left(R_1\right)\right)$
Which of the following query transformations (i.e., replacing the l.h.s. expression by the r.h.s expression) is incorrect? R1 and R2 are relations, C1 and C2 are selectio...
17.4k
views
answered
Dec 14, 2019
Databases
gate1998
databases
relational-calculus
normal
+
–
0
votes
4
MadeEasy Advance Level Test: Theory of Computation - Finite Automata
Answer given is 2,but shouldn't it be 3? State itself will be there in e-closure?
Answer given is 2,but shouldn't it be 3? State itself will be there in e-closure?
1.2k
views
answered
Dec 12, 2019
Theory of Computation
made-easy-test-series
theory-of-computation
finite-automata
+
–
2
votes
5
if a relation is in 2nf and 3 nf forms then
If a relation is in 2NF and 3NF forms then: no non-prime attribute us functionally dependent on other non-prime attribute no non-prime attribute is functionally dependent on prime attributes all attributes are functionally independent prime attribute is functionally independent of all non-prime attributes
If a relation is in 2NF and 3NF forms then:no non-prime attribute us functionally dependent on other non-prime attributeno non-prime attribute is functionally depen...
3.5k
views
answered
Dec 11, 2019
1
votes
6
GATE CSE 2018 | Question: 46
The number of possible min-heaps containing each value from $\{1,2,3,4,5,6,7\}$ exactly once is _______
The number of possible min-heaps containing each value from $\{1,2,3,4,5,6,7\}$ exactly once is _______
39.2k
views
answered
Dec 2, 2019
DS
gatecse-2018
binary-heap
numerical-answers
combinatory
2-marks
+
–
0
votes
7
c programming
#include <stdio.h> int fun() { static int num = 16; return num--; } int main() { for(fun(); fun(); fun()) printf("%d ", fun()); return 0; } Predict the output along with the explanation?
#include <stdio.h>int fun(){ static int num = 16; return num ;}int main(){ for(fun(); fun(); fun()) printf("%d ", fun()); return 0;}Predict the output along with t...
4.5k
views
answered
Dec 1, 2019
0
votes
8
GATE CSE 2003 | Question: 10, ISRO-DEC2017-41
For a pipelined CPU with a single ALU, consider the following situations The ${j+1}^{st}$ instruction uses the result of the $j^{th}$ instruction as an operand The execution of a conditional jump instruction The $j^{th}$ and ${j+1}^{st}$ ... ALU at the same time. Which of the above can cause a hazard I and II only II and III only III only All the three
For a pipelined CPU with a single ALU, consider the following situationsThe ${j+1}^{st}$ instruction uses the result of the $j^{th}$ instruction as an operandThe executio...
9.6k
views
answered
Nov 20, 2019
CO and Architecture
gatecse-2003
co-and-architecture
pipelining
normal
isrodec2017
+
–
0
votes
9
GATE CSE 2012 | Question: 11
Let A be the $ 2 × 2 $ matrix with elements $a_{11} = a_{12} = a_{21} = +1 $ and $ a_{22} = −1 $ . Then the eigenvalues of the matrix $A^{19}$ are $1024$ and $−1024$ $1024\sqrt{2}$ and $−1024 \sqrt{2}$ $4 \sqrt{2}$ and $−4 \sqrt{2}$ $512 \sqrt{2}$ and $−512 \sqrt{2}$
Let A be the $ 2 × 2 $ matrix with elements $a_{11} = a_{12} = a_{21} = +1 $ and $ a_{22} = −1 $ . Then the eigenvalues of the matrix $A^{19}$ are$1024$ and $−1024$$...
11.4k
views
answered
Oct 31, 2019
Linear Algebra
gatecse-2012
linear-algebra
eigen-value
+
–
0
votes
10
Algorithm: Selection Sort
Consider the following code which sort all elements of an array A' in descending order. Which of the following will represents correct value of X, Y, Z in above code for selection sort? a. i > 0, K > 0, a[K] > a[max] b. i ... the array in the descending order but by using option a it is aranging in ascending order. And option D is doing what question is saying.
Consider the following code which sort all elements of an array ‘A’ in descending order.Which of the following will represents correct value of X, Y, Z in above code ...
1.8k
views
answered
Sep 28, 2019
Algorithms
algorithms
sorting
selection-sort
test-series
+
–
0
votes
11
MadeEasy Advance Level Test: Theory of Computation - Finite Automata
Answer given is 2,but shouldn't it be 3? State itself will be there in e-closure?
Answer given is 2,but shouldn't it be 3? State itself will be there in e-closure?
1.2k
views
answered
Sep 20, 2019
Theory of Computation
made-easy-test-series
theory-of-computation
finite-automata
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register