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 allSystemsDown
1
answer
1
Conditional Probability
The above-given problem is from MIT-OCW probability - https://tinyurl.com/25wamnxz There are two biased coins - A and B. The probability of choosing either coin is 0.5. Once the coins are chosen, we perform the experiment of tossing the coins as shown in the ... probability of (A | B) i.e. if we get 10 successive heads, then what is the probability that coin A was chosen?
The above-given problem is from MIT-OCW probability – https://tinyurl.com/25wamnxz There are two biased coins – A and B. The probability of choosing either coin is 0...
563
views
comment edited
Dec 26, 2021
Probability
probability
conditional-probability
+
–
6
answers
2
GATE CSE 2010 | Question: 45
The following program consists of $3$ concurrent processes and $3$ binary semaphores. The semaphores are initialized as $S0=1, S1=0$ and $S2=0.$ ... $P0$ print '$0$'? At least twice Exactly twice Exactly thrice Exactly once
The following program consists of $3$ concurrent processes and $3$ binary semaphores. The semaphores are initialized as $S0=1, S1=0$ and $S2=0.$$$\begin{array}{|l|l|}\hli...
26.3k
views
commented
Nov 17, 2019
Operating System
gatecse-2010
operating-system
process-synchronization
normal
+
–
1
answer
3
Self Doubt
1. #include <stdio.h> int main() { int i; char a[] = ""; // no tab space in between if(printf("%s",a)) printf("string empty"); else printf("string is not empty"); return 0; } Output: string is not empty 2. ... ;,a)) printf("string empty"); else printf("string is not empty"); return 0; } Output: string empty Why and how so?
1.#include <stdio.h>int main() { int i; char a[] = ""; // no tab space in between if(printf("%s",a)) printf("string empty"); else printf("string is ...
318
views
answered
Apr 1, 2019
Programming in C
programming-in-c
+
–
2
answers
4
Made Easy Workbook
#include <stdio.h> int main() { int i = 258; int *iptr = &i; printf("%d",*(char*)iptr); printf("%d",*(char*)iptr+1); } Please explain the solution.
#include <stdio.h>int main() { int i = 258;int *iptr = &i;printf("%d",*(char*)iptr);printf("%d",*(char*)iptr+1); }Please explain the solution.
706
views
answered
Mar 31, 2019
Programming in C
programming-in-c
+
–
2
answers
5
Doubt about OS
i have one doubt ...we know that ready , running and block waiting are lies inside main memory but it saying that when the process are in running state then process are suppose to given to CPU so when we have done with given of process to CPU how we can say that the process are in RAM or Running state are in RAM...please reply it is actually funny question .
i have one doubt ...we know that ready , running and block waiting are lies inside main memory but it saying that when the process are in running state then process are s...
1.2k
views
answered
Mar 22, 2019
Operating System
operating-system
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register