T4Tutorials .PK

BASIC LANGUAGE MCQs

1. Which is not logical operator

(A) OR


(B) NOT


(C) AND


(D) NEITHER




2. Division by zero is

(A) logical error


(B) run time error


(C) syntax error


(D) not an error




3. LIST -56 command will show

(A) all lines from start till 56 of the currently loaded program


(B) all lines from 56 till end of the currently loaded program


(C) all lines from start with number 56 of the currently loaded program


(D) line 56 only




4. ______ command will delete a file in GWBASIC

(A) delete


(B) kill


(C) new


(D) list




5. ______ command will execute a program currently in memory

(A) list


(B) execute


(C) save


(D) run




6. ______ characters are allowed in naming the GWBASIC file

(A) 10


(B) 8


(C) 6


(D) 7




7. ______ is assumed as a character in GWBASIC

(A) dot


(B) null


(C) space


(D) letter




8. ______ command will show the contents of the file

(A) run


(B) save


(C) kill


(D) list




9. Maximum length of variable name in GWBASIC is

(A) 35


(B) 40


(C) 45


(D) 50




10. The process of finding and removing error in GWBASIC is called

(A) coding


(B) debugging


(C) analyzing


(D) testing




11. If we know number of iteration then which loop is suitable

(A) For-Next


(B) GOTO


(C) While


(D) Do-while




12. ______ command will rename a file in GWBASIC

(A) Rename


(B) Name


(C) Ren


(D) Renum




13. ______ command will automatically generate line numbers

(A) list


(B) auto


(C) new


(D) renum




14. There are maximum ______ line numbers allowed in GWBASIC

(A) 0–65538


(B) 0–65529


(C) 0–63538


(D) 0–63450




15. A variable name should be started with

(A) alphabet


(B) comma


(C) bracket


(D) colon




Exit mobile version