COMPUTER AWARENESS -008

COMPUTER AWARENESS- 008
COMPUTER FUNDAMENTAL BASIC


1. Find the invalid DIMENSION statement

a) DIMENSION A (10,5)
b) DIMENSION A$ (10,5)
c) DIMENSION A (5), B (10)
d) All the above
2. State the COBOL divisions
a) DATA and PROCEDURE DIVISION
b) IDENTIFICATION and ENVIRONMENT DIVISION
c) both (a) and (b)
d) WORKING-STORAGE DIVISION
3. The CONFIGURATION SECTION should always be included in
a) ENVIRONMENT DIVISION
b) DATA DIVISION
c) IDENTIFICATION DIVISION
d) PROCEDURE DIVISION
4. DATA DIVISION consists of
a) WORKING-STORAGE SECTION
b) REPORT SECTION
c) FILE SECTION
d) all the above
5. State the valid statement
a) Margin A can be used to enter name of the sections
b) Margin A can be used to enter name of the paragraphs
c) Margin A can be used to enter name of the divisions
d) any of the above
6. Find the invalid data name of COBOL
a) NAME $
b) TC +
c) TOTALV
d) all the above
7. State the incorrect Pascal reserved word
a) END
b) VAR
c) AND
d) ELSEIF
8. A COBOL may consist of
a) only the digits 0 to 9
b) only the letter A to Z
c) only hyphen(-)
d) all the above
9. In COBOL, an asterisk (*) mark in column 7 indicates
a) comment line
b) continuation line
c) both (a) and (b)
d) none of the above
10. Find the correct Edit character for numeric data.
a) CR, DB, ., .,B, 0 ,1
b) Z, *, $, -, +
c) both (a land (b)
d) none of the above
11. Which one of the following symbols can be used for numeric PICTURE clause?
a) P
b) S
c) 9
d) V
e) all the above
12. Find the valid IF statement
a) IF B IS NOT> 1200 MOVE M TO X
b) IF C IS NOT LESS THAN B MOVE B TO X
c) IF A IS GREATER THAN B MOVE N TO X
d) all the above
13. In the COBOL program, the number of division is
a) one
b) two
c) three
d) four
14. IDENTIFICATION DIVISION includes
a) Program-ID and author
b) date compiled, security, remarks
c) Installation, date-written
d) all the above
15. Find the correct figurative constants
a) ZERO
b) SPACES
c) QUOTE
d) all the above
16. Find the valid MOVE statement
a) MOVE 10 TO A B C
b) MOVE A TO B
c) MOVE ZERO TO C
d) all the above
17. Each of the paragraph names should end with a
a) period (.)
b) colon (:)
c) semicolon (;)
d) none of the above
18. Find the invalid COBOL word
a) TOT VAL
b) VALUE1-
c) –B1
d) all the above
19. Find the invalid data names
a) ADD
b) MOVE
c) PERFORM
d) all the above
20. Non-numeric literal should be enclosed within
a) double quote marks
b) single quote marks
c) ( ) parentheses
d) none of the above
21. Each of the paragraph names should end with a period followed by at least
a) one blank space
b) two blank spaces
c) one hyphen
d) none of the above
22. In the case of a alphabetic item, the picture clause can contain only the symbol
a) X
b) A
c) S
d) none of the above
23. State the correct COBOL reserved words
a) PROCEDURE
b) IDENTIFICATION
c) PROGRAM-ID
d) all the above
24. An identifier must start with
a) a numeric value
b) a letter
c) a special symbol
d) none of the above
25. The compound statement enclosed within the
a) ( ) parentheses
b) keyword BEGIN and END
c) [ ] parentheses

d) { } braces

Be the first to comment

Leave a Reply

Your email address will not be published.


*