Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
Recent
Hot!
Most votes
Most answers
Most views
Previous GATE
Featured
Recent questions
0
votes
1
answer
1
Function Composition Question Oscar Levin Qn. 20
Let $f : X \rightarrow Y$ and $g : Y \rightarrow Z$ be functions. We can define the composition of $f$ and $g$ to be the function $g \circ f : X \rightarrow Z$ for which the image of each $x \in X$ is $g( f (x))$. That is, plug ... $f$ and $g$? Explain. (d) Suppose $g \circ f$ is surjective. What, if anything, can you say about $f$ and $g$? Explain.
Let $f : X \rightarrow Y$ and $g : Y \rightarrow Z$ be functions. We can define the composition of $f$ and $g$ to be the function $g \circ f : X \rightarrow Z$ for which ...
Deepak Poonia
22
views
Deepak Poonia
asked
17 hours
ago
Set Theory & Algebra
discrete-mathematics
functions
+
–
0
votes
0
answers
2
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
19 hours
ago
Compiler Design
compiler-design
syntax-directed-translation
ullman
lexical-analysis
parsing
+
–
0
votes
0
answers
3
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
19 hours
ago
Compiler Design
compiler-design
syntax-directed-translation
lexical-analysis
parsing
ullman
+
–
0
votes
0
answers
4
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
19 hours
ago
Compiler Design
compiler-design
syntax-directed-translation
ullman
+
–
0
votes
0
answers
5
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
6
i am not able to give test
arjun1947
13
views
arjun1947
asked
1 day
ago
0
votes
0
answers
7
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
8
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
9
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
10
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
11
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
12
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
13
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
14
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
15
ISI PCB 2023 Q3
vbsurya
39
views
vbsurya
asked
5 days
ago
0
votes
1
answer
16
ISI PCB 2023 Q1
Suppose there are three types of people in the world. A person is honest if the person always speaks the truth. A person is a liar if the person always lies. A person is normal if the person sometimes speaks the truth and sometimes lies. In a city ... . C: B is not normal. Based on the above, deduce with appropriate justifications who among A, B and C has committed the crime.
Suppose there are three types of people in the world.A person is “honest” if the person always speaks the truth. A person is a “liar” if the person always lies. A...
vbsurya
79
views
vbsurya
asked
5 days
ago
1
votes
0
answers
17
ISI PCB 2023 Q2
vbsurya
25
views
vbsurya
asked
5 days
ago
0
votes
1
answer
18
IIT Madras MS DSAI Written Test 2024
If the determinant and sum of eigen values of a 2 x 2 matrix are -1 and 0 then, what can you say about the rank of the given matrix? a) rank is 0 b) rank is 1 c) Insufficient information d) rank is 2
If the determinant and sum of eigen values of a 2 x 2 matrix are -1 and 0 then, what can you say about the rank of the given matrix?a) rank is 0b) rank is 1c) Insufficien...
harshrajhrj
102
views
harshrajhrj
asked
6 days
ago
Linear Algebra
iit-madras
written-test
admissions
linear-algebra
+
–
0
votes
1
answer
19
IIT Madras MS DSAI Written Test 2024
Given, that the eigen values of a 2 x 2 matrix are -1,1 and its singular values are 1,0. What is the rank of the matrix? a) rank is 0 b) rank is 1 c) Such a matrix can't exist d) rank is 2
Given, that the eigen values of a 2 x 2 matrix are -1,1 and its singular values are 1,0. What is the rank of the matrix?a) rank is 0b) rank is 1c) Such a matrix can't exi...
harshrajhrj
69
views
harshrajhrj
asked
6 days
ago
Linear Algebra
iit-madras
written-test
admissions
linear-algebra
+
–
0
votes
0
answers
20
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
+
–
Page:
1
2
3
4
5
6
...
3230
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register