Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
No answer
No selected answer
No upvoted answer
Previous GATE
Featured
Recent questions without answers
0
votes
0
answers
1
Compiler Design compiler design tcompiler-design-timothy-g-griffin
Q4. Generate target code for the following source language statements : x = a + b + c * (d-e)
Q4. Generate target code for the following source language statements : x = a + b + c * (d-e)
Ebrahim
13
views
Ebrahim
asked
20 hours
ago
Compiler Design
compiler-design
syntax-directed-translation
ullman
lexical-analysis
parsing
+
–
0
votes
0
answers
2
Compiler Design compiler design tcompiler-design-timothy-g-griffin
Q2. Implement the statement a:= -b + c*(d-e) + f * (c*(d-e)) into following Intermediate code representation. a) Quadruple b) Triple c) Indirect Triple Solve the above Question like this example
Q2. Implement the statement a:= -b + c*(d-e) + f * (c*(d-e)) into following Intermediate code representation. a) Quadrupleb) Triple c) Indirect Triple Solve the abov...
Ebrahim
8
views
Ebrahim
asked
20 hours
ago
Compiler Design
compiler-design
syntax-directed-translation
lexical-analysis
parsing
ullman
+
–
0
votes
0
answers
3
Compiler Design
1. Generate intermediate code for the following code segment. a) (x<y) and (y>z) and not z b) if(i%2==0) evensum=evensum+ else oddsum=oddsum+i;
1. Generate intermediate code for the following code segment. a) (x<y) and (y>z) and not z b) if(i%2==0)evensum=evensum+elseoddsum=oddsum+i;
Ebrahim
9
views
Ebrahim
asked
20 hours
ago
Compiler Design
compiler-design
syntax-directed-translation
ullman
+
–
0
votes
0
answers
4
question
Design a circuit with 4 inputs that has outputs with a binary value equal to the number of inputs that are HIGH.
Design a circuit with 4 inputs that has outputs with a binary value equal to the number of inputs that are HIGH.
aaryannn
13
views
aaryannn
asked
1 day
ago
0
votes
0
answers
5
i am not able to give test
arjun1947
14
views
arjun1947
asked
1 day
ago
0
votes
0
answers
6
OS | File Management | Made Easy Q105
A unix style I-Node had 10 direct pointers, 1 double indirect, 1 triple indirect and 1 quadruple indirect pointers. Disk block size is 1KB. if the maximum number of bytes of a file that can be accessed by quadruple pointer is 4TB using the ... Answer: 32bits i'm bit confused in the difference between I-Node disk block size and the given disk block size.
A unix style I-Node had 10 direct pointers, 1 double indirect, 1 triple indirect and 1 quadruple indirect pointers. Disk block size is 1KB. if the maximum number of bytes...
RahulVerma3
15
views
RahulVerma3
asked
1 day
ago
Operating System
operating-system
file-system
+
–
0
votes
0
answers
7
university assignment question
The array-based stack throws an exception when the array's capacity has been reached. Consider the following alternative : create a larger array, using the resize method. The cost of a resize that makes the array larger is proportional to the new size. 1. Suppose we ... and 2 for queues.Note that after the resize, elements may Solutions = O(N^2) O(N) O(N^2) O(N)
The array-based stack throws an exception when the array’s capacity has been reached. Consider the following alternative : create a larger array, using the resize metho...
꧁༒☬ĿọŗԀ 🆂🅷🅸🆅🅰☬༒꧂
33
views
꧁༒☬ĿọŗԀ 🆂🅷🅸🆅🅰☬༒꧂
asked
1 day
ago
0
votes
0
answers
8
I am not able to find the link for giving the test
Abhishikta Saha
21
views
Abhishikta Saha
asked
1 day
ago
0
votes
0
answers
9
DFA construction
Design a DFA (Deterministic Finite Automaton) that recognizes the language L defined follows: L= {w -> {a, b}* | every a in w is immediately followed by bb}
Design a DFA (Deterministic Finite Automaton) that recognizes the language L defined follows: L= {w - {a, b}* | every a in w is immediately followed by bb}
rdrd44
39
views
rdrd44
asked
2 days
ago
Theory of Computation
theory-of-computation
finite-automata
+
–
0
votes
0
answers
10
Regular Expresssion And NFA
In certain programming languages, comments appear between delimiters such as (* and ) . Let C be the language of all valid delimited comment strings. Such a string in C must begin with ( and end with *) but have no intervening *) . For simplicity, assume the ... b, (, *)}. (a) Provide an NFA that recognizes language C . (b) Present a regular expression that generates C.
In certain programming languages, comments appear between delimiters such as (* and ) . Let C be the language of all valid delimited comment strings. Such a string in C...
rdrd44
38
views
rdrd44
asked
2 days
ago
Theory of Computation
theory-of-computation
regular-expression
finite-automata
+
–
0
votes
0
answers
11
Gate 2024
I recently qualified gate with low score of 320. As per last year cutoff I may get CS in NIT goa or NIT puducherry or IIIT tirichy Is it worth if i join in any one of these or are there any options? Please clarify me stuck here for a long time
I recently qualified gate with low score of 320. As per last year cutoff I may get CS in NIT goa or NIT puducherry or IIIT tirichyIs it worth if i join in any one of thes...
Hemchand
26
views
Hemchand
asked
2 days
ago
0
votes
0
answers
12
I just purchased pgee test series, and right after that the PGEE Section of your website is not opening, please help
I am not able to access the pgee test links it shows me "currently unable to handle this request" Please help
babawick6
42
views
babawick6
asked
4 days
ago
0
votes
0
answers
13
View serializable
S2: R1(x);r2(z);r3(x);r1(z);r2(y);r3(y);w1(x);w2(z);w3(y);w2(y) Please help
S2: R1(x);r2(z);r3(x);r1(z);r2(y);r3(y);w1(x);w2(z);w3(y);w2(y)Please help
Cjsmwlq
41
views
Cjsmwlq
asked
4 days
ago
Databases
view-serializable
+
–
0
votes
0
answers
14
ISI PCB 2023 Q3
vbsurya
40
views
vbsurya
asked
5 days
ago
1
votes
0
answers
15
ISI PCB 2023 Q2
vbsurya
26
views
vbsurya
asked
5 days
ago
0
votes
0
answers
16
IIT Madras MS DSAI Written Test 2024
Two fair 6-face diced are tossed independently. Let X be the random variable of the sum of two numbers on dices and let Y be the absolute difference of two numbers on dices. What is the value of P( X $\geq$ 2Y)? a) 22/36 b) 24/36 c) 26/36 c) 28/36 d) 32/36
Two fair 6-face diced are tossed independently. Let X be the random variable of the sum of two numbers on dices and let Y be the absolute difference of two numbers on dic...
harshrajhrj
75
views
harshrajhrj
asked
6 days
ago
Probability
iit-madras
written-test
admissions
probability
random-variable
+
–
0
votes
0
answers
17
Divide and conquer
In quick sort, n numbers the (n/10)th element is selected as pivot using n^2 sortimng time complexity what will be the time complexity of quick sort is..... a)O(nlogn) b)O(n^2) c)O(n^3) d)O(n)
In quick sort, n numbers the (n/10)th element is selected as pivot using n^2 sortimng time complexity what will be the time complexity of quick sort is.....a)O(nlogn)b)O(...
Emankashyap
52
views
Emankashyap
asked
6 days
ago
Algorithms
divide-and-conquer
algorithms
time-complexity
recurrence-relation
sorting
+
–
0
votes
0
answers
18
exam 2011
Use the semantic rules below to draw an annotated parse tree for the expression. Compute the final value. (4*2)+3+(3*3+2)n
Use the semantic rules below to draw an annotated parse tree for the expression. Compute the final value. (4*2)+3+(3*3+2)n
Mokoena
36
views
Mokoena
asked
6 days
ago
0
votes
0
answers
19
exam 2011
Use the semantic rules below to draw an annotated parse tree for the expression. Compute the final value. (4*2)+3+(3*3+2)n
Use the semantic rules below to draw an annotated parse tree for the expression. Compute the final value. (4*2)+3+(3*3+2)n
Mokoena
31
views
Mokoena
asked
6 days
ago
0
votes
0
answers
20
Consider the following segment table: Segment Base Length 0 219 600 1 2300 14 2 90 100 3 1327 580 4 1952 96 What are the physical addresses for the following logical addresses? a. 0,430 b. 1,10 c. 2,500 d. 3,400 e. 4,112
Ovie
61
views
Ovie
asked
6 days
ago
0
votes
0
answers
21
Describe the bottleneck between the main memory and the CPU, and state how the bottleneck is resolved
Ovie
22
views
Ovie
asked
6 days
ago
1
votes
0
answers
22
David Stirzaker, Elementary Probability, Chapter 1, Example 1.9 Urn
An urn contains $n$ heliotrope and $n$ tangerine balls. A fair die with $n$ sides is rolled. If the $r^{th}$ face is shown, $r$ balls are removed from the urn and placed in a bag. What is the probability that a ball removed at random from the bag is tangerine?
An urn contains $n$ heliotrope and $n$ tangerine balls. A fair die with $n$ sides is rolled. If the $r^{th}$ face is shown, $r$ balls are removed from the urn and placed ...
Priyam Garg
78
views
Priyam Garg
asked
Apr 26
Probability
probability
+
–
0
votes
0
answers
23
Kenneth H. Rosen, Chapter 1
When three professors are seated in a restaurant, the hostess asks them: Does everyone want coffee? The first professor says: I do not know. The second professor then says: I do not know. Finally, the third professor says: No, not ... wants coffee. The hostess comes back and gives coffee to the professors who want it. How did she figure out who wanted coffee?
When three professors are seated in a restaurant, the hostess asks them: “Does everyone want coffee?” The first professor says: “I do not know.” The second profe...
ENTJ007
53
views
ENTJ007
asked
Apr 26
0
votes
0
answers
24
B- tree in DBMS
SandeepKumar147
68
views
SandeepKumar147
asked
Apr 25
Databases
databases
b-tree
+
–
1
votes
0
answers
25
How is "All strings {0,1} of length five or more in which the third symbol from the right end is different from the leftmost symbol" solved?
How is "All strings {0,1} of length five or more in which the third symbol from the right end is different from the leftmost symbol" solved? Answer Follow·1 Request ...
paressep28
74
views
paressep28
asked
Apr 25
Theory of Computation
theory-of-computation
regular-expression
minimal-state-automata
finite-automata
pushdown-automata
+
–
0
votes
0
answers
26
Memory management
Consider a system with 32 KB of physical memory and the following memory allocation requests from processes: Process P1 requests 10 KB of memory. Process P2 requests 6 KB of memory. Process P3 requests 12 KB of memory. Process P4 requests 4 KB of ... requests 8 KB of memory. The system uses the following memory allocation techniques: 1. First Fit 2. Best Fit 3. Worst Fit
Consider a system with 32 KB of physical memory and the following memory allocation requests from processes:• Process P1 requests 10 KB of memory.• Process P2 r...
Sahun
74
views
Sahun
asked
Apr 25
Operating System
memory
memory-management
+
–
0
votes
0
answers
27
B tree dbms
SandeepKumar147
27
views
SandeepKumar147
asked
Apr 25
Databases
binary-tree
+
–
0
votes
0
answers
28
IITM research aptitude paper 2024
In a wholesale shop, there are three brands of pens. Brand A comes in packs of $5$. Brand B comes in packs of $4$. Brand C comes in packs of $3$ . A customer wants to buy $122$ pens from these three brands buying at least $1$ from ... in a total of $30$ packs and he bought from each brand, as specified. In how many ways (combinations) can the customer buy this?
In a wholesale shop, there are three brands of pens. Brand A comes in packs of $5$. Brand B comes in packs of $4$.Brand C comes in packs of $3$. A customer wants to buy ...
Hira Thakur
55
views
Hira Thakur
asked
Apr 25
0
votes
0
answers
29
IITM research aptitude paper 2024
A computer is programmed to generate $n$ natural numbers, each lesser than $1000$ at random.It displays the sum of the digits of each generated number. Statement: One can definitely find five numbers among the $n$ displayed results whose values ... value of $n$ is _________ that makes the above statement always TRUE. Note: Random means there is no specific choice!
A computer is programmed to generate $n$ natural numbers, each lesser than $1000$ at random.It displays the sum of the digits of each generated number.Statement:One can d...
Hira Thakur
49
views
Hira Thakur
asked
Apr 25
0
votes
0
answers
30
IITM research aptitude paper 2024
Hira Thakur
39
views
Hira Thakur
asked
Apr 25
Page:
1
2
3
4
5
6
...
593
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register