QBasic Statements


Available Answers

  1. 1.

    Fill in the blanks:

    1. The ___________ symbol with PRINT statement is used to combine string expression.
    2. ___________ statement allows us to assign value to a variable.
    3. The ___________ command generates a question mark symbol on the output screen.
    4. If the condition mentioned with IF is ___________, then the statement with THEN is executed.
  2. 2.

    State whether True or False:

    1. Input Statement does not work for String variables.
    2. LET statement is optional to use.
    3. Any expression with the PRINT statement within the quotes will be printed as a  message.
    4. The column number is mentioned in double quotes with the TAB statement.
    5. Relational operator can never be used within the conditions of IF...THEN...ELSE statements.
  3. 3.

    Multiple choice questions:

    1. Every IF statement should be terminated with:
      1. Comma
      2. Full Stop
      3. End If
      4. Question Mark
    2. The INPUT statement generates this symbol on the output screen:
      1. Comma
      2. Full Stop
      3. End If
      4. Question Mark
    3. Identify the symbol(s) that can be used with the PRINT statement:
      1. Double quotes
      2. Semi colon
      3. Comma
      4. All of the above
    4. The output of the statement PRINT "ONE" + "TWO" is:
      1. THREE
      2. 12
      3. ONE TWO
      4. ONE+TWO
    5. The output of the statement PRINT "100";100+100 is:
      1. 100100100
      2. 100200
      3. 300
      4. 100100+100
  4. 4.

    Match the following:

    1. INPUT statement
    2. PRINT 
    3. LET  
    4. IF...THEN 
    5. IF...THEN...ELSE
    1. evaluates when condition is TRUE
    2. many conditions
    3. takes value from the user
    4. displays message on the output screen
    5. optional statement
  5. 5.

    What is LET statement used for?

  6. 6.

    With the help of an example, explain the PRINT statement with the addition operator.

14 more answer(s) available.

Please login to post your comments.