Qbasic Statements


Available Answers

  1. 1.

    Fill in the Blanks.

    1. _____________ statement is used, to terminate the program, while _____________ statement halts the program execution immediately.
    2. _____________ statement is used, to assign value to variables, while _____________ statement is used, to input values from users.
    3. To add a comment or remark we use _____________ and _____________.
    4. A$ is a _____________ variable and A is a _____________ variable.
    5. To display values in continuation, we use _____________ and _____________ symbol with PRINT.
  2. 2.

    Write True or False.

    1. The LET statement assigns a value to a variable.
    2. REM command helps to do calculation.
    3. GOTO is a jumping statement.
    4. IF... THEN statement is used, to check condition.
    5. LABEL can be a name of the program.
  3. 3.

    Multiple Choice Questions (MCQs).

    1. It is used for unconditional transfer of control _____________.
      1. IF... THEN
      2. GOTO
      3. CLS
    2. We use it with GOTO statement _____________ or _____________.
      1. line number, label
      2. line number, cls
      3. label, cls
    3. _____________ operators are used to make condition.
      1. Assignment
      2. Relational
      3. Mathematical
    4. If many conditions are there, then _____________ statement can be used.
      1. IF... THEN
      2. ELSEIF
      3. GOTO
    5. The _____________ statement allows you, to ask the user to enter data, while the program is being executed.
      1. GOTO
      2. IF THEN
      3. INPUT
  4. 4.

    What is the statement, to take input from the user? Write the Syntax for it.

  5. 5.

    State the difference between END and STOP statements.

  6. 6.

    What is execution control? How can you change it?

8 more answer(s) available.

Please login to post your comments.