Paper Tayyari

Lecture 43: Bug Classes

MCQs, short and long questions from lecture 43.Lecture 43 ki MCQs, short aur long sawal.

2 MCQs · 4 short · 10 long questions · 2 MCQs from past papers2 MCQs · 4 short · 10 long sawal · 2 MCQs past papers se

Start mock testMock test shuru karein
DoneHal kiye 0/2
– correctsahi
1.
★ Final term Spring 2010

Which one of the given below is not a symptom of memory overrun?

  1. AProgram crashes quite regularly after a given routine is called, that routine should be examined for a possible overrun condition.
  2. BIf the routine in question does not appear to have any such problem the most likely cause is that another routine, called in the prior sequence, has already trashed variables or memory blocks.
  3. CChecking the trace log of the called routines leading up to one with the problem will often show up the error.
  4. DCompiler warnings.

Memory overruns show up at run time; compiler warnings are not one of the listed symptoms.

2.
★ Midterm past paper

Which error occurs when a program repeatedly displays the same message or data?

  1. ALogical error
  2. BLoop error
  3. CSyntax error
  4. DPointer error

Repeated output of the same data is a symptom of a loop error.