Q1 (a) 405 (b) 10101000 Q2 (a)ls prog* (or) ls prog.* (since it was not clear if the dot was a period for the sentence or meant to be in the filename). (b) mv first.c p1.c (c) less project.c (or) more project.c (d) grep switch p3.c Q3 (a) 14 (Even though the answer for c*(c++) depends on the compiler, since 9/5 always evaluates to zero, that term is always zero). (b) Answer depends on compiler (i.e. C does not prescribe an answer, because b*(b=5) will evaluate to 5 or 25 depending on if the first operand is evaluated first or the second (respectively)) Q4 (a) for(;;) { ; break; } (b) No, because might contain a continue statement, which in the for loop would run the before skipping to the next iteration. If you put the to be the last statement in a while loop place instead of the for, the continue will skip the too. If you were given the exact statements, you could just use a while loop instead of a for and look for a continue statement and make sure that is executed right before continue (by appropriately placing it right before continue). Q5 #include void main(void) { int a, u, t; printf("Please input a number between 10 and 99\n"); scanf("%d",&a); u=a%10; t=a/10; printf("Ten's place: %d, Unit's place: %d\n", t,u); } Q6 #include void main(void) { int i,fibo0,fibo1,tmp; int m; printf("Input m"); scanf("%d",&m); fibo0=0; fibo1=1; printf("Fibonacci numbers:\n"); for(i=0,fibo0=0;fibo0