Hi all
USP LAB VIVA QUESTIONS

SS and OS LAB expected viva questions

   1.  What is system software and application software?
    2.   What is compiler?
    3.   What is lex and how it works?
   4.    Give the structure of lex program?
   5.    What is the role of parser?
   6.    Lexical convention?
   7.    What is pattern?
   8.    Explain Lex built in function? (yylex(), yyin(), yyout(), yyerror(), yywrap(), yytext(), yylval())
   9.    How to run lex program?
  10.   What is yacc(yet another compiler compiler)?
  11.   Give the Structure of yacc program? 
  12.   Lex and yacc interaction ?
  13.   What is token and terminal symbols?
  14.   What is %left, %nonasso uminus, %prec uminus represents?
  15.   What is grammar or regular expression?
  16.   How to run yacc programs?
  17.   What are shell script?
  18.   What is #!/bin/sh?
  19.   What are the special parameters and operators used by shell?
  20.   What is system fuction and explain system(od –bc data) ?
  21.   How to create a child process? Explain wait()?
  22.   What is lseek();
  23.   What is lstat()?
  24.   What is pid,ppid?
  25.   Why we ave to include y.tab.h?
  26.   Explain the features of UNIX.
  27.   What are internal command and external commands?
  28.   What are absolute and relative path names?
  29.   Explain commands cp, mv, mkdir, grep, cut, cat.
  30.   What is $$, $@, $#, $*, -lt, $x represents?
  31.   Explain round robin algorithm?
  32.   Explain banker’s algorithm?
  33.   What are Fibonacci series?