1 votes
1
T1(n)=O(f(n))T2(n)=O(f(n))then check T/F?.T1(n)+T2(n)=O(f(n)).T1(n)=O(T2(n)).T1(n)=$\omega$(T2(n)).T1(n)=${\color{Red} \Theta }$(T2(n))
0 votes
3
Consider the following Pseudo codemain() { int t1=0,t2=0,t3=0; t1=fork(); t2=fork(); if(t1!=0) { t3=fork(); printf("0"); } }Find the total number of processes that will b...
67 votes
5
Assume that the operators $+, -, \times$ are left associative and $^\hat{}$ is right associative. The order of precedence (from highest to lowest) is $ \ ^\hat{}, \times,...