PREVIOUS YEAR SOLVED PAPERS MCQ - August 2016 Paper 2

Correct AnswerOption C
Rate difficulty Rate difficulty:
Choose a difficulty.

Possible strings of length 4 are: 0001, 0111, 0011, 0101, 0123, 2323, 2333, 2223, 2233, 2301. Total 10 strings are possible. So, option (C) is correct.
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *

Correct AnswerOption D
Rate difficulty Rate difficulty:
Choose a difficulty.
Share this question
Share:
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *

Correct AnswerOption B
Rate difficulty Rate difficulty:
Choose a difficulty.

In option (B), Multiplication operation is replaced with Shift Operator . It reduce the operator strength because shift operator is less expensive than multiplication operation. So option (B) is correct.
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *

Correct AnswerOption B
Rate difficulty Rate difficulty:
Choose a difficulty.
Principles tasks of the linker are:
  1. Resolve external references among separately compiled program units.
  2. Relocate code and data relative to the beginning of the program.
  • Assembler translate assembly language to machine code.
  • Loader enforces access-control restrictions on system libraries.
So, option (B) is correct.
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *

Correct AnswerOption B
Rate difficulty Rate difficulty:
Choose a difficulty.
  • The grammar S→aS|aSbS|∈, where S is the only non-terminal symbol, and ∈ is the null string, is ambiguous.Correct
  • An unambiguous grammar has same left most and right most derivation.Inorrect
  • An ambiguous grammar can never be LR(k) for any k.Correct
  • Recursive descent parser is a top-down parser.Correct
  • So, option (B) is correct.
    Cancel reply

    Your email address will not be published. Required fields are marked *


    Cancel reply

    Your email address will not be published. Required fields are marked *

    Why Practice with Avatto?
    High Quality MCQsExam-focused questions with accurate answers
    Detailed ExplanationsStep-by-step explanations to enhance learning
    Latest Exam PatternBased on updated syllabus and pattern
    Performance AnalyticsTrack performance and improve weak areas
    100% Free PracticePractice unlimited questions for free