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
Recent activity by mohitjarvissharma
1
answer
1
GATE CSE 1989 | Question: 1-vi
Consider an excess -$50$ representation for floating point numbers with $4$ BCD digit mantissa and $2$ BCD digit exponent in normalised form. The minimum and maximum positive numbers that can be represented are __________ and _____________ respectively.
Consider an excess -$50$ representation for floating point numbers with $4$ BCD digit mantissa and $2$ BCD digit exponent in normalised form. The minimum and maximum posi...
3.9k
views
commented
Jul 10, 2019
Digital Logic
descriptive
gate1989
digital-logic
number-representation
floating-point-representation
+
–
1
answer
2
sorting
Given 2-sorted arrays each of n-elements and distinct. How much time it will take to find middle element of the union sorted array? a) O(1) b) O(logn) c) O(n) d) None of these explain briefly.
Given 2-sorted arrays each of n-elements and distinct. How much time it will take to find middle element of the union sorted array?a) O(1)b) O(logn)c) O(n)d) None of thes...
1.6k
views
commented
Jun 14, 2019
Algorithms
time-complexity
sorting
+
–
5
answers
3
GATE CSE 1997 | Question: 2.5
An N-bit carry lookahead adder, where $N$ is a multiple of $4$, employs ICs $74181$ ($4$ bit ALU) and $74182$ ( $4$ bit carry lookahead generator). The minimum addition time using the best architecture for this adder is proportional to $N$ proportional to $\log N$ a constant None of the above
An N-bit carry lookahead adder, where $N$ is a multiple of $4$, employs ICs $74181$ ($4$ bit ALU) and $74182$ ( $4$ bit carry lookahead generator).The minimum addition ti...
9.6k
views
commented
Jun 11, 2019
Digital Logic
gate1997
digital-logic
normal
adder
+
–
3
answers
4
GATE CSE 2014 Set 1 | Question: 2
Suppose you break a stick of unit length at a point chosen uniformly at random. Then the expected length of the shorter stick is ________ .
Suppose you break a stick of unit length at a point chosen uniformly at random. Then the expected length of the shorter stick is ________ .
17.5k
views
commented
Jun 11, 2019
Probability
gatecse-2014-set1
probability
uniform-distribution
expectation
numerical-answers
normal
+
–
2
answers
5
TIFR CSE 2018 | Part A | Question: 13
A hacker knows that the password to the TIFR server is $10$-letter string consisting of lower-case letters from the English alphabet. He guesses a set of $5$ distinct $10$-letter strings (with lower-case letters) uniformly at random. What is the probability that one of the ... $ \frac{1}{(26)^{10}}$ None of the above
A hacker knows that the password to the TIFR server is $10$-letter string consisting of lower-case letters from the English alphabet. He guesses a set of $5$ distinct $10...
2.0k
views
commented
May 26, 2019
Probability
tifr2018
probability
conditional-probability
+
–
5
answers
6
TIFR CSE 2012 | Part A | Question: 20
There are $1000$ balls in a bag, of which $900$ are black and $100$ are white. I randomly draw $100$ balls from the bag. What is the probability that the $101$st ball will be black? $9/10$ More than $9/10$ but less than $1$. Less than $9/10$ but more than $0$. $0$ $1$
There are $1000$ balls in a bag, of which $900$ are black and $100$ are white. I randomly draw $100$ balls from the bag. What is the probability that the $101$st ball wil...
2.9k
views
commented
May 24, 2019
Probability
tifr2012
probability
conditional-probability
+
–
5
answers
7
GATE CSE 2003 | Question: 60, ISRO2007-45
A program consists of two modules executed sequentially. Let $f_1(t)$ and $f_2(t)$ ... $\int_0^t f_1(x)f_2(t-x)dx$ $\max\{f_1(t),f_2(t)\}$
A program consists of two modules executed sequentially. Let $f_1(t)$ and $f_2(t)$ respectively denote the probability density functions of time taken to execute the two ...
9.1k
views
commented
May 23, 2019
Probability
gatecse-2003
probability
normal
isro2007
probability-density-function
+
–
3
answers
8
TIFR CSE 2014 | Part A | Question: 17
A fair dice (with faces numbered $1, . . . , 6$) is independently rolled repeatedly. Let $X$ denote the number of rolls till an even number is seen and let $Y$ denote the number of rolls till $3$ is seen. Evaluate $E(Y |X = 2)$. $6\frac{5}{6}$ $6$ $5\frac{1}{2}$ $6\frac{1}{3}$ $5\frac{2}{3}$
A fair dice (with faces numbered $1, . . . , 6$) is independently rolled repeatedly. Let $X$ denote the number of rolls till an even number is seen and let $Y$ denote the...
4.0k
views
commented
Dec 21, 2018
Probability
tifr2014
expectation
+
–
3
answers
9
TIFR CSE 2013 | Part A | Question: 19
Consider a sequence of numbers $\large (\epsilon _{n}: n= 1, 2,...)$, such that $\epsilon _{1}=10$ and $\large \epsilon _{n+1}=\dfrac{20\epsilon _{n}}{20+\epsilon _{n}}$ for $n\geq 1$. Which of the following statements is true? Hint ... $\large (\epsilon _{n}: n= 1, 2,...)$ is decreasing and then increasing. Finally it converges to $1.$ None of the above.
Consider a sequence of numbers $\large (\epsilon _{n}: n= 1, 2,...)$, such that $\epsilon _{1}=10$ and$\large \epsilon _{n+1}=\dfrac{20\epsilon _{n}}{20+\epsilon _{n}}$fo...
1.3k
views
answered
Oct 18, 2018
Quantitative Aptitude
tifr2013
quantitative-aptitude
sequence-series
+
–
3
answers
10
ISI2013-PCB-CS-4b
Write a regular expression for all strings of $0$’s and $1$’s in which the total number of $0$’s to the right of each $1$ is even. Justify your answer.
Write a regular expression for all strings of $0$’s and $1$’s in which the total number of $0$’s to the right of each $1$ is even. Justify your answer.
1.6k
views
commented
Jul 24, 2018
Theory of Computation
descriptive
isi2013-pcb-cs
theory-of-computation
regular-expression
+
–
1
answer
11
self doubt
Given a pointer to a node to be deleted what is the time complexity to delete a node in the circular linked list : i think answer is O(1). Am i right?
Given a pointer to a node to be deleted what is the time complexity to delete a node in the circular linked list :i think answer is O(1).Am i right?
658
views
answered
Jul 22, 2018
Programming in C
algorithms
+
–
0
answers
12
Probability by Blitztein
Martin and Gale play an exciting game of "toss the coin," where they toss a fair coin until the pattern HH occurs (two consecutive Heads) or the pattern TH occurs (Tails followed immediately by Heads). Martin wins the game if and only if HH occurs before TH occurs. Who is less or more likely to win?
Martin and Gale play an exciting game of "toss the coin," where they toss a fair coin until the pattern HH occurs (two consecutive Heads) or the pattern TH occurs (Tails ...
2.2k
views
asked
Jul 21, 2018
Probability
probability
+
–
2
answers
13
fallacy , contradiction and invalid argument are same ?
fallacy , contradiction and invalid argument are same or different
fallacy , contradiction and invalid argument are same or different
3.3k
views
answered
Jul 21, 2018
2
answers
14
C programming
#include <stdio.h> main() { char *p = "Sanfoundry C-Test"; p[0] = 'a'; p[1] = 'b'; printf("%s", p); }
#include <stdio.h main() { char *p = "Sanfoundry C-Test"; p[0] = 'a'; p = 'b'; printf("%s", p); }
2.2k
views
commented
Jul 19, 2018
Others
programming-in-c
pointers
+
–
2
answers
15
c program output
#include <stdio.h> main() { char *p = 0; *p = 'a'; printf("value in pointer p is %c\n", *p); }
#include <stdio.h>main(){char *p = 0;*p = 'a';printf("value in pointer p is %c\n", *p);}
4.5k
views
answered
Jul 18, 2018
Others
programming-in-c
output
explanation
please
+
–
1
answer
16
Study Material
which is the best book for Gate cse topicwise previous year solved paper solution ?
which is the best book for Gate cse topicwise previous year solved paper solution ?
3.1k
views
answered
Jul 18, 2018
Study Resources
study-resources
preparation
books
+
–
1
answer
17
recurrence relation
what is the recurrence relation for binary search and linear search? please explain how to derive them.
what is the recurrence relation for binary search and linear search?please explain how to derive them.
430
views
answered
Jul 18, 2018
Algorithms
recurrence-relation
algorithms
time-complexity
discrete-mathematics
+
–
1
answer
18
CLRS 11.2-6
Suppose we have stored n keys in a hash table of size m, with collisions resolved by chaining, and that we know the length of each chain, including the length L of the longest chain. Describe a procedure that selects a key uniformly at random from among the keys in the hash table and returns it in expected time O(L * (1 + m/n)).
Suppose we have stored n keys in a hash table of size m, with collisions resolved by chaining, and that we know the length of each chain, including the length L of the lo...
782
views
asked
Jul 11, 2018
Algorithms
algorithms
hashing
chaining
+
–
1
answer
19
Radix sort
How radix sort considered to be an application of linked list? Tell me clearly
How radix sort considered to be an application of linked list? Tell me clearly
360
views
answered
Jul 9, 2018
1
answer
20
self doubt
i could not remember the strassen matrix multiplication equation is it necessary to remember the equation which is given by https://www.geeksforgeeks.org/easy-way-remember-strassens-matrix-equation/??
i could not remember the strassen matrix multiplication equation is it necessary to remember the equationwhich is given by https://www.geeksforgeeks.org/easy-way-remember...
461
views
answered
Jul 7, 2018
Algorithms
algorithms
strassens-matrix-multiplication
+
–
1
answer
21
verbal : Which one of the following can be inferred from the passage?
Why should this absolutely God-given faculty of memory retain so much better the events of yesterday than those of last year, and, best of all, those of an hour ago? Why, again, in old age should its grasp ... operates is the key to understand this faculty. (D) The functions of faculty of memory are beyond human comprehension
Why should this absolutely God-given faculty of memory retain so much better the events of yesterday than those of last year, and, best of all, those of an hour ago? Why,...
886
views
answered
Jul 7, 2018
Verbal Aptitude
verbal-aptitude
passage-reading
+
–
0
answers
22
Peter Linz questions
Should i leave out the proving questions in peter linz? I have a good idea about how to use theorems but struggle with proving questions. Since there is a constraint on time, I was thinking about leaving them.
Should i leave out the proving questions in peter linz?I have a good idea about how to use theorems but struggle with proving questions. Since there is a constraint on ti...
208
views
asked
Jun 29, 2018
Theory of Computation
theory-of-computation
peter-linz
+
–
2
answers
23
Regarding When to take test series
Which approach should be followed: Finishing subtopics and giving test series simultaneously or finishing the full syllabus first and then taking the test series, in December-January? Also, I have heard that Made Easy test series have a lot of errors. Then which one to take?
Which approach should be followed: Finishing subtopics and giving test series simultaneously or finishing the full syllabus first and then taking the test series, in Dece...
875
views
retagged
May 31, 2018
Study Resources
test-series
preparation
study-resources
+
–
1
answer
24
Interpretation of Array dimensions
What is the correct interpretation of an $array[a][b][c]$? I have solved questions where $a$ is the number of layers, $b$ number of rows and $c$ number of columns. I have also seen questions where $a$ is the number of rows, $b$ is columns and $c$ is layers. Which one to follow to solve questions in GATE exam?
What is the correct interpretation of an $array[a][b][c]$?I have solved questions where $a$ is the number of layers, $b$ number of rows and $c$ number of columns. I have ...
477
views
commented
May 28, 2018
DS
array
data-structures
+
–
11
answers
25
GATE CSE 1994 | Question: 1.11
In a compact single dimensional array representation for lower triangular matrices (i.e all the elements above the diagonal are zero) of size $n \times n$, non-zero elements, (i.e elements of lower triangle) of each row are stored one after another, starting from the first row, the index of the ... is: $i+j$ $i+j-1$ $(j-1)+\frac{i(i-1)}{2}$ $i+\frac{j(j-1)}{2}$
In a compact single dimensional array representation for lower triangular matrices (i.e all the elements above the diagonal are zero) of size $n \times n$, non-zero eleme...
28.2k
views
commented
May 24, 2018
DS
gate1994
data-structures
array
normal
+
–
0
answers
26
Reema Thareja
Is reema thareja a suitable book for GATE Data structures?
Is reema thareja a suitable book for GATE Data structures?
988
views
commented
May 22, 2018
DS
programming-in-c
data-structures
+
–
1
answer
27
Data Structures Resource
Hello everyone. Can anyone suggest me a good book for Data Structures for GATE. Horowitz and Weiss are available in .chm format and its really difficult to read from them. Any other suggestions. Also, I have a good knowledge of C, but i have to formally study it for GATE. Any suggestions for this too?
Hello everyone.Can anyone suggest me a good book for Data Structures for GATE. Horowitz and Weiss are available in .chm format and its really difficult to read from them....
982
views
asked
May 21, 2018
DS
data-structures
programming-in-c
+
–
1
answer
28
Regarding Preparation
I know this question has been asked many times, but yeah. I am weak in calculus and linear algebra and have never studied probability properly. Now according to internet suggestions, I should read Kreyzig or BS Grewal, but I will most probably want ... time for GATE 2019 should i watch lectures of Gilbert Strang, Stats 110 and calculus textbook, or should i stick to kreyzig?
I know this question has been asked many times, but yeah. I am weak in calculus and linear algebra and have never studied probability properly. Now according to internet ...
601
views
commented
May 11, 2018
Calculus
engineering-mathematics
calculus
linear-algebra
probability
preparation
+
–
1
answer
29
Confusion between Kurose/Ross and Tanenbaum
My college's library has both Tanenbaum and Kurose/Ross. The answers on the internet only added to my confusion as there is an equal support for both the books. Since I have limited time which book would you like to suggest and why?
My college's library has both Tanenbaum and Kurose/Ross. The answers on the internet only added to my confusion as there is an equal support for both the books.Since I ha...
1.7k
views
asked
Aug 31, 2017
Computer Networks
computer-networks
reference-book
+
–
2
answers
30
Operating Systems concepts(Galvin)
Hello I am reading chapters from Galvin and attempting its back exercises. However, there is nothing to compare my answers to, I mean there are no answers given anywhere. Do you guys have any idea of any answer key thank you
HelloI am reading chapters from Galvin and attempting its back exercises.However, there is nothing to compare my answers to, I mean there are no answers given anywhere.Do...
2.6k
views
commented
Jul 21, 2017
Operating System
operating-system
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register