Olympiad Test : Programming In QBasic - 2


20 Questions MCQ Test National Cyber Olympiad Class 7 | Olympiad Test : Programming In QBasic - 2


Description
This mock test of Olympiad Test : Programming In QBasic - 2 for Class 7 helps you for every Class 7 entrance exam. This contains 20 Multiple Choice Questions for Class 7 Olympiad Test : Programming In QBasic - 2 (mcq) to study with solutions a complete question bank. The solved questions answers in this Olympiad Test : Programming In QBasic - 2 quiz give you a good mix of easy questions and tough questions. Class 7 students definitely take this Olympiad Test : Programming In QBasic - 2 exercise for a better result in the exam. You can find other Olympiad Test : Programming In QBasic - 2 extra questions, long questions & short questions for Class 7 on EduRev as well by searching above.
QUESTION: 1

In the given QBASIC statement, which is the variable?

LET Q$= “QBASIC”

Solution:
QUESTION: 2

What will the output of the given QBASIC program?

LET P$= “BRAIN”
LET Q$ = “MAPPING”
LET R$ = P$ + Q$
PRINT R$

Solution:
QUESTION: 3

Identify the number of row which has an arrow.
10 REM A program to find the even and odd numbers
20 CLS
30 INPUT “Enter number”, a
40 IF A%2= 0 THEN
50 PRINT A;”is even number”
60 ELSE
70 PRINT A; “is odd numbers’
80 END

Solution:
QUESTION: 4

Which of the following operators are used in conditional statement?

Solution:
QUESTION: 5

Ankit wrote the given program in QBASIC. But while executing it, an error occurred. Identify the error.
10 LET A$ = “INDIA”
20 LET B$= A$+”1”
30 PRINT B$$

Solution:
QUESTION: 6

Which of the following is a valid numeric constant?

Solution:
QUESTION: 7

Which of the following BASIC commands is used to enter values while the program is being executed?

Solution:
QUESTION: 8

What is the output of the following program?

age =10
DO 
PRINT age
Age = age +1
LOOP WHILE age < 10

Solution:
QUESTION: 9

In high resolution mode, the screen is divided into ______ horizontal and ______ vertical pixels.

Solution:
QUESTION: 10

When you use a ______ in a PRINT statement, the items are printed without any spaces between them

Solution:
QUESTION: 11

In high resolution mode, what are the coordinates for the bottom right corner of the screen?

Solution:
QUESTION: 12

In this mode, a QBASIC statement is executed as soon as you press the key.  It is the ______.

Solution:
QUESTION: 13

What is the shortcut key to run a QBASIC program?

Solution:
QUESTION: 14

Which of the following are relational operators?

Solution:
QUESTION: 15

In the above program, what value does nm$ variable hold?

Solution:
QUESTION: 16

What will be the output of the following statement?

PRINT NM$, age

Solution:
QUESTION: 17

For placing a comment in a program, we use ______.

Solution:
QUESTION: 18

Which statement is used to set the resolution of the display screen?

Solution:
QUESTION: 19

A GOTO statement ______.

Solution:
QUESTION: 20

Which of the following is NOT a valid Screen mode?

Solution:

Related tests