Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged descriptive
0
votes
1
answer
151
ISI2020-PCB-CS: 5
In a conference, the relation, $\textsf{registered (participant, topic)}$ stores the names of participants and the topics registered by them. The primary key for this relation is $\textsf{(participant, topic)}.$ ... . Which strategy is faster for $x=3000?$ Justify your answer. Which strategy has less disk access time? Justify your answer.
In a conference, the relation, $\textsf{registered (participant, topic)}$ stores the names of participants and the topics registered by them. The primary key for this rel...
admin
143
views
admin
asked
Aug 8, 2022
Databases
isi2020-pcb-cs
descriptive
databases
sql
+
–
0
votes
0
answers
152
ISI2020-PCB-CS: 6
Let $L=\left\{s \overline{s_{R}} \mid s \in\{0,1\}^{*}\right\}$ be a language over alphabet $\{0,1\}$, where $\overline{s_{R}}$ describes the reverse complement of $s$. For an $s, \overline{s_{R}}$ is obtained by reversing the ... $0100.$ Give a context-free grammar which generates $L$. Draw a Pushdown Automata that recognizes $L$. Is $L$ a regular language? Justify your answer.
Let $L=\left\{s \overline{s_{R}} \mid s \in\{0,1\}^{*}\right\}$ be a language over alphabet $\{0,1\}$, where $\overline{s_{R}}$ describes the reverse complement of $s$. F...
admin
180
views
admin
asked
Aug 8, 2022
Others
isi2020-pcb-cs
descriptive
+
–
0
votes
0
answers
153
ISI2020-PCB-CS: 7
Consider two hosts, A and B, which may belong to the same network or two different networks connected through a router. Recall the Internet protocol where a sender host sends packets directly to a destination if the sender finds the network ID of the destination host same as that of its ...
Consider two hosts, A and B, which may belong to the same network or two different networks connected through a router. Recall the Internet protocol where a sender host s...
admin
184
views
admin
asked
Aug 8, 2022
Others
isi2020-pcb-cs
descriptive
+
–
1
votes
1
answer
154
ISI2020-PCB-CS: 8.1
Simplify the following Boolean function in product-of-sums form: $ F(A, B, C, D)=\sum(0,1,2,5,8,9,10) . $
Simplify the following Boolean function in product-of-sums form: $$ F(A, B, C, D)=\sum(0,1,2,5,8,9,10) . $$
admin
433
views
admin
asked
Aug 8, 2022
Digital Logic
isi2020-pcb-cs
descriptive
digital-logic
boolean-algebra
+
–
0
votes
0
answers
155
ISI2020-PCB-CS: 9
Consider a $\textsf{RISC}$ ... in the above $\textsf{RISC}$ machine? Explain your answer (no marks will be awarded if justification is not given).
Consider a $\textsf{RISC}$ machine where page tables of the virtual memory system may be swapped to disk from memory and neither machine instructions nor page-table entri...
admin
245
views
admin
asked
Aug 8, 2022
Others
isi2020-pcb-cs
descriptive
+
–
0
votes
1
answer
156
ISI2020-PCB-CS: 10
Suppose instead of a decoder with $n$ input bits ( $n$ is even) to access a memory of size $2^{n}$, one uses two decoders of input sizes $k$ bits and $(n-k)$ bits. Explain how these two decoders can be used to access the ... address decoding time. Justify your answer. Assume that the time complexity of the decoder is measured by the number of output lines of that decoder.
Suppose instead of a decoder with $n$ input bits ( $n$ is even) to access a memory of size $2^{n}$, one uses two decoders of input sizes $k$ bits and $(n-k)$ bits. Explai...
admin
383
views
admin
asked
Aug 8, 2022
Digital Logic
isi2020-pcb-cs
digital-logic
combinational-circuit
decoder
descriptive
+
–
0
votes
0
answers
157
CMI-2021-DataScience-B: 5
Show that every selection of $503$ numbers from $\{1,2,3, \dots,987\}$ has two numbers with g.c.d. $1$. Recall that the g.c.d. of two positive integers $x, y$ is the largest positive integer smaller than $x, y$ which divides both $x$ and $y$.
Show that every selection of $503$ numbers from $\{1,2,3, \dots,987\}$ has two numbers with g.c.d. $1$. Recall that the g.c.d. of two positive integers $x, y$ is the larg...
admin
211
views
admin
asked
Jul 23, 2022
Others
cmi2021-datascience
descriptive
+
–
0
votes
0
answers
158
CMI-2021-DataScience-B: 10
Let $A$ be the $3 \times 3$ real matrix $\left(\begin{array}{lll} a & b & c \\ d & e & f \\ g & h & I \end{array}\right)$. Suppose $x^{T} Ax \geq 0$ for every $x \in \mathbb{R}^{3}$. Then show that all of $a, e$ and $i$ are non-negative.
Let $A$ be the $3 \times 3$ real matrix $\left(\begin{array}{lll} a & b & c \\ d & e & f \\ g & h & I \end{array}\right)$. Suppose $x^{T} Ax \geq 0$ for every $x \in \mat...
admin
226
views
admin
asked
Jul 23, 2022
Others
cmi2021-datascience
descriptive
+
–
1
votes
0
answers
159
CMI2022-B: 1
A Muller automaton is defined as a tuple $\text{M} = (\text{Q}, \text{I}, \Sigma, \rightarrow, \text{T})$ where: $\text{Q}$ is a finite set of states; $\text{I} \subseteq \text{Q}$ is the set of initial states; $\Sigma$ ... $a^{\ast}?$
A Muller automaton is defined as a tuple $\text{M} = (\text{Q}, \text{I}, \Sigma, \rightarrow, \text{T})$ where:$\text{Q}$ is a finite set of states;$\text{I} \subseteq \...
admin
341
views
admin
asked
Jul 22, 2022
Others
cmi2022
descriptive
+
–
0
votes
0
answers
160
CMI2022-B: 2
Consider the language $\text{L}$ over the alphabet $\left \{ a, b \right \}$ given below. $\text{L}= \{ w \mid w \;\text{has equal number of $a$'s and $b$'s, and there are no adjacent $a$'s.}\}$ For instance, the words $abba, abab$ are in language ... $baab$. Prove that $\text{L}$ does not contain any word that starts and ends with $a$ $b$. Give a context-free grammar for $\text{L}$.
Consider the language $\text{L}$ over the alphabet $\left \{ a, b \right \}$ given below.$$\text{L}= \{ w \mid w \;\text{has equal number of $a$’s and $b$’s, and the...
admin
218
views
admin
asked
Jul 22, 2022
Others
cmi2022
descriptive
+
–
0
votes
0
answers
161
CMI2022-B: 3
We say that an integer $a$ is co-prime to another integer $b$ if $\gcd(a, b) = 1$. For any integer $n, \varphi (n)$ is the number of integers from $1$ up to $|n|$ that are co-prime to $n$. Calculate $\varphi (5), \varphi (10)$ and $\varphi (20)$. Show that ... for any prime $p$. Prove that if $a$ is co-prime to $b$ then the remainder of $a$ when divided by $b$ is also co-prime to $b$.
We say that an integer $a$ is co-prime to another integer $b$ if $\gcd(a, b) = 1$. For any integer $n, \varphi (n)$ is the number of integers from $1$ up to $|n|$ that a...
admin
166
views
admin
asked
Jul 22, 2022
Others
cmi2022
descriptive
+
–
0
votes
0
answers
162
CMI2022-B: 5
For any set $\text{S}$ of natural numbers, we say that a relation $\text{R} \subseteq \text{S} \times \text{S}$ is a $2$-spanner of $\text{S}$ if it satisfies the following conditions: $\left ( i, j \right ) \in R \Rightarrow i < j$ ... any set $\text{S}$ of size $2^{k} - 1$ (for $k > 2)$ has a $2$-spanner of size $(k - 2) 2^{k} + 2$.
For any set $\text{S}$ of natural numbers, we say that a relation $\text{R} \subseteq \text{S} \times \text{S}$ is a $2$-spanner of $\text{S}$ if it satisfies the followi...
admin
274
views
admin
asked
Jul 22, 2022
Others
cmi2022
descriptive
+
–
0
votes
0
answers
163
CMI2022-B: 7
Consider the following inventory problem. You are running a company that sells lorries. Predictions tell you the quantity of sales to expect over the next $n$ months. Let $d_{i}$ denote the number of sales expected in month $i$. We assume that sales happen on ... dynamic programming algorithm that computes $c_{1}(0)$. Your algorithm must run in time polynomial in $n$ and $\text{C}$.
Consider the following inventory problem. You are running a company that sells lorries. Predictions tell you the quantity of sales to expect over the next $n$ months. Let...
admin
221
views
admin
asked
Jul 22, 2022
Others
cmi2022
descriptive
+
–
0
votes
0
answers
164
CMI2021-B: 4
For a language $\text{L}$ over an alphabet $\Sigma$, define $\text{SW(L)}:= \left \{ y \in \Sigma^{\ast} \mid \exists x \in \Sigma^{\ast}\; \text{s.t.}\; xyx \in \text{L} \right \}$ Prove that if $\text{L}$ is regular, $\text{SW(L)}$ is also regular.
For a language $\text{L}$ over an alphabet $\Sigma$, define$$\text{SW(L)}:= \left \{ y \in \Sigma^{\ast} \mid \exists x \in \Sigma^{\ast}\; \text{s.t.}\; xyx \in \text{L}...
admin
171
views
admin
asked
Jul 22, 2022
Others
cmi2021
descriptive
+
–
0
votes
1
answer
165
Compilation Techniques - Annotated Parse Tree
Given the following statement: 6 * (8-3) Make the Annotated Parse Tree based on the translation scheme below. S → B {A.i = B.val} A {S.val = A.s} A → - B {A1.i = A.i - B.val} A1 {A.s = A1.s} A → e {A.s = A.i} B → D {C.i = D.val} C {B.val = C.s} C → * ... = C.i * D.val} C1 {C.s = C1.s} C → e {C.s = C.i} D → ( S ) {D.val = S.val} D → num {D.val = num.val}
Given the following statement: 6 * (8-3)Make the Annotated Parse Tree based on the translation scheme below.S → B {A.i = B.val} A {S.val = A.s}A → - B {A1.i = A.i - B...
Frengky
879
views
Frengky
asked
Feb 11, 2022
Compiler Design
compiler-design
syntax-directed-translation
descriptive
+
–
0
votes
1
answer
166
In my mind
#include<stdio.h> Int main(void){ Int a=printf("%d",printf("%d %d",printf("GATE"),printf("OVERFLOW"))); printf("%d",a); return 0; } What is the reason for different output? Explain ideas.
#include<stdio.h>Int main(void){Int a=printf("%d",printf("%d %d",printf("GATE"),printf("OVERFLOW")));printf("%d",a);return 0;}What is the reason for different output?Expl...
SÀRÁTH_2003
483
views
SÀRÁTH_2003
asked
Jan 7, 2022
Programming in C
programming
programming-in-c
functions
descriptive
+
–
1
votes
1
answer
167
Test series Made easy
How to solve this ? Please help.
How to solve this ? Please help.
raja11sep
654
views
raja11sep
asked
Dec 31, 2021
Compiler Design
compiler-design
grammar
context-free-grammar
ll-parser
descriptive
made-easy-test-series
+
–
3
votes
1
answer
168
GATE CSE 1994 | Question: 17b
State whether the following statements are True or False with reasons for your answer: A two pass assembler uses its machine opcode table in the first pass of assembly.
State whether the following statements are True or False with reasons for your answer:A two pass assembler uses its machine opcode table in the first pass of assembly.
gatecse
2.4k
views
gatecse
asked
May 3, 2021
Compiler Design
gate1994
compiler-design
normal
assembler
true-false
descriptive
+
–
5
votes
1
answer
169
GATE CSE 1994 | Question: 18b
State whether the following statements are True or False with reasons for your answer A symbol declared as ‘external’ in an assembly language program is assigned an address outside the program by the assembler itself.
State whether the following statements are True or False with reasons for your answerA symbol declared as ‘external’ in an assembly language program is assigned an ad...
gatecse
1.3k
views
gatecse
asked
May 3, 2021
Compiler Design
gate1994
compiler-design
normal
assembler
true-false
descriptive
+
–
5
votes
5
answers
170
GATE CSE 1994 | Question: 14b
For a $B^+$ - tree of order $d$ with $n$ leaf nodes, the number of nodes accessed during a search is $O(\_)$.
For a $B^+$ - tree of order $d$ with $n$ leaf nodes, the number of nodes accessed during a search is $O(\_)$.
gatecse
3.5k
views
gatecse
asked
May 2, 2021
Databases
gate1994
databases
b-tree
normal
descriptive
+
–
1
votes
2
answers
171
CMI-2020-DataScience-B: 2
Consider the matrix $A=\begin{pmatrix} 0 & -1 \\ 1 & 0 \end{pmatrix}$. Find $A^n,$ in terms of $n,$ for $n\geq2.$
Consider the matrix $A=\begin{pmatrix} 0 & -1 \\ 1 & 0 \end{pmatrix}$. Find $A^n,$ in terms of $n,$ for $n\geq2.$
soujanyareddy13
569
views
soujanyareddy13
asked
Jan 29, 2021
Linear Algebra
cmi2020-datascience
linear-algebra
matrix
descriptive
+
–
0
votes
1
answer
172
CMI-2020-DataScience-B: 20
A multi-national conglomerate sells soap products for five different market segments, namely (i) Women, (ii) Men, (iii) Kids, (iv) Sports, and (v) Luxury. The sales of these five segments (in lakh number of packs) during $2012$ and $2017$ ... sales of the Men segment in $2017$? During the period $2012-2017$, which segment experienced the minimum rate of increase in sales?
A multi-national conglomerate sells soap products for five different market segments, namely (i) Women, (ii) Men, (iii) Kids, (iv) Sports, and (v) Luxury. The sales of th...
soujanyareddy13
300
views
soujanyareddy13
asked
Jan 29, 2021
Quantitative Aptitude
cmi2020-datascience
bar-graph
data-interpretation
descriptive
+
–
5
votes
1
answer
173
Counting number of pairs whose sum is less than k
How many pairs $(x,y)$ such that $x+y <= k$, where x y and k are integers and $x,y>=0, k > 0$. Solve by summation rules. Solve by combinatorial argument.
How many pairs $(x,y)$ such that $x+y <= k$, where x y and k are integers and $x,y>=0, k 0$.Solve by summation rules.Solve by combinatorial argument.
dd
1.2k
views
dd
asked
Jun 8, 2020
Combinatory
combinatory
summation
descriptive
+
–
0
votes
1
answer
174
Kenneth Rosen Edition 7 Exercise 8.3 Question 16 (Page No. 535)
Solve the recurrence relation for the number of rounds in the tournament described in question $14.$
Solve the recurrence relation for the number of rounds in the tournament described in question $14.$
admin
1.2k
views
admin
asked
May 9, 2020
Combinatory
kenneth-rosen
discrete-mathematics
counting
recurrence-relation
descriptive
+
–
0
votes
1
answer
175
Kenneth Rosen Edition 7 Exercise 8.3 Question 15 (Page No. 535)
How many rounds are in the elimination tournament described in question $14$ when there are $32$ teams?
How many rounds are in the elimination tournament described in question $14$ when there are $32$ teams?
admin
524
views
admin
asked
May 9, 2020
Combinatory
kenneth-rosen
discrete-mathematics
counting
recurrence-relation
descriptive
+
–
0
votes
2
answers
176
Kenneth Rosen Edition 7 Exercise 8.3 Question 14 (Page No. 535)
Suppose that there are $n = 2^{k}$ teams in an elimination tournament, where there are $\frac{n}{2}$ games in the first round, with the $\frac{n}{2} = 2^{k-1}$ winners playing in the second round, and so on. Develop a recurrence relation for the number of rounds in the tournament.
Suppose that there are $n = 2^{k}$ teams in an elimination tournament, where there are $\frac{n}{2}$ games in the first round, with the $\frac{n}{2} = 2^{k-1}$ winners pl...
admin
1.8k
views
admin
asked
May 9, 2020
Combinatory
kenneth-rosen
discrete-mathematics
counting
recurrence-relation
descriptive
+
–
0
votes
1
answer
177
Kenneth Rosen Edition 7 Exercise 8.3 Question 13 (Page No. 535)
Give a big-O estimate for the function $f$ given below if $f$ is an increasing function. $f (n) = 2f (n/3) + 4 \:\text{with}\: f (1) = 1.$
Give a big-O estimate for the function $f$ given below if $f$ is an increasing function.$f (n) = 2f (n/3) + 4 \:\text{with}\: f (1) = 1.$
admin
549
views
admin
asked
May 9, 2020
Combinatory
kenneth-rosen
discrete-mathematics
counting
recurrence-relation
descriptive
+
–
1
votes
2
answers
178
Kenneth Rosen Edition 7 Exercise 8.3 Question 12 (Page No. 535)
Find $f (n)$ when $n = 3k,$ where $f$ satisfies the recurrence relation $f (n) = 2f (n/3) + 4 \:\text{with}\: f (1) = 1.$
Find $f (n)$ when $n = 3k,$ where $f$ satisfies the recurrence relation $f (n) = 2f (n/3) + 4 \:\text{with}\: f (1) = 1.$
admin
636
views
admin
asked
May 9, 2020
Combinatory
kenneth-rosen
discrete-mathematics
counting
recurrence-relation
descriptive
+
–
0
votes
1
answer
179
Kenneth Rosen Edition 7 Exercise 8.3 Question 11 (Page No. 535)
Give a big-O estimate for the function $f$ in question $10$ if $f$ is an increasing function.
Give a big-O estimate for the function $f$ in question $10$ if $f$ is an increasing function.
admin
366
views
admin
asked
May 9, 2020
Combinatory
kenneth-rosen
discrete-mathematics
counting
recurrence-relation
descriptive
+
–
0
votes
1
answer
180
Kenneth Rosen Edition 7 Exercise 8.3 Question 10 (Page No. 535)
Find $f (n)$ when $n = 2^{k},$ where $f$ satisfies the recurrence relation $f (n) = f (n/2) + 1 \:\text{with}\: f (1) = 1.$
Find $f (n)$ when $n = 2^{k},$ where $f$ satisfies the recurrence relation $f (n) = f (n/2) + 1 \:\text{with}\: f (1) = 1.$
admin
372
views
admin
asked
May 9, 2020
Combinatory
kenneth-rosen
discrete-mathematics
counting
recurrence-relation
descriptive
+
–
Page:
« prev
1
2
3
4
5
6
7
8
9
10
11
...
91
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register