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 PiratedVirus
7
votes
1
GATE CSE 2014 Set 1 | Question: 39
The minimum number of comparisons required to find the minimum and the maximum of $100$ numbers is ________
The minimum number of comparisons required to find the minimum and the maximum of $100$ numbers is ________
54.1k
views
answered
Nov 19, 2018
Algorithms
gatecse-2014-set1
algorithms
numerical-answers
normal
maximum-minimum
+
–
0
votes
2
Self Doubt
S -> AS | b A -> SA | a Find First and Follow set for folowing grammar
S - AS | bA - SA | aFind First and Follow set for folowing grammar
3.5k
views
answered
Nov 12, 2018
Compiler Design
compiler-design
parsing
+
–
1
votes
3
Made easy test series
189
views
answered
Nov 12, 2018
Operating System
operating-system
+
–
0
votes
4
ACE test series
PLEASE anyone can explain the states step wise Ans is given D
PLEASE anyone can explain the states step wise Ans is given D
407
views
answered
Nov 9, 2018
Compiler Design
compiler-design
context-free-grammar
lr-parser
ace-test-series
+
–
0
votes
5
How to check whether a schedule is in strict 2pl or not?
720
views
answered
Nov 9, 2018
0
votes
6
made easy test series
457
views
answered
Nov 9, 2018
Compiler Design
compiler-design
code-optimization
three-address-code
numerical-answers
made-easy-test-series
+
–
0
votes
7
test series
A grammar that has not any epsilon production and also free from unit productions.The maximum number of reduce moves that can be taken during bottom up evaluation of 25 token string by bottom up parser is____________.
A grammar that has not any epsilon production and also free from unit productions.The maximum number of reduce moves that can be taken during bottom up evaluation of 25 t...
509
views
answered
Nov 9, 2018
Compiler Design
compiler-design
parsing
numerical-answers
made-easy-test-series
+
–
0
votes
8
ME test series
What should be the approach to solve such question?
What should be the approach to solve such question?
276
views
answered
Nov 8, 2018
1
votes
9
Are right recursive grammars ambiguous?
Are right recursive grammars ambiguous?
Are right recursive grammars ambiguous?
928
views
answered
Nov 8, 2018
Compiler Design
compiler-design
parsing
+
–
0
votes
10
Is there shift reduce conflict in this production?
For given production for a LR(1) grammar B->b.C ,$|c here C is non terminal C->c. ,$|c and here c is terminal. $|c are lookup symbols Will there be a shift reduce conflict if a non terminal is visited.Please explain how shift reduce conflict works
For given production for a LR(1) grammarB->b.C ,$|c here C is non terminalC->c. ,$|c and here c is terminal. $|c are lookup symbolsWill there be a shift reduce conflict...
540
views
answered
Nov 8, 2018
Compiler Design
compiler-design
parsing
lr-parser
+
–
1
votes
11
Is the given grammar CLR(1) or not please explain me if there is a shift reduce conflict
S→(X S→E] S→E) X→E) X→E] E→ϵ Is this grammar CLR(1)? The answer says it is but I find a shift reduce conflict for E-> epsilon with lookup symbols ),]
S→(XS→E]S→E)X→E)X→E]E→ϵIs this grammar CLR(1)? The answer says it is but I find a shift reduce conflict for E- epsilon with lookup symbols ),]
2.4k
views
answered
Nov 8, 2018
Compiler Design
compiler-design
parsing
lr-parser
descriptive
+
–
0
votes
12
Compiler Design Doubt
S->Aa | Bc A->a B->a 1. Is the above grammer left factored ?? If not ,then do left factoring on it ?? 2. Is above grammer deterministic ?? 3. Is every left factored grammer deterministic ??
S->Aa | Bc A->a B->a1. Is the above grammer left factored ?? If not ,then do left factoring on it ??2. Is above grammer deterministic ?? 3. Is every left factored...
845
views
answered
Nov 8, 2018
Compiler Design
compiler-design
grammar
self-doubt
parsing
+
–
2
votes
13
Test Series
333
views
answered
Aug 19, 2018
1
votes
14
Self Doubt
How many minimum number of tables required to represent a Department entity which having two multi valued attributes phone and office?
How many minimum number of tables required to represent a Department entity which having two multi valued attributes phone and office?
546
views
answered
Aug 18, 2018
Databases
er-diagram
+
–
1
votes
15
ip addressing
A host in a subnet has the IP address 130.83.126.10. How many hosts can be addressed in network? Here subnet mask is not given . please explain brieflly.
A host in a subnet has the IP address 130.83.126.10. How many hosts can be addressed in network?Here subnet mask is not given .please explain brieflly.
1.9k
views
answered
Aug 14, 2018
2
votes
16
Deadlock Conditions
Q1> What are necessary and what are sufficient conditions for Deadlock? Q2> What is the difference between deadlock preventions, deadlock avoidance, and deadlock detection?
Q1 What are necessary and what are sufficient conditions for Deadlock?Q2 What is the difference between deadlock preventions, deadlock avoidance, and deadlock detection?
2.9k
views
answered
Aug 12, 2018
Operating System
operating-system
deadlock-prevention-avoidance-detection
+
–
1
votes
17
Resource allocation
637
views
answered
Aug 12, 2018
Operating System
resource-allocation
operating-system
+
–
0
votes
18
2 level paging
Can anyone explain 2 level paging in detail and multi-level paging?
Can anyone explain 2 level paging in detail and multi-level paging?
1.2k
views
answered
Aug 12, 2018
1
votes
19
Procedural And Non Procedural Query
What is the difference between procedural query language and non-procedural query language? Why Relation algebra is called procedural and TRC is called non-procedural?
What is the difference between procedural query language and non-procedural query language? Why Relation algebra is called procedural and TRC is called non-procedural?
1.7k
views
answered
Jul 23, 2018
Databases
relational-algebra
tuple-relational-calculus
+
–
0
votes
20
syntactic directed definition
if any production of given grammar is A → ε {A.v = 0} then A.v is ? a) inherited attribute b) synthesized attribute
if any production of given grammar isA → ε {A.v = 0}then A.v is ?a) inherited attributeb) synthesized attribute
430
views
answered
Jun 15, 2018
Compiler Design
compiler-design
syntax-directed-translation
+
–
0
votes
21
Test Series
How to get the second string,i.e., 6*2/1-2*3 from the given grammar?
How to get the second string,i.e., 6*2/1-2*3 from the given grammar?
378
views
answered
Jun 15, 2018
Compiler Design
compiler-design
syntax-directed-translation
+
–
1
votes
22
Attribute Grammar
Can someone explain these terms clearly these terms with examples? Attribute Grammar Synthesized attributes Inherited attributes L and S Attributes
Can someone explain these terms clearly these terms with examples?Attribute GrammarSynthesized attributesInherited attributesL and S Attributes
765
views
answered
Jun 14, 2018
Compiler Design
compiler-design
grammar
+
–
2
votes
23
Grammars
Is epsilon(empty string) a pallindrome?
Is epsilon(empty string) a pallindrome?
644
views
answered
Jun 13, 2018
3
votes
24
how >> and << works
#include <stdio.h> int main(void) { int a=5, b=10; printf("%d%d",a,b); make_it(b,a,a+b); printf("%d%d",a,b); return 0; } int make_it(int x,int y, int z){ x*=y+z; y=x<<1; z=x+y; }
#include <stdio.h int main(void) { int a=5, b=10; printf("%d%d",a,b); make_it(b,a,a+b); printf("%d%d",a,b); return 0; } int make_it(int x,int y, int z){ x*=y+z; y=x<<1; z...
871
views
answered
Jun 13, 2018
Programming in C
programming-in-c
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register