Chapter 2 -Data Types,Assignment AKUEB

Computer Studies

Data Types, Assignment


1. BASIC stand for

a) Beginners All Purpose Symbolic Instruction Code
b) BASIC Input Output System
c) Binary Coded Decimal
2. BASIC was developed by John Kemeny and Thomas Kurtz in at Dartmouth College, USA.

a) 1963
b) 1953
c) 1943
3. GW-BASIC shows a a (n) message, when loaded.

a) OK
b) NOT
c) AND
4. In mode, the commands are executed as they are typed:

a) Direct
b) Indirect
c) Command
5. Every statement in a BASIC program is preceded by a:

a) Line number
b) Decimal number
c) Binary number
6. A GW-BASIC program line can not have more than characters.

a) 255
b) 40
c) 32
7. There can be maximum lines in a GW-basic program.

a) 65529
b) 65429
c) 65329
8. The default extension of a GW-BASIC program is

a) bas
b) bes
c) bsa
9. The words which have pre-defined meaning in a programming language are called

a) keywords
b) Statements
c) Command
10. An example of a non-executable statement.

a) REM
b) ROM
c) Simm
11. GW-BASIC can operate in

a) Two mode
b) Three mode
c) Several mode
12. The maximum length of a variable name in GW-BASIC is

a) 40
b) 32
c) 45
13. If two or more statements are written on a line, they must be 32; separated by a:

a) Colon
b) Comma
c) Semi colon
14. Which of the following is a type declaration character for integer ; variables:

a) %
b) #
c) $
15. Which of the following operators has the highest ; precedence:

a) ^
b) @
c) *
16. A variable name must start with a (n):

a) Alphabet
b) Underscore
c) Digits
17. Which of the following is a short key to run a program in GW-BASIC:

a) F2
b) F1
c) F3
18. When a floating-point value is converted to an integer, the fractional part

a) Rounded off
b) Truncated
c) Conversion is impossible
19. Which of the following statement temporarily stops the execution of a 32; program:

a) STOP
b) END
c) BREAK
20. Which of the following command continues the program whose execution was terminated ; temporarily:

a) CONT
b) RESTART
c) START
21. BASIC is well suited for computer having memory:

a) limited
b) Underscore
c) Unlimited
22. IN BASIC key F1 is equivalent to the command:

a) LIST
b) PRINT
c) SAVE
23. The part of program which runs in compiler's mode:

a) Statements
b) Keywords
c) Command
24. To run a program press key:

a) F2
b) F3
c) F4
25. Statements allow you to enter value of a variable while the program is running.

a) Input
b) Output
c) print
26. Which of the following word can be used as a variable ; name:

a) PENCIL
b) PEN
c) COLOR
27. Which of the following command is used to exit from BASIC and to return to ; DOS:

a) SYSTEM
b) NEW
c) CLEAR
28. The maximum characters that a string constant may contain are:

a) 255
b) 80
c) 32
29. Which of the following is not a logical 32; operator:

a) FIX
b) OR
c) NOT
30. Which of the following types of the characters can be used as numeric variable ; name:

a) None of them
b) Blank spaces
c) Special
31. Equality operator is a:

a) Relation Operator
b) Functional Operator
c) Logical operator
32. In BASIC LET is a:

a) Special letter
b) Reserve word
c) A common word
33. In BASIC READ is a:

a) Reserve word
b) All of above
c) Special letter
34. In BASIC DRAW is a:

a) Reserve word
b) A common word
c) Special word
35. Brackets or parentheses may always be added to make clear the meaning of:

a) An expression
b) A statement
c) None of these
36. Arithmetic operations are performed using the:

a) Both a, b
b) Operands
c) None of these
37. It is a set of mathematically meaningful symbols letters and numbers:

a) An expression
b) A statement
c) Both a, b
38. Computer follows the usual rules of:

a) Arithmetic for evaluation of expression
b) Logical evaluation of expression
c) Both a, b
39. In BASIC LOAD is a:

a) Reserve word
b) Special word
c) A common word
40. In BASIC DATA is a:

a) Reserve word
b) A common word
c) All of above
41. The short cut key that is used to load a program is

a) F3
b) F2
c) F4
42. In BASIC DIM is a:

a) Reserve word
b) All of above
c) Special word
43. BASIC was developed by professors:

a) Both a, b
b) John G.Kemeny
c) Thomas E.Kurtz
44. It also affects the form of output in print statement

a) Semicolon
b) Colon
c) Comas
45. This command is used to load a file from diskette into memory:

a) Load
b) Delete
c) None of these
46. It is used to remember program lines:

a) RENUM
b) New
c) None of these
47. In BASIC it is a shortcut for typing PRINT:

a) ALT+ P
b) ALT+ W
c) ALT+ S
48. Computer program is list of:

a) Instructions
b) Alphabets
c) Test data
49. XOR is in GW Basic:

a) Reserve word
b) Keyword
c) None of these
This is the feedback!
 

NOTE: We design Computer Based Testing System (CBTS) and provide in-house training facilities with academic co-ordination for schools, colleges and coaching centers. These are the demo versions. For complete Testing, Preparation and database, please contact;

akber.khursheed@gmail.com OR info@tec.edu.pk  
Phone: 0322-2610578



 
 
Who we are   What we do   Teacher's Corner   Student's Corner
Copyright © 1982-2009 The Education Consultancy. All rights reserved.
 
 
  HOME  |  CONTACT