Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
ChayAdhiraj
Wall
Recent activity
All questions
All answers
Exams Taken
All Blogs
Answers by ChayAdhiraj
0
votes
1
GATE CSE 1999 | Question: 1.1
Suppose that the expectation of a random variable $X$ is $5$. Which of the following statements is true? There is a sample point at which $X$ has the value $5$. There is a sample point at which $X$ has value greater than $5$. There is a sample point at which $X$ has a value greater than equal to $5$. None of the above.
Suppose that the expectation of a random variable $X$ is $5$. Which of the following statements is true?There is a sample point at which $X$ has the value $5$.There is a ...
10.0k
views
answered
Jan 8, 2023
Probability
gate1999
probability
expectation
easy
+
–
0
votes
2
CMI2013-B-06b
Your final exams are over and you are catching up on watching sports on TV. You have a schedule of interesting matches coming up all over the world during the next week. You hate to start or stop watching a match midway, so your aim is ... dynamic programming to compute the maximum number of complete matches you can watch next week. Analyze the worse-case complexity of your algorithm.
Your final exams are over and you are catching up on watching sports on TV. You have a schedule of interesting matches coming up all over the world during the next week. ...
1.7k
views
answered
May 22, 2022
Algorithms
cmi2013
descriptive
algorithms
dynamic-programming
+
–
0
votes
3
CMI 2021 B2
2. Imagine you are playing a computer game that consists of different types of coins. You have the power to cast two magic spells s1 and s2. Each spell consumes some number of coins of each type and produces some number of coins of each type. Spell s1 ... proper way and by the official method, I was not ale to come to proper answer I have also provide the official solution below.
2. Imagine you are playing a computer game that consists of different types of coins.You have the power to cast two magic spells s1 and s2. Each spell consumes somenumber...
329
views
answered
May 20, 2022
Algorithms
general-aptitude
algorithms
doubt
+
–
0
votes
4
CMI-2021-Computer Science
One day, Dumbledore assigns Harry Potter the task of obtaining the Philosopher's Stone that lies in an inner chamber surrounded by many rooms. To guide him along, he is given the Marauder's Map which contains the following graph Harry wishes to color every wall with ... (c) 2 colors for walls and 3 colors for the rooms (d) 2 colors for walls and 5 colors for the rooms
One day, Dumbledore assigns Harry Potter the task of obtaining the Philosopher’s Stone that lies in an inner chamber surrounded by many rooms. To guide him along, he is...
400
views
answered
May 19, 2022
Quantitative Aptitude
general-aptitude
+
–
0
votes
5
CMI-2021-Computer Science
One day, Dumbledore assigns Harry Potter the task of obtaining the Philosopher's Stone that lies in an inner chamber surrounded by many rooms. To guide him along, he is given the Marauder's Map which contains the following graph Harry wishes to color every wall with ... (c) 2 colors for walls and 3 colors for the rooms (d) 2 colors for walls and 5 colors for the rooms
One day, Dumbledore assigns Harry Potter the task of obtaining the Philosopher’s Stone that lies in an inner chamber surrounded by many rooms. To guide him along, he is...
400
views
answered
May 19, 2022
Quantitative Aptitude
general-aptitude
+
–
0
votes
6
CMI 2021 Computer Science (A2)
Let L be the language over {a, b} that contains the same number of occurrences of a and b. Which of the following languages is regular? (a) L ∩ a∗b∗ (b) (L ∩ a∗b∗) ∪ a∗b∗ (c) L ∪ a∗b∗ (d) (L ∩ a∗b∗) ∪ b∗a My personal ... a*b* is regular and and L is regular. However L1 union/intersection L is not regular Could someone please explain this question in some detail ?
Let L be the language over {a, b} that contains the same number of occurrences of aand b. Which of the following languages is regular?(a) L ∩ a∗b∗(b) (L ∩ a∗b�...
361
views
answered
May 19, 2022
Theory of Computation
theory-of-computation
doubt
+
–
0
votes
7
CMI2016-A-10
Which of the following relationships holds in general between the $\text{scope}$ of a variable and the $\text{lifetime}$ of a variable (in a language like C or Java)? The scope of a variable is contained in the lifetime of the variable The scope of a variable is same as the lifetime of the variable The lifetime of a variable is disjoint from the scope of the variable None of the above
Which of the following relationships holds in general between the $\text{scope}$ of a variable and the $\text{lifetime}$ of a variable (in a language like C or Java)?The ...
1.2k
views
answered
May 18, 2022
Programming in C
cmi2016
programming-in-c
scoping-rule
lifetime
+
–
0
votes
8
CMI2016-B-4
Let $\Sigma = \{0, 1\}$. Let $A, \: B$ be arbitrary subsets of $\Sigma^\ast$. We define the following operations on such sets: $ A+B := \{ w \in \Sigma^\ast \mid w \in A \text{ or } w \in B \}$ ... $A$ and $B$? If yes, give a proof. If not, provide suitable $A$ and $B$ for which this equation fails.
Let $\Sigma = \{0, 1\}$. Let $A, \: B$ be arbitrary subsets of $\Sigma^\ast$. We define the following operations on such sets:$ A+B := \{ w \in \Sigma^\ast \mid w \in A...
500
views
answered
May 17, 2022
Theory of Computation
cmi2016
closure-property
proof
descriptive
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register