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
Questions by UK
0
votes
1
answer
1
C Programming doubt
What is the difference between struct node* head= NULL and struct node* head= (struct node*)NULL ?
What is the difference between struct node* head= NULL and struct node* head= (struct node*)NULL ?
698
views
asked
Mar 25, 2016
Programming in C
programming-in-c
structure
pointers
+
–
1
votes
3
answers
2
C pointer doubt
What is the difference when I write in program mynode * head; add_node(&head,10); add_node( struct node ** head, into value); To this mynode *head; add_node (head,10); add_node( struct node* head, into value) Which is the correct way of writing?
What is the difference when I write in program mynode * head; add_node(&head,10); add_node( struct node head, into value);To this mynode *head; add_node (head,10); add_...
714
views
asked
Mar 15, 2016
Programming in C
programming-in-c
pointers
+
–
0
votes
0
answers
3
GCD
Let (x′, y′) correspond to gcd(b, a mod b), i.e. gcd(b, a mod b) = x′ ·b + y′ · (a mod b). Then show that gcd(a, b) = y′ · a + (x′ − q)b where q is the quotient of the integer division of a by b. Can anyone help me with this?
Let (x′, y′) correspond to gcd(b, a mod b), i.e. gcd(b, a mod b) = x′ ·b + y′ · (a mod b). Then show that gcd(a, b) = y′ &midd...
476
views
asked
Feb 17, 2016
Algorithms
gcd
algorithms
easy
+
–
0
votes
1
answer
4
MadeEasy Test Series: Programming & DS - Binary Search Trees
Q). Find the number of trees that are possible .If we construct a binary search tree by successively inserting $5$ distinct items int an initially empty tree. a). $4$ b). $10$ c). $14$ d). $20$ I used the formula 2n!/(n+1)!*n!. Is it right ? also the ans given is 14,but I am getting 7.
Q). Find the number of trees that are possible .If we construct a binary search tree by successively inserting $5$ distinct items int an initially empty tree.a). $4$b). $...
740
views
asked
Jan 29, 2016
DS
made-easy-test-series
data-structures
binary-search-tree
+
–
0
votes
1
answer
5
MadeEasy Test Series: Combinatory - Permutations And Combinations
Number of solutions are there of x+y+z=17 in positive integers are_________ Here in this do we have to take constraints of x>=1,y>=1,z>=1?
Number of solutions are there of x+y+z=17 in positive integers are_________Here in this do we have to take constraints of x>=1,y>=1,z>=1?
964
views
asked
Jan 28, 2016
Combinatory
made-easy-test-series
engineering-mathematics
discrete-mathematics
combinatory
+
–
1
votes
1
answer
6
Permutation n combination
what is the correct solution to this question??
what is the correct solution to this question??
364
views
asked
Jan 27, 2016
Combinatory
combinatory
engineering-mathematics
+
–
2
votes
1
answer
7
Probability of Successful transmission
Q If probability of frame reaching safely is 0.1 then mean number of transmissions of a frame to make it success is _____. How to solve this question?
Q If probability of frame reaching safely is 0.1 then mean number of transmissions of a frame to make it success is _____.How to solve this question?
1.9k
views
asked
Jan 21, 2016
Computer Networks
computer-networks
probability
expectation
+
–
1
votes
1
answer
8
digital logic
How is the correct ans c?
How is the correct ans c?
407
views
asked
Jan 21, 2016
Digital Logic
digital-logic
sequential
+
–
2
votes
2
answers
9
Digital Logic
A digital circuit shown below has two $3$-bit input $A_2A_1A_0$ and $B_2B_1B_0$. To obtain output $Y=1$, the number of possible cases are ______.
A digital circuit shown below has two $3$-bit input $A_2A_1A_0$ and $B_2B_1B_0$.To obtain output $Y=1$, the number of possible cases are ______.
835
views
asked
Jan 21, 2016
Digital Logic
digital-logic
combinational-circuit
+
–
2
votes
1
answer
10
Asymptotics
Ans given is D. Is it because, in analyzing this we would ignore the constants involved in the equation?
Ans given is D. Is it because, in analyzing this we would ignore the constants involved in the equation?
420
views
asked
Dec 29, 2015
Algorithms
asymptotic-notation
algorithms
test-series
+
–
2
votes
1
answer
11
Combinatory
The number of ways 16 identical objects can be distributed among 4 persons such that each person gets atleast 2 objects is ______. If possible kindly explain me the approach.
The number of ways 16 identical objects can be distributed among 4 persons such that each person gets atleast 2 objects is ______.If possible kindly explain me the approa...
533
views
asked
Dec 27, 2015
Combinatory
combinatory
engineering-mathematics
+
–
1
votes
2
answers
12
group theory
Which of the following is not a group? Set of integer under multiplication operation. Set of natural number under multiplication. Set of natural number under addition. All of the above Why is it not group under addition? Ans given is d.
Which of the following is not a group?Set of integer under multiplication operation.Set of natural number under multiplication.Set of natural number under addition.All of...
1.8k
views
asked
Dec 27, 2015
Set Theory & Algebra
graph-theory
set-theory&algebra
group-theory
+
–
4
votes
2
answers
13
DCFL
Is DFCL closed under complement ? If so can you provide any text for the same.
Is DFCL closed under complement ? If so can you provide any text for the same.
7.1k
views
asked
Dec 20, 2015
Theory of Computation
theory-of-computation
dcfl
identify-class-language
+
–
0
votes
2
answers
14
Regular Expression
can anyone help me with regular expression for- a)set of all strings with equal number of 0s and 1s such that no prefix has 2 more than 0s than 1s nor 2 more than 1's than 0's. b) set of all strings of 0s and 1s whose number of 0s is divisible by 5 and whose number of 1's is even.
can anyone help me with regular expression for-a)set of all strings with equal number of 0s and 1s such that no prefix has 2 more than 0s than 1s nor 2 more than 1's than...
5.9k
views
asked
Dec 17, 2015
Theory of Computation
theory-of-computation
regular-expression
+
–
4
votes
1
answer
15
which is accessed frist TLB or cache?
I have a doubt which is accessed first TLB or cache? I think answer should be TLB as we need it for address translation to get frame no. and then access cache Is my approach right?
I have a doubt which is accessed first TLB or cache?I think answer should be TLB as we need it for address translation to get frame no. and then access cacheIs my approac...
1.7k
views
asked
Dec 16, 2015
Operating System
operating-system
translation-lookaside-buffer
cache-memory
paging
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register