-
question_answer1)
What is the group of instructions directing a computer called?
A)
Storage done
clear
B)
Memory done
clear
C)
Logic done
clear
D)
Program done
clear
View Solution play_arrow
-
question_answer2)
What is the full form of BASIC?
A)
Beginners All-purpose Symbolic Instruction Code done
clear
B)
Basic All program Symbol Integrated Computer done
clear
C)
Basic all proper Symbolic Insert Code done
clear
D)
Basic all print Syntax Instruction Code done
clear
View Solution play_arrow
-
question_answer3)
Which of the following is the file name of QBASIC program?
A)
QBASIC.exe done
clear
B)
QBASIC.doc done
clear
C)
QBASIC.ppt done
clear
D)
QBASIC.xIs done
clear
View Solution play_arrow
-
question_answer4)
BASIC was developed in the year___.
A)
1964 done
clear
B)
1966 done
clear
C)
1968 done
clear
D)
1962 done
clear
View Solution play_arrow
-
question_answer5)
What is the shortcut key to run a QBASIC program?
A)
Alt + F9 done
clear
B)
Alt + F5 done
clear
C)
Shift + F5 done
clear
D)
Shift + F9 done
clear
View Solution play_arrow
-
question_answer6)
If the QBASIC window fills the entire screen, you can press __ to make it smaller.
A)
Alt + Enter done
clear
B)
Alt + Esc done
clear
C)
Alt + F4 done
clear
D)
Alt + F5 done
clear
View Solution play_arrow
-
question_answer7)
In BASIC language, what are the values which do not change during the execution of program?
A)
Variables done
clear
B)
Constants done
clear
C)
Operators done
clear
D)
Error done
clear
View Solution play_arrow
-
question_answer8)
How are the string constants represented?
A)
They are enclosed in a double quotation mark. done
clear
B)
They are enclosed in a single quotation mark. done
clear
C)
They are enclosed in square brackets. done
clear
D)
They are enclosed in parentheses. done
clear
View Solution play_arrow
-
question_answer9)
Which of the following is an INVALID representation of constants in QBASIC language?
A)
?Hello? done
clear
B)
?16/10/2005? done
clear
C)
0.742 done
clear
D)
?Q ?BASIC?? done
clear
View Solution play_arrow
-
question_answer10)
In QBASIC language, what are the quantities which change values during the execution of a program?
A)
Variables done
clear
B)
Constants done
clear
C)
Errors done
clear
D)
Operators done
clear
View Solution play_arrow
-
question_answer11)
String variables must end with a ___ sign.
A)
$ done
clear
B)
+ done
clear
C)
- done
clear
D)
@ done
clear
View Solution play_arrow
-
question_answer12)
Which of the following is an INVALID numeric variable?
A)
T24 done
clear
B)
A done
clear
C)
M2 done
clear
D)
2B43 done
clear
View Solution play_arrow
-
question_answer13)
Which of the following is a string variable?
A)
P$ done
clear
B)
M2 done
clear
C)
OB done
clear
D)
TITLE done
clear
View Solution play_arrow
-
question_answer14)
Which of the following are relational operators?
A)
* done
clear
B)
^ done
clear
C)
AND done
clear
D)
<> done
clear
View Solution play_arrow
-
question_answer15)
What are instructions in QBASIC called?
A)
Operators done
clear
B)
Programs done
clear
C)
Statements done
clear
D)
Strings done
clear
View Solution play_arrow
-
question_answer16)
What is the input command for string values?
A)
INPUT P done
clear
B)
INPUT P$ done
clear
C)
INPUT $P done
clear
D)
INPUT "P" done
clear
View Solution play_arrow
-
question_answer17)
Which command is used to clear the screen of QBASIC window?
A)
REM done
clear
B)
NQT done
clear
C)
CLR done
clear
D)
CLS done
clear
View Solution play_arrow
-
question_answer18)
What will the given command do?
A)
The string variable C receives the value of A + B. done
clear
B)
The numerical variable C is assigned the value of A+ B. done
clear
C)
The string variable C is assigned the expression A + B. done
clear
D)
An error message is displayed. done
clear
View Solution play_arrow
-
question_answer19)
What is the output of the given program?
10 INPUT ?enter your favorite subject? 20 END |
A)
Computers done
clear
B)
Favorite subject? done
clear
C)
Subject = done
clear
D)
Enter your favorite subject done
clear
View Solution play_arrow
-
question_answer20)
Which statement is used for writing comments In the Q. BASIC program?
A)
LET done
clear
B)
REM done
clear
C)
INPUT done
clear
D)
PRINT done
clear
View Solution play_arrow
-
question_answer21)
In the given QBASIC statement, which is the variable?
A)
Q$ done
clear
B)
10 done
clear
C)
LET done
clear
D)
"QBASIC" done
clear
View Solution play_arrow
-
question_answer22)
What will be the output of the given Q. BASIC program?
LET P$ = ?BRAIN? LET Q$ = ?MAPPING? LET R$ = P$ + Q$ PRINT R$ |
A)
BRAIN MAPPING done
clear
B)
MAPPING BRAIN done
clear
C)
BRAIN MAPPING done
clear
D)
MAPPING BRAIN done
clear
View Solution play_arrow
-
question_answer23)
Identify the number of the row which has an error 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 number" 80 END
A)
40 done
clear
B)
30 done
clear
C)
80 done
clear
D)
10 done
clear
View Solution play_arrow
-
question_answer24)
Which of the following operators are used in conditional statement?
A)
Relational operators done
clear
B)
Logical operators done
clear
C)
Arithmetic operators done
clear
D)
Bitwise operators done
clear
View Solution play_arrow
-
question_answer25)
Avani wrote the given program in QBASIC. But while executing it, an error ocuurred. Identify the error.
10 LET A$ = ?INDIA? 20 LET B$ = A$ + ?1? 30 PRINT B$$ |
A)
Line 20 has a string to assign numeric done
clear
B)
Line 30 has too many $ signs done
clear
C)
Line 10 has directly given string to a variable done
clear
D)
There is no error in the program done
clear
View Solution play_arrow
-
question_answer26)
What does the given command perform?
A)
The expression P$, Q, R is printed. done
clear
B)
The variable Q receives the values of P$ + R. done
clear
C)
Two numerical values and one string value are printed. done
clear
D)
An error message is displayed. done
clear
View Solution play_arrow
-
question_answer27)
Match the following.
1. LET | (i) to clear the output screen |
2. PRINT | (ii) to write remarks that are not executed |
3. INPUT | (iii) to display values on output screen |
4. CLS | (iv) to assign or put value inside a variable |
5. REM | (v) to take value from the user and store it in a variable |
A)
1-iv, 2-iii, 3-v, 4-i, 5-ii done
clear
B)
1-iii, 2-iv, 3-ii, 4-v, 5-i done
clear
C)
1-v, 2-i, 3-iv, 4-ii, 5-iii done
clear
D)
1-ii, 2-v, 3-i, 4-iii, 5-iv done
clear
View Solution play_arrow
-
question_answer28)
Which of the following codes will print sum of two integer variables?
A)
PRINT z = P + Q. done
clear
B)
PRINT (X + Y) done
clear
C)
PRINT ?z = P + Q? done
clear
D)
PRINT SUM (X, Y) done
clear
View Solution play_arrow