Starting with QBasic Class 6 MCQ: CBSE Board Class 6 Computer MCQ Questions and Answers with elaborate explanation. Students get here all Important MCQ on Starting with QBasic Class 6.
Starting with QBasic Class 6 MCQ with Answers and Explanations:
1.) It is a high level programming language.
a) C programming b) MS-Word c) Q Basic d) All of these
Explanation :-BASIC was the program that was been designed for guiding/helping the beginners in programming . We can write a program, we can edit a program, run a program and if there is any mistake in the program then we can make correction in the program too. QBASIC is advanced version of BASIC. Hence QBASIC is a high level programming language.
2) The abbreviation of BASIC is
a) Beginners All Purpose Symbolic Instruction Code
b) Best of All Purpose Sign Instruction Coding
c) Better Applications used for Promoting Symbols and Coding
d) None of these
Explanation :- In the year 1963, John Kemeny and Thomas Kurtz developed a high level programming language BASIC. BASIC was the program that was been designed for guiding/helping the beginners in programming. The BASIC stands for Beginners All Purpose Symbolic Instruction Code.
3) BASIC the high level programming language was designed in the year
a) 2002
b) 1947
c) 1992
d) 1963
Explanation :-In the year 1963, John Kemeny and Thomas Kurtz developed a high level programming language BASIC. BASIC was the program that was been designed for guiding/helping the beginners in programming. The BASIC stands for Beginners All Purpose Symbolic Instruction Code.
4.) QBASIC was released by
a) Microsoft
b) Facebook
c) Instagram
d) Google
Explanation :- Microsoft released QBASIC in the year 1991. Microsoft released it with MS DOS 5 and its advanced versions. Later on QBASIC was been made available with Windows Operating System.
5) It converts the one statement of a program into the machine code at a time
a) Translator
b) Interpreter
c) Repeater
d) None of these
Explanation :- The programs written in QBAISC needs to be converted into machine code for its execution. In QBASIC there is availability of Interpreter that converts the programs one/each statement into the machine code at a time.
6) In Q Basic it contains the alphabets(both big and small) ,numbers, and other special characters or symbols
a) Alphabet set b) Character set c) Letter set d) Number set
Explanation :- In QBASIC there are some elements that are needed/ helpful in creating/writing programs. The character set is one of the element of QBASIC. The character set includes the alphabets (both big and small) [ A, B, C, D and a, b, c, d ] , numbers [ 0 – 9 ] and other special characters or symbols [ * , – , /, +, () etc. This character sets (symbols or special characters) have their own meanings and functions.
7) The data values in Q Basic program that cannot be changed or altered during the programs execution.
a) Character Set
b) Variable
c) String
d) Constants
Explanation :- In the programming languages, Constants are the data values in a program, that can be edited or changed at the time of program execution. The data can be in form of words, numbers, special characters etc. Constants are divided into two types viz are Numeric constant and String Constants :-
i) Numeric constants :- As the name suggests this constants contains numbers for performing mathematical tasks. These constants can have the decimals, positive and negative etc. For ex :- 8, -5, 45, 4, 8
ii) String constants :- String constants are been formed by letters, characters, special characters and the blank/ empty spaces. In the program the staring constants are always enclosed/ written between the double quotes. For ex:- “Vicky, C-56, Sector – 4, Delhi ”
8) This type of constants are enclosed with double quotes.
a) Numeric constants b) String constants c) Character set d) None of these
Explanation :-String constants are been formed by letters, characters, special characters and the blank/ empty spaces. In the program the staring constants are always enclosed/ written between the double quotes. For ex:- “Vicky, C-56, Sector – 4, Delhi ”etc.
9) The data values in Q Basic program that cannot be changed or altered during the programs execution.
a) Character Set
b) Variable
c) String
d) Constants
Explanation :-In the programming languages, Constants are the data values in a program, that can be edited or changed at the time of program execution. The data can be in form of words, numbers, special characters etc. Constants are divided into two types viz are Numeric constant and String Constants
10) It shows the types of operations
a) Operators b) symbols c) Operands d) None of these
Explanation :-In every programming languages, operators play a significant role in performing mathematical operations. Operators are the symbols that helps the users to identify what type of operations they are. In QBASIC, operators can perform the mathematical tasks based on different values, constants or variables. For ex :- 3 + 5 = 8. TIN QBASIC basically there are three types of operators which are a) Arithmetic operators, b) Relational operators, c) Logical operators.
11) This operator makes the comparison between two values that are of same type.
a) Arithmetic b) Relational c) Logical d) All of the above
Explanation :-In the QBASIC program, Relational operators are made use to make the comparison between the values those are same. After the comparison between the same values, we get the results as True (non-zero) whereas False means (zero). Following in the table are the relational operators that are used in a QBASIC programs :-
Operators | Relations | Examples |
= | Equal to | A = B |
> | Greater than | B > A |
< | Lesser than | A > B |
>= | Greater than or equal to | A >= B |
<= | Lesser than or equal to | A <=B |
<> | Not equal to | A <> B |
12) A single command is called
a) Statement b) Instruction c) Function d) Formula
Explanation :-A single command in every program is called as a Statement. Statement is a special set of characters that are used to give commands/instructions to the computer.
13.) The command which is used to clear the output on the screen.
a) CLS
b) DEL
c) REMOVE
d) CANCEL
Explanation :-This command is used to clear the screen. If incase when you run the another program without clearing the screen, the output of the previous program remains on the output screen. To clear the output screen of a program, it is necessary to make use of CLS command at the beginning of every program.
14.) The command that is used to end the program
a) FINISH
b) COMPLETE
c) END
d) All of the above
Explanation :- This command is used to finish or close the program. IN the QBASIC programming langue, when it reaches to the END command, the computer stops in moving further in the program and the message gets displayed on the screen “ Press any key to continue ‘. Syntax – END
15.) The command that is used to display the text on the screen
a) PRINT
b) SHOW
c) DISPLAY
d) None of these
Explanation :-This command in QBASIC will help to show the text on the screen. After the PRINT command, type/write down the message in double quotes that you want to get printed. If incase, you type a variable after the PRINT command, the variable gets printed whereas if you type PRINT only after the PRINT command, the blank line will be printed/displayed on the screen. By adding a semicolon between many separate things on a line, you can print many things on a single line. In PRINT statement is followed by a semicolon then, the next thig will be printed on the same line. Syntax – PRINT [Expression list] [ ; ].