2.12 Errors

10 Computer Science · Chapter 2: Computational Thinking & Algorithms · Federal Board (FBISE)

2.12 Errors from Federal Board 10 Computer Science (10th Class) Chapter 2, Computational Thinking & Algorithms: 1 short and long question and 2 MCQs with answers.

Errors MCQs

  1. Q1

    A mistake related to the structure of an expression or statement, similar to a grammatical error, is called a:

    1. ALogical error
    2. BSyntax error
    3. CRuntime crash
    4. DPattern error
    Show answer

    Correct answer: B. Syntax error

    Syntax errors relate to incorrect structure, like grammatical mistakes in writing.

  2. Q2

    A mistake in reasoning or planning that leads to an incorrect result, even though the code runs without crashing, is called a:

    1. ASyntax error
    2. BLogical error
    3. CCompilation error
    4. DHardware error
    Show answer

    Correct answer: B. Logical error

    Logical errors occur due to flawed reasoning, producing incorrect results despite correct syntax.

Errors short questions

  1. What are errors and their types?

    Important

Chapter 2 study material

A little trouble connecting

We could not reach IlmiDunya. Your connection may be slow or interrupted. Check your connection and try again.

If you were saving or submitting, check the result before trying again.

Account blocked

You are blocked from using IlmiDunya. Contact support to unblock your account.