R4RIN
Articles
Java 8
MCQS
COBOL MCQ Quiz Hub
Cobol Multiple Choice Questions
Choose a topic to test your knowledge and improve your COBOL skills
1. Event-driven languages are:
FORTRAN based
Are used to write procedural languages
OOP
Designed to make programming GUI easier
2. IDE is:
Which of the following is not part of the IDE: (a) Code editor window (b) Properties window (c) Form layout window (d) General window
A development environment for machine language
A software project management tool
An Integrated Development Environment for Visual Basic
3. Which of the following is not part of the IDE:
Code editor window
Properties window
Form layout window
General window
4. The application name always appears in the:
Properties window
Intermediate window
Code window
Title bar
5. The color of a button is:
One of its properties
Not updateable
Defined in the project
Defined in the Intermediate window
6. Code is:
Updateable in the form editor
Instructions
Seldom used
An object
7. Controls are:
Code
Part of the menus
Rules
Objects
8. In the IDE, which of following is used to design the layout of an application?
Form Designer window
Project Explorer window
Context Menu
Form Layout window
9. The location of the form on the desktop during execution is determined by the:
Form Designer window
Project Explorer window
Context Menu
Form Layout window
10. The Object Browser:
Displays the command buttons and text boxes, etc.
Shows frequently used shortcuts as objects
Is a Context Menu
Displays the object libraries and their combinations of data and code
11. The location of the form on the desktop during execution is determined by the:
Form Designer window
Project Explorer window
Context Menu
Form Layout window
12. The first procedure-oriented language was:
FORTRAN
BASIC
COBOL
ADA
13. C is:
A language widely used in UNIX
A language based on BASIC
Used primarily for business applications
A GUI
14. COBOL is:
One of the oldest programming languages
Still widely used
Not suitable for business applications
None of the above
15. Visual Basic projects are identified by a:
“.vbp” suffix
“.vbg” suffix
“.vbg” suffix
All of the above
16. To run an application in Visual Basic:
Click on the start button (blue arrow)
Use the File Menu
Use the Project Menu to select Run
None of above
17. To run an application in Visual Basic:
Click on the start button (blue arrow)
Use the File Menu
Use the Project Menu to select Run
None of the above
18. To exit Visual Basic:
Click Alt-Q
Use the File Menu to select Quit
Use the Window Menu to select Exit
Click on the diskette icon
19. The reference library of Visual Basic books is called:
MSDN Library
Help Library
Contents
Topic pane
20. Name the divisions which are not in the COBOL program.
ENVIRONMENT
FILE
DATA
WORKING
21. What level is used for RENAMES clause?
66
77
88
None of the above
22. How do you define a table/array in COBOL using INDEX? A. 01 ARRAYS. 05 ARRAY2 PIC X(6) OCCURS 20 TIMES INDEXED BY WS-INDEX B. 01 ARRAY2 PIC X(6) OCCURS 20 TIMES INDEXED BY WS-INDEX C. 01 ARRAYS. 05 ARRAY1 PIC X(9) OCCURS INDEX BY 10 TIMES D. 01 ARRAYS. 88 ARRAY2 PIC X(6) OCCURS 20 TIMES INDEXED BY WS-INDEX E. None of the Above
01 ARRAY2 PIC X(6) OCCURS 20 TIMES INDEXED BY WS-INDEX
. 01 ARRAY2 PIC X(6) OCCURS 20 TIMES INDEXED BY WS-INDEX
01 ARRAYS. 05 ARRAY1 PIC X(9) OCCURS INDEX BY 10 TIMES
None of the above
23. Which mode of the opening is required when REWRITE is used?
UPDATE
UPDATE
I-O
INPUT
24. Which clause can be used instead of checking for FILE STATUS = 10?
AT SPACES
AT END
AT SPACES
AT SPACES
25. What are the access mode requirements of the START statement?
SEQUENTIAL
DYNAMIC
RELATIVE
INDEX
Submit