Home » BASIC PROGRAMMING LANGUAGE 1 OBJECTIVE QUESTIONS

BASIC PROGRAMMING LANGUAGE 1 OBJECTIVE QUESTIONS

1) A variable name is declared as an array in BASIC by _

a) INPUT.

 

b) READ.

 

c) FOR.

 

d) DIM.

 

 

2) In BASIC, REM shows a statement to be _

a) Output.

 

b) Comment loop.

 

c) un – executable statement.

 

d) executable statement.

 

 

3) The prompt for INPUT command in BASIC is _

(a) *

(b) ?

(c) $

(d) !

 

 

4) Looping in BASIC can be achieved in BASIC as _

a) FOR

 

b) IF

 

c) END

 

d) DATA

 

 

5) In BASIC, the menu line is activated by pressing _ key.

a) ESC.

 

b) ALT.

 

c) DEL.

 

d) SHIFT.

 

 

6) Which is not an integer data type?

a) Single.

 

b) Byte.

 

c) Short.

 

d) Long .

 

 

7) Which of the following is a numeric data type? 

a) Floating Point.

 

b) Integer.

 

c) Boolean.

 

d) Both A and B.

 

 

8) The Date data type does not hold which type of information

a) Seconds.

 

b) Hours.

 

c) Quarter.

 

d) Days.

 

 

9) Which is a valid statement for declaring a variable? 

a) Const Form As Integer.

 

b) Const myForm As Integer.

 

c) Dim myForm As Integer.

 

d) Dim Form As Integer.

 

 

10) The name of a constant:

a) must both begin with a letter and be all upper case.

 

b) does not have to begin with a letter but must be all upper case.

 

c) must begin with a letter but can be upper or lower case.

 

d) does not have to begin with a letter and be either upper or lower case.

Leave a Reply

Your email address will not be published. Required fields are marked *

×

 

Hello!

Click one of our contacts below to chat on WhatsApp

× How can I help you?