Cobol Mock Test I
Cobol Mock Test I
Cobol Mock Test I
This section presents you various set of Mock Tests related to COBOL Framework. You can
download these sample mock tests at your local machine and solve offline at your convenience.
Every mock test is supplied with a mock test key to let you verify the final score and grade yourself.
A - Alphabetic A
B - Long L
C - Alphanumeric X
D - Numeric 9
A - PROCEDURE DIVISION.
B - IDENTIFICATION DIVISION
C - DATA DIVISION
D - ENVIRONMENT DIVISION
A - First Bit
B - Last Bit
C - First Nibble
D - Last Nibble
Q 5 - What will happen if you code GO BACK instead of STOP RUN in a stand alone
COBOL program?
A - APPEND
B - INPUT
C - OUTPUT
D - EXTEND
A - 920
B - 918
C - 931
D - 910
Q 8 - What is the mode in which you will OPEN a file for writing?
A - OUTPUT
B - EXTEND
D - INPUT-OUTPUT
A - Renames
B - Redefine
C - Group Item
D - Elementary Level
B - 12 to 72 columns
C - 08 to 11 columns
D - 73 to 80 columns
A - Procedure Division
B - Environment Division
C - Identification Division
D - Data Division
A - No
B - Yes
A-4
B-6
C-5
D-3
Answer : C
Explanation
Length of PIC 9.999 is 5 as '.' takes 1 byte. So total 1 byte for '.' and 4 bytes for 9.
MOVE 5 TO X.
PERFORM X TIMES.
MOVE 10 TO X.
END-PERFORM.
A - 11
B-5
C - 10
D - 15
B - WRITE
C - UPDATE
D - REWRITE
Q 16 - Under which section we should make an entry in the program for a SORT file?
A - FD
B - SD
C - MD
D - None of these
A - S98 COMP
B - S94 COMP
C - 98 COMP
D - 94 COMP
Q 18 - If 436 value is moved to a PP999 PIC clause, then what is edited value taken?
A - .00436
B - 00436
C - 436
D - 43600
A - Elementary Item
B - Group Item
C - Both A & B
D - None of these
A - IKJEFT01
B - IGYCRCTL
C - IGYCTCRL
D - None of these
Q 21 - How many bytes does a S97 SIGN TRAILING SEPARATE field occupy?
A - 7 bytes
B - 8 bytes
C - 4 bytes
D - 10 bytes
A - Linear search
B - Binary search
C - Sequential search
D - None of these
A - Identification Division
B - Environment Division
C - Data Division
D - Procedure Division
A - Identification Division
B - Environment Division
C - Data Division
D - Procedure Division
A - TutorialsPoint1: 9
B - TutorialsPoint9
C - TutorialsPoint9: 1
D - TutorialsPoint9: 9
ANSWER SHEET
1 B
2 A
3 B
4 D
5 B
6 A
7 B
8 C
9 D
10 B
11 B
12 B
13 C
14 B
15 D
16 B
17 B
18 A
19 C
20 B
21 B
22 B
23 C
24 B
25 A
Loading [MathJax]/jax/output/HTML-CSS/jax.js