Friday, 1 November 2013

Random Notes :



Fork System Calls
Useful Link :
http://www.csl.mtu.edu/cs4411.ck/www/NOTES/process/fork/create.html


Quiz Questions :

OS PG quiz :3 

1 Briefly describe the network sensors and the related characteristics offered in TinyOS. 
2 Briefly discuss how the memory allocation , command exec and mutual exclusion is achieved in TinyOs . 
3 Discuss about motivation to adopt OS abstraction to  take GPU as computing units
4 How the Ptask scheduling is integrated with CPU scheduling . 
5..Discuss the basic idea of the Cell Architecture.

6..Discuss the power management strategies adopted in Cell .

A very good guidance tut for GATE.Thanks to the author.
http://www.cse.iitk.ac.in/users/dvjrao/study.html


Notes in C:


>>If a break is used in the for loop , it exits the loop immediately, and does not update the counter value to next.
for (i=0;i<9;i++)
 { if (i%2==1)  { break;}

  }
printf("%d",i);

in this case ./a.out gives 1 and not 2 . as the normal case if break is not used .



>>int a;
   while (scanf("%d",&a)==1) //means this will read till the values of   a   are numeric
{}

scanf has a return value which depicts the number of inputs successfully made.(means scanf return 1 after every successful entry)


>>>C operators and expressions - associativity


>>Precedence Of Operators in C





>>Initialising Arrays String Arrays


+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


RESOURCES for asking Questions on HTML and CSS3 and JS


-Stack overflow website
-Share code using   
       >>CodePen
       >>jfiddle.com



No comments:

Post a Comment