Computer Knowledge

Programming Fundamentals

2,381 Questions

Programming fundamentals form the core logic of software development and computer science. This includes variable declarations, pointer assignments, loop iterations, and exception handling. These technical topics are regularly tested in computer knowledge and IT officer competitive examinations.

Variables and arraysPointer assignmentsLoop iterationsException handling blocksCompile time errorsFunction references

Programming Fundamentals Questions

Multiple choice
  1. No left recursive or ambiguous grammar can be LL(1)

  2. The class of grammars that can be parsed using LR methods is a proper subset of the class of grammars that can be the passed by LL method

  3. LR parsing is non - back tracking method

  4. LR methods can describe more languages than LL - grammars

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Grammar passed by LR methods is a proper superset of the class of grammar parsed with LL method

Multiple choice
  1. i is true but ii is false.

  2. i and ii are true and ii is the cause of i.

  3. i and ii are true but ii is not the cause of i.

  4. Both of them are false.

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Indirect triple consist of a listing of pointers to triples, rather than a listing of triples themselves.