COBOL/Cobol Multiple Choice Questions Sample Test,Sample questions

Question:
 C is:

1.A language widely used in UNIX

2.A language based on BASIC

3.Used primarily for business applications

4. A GUI


Question:
 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

1.01 ARRAY2 PIC X(6) OCCURS 20 TIMES INDEXED BY WS-INDEX

2.. 01 ARRAY2 PIC X(6) OCCURS 20 TIMES INDEXED BY WS-INDEX

3.01 ARRAYS. 05 ARRAY1 PIC X(9) OCCURS INDEX BY 10 TIMES

4.None of the above


Question:
 Name the divisions which are not in the COBOL program.

1.ENVIRONMENT

2.FILE

3.DATA

4.WORKING


Question:
 The reference library of Visual Basic books is called:

1.MSDN Library

2.Help Library

3.Contents

4.Topic pane


Question:
 To run an application in Visual Basic:

1.Click on the start button (blue arrow)

2.Use the File Menu

3.Use the Project Menu to select Run

4.None of above


Question:
 To run an application in Visual Basic:

1.Click on the start button (blue arrow)

2.Use the File Menu

3.Use the Project Menu to select Run

4.None of the above


Question:
 What are the access mode requirements of the START statement?

1.SEQUENTIAL

2.DYNAMIC

3.RELATIVE

4.INDEX


Question:
COBOL is:

1.One of the oldest programming languages

2.Still widely used

3.Not suitable for business applications

4.None of the above


Question:
Code is:

1.Updateable in the form editor

2.Instructions

3.Seldom used

4.An object


Question:
Controls are:

1.Code

2.Part of the menus

3.Rules

4.Objects


Question:
Event-driven languages are:

1.FORTRAN based

2.Are used to write procedural languages

3.OOP

4.Designed to make programming GUI easier


Question:
IDE is:

1.Which of the following is not part of the IDE: (a) Code editor window (b) Properties window (c) Form layout window (d) General window

2.A development environment for machine language

3.A software project management tool

4.An Integrated Development Environment for Visual Basic


Question:
In the IDE, which of following is used to design the layout of an application?

1.Form Designer window

2.Project Explorer window

3.Context Menu

4.Form Layout window


Question:
The application name always appears in the:

1.Properties window

2.Intermediate window

3. Code window

4.Title bar


Question:
The color of a button is:

1.One of its properties

2.Not updateable

3.Defined in the project

4. Defined in the Intermediate window


Question:
The first procedure-oriented language was:

1.FORTRAN

2.BASIC

3.COBOL

4.ADA


Question:
The location of the form on the desktop during execution is determined by the:

1.Form Designer window

2.Project Explorer window

3.Context Menu

4.Form Layout window


Question:
The location of the form on the desktop during execution is determined by the:

1. Form Designer window

2.Project Explorer window

3.Context Menu

4.Form Layout window


Question:
The Object Browser:

1.Displays the command buttons and text boxes, etc.

2.Shows frequently used shortcuts as objects

3.Is a Context Menu

4. Displays the object libraries and their combinations of data and code


Question:
To exit Visual Basic:

1.Click Alt-Q

2.Use the File Menu to select Quit

3. Use the Window Menu to select Exit

4.Click on the diskette icon


Question:
Visual Basic projects are identified by a:

1.“.vbp” suffix

2.“.vbg” suffix

3.“.vbg” suffix

4.All of the above


Question:
What level is used for RENAMES clause?

1.66

2.77

3.88

4.None of the above


Question:
Which clause can be used instead of checking for FILE STATUS = 10?

1.AT SPACES

2.AT END

3.AT SPACES

4.AT SPACES


Question:
Which mode of the opening is required when REWRITE is used?

1.UPDATE

2.UPDATE

3.I-O

4.INPUT


Question:
Which of the following is not part of the IDE:

1.Code editor window

2.Properties window

3.Form layout window

4.General window


More MCQS

  1. Cobol MCQ Questions
  2. Cobol MCQ Questions
  3. Computer Science & Engineering COBOL MCQ Quiz
  4. Cobol Multiple Choice Questions
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!