Quizzes
Take Quizzes
Animal
Nutrition
Love
Relationship
Computer
Sports
Society
Business
Geography
Language
Personality
Harry Potter
Movie
Television
Music
Online Exam
Health
Country
Art
Entertainment
Celebrity
Math
Game
Book
Fun
Science
Food
History
Education
All Topics
Create a Quiz
Quiz Maker
Training Maker
Survey Maker
Flashcards
Brain Games
See All
ProProfs.com
Search
Create A Quiz
Take Quizzes
Animal
Nutrition
Love
Relationship
Computer
Sports
Society
Business
Geography
Language
Personality
Harry Potter
Movie
Television
Music
Online Exam
Health
Country
Art
Entertainment
Celebrity
Math
Game
Book
Fun
Science
Food
History
Education
All Topics
Products
Quiz Maker
Training Maker
Survey Maker
Flashcards
Brain Games
See All
ProProfs.com
Quizzes
Quizzes
›
Language
›
French
COBOL
50 Questions
|
By Arniragu | Updated: Jan 27, 2015
| Attempts: 443
Share
Start
Share on Facebook
Share on Twitter
Share on Whatsapp
Share on Pinterest
Share on Email
Copy to Clipboard
Embed on your website
Question
1
/ 51
🏆
Rank #--
▾
0 %
0/100
Score
0/100
1.
Conditions can be specified in which LEVEL?
LEVEL 66
LEVEL 77
LEVEL 88
LEVEL 01
Submit
Start Quiz
About This Quiz
2.
What first name or nickname would you like us to use?
You may optionally provide this to label your report, leaderboard, or certificate.
2.
An input procedure will release the record to sort the file rather than writing it
True
False
Submit
3.
Which one is used to represent data from a different program?
INPUT-OUTPUT SECTION
CONFIGURATION SECTION
LINKAGE SECTION
EXTERNAL SECTION
Submit
4.
Column 7 is called as:
Indicator
Level
Area A
Margin B
Submit
5.
Which of the following is NOT a part of IDENTIFICATION DIVISION?
DATE-WRITTEN
SOURCE-COMPUTER
AUTHOR
DATE-COMPILED
Submit
6.
Call by Reference allows sub program to change a copy of variable from callers storage
True
False
Submit
7.
Which one is a control verb?
WRITE
READ
GO TO
READ ... AT END
Submit
8.
Number of OCCURS clause needed for a two dimensional array
1
2
3
4
Submit
9.
Which of the following can execute a statement with or without a condition one or more times?
EVALUATE
PERFORM
IF
INSPECT
Submit
10.
The maximum value that a subscript can take is determined by
REDEFINES
RENAMES
OCCURS
POINTER
Submit
11.
The following code will execute the para how many times? PERFORM PARA-A VARYING I FROM 1 BY 1 UNTIL I>20 AFTER J FROM 1 BY 1 UNTIL J>5
0 times
100 times
80 times
76 times
Submit
12.
Which character is used to indicate a commented line in COBOL?
/*
//*
//
*
Submit
13.
Which DIVISION cannot not have a SECTION?
IDENTIFICATION
ENVIRONMENT
DATA
PROCEDURE
Submit
14.
Which should NOT begin in AREA A?
PARAGRAPH
SENTENCE
DIVISION
SECTION
Submit
15.
Which of the following allows to implement CASE structure?
PERFORM
SWITCH
EVALUATE
INSPECT
Submit
16.
In order to update a record in an index file, it should be accessed in
INPUT mode
OUTPUT mode
I-O mode
EXTEND mode
Submit
17.
How many times 'HI' will displayed for the following code? MOVE 3 TO I PERFORM WITH TEST AFTER UNTIL I > 5 DISPLAY 'HI' ADD 1 TO I END-PERFORM
0
1
3
Infinite
Submit
18.
Z is used to replace
Zeros
Blanks
Numbers
None of the above
Submit
19.
Which operation is required before you do a READ on a KSDS file sequentially?
CLOSE
START
BEGIN
RETURN
Submit
20.
Which of the following is NOT a figurative constant
ZERO
FILLER
SPACE
LOW-VALUE
Submit
21.
Access mode for both sequential and random is
SEQUENTIAL
RANDOM
DYNAMIC
DIRECT
Submit
22.
By using REWRITE command the length of the record can be increased from the currently read record upto the maximum record size in which of the VSAM datasets?
KSDS
ESDS
RRDS
Submit
23.
In a two dimensional table, the first subscript can be used to access
Minor level of the OCCURS clause
Major level of the OCCURS clause
First subscript is not necessary
Second subscript is necessarySecond subscript is necessarySecond subscript is necessary
Submit
24.
When you will get the File Status Code 39 ?
READ
WRITE
OPEN
DELETE
Submit
25.
Which of the following is NOT a valid class condition?
DECIMAL
NUMERIC
ALPHABETIC
ALPHABETIC-UPPER
Submit
26.
Which of the following is used to indicate the end of a paragraph?
END-PARA
EXIT
RETURN
STOP RUN
Submit
27.
The SELECT statement is coded in
WORKING STORAGE SECTION
CONFIGURATION SECTION
INPUT-OUTPUT SECTION
FILE SECTION
Submit
28.
In a SORT procedure the statement to write to the sort records are
RELEASE
READ
RETURN
START
Submit
29.
Which one is FALSE?
Dataname cannot have more than 30 characters
Dataname can have a under score
Dataname cannot end with hyphen
Dataname cannot start with a number
Submit
30.
If stand alone COBOL program is coded with GOBACK instead of STOP RUN, then
Terminate abnormally
No difference
Infinite loop
Compiler error
Submit
31.
How values are assigned to an index variable?
SET 1 TO I1
SET I1 TO 1
MOVE 1 TO I1
MOVE I1 TO 1
Submit
32.
If the given table subscript is beyond the range of array, the program will end abnormally
True
False
Depends on compiler option
Cant say
Submit
33.
Subscript and index can be used together
True
False
Submit
34.
Which of the following is NOT a valid sign condition?
NUMERIC
POSITIVE
NEGATIVE
ZERO
Submit
35.
Consider the following COBOL statements: PERFORM B VARYING I FROM 1 BY 1 UNTIL I > 5 AFTER VARYING B FROM 2 BY 3 UNTIL B >10
Will result in compiler error
Will result in run time error
It is a valid statement
Will result in infinite loop
Submit
36.
How to pass arguments when calling a COBOL procedure?
By content
By reference
By data
By value
Submit
37.
Minimum number of divisions required in a COBOL program
1
2
3
4
Submit
38.
SPECIAL-NAMES is a paragraph found in
IDENTIFICATION DIVISION
ENVIRONMENT DIVISION
DATA DIVISION
There is no such paragraph in COBOL
Submit
39.
In order to rewrite an ESDS file in which of the following modes it should be opened:
INPUT
OUTPUT
I-O
EXTEND
Submit
40.
Which statement is used to simulate the carriage return in reports?
ADVANCING
CARRIAGE
RETURN
CRLF
Submit
41.
Which DIVISION cannot have a PARAGRAPH?
IDENTIFICATION
ENVIRONMENT
DATA
PROCEDURE
Submit
42.
INSPECT Statement is used for
Find a string
Replace a string
Count the characters in a string
Submit
43.
Which one of the following is a figurative constant?
ZERO
NULL
QUOTES
FILLER
Submit
44.
Which statement can be used to add records to the end of file in COBOL?
WRITE
APPEND
REWRITE
RETURN
Submit
45.
Which of the following only elementary data element have
PIC
OCCURS
USAGE
VALUE
Submit
46.
Header and footers for a file can be specified using
STANDARD
HEADER
OMITTED
FOOTER
Submit
47.
In a SORT procedure the statement to read the sort records are
RELEASE
READ
RETURN
START
Submit
48.
01 A PIC 9(7) USAGE ___ takes 4 Bytes that what is the usage ?
DISPLAY
COMP-2
COMP-3
COMP-4
Submit
49.
Which DIVISIONS are mandatory in a COBOL ?
IDENTIFICATION
ENVIRONMENT
DATA
PROCEDURE
Submit
50.
Which Level will take ONLY elementary data item specification?
Level 01
Level 49
Level 77
Level 88
Submit
×
Thank you for your feedback!
View My Results
Related Quizzes
APUSH Unit IV Practice Test!
APUSH Unit IV Practice Test!
French Places, Shops Butchers
french places, shops butchers
Comparatif/Superlatif
French Comparatives and Superlatives Quiz: Grammar Rules
Thank you for your feedback!
Would you like to edit this question to improve it?
No thanks
Name:
Email:
Oops! Give us more information:
Incorrect Question
Incorrect Answer
Typos
I have a feedback
Submit
Please provide name and email to proceed.
Please provide correct email to proceed.
Please provide feedback.
Please select the option.
All (50)
Unanswered (
)
Answered (
)
Conditions can be specified in which LEVEL?
An input procedure will release the record to sort the file rather...
Which one is used to represent data from a different program?
Column 7 is called as:
Which of the following is NOT a part of IDENTIFICATION DIVISION?
Call by Reference allows sub program to change a copy of variable from...
Which one is a control verb?
Number of OCCURS clause needed for a two dimensional array
Which of the following can execute a statement with or without a...
The maximum value that a subscript can take is determined by
The following code will execute the para how many times?...
Which character is used to indicate a commented line in COBOL?
Which DIVISION cannot not have a SECTION?
Which should NOT begin in AREA A?
Which of the following allows to implement CASE structure?
In order to update a record in an index file, it should be accessed in
How many times 'HI' will displayed for the following code?...
Z is used to replace
Which operation is required before you do a READ on a KSDS file...
Which of the following is NOT a figurative constant
Access mode for both sequential and random is
By using REWRITE command the length of the record can be increased...
In a two dimensional table, the first subscript can be used to access
When you will get the File Status Code 39 ?
Which of the following is NOT a valid class condition?
Which of the following is used to indicate the end of a paragraph?
The SELECT statement is coded in
In a SORT procedure the statement to write to the sort records are
Which one is FALSE?
If stand alone COBOL program is coded with GOBACK instead of STOP RUN,...
How values are assigned to an index variable?
If the given table subscript is beyond the range of array, the program...
Subscript and index can be used together
Which of the following is NOT a valid sign condition?
Consider the following COBOL statements:...
How to pass arguments when calling a COBOL procedure?
Minimum number of divisions required in a COBOL program
SPECIAL-NAMES is a paragraph found in
In order to rewrite an ESDS file in which of the following modes it...
Which statement is used to simulate the carriage return in reports?
Which DIVISION cannot have a PARAGRAPH?
INSPECT Statement is used for
Which one of the following is a figurative constant?
Which statement can be used to add records to the end of file in...
Which of the following only elementary data element have
Header and footers for a file can be specified using
In a SORT procedure the statement to read the sort records are
01 A PIC 9(7) USAGE ___ takes 4 Bytes that what is the usage ?
Which DIVISIONS are mandatory in a COBOL ?
Which Level will take ONLY elementary data item specification?
X
OK
X
OK
Cancel
X
OK
Cancel
Your Rank: #-- / --
Leaderboard
✕