Olympiad Test: Introduction To Q Basic - 2


10 Questions MCQ Test National Cyber Olympiad Class 6 | Olympiad Test: Introduction To Q Basic - 2


Description
Attempt Olympiad Test: Introduction To Q Basic - 2 | 10 questions in 20 minutes | Mock test for Class 6 preparation | Free important questions MCQ to study National Cyber Olympiad Class 6 for Class 6 Exam | Download free PDF with solutions
QUESTION: 1

Given below is a QBASIC program which is not printing any value. Find the error in the given QBASIC program:

10 PRINT “Enter a number, zero to stop:;
20 input A
30 IF A THEN GOTO 70
40 LET A = A + 10
50 PRINT “The number plus 10 is”, A
60 GOTO 10
70 STOP

Solution:
QUESTION: 2

You can run the program by pressing ______.

Solution:
QUESTION: 3

Name$ is a ______.

Solution:
QUESTION: 4

Which of the following is NOT a QBASIC operator?

Solution:
QUESTION: 5

What value will be printed after the successful execution of the following codes?

LET C = 0
DO WHILE C < 10
LET C = C + 1
LOOP
PRINT C

Solution:
QUESTION: 6

What is the output of the following QBASIC program?

CLS
LET X$ = “MY NAME”
LET Y$ = “IS”
LET Z$ = “MANMOHAN”
PRINT X$; Y$, Z$,

Solution:
QUESTION: 7

You use the MOD operator to find them

Solution:
QUESTION: 8

Text that you wish to appear on the screen while your program runs must appear inside ______.

Solution:
QUESTION: 9

The shortcut keystroke for PRINT is ______.

Solution:
QUESTION: 10

What will be the output of the following QBASIC code?

firstword$ = “wicket”

secondword$ = “keeper”

PRINT firstword$ +secondword$

Solution:
Use Code STAYHOME200 and get INR 200 additional OFF
Use Coupon Code