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 indrajeet
4
votes
2
answers
21
probability
A bag contains 12 pairs of socks .four socks are picked up at random.Find the probability that there is at least one pair
A bag contains 12 pairs of socks .four socks are picked up at random.Find the probability that there is at least one pair
801
views
asked
Aug 9, 2016
Mathematical Logic
engineering-mathematics
probability
+
–
4
votes
1
answer
22
probability
Two intergers are chosen at random and multiplied. Find the probability that the product is even integer.
Two intergers are chosen at random and multiplied. Find the probability that the product is even integer.
888
views
asked
Aug 9, 2016
Mathematical Logic
engineering-mathematics
probability
+
–
3
votes
3
answers
23
conditional probability
A box contains 10 mangoes out of which 4 are rotten .Two mangoes are taken out together. If one of them is found to be good ,then find the probability other is also good
A box contains 10 mangoes out of which 4 are rotten .Two mangoes are taken out together. If one of them is found to be good ,then find the probability other is also good...
2.1k
views
asked
Aug 6, 2016
Probability
engineering-mathematics
probability
conditional-probability
+
–
3
votes
3
answers
24
conditional probability
One dice is thrown three times and the sum of the thrown numbers is 15.find the probability for which number 4 appears in first throw.
One dice is thrown three times and the sum of the thrown numbers is 15.find the probability for which number 4 appears in first throw.
1.2k
views
asked
Aug 6, 2016
Probability
engineering-mathematics
probability
conditional-probability
+
–
3
votes
4
answers
25
Reccurance Relation
Can we apply master theorem on following RR T(n) = 16T(n/4) + n! if yes then how
Can we apply master theorem on following RRT(n) = 16T(n/4) + n!if yes then how
848
views
asked
Aug 3, 2016
Algorithms
recurrence-relation
algorithms
master-theorem
+
–
2
votes
2
answers
26
compilation error
#include<stdio.h> int main(void) { int p=3,q=4,y,z; (p>q?y=5:z=10); printf(" %d %d ",y,z); return 0; } Compile Info prog.c: In function 'main': prog.c:5:15: error: lvalue required as left operand of assignment (p>q?y=5:z=10); ^ z is already a variable ,then why it is saying lvalue required ??
#include<stdio.h int main(void) { int p=3,q=4,y,z; (p>q?y=5:z=10); printf(" %d %d ",y,z); return 0; }Compile Infoprog.c: In function 'main':prog.c:5:15: error: lvalue req...
433
views
asked
Jul 20, 2016
Programming in C
programming-in-c
interview
operator-precedence
+
–
2
votes
1
answer
27
what is output
int main(){ int i=5,j; j=++i + ++i + ++i; printf("%d %d",i,j); return 0; } https://gateoverflow.in/?qa=blob&qa_blobid=15560219953750733487 please explain how j = 22 comes in output??
int main(){ int i=5,j; j=++i + ++i + ++i; printf("%d %d",i,j); return 0; } https://gateoverflow.in/?qa=blob&qa_blobid=15560219953750733487please explain how j = 22 comes ...
4.1k
views
asked
Jul 19, 2016
Programming in C
programming-in-c
output
interview
+
–
2
votes
2
answers
28
what is the output
#include <stdio.h> int main(){ int k = m(); printf("%d ",k); } void m(){ printf("hello\n"); } https://gateoverflow.in/?qa=blob&qa_blobid=15997855123266011837 i think code should throws compiler error because no declaration of m() before calling it.so compiler assume return type must be int but is void.but code compile and run correctly.please explain
#include <stdio.h int main(){ int k = m(); printf("%d ",k); } void m(){ printf("hello\n"); }https://gateoverflow.in/?qa=blob&qa_blobid=15997855123266011837i think code sh...
1.1k
views
asked
Jul 19, 2016
Programming in C
programming-in-c
output
interview
functions
+
–
2
votes
1
answer
29
what is the output??
#include<stdio.h> int i=5; int main() { extern int j; printf("\ni=%d \nj=%d",i,j); int j=10; return 0; } OUTPUT:- i=5 j=10 but when i compile this code ,i get compilation error source of question is http://cprogrammingcodes.blogspot.in/2012/02/external-storage-class.html please explain what,s wrong
#include<stdio.h>int i=5;int main(){ extern int j; printf("\ni=%d \nj=%d",i,j); int j=10; return 0;}OUTPUT:-i=5j=10but when i compile this code ,i get compilation err...
1.1k
views
asked
Jul 18, 2016
Programming in C
programming-in-c
output
interview
storage-classes-in-c
+
–
2
votes
3
answers
30
what is output
#include<stdio.h> void main(){ m(); void m(){ printf("hi\n"); } } please explain ?
#include<stdio.h void main(){ m(); void m(){ printf("hi\n"); } } please explain ?
2.5k
views
asked
Jul 17, 2016
Programming in C
programming-in-c
output
interview
+
–
1
votes
2
answers
31
digital signature
why hash function is used in digital signature and why it is many - to - one?? please explain.
why hash function is used in digital signature and why it is many - to - one??please explain.
1.5k
views
asked
Jun 24, 2016
Computer Networks
computer-networks
network-security
digital-signature
+
–
0
votes
0
answers
32
crypotography
Exponentiation is a heavily used operation in public key cryptography. Which of the following options is the tightest upper bound on the number of multiplications required to compute b^n mod m,0<=b,n<=m? a)O(log n) b)O(sqrt(n)) c)O(n/log n) d)O(n) please explain.. bnmodm,0≤b,n≤mbnmodm,0≤b,n≤m ?
Exponentiation is a heavily used operation in public key cryptography. Which of the following options is the tightest upper bound on the number of multiplications require...
692
views
asked
Jun 24, 2016
Computer Networks
computer-networks
network-security
cryptography
+
–
0
votes
0
answers
33
graph based protocol
In Graph based Protocol :- Why acquireing second lock on a data item needs to lock their parent data in tree . please explain
In Graph based Protocol :-Why acquireing second lock on a data item needs to lock their parent data in tree .please explain
589
views
asked
Jun 16, 2016
Databases
databases
concurrency
graph-based-protocol
+
–
0
votes
1
answer
34
recovery from failure
IN DEFFERED DATABASE MODIFICATION ,A TRANSACTION IS PARTIALLY COMMITED AND FAILURE OCCURS BEFORE COMMIT AND A LOG IS CREATED AS FOLLOWS <T,STARTS> <T,A,500> <T,COMMITS> Q-> WILL THE ORIGINAL DATABSE WILL MODIFIED OR NOT?? PLEASE EXPLAIN.
IN DEFFERED DATABASE MODIFICATION ,A TRANSACTION IS PARTIALLY COMMITED AND FAILURE OCCURS BEFORE COMMIT AND A LOG IS CREATED AS FOLLOWS<T,STARTS><T,A,500><T,COMMITS>Q- WI...
571
views
asked
Jun 16, 2016
Databases
databases
recovery-from-failure
deffered-database-modification
+
–
2
votes
4
answers
35
Link state routing
Why TTL field is Used in link state packet in link state routing?? please explain
Why TTL field is Used in link state packet in link state routing??please explain
2.7k
views
asked
Jun 15, 2016
Computer Networks
computer-networks
routing
link-state-routing
+
–
4
votes
2
answers
36
what is the throughput of channel
A broadcast channel has 10 nodes and total capacity of 10 Mbps. It uses polling for medium access. Once a node finishes transmission, there is a polling delay of 80 μs to poll the next node. Whenever a node is polled, it is allowed to ... The maximum throughput of the broadcast channel is A) 1 Mbps B) 100/11 Mbps C) 10 Mbps D) 100 Mbps please explain
A broadcast channel has 10 nodes and total capacity of 10 Mbps. It uses polling for medium access. Once a node finishes transmission, there is a polling delay of 80 μs...
3.1k
views
asked
Jun 12, 2016
Computer Networks
lan-technologies
mac-protocol
+
–
0
votes
1
answer
37
SQL
what is the difference b/w following two query:- SELECT distinct R.* FROM R,S where R.a = S.a; SELECT R.* FROM R,(select distinct a from S) as S1 where R.a = S1.a; a is attribute and ***duplicate*** tuples are allowed
what is the difference b/w following two query:-SELECT distinct R.*FROM R,Swhere R.a = S.a;SELECT R.*FROM R,(select distinct a from S) as S1where R.a = S1.a;a is attribut...
531
views
asked
Apr 28, 2016
Databases
databases
sql
descriptive
+
–
3
votes
1
answer
38
SQL QUERY
what is the meaning of following query: select R.* from R,S where R.a = S.a and is unique R;
what is the meaning of following query:select R.* from R,S where R.a = S.a and is unique R;
536
views
asked
Apr 28, 2016
Databases
sql
databases
+
–
3
votes
1
answer
39
relational calculus
BOOK(ACC_NO, TITLE, YR_PUB) USER(CARD_NO, B_NAME, B_ADD) B_BY(ACC_NO , CARD_NO , DOI) SUPPLIER(S_NAME,S_ADD) S_BY(S_NAME,S_NAME,PRICE,,DOS) Query :- find the names of those supplier who have supplied titles corresponding to all book issused by 'VIJAY'. using relational calculus solve the query (if possible give proper explation)
BOOK(ACC_NO, TITLE, YR_PUB)USER(CARD_NO, B_NAME, B_ADD)B_BY(ACC_NO , CARD_NO , DOI)SUPPLIER(S_NAME,S_ADD)S_BY(S_NAME,S_NAME,PRICE,,DOS)Query :- find the names of those su...
1.1k
views
asked
Apr 16, 2016
Databases
databases
relational-calculus
+
–
0
votes
1
answer
40
sorting analysis
Given an unsorted array. The array has this property that every element in array is at most k distance from its position in sorted array where k is a positive integer smaller than size of array. Which sorting algorithm can be easily modified for sorting this array ... Sort with time complexity O(kLogk) (D) Merge Sort with time complexity O(kLogk) Answer: (B) please explain how ??
Given an unsorted array. The array has this property that every element in array is at most k distance from its position in sorted array where k is a positive integer sma...
1.1k
views
asked
Feb 24, 2016
Programming in C
algorithms
sorting
+
–
Page:
« prev
1
2
3
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register