Study

Looping in QB64- 1

  •   0%
  •  0     0     0

  • _______ variable keeps track of the number of times a process is executed.
    counter
  • How is WHILE … WEND loop different from DO UNTIL loop?
    This loop is similar to the Do While loop, but the onlyDo...until difference is that the execution of the loop continues as long as the condition is false.
  • Which statement shifts the control back in the WHILE statement
    Wend
  • What is the difference between Play and Beep Statement?
    The command string expression contains the note or list of notes enclosed in double quotes along with the PLAY statement
  • Which value is optional and can be either positive or negative in a looping statement
    step
  • The control variable is assigned an _____and ____________ in FOR…NEXT statement
    initial value and final value
  • Raman’s teacher asked him to name the variable, which keeps count of the number of repetitions performed in a loop but he is unable to recollect the same. Help Raman to answer this query
    Control variable
  • WEND clause is used with FOR statement:
    False
  • STEP value can never be negative
    False
  • FOR statement is always used along with the statement ______
    next
  • Which statement combines the initialization and checking steps of counters in a single statement
    do
  • What is the function of GOSUB statement?
    The GOSUB – RETURN command is same as GOTO, except when it encounters a RETURN statement, the program returns back to the GOSUB command.