COBOL MOCK TEST COBOL MOCK TEST III

Similar documents
COBOL - TABLE PROCESSING

DB2 MOCK TEST DB2 MOCK TEST I

C# MOCK TEST C# MOCK TEST II

MAVEN MOCK TEST MAVEN MOCK TEST I

PYTHON MOCK TEST PYTHON MOCK TEST III

DESIGN PATTERNS MOCK TEST DESIGN PATTERNS MOCK TEST II

JAVA MOCK TEST JAVA MOCK TEST III

JSP MOCK TEST JSP MOCK TEST III

DESIGN PATTERNS MOCK TEST DESIGN PATTERNS MOCK TEST III

MAVEN MOCK TEST MAVEN MOCK TEST IV

C# MOCK TEST C# MOCK TEST I

GO MOCK TEST GO MOCK TEST I

JAVA MOCK TEST JAVA MOCK TEST IV

PERL MOCK TEST PERL MOCK TEST II

MAVEN MOCK TEST MAVEN MOCK TEST III

CICS MOCK TEST CICS MOCK TEST I

JSP MOCK TEST JSP MOCK TEST IV

GO - OPERATORS. This tutorial will explain the arithmetic, relational, logical, bitwise, assignment and other operators one by one.

ANGULARJS - MOCK TEST ANGULARJS MOCK TEST II

HTML5 MOCK TEST HTML5 MOCK TEST I

NODE.JS MOCK TEST NODE.JS MOCK TEST IV

HIVE MOCK TEST HIVE MOCK TEST III

JAVA MOCK TEST JAVA MOCK TEST II

COMPUTER EDUCATION TECHNIQUES, INC. (COBOL_QUIZ- 4.8) SA:

JCL MOCK TEST JCL MOCK TEST IV

NODE.JS MOCK TEST NODE.JS MOCK TEST I

HIBERNATE MOCK TEST HIBERNATE MOCK TEST I

PL/SQL MOCK TEST PL/SQL MOCK TEST IV

Moving Data and Printing Information. The Move Statement has The following Format: Move Identifier-1 To Identifier-2. Move Literal-1 To Identifier-2

TABLE 1 HANDLING. Chapter SYS-ED/ COMPUTER EDUCATION TECHNIQUES, INC.

VB.NET MOCK TEST VB.NET MOCK TEST III

HIBERNATE MOCK TEST HIBERNATE MOCK TEST IV

COBOL - DATABASE INTERFACE

JAVASCRIPT MOCK TEST JAVASCRIPT MOCK TEST I

HIBERNATE MOCK TEST HIBERNATE MOCK TEST II

GWT MOCK TEST GWT MOCK TEST I

EJB MOCK TEST EJB MOCK TEST IV

JDBC MOCK TEST JDBC MOCK TEST IV

JCL MOCK TEST JCL MOCK TEST III

HBASE MOCK TEST HBASE MOCK TEST III

NODE.JS MOCK TEST NODE.JS MOCK TEST II

CSS MOCK TEST CSS MOCK TEST III

APPENDIX E SOLUTION TO CHAPTER SELF-TEST CHAPTER 1 TRUE-FALSE FILL-IN-THE-BLANKS

Type of Cobol Entries

Introduction to Computer Science Midterm 3 Fall, Points

HTML5 MOCK TEST HTML5 MOCK TEST IV

QC MOCK TEST QC MOCK TEST

ANDROID MOCK TEST ANDROID MOCK TEST IV

RM/COBOL to RM/COBOL-85

Micro Focus RM/COBOL. RM/COBOL Syntax Summary

Redvers Hashing Algorithm. User Guide. RCHASH Version 2.3

SERVLETS MOCK TEST SERVLETS MOCK TEST III

Creating a procedural computer program using COBOL Level 2 Notes for City & Guilds 7540 Unit 005

ADD Identifier-1 TO Identifier-2 Literal-1. ADD Identifier-1. GIVING Identifier-2 Literal-1

VB.NET MOCK TEST VB.NET MOCK TEST I

QTP MOCK TEST QTP MOCK TEST II

QUIZ: What value is stored in a after this

Unicode Support. Chapter 2:

SPRING MOCK TEST SPRING MOCK TEST I

DOCUMENT SECURITY IN WORD 2010

NEVADA ELLIS COMPUTING SOFTWARE TECHNOLOGY

X/Open CAE Specification

Review for Test 1 (Chapter 1-5)

JQUERY MOCK TEST JQUERY MOCK TEST III

S Coding in COBOL for optimum performance

TCL - STRINGS. Boolean value can be represented as 1, yes or true for true and 0, no, or false for false.

GnuCOBOL Quick Reference

PROGRAM-ID. BILLING. AUTHOR. GEORGE FOWLER-ED CHRISTENSON. INSTALLATION. TEXAS A & M UNIVERSITY-CSUS. DATE-WRITTEN.

Section 1. The essence of COBOL programming. Mike Murach & Associates

Enterprise COBOL V6.1: What s New? Tom Ross Captain COBOL February 29

Decision Making using the IF Statement. Logical Control Structures

Copyright Network Management Forum

Introduction. Chapter 1:

BASIC COMPUTATION. public static void main(string [] args) Fundamentals of Computer Science I

CSI33 Data Structures

Certified LabVIEW Associate Developer Exam. Test Booklet

Computer Centre. vjeekly Newsletter. VJeek ended 6 July Director of the Computer Centre

GET 433 Course Syllabus Spring 2017

Universal Format Plug-in User s Guide. Version 10g Release 3 (10.3)

2012 Academic Challenge

Complementary Angles CHAPTER. 1

If you want to download a simple program for added/refreshing line numbers, go to the Links page.

COBOL-SO: The new structured language

NODE.JS MOCK TEST NODE.JS MOCK TEST III

Selection Statements. Pseudocode

Introduction to Triangles

Transforming Legacy Code: The Pitfalls of Automation

TOPIC 3 INTRODUCTION TO PIC ASSEMBLY LANGUAGE. E4160 Microprocessor & Microcontroller System. Prepared by : Puziah Yahaya JKE, POLISAS / DEC 2010

SAS For COBOL (and Other) Programmers: How To Spread The Wealth In Your Market Doug Zirbel, Independent Consultant

COMPILER DESIGN - RUN-TIME ENVIRONMENT

A flow chart is a graphical or symbolic representation of a process.

Chapter 2 INTERNAL SORTS. SYS-ED/ Computer Education Techniques, Inc.

8. Iteration: Strings

COMPILER DESIGN - CODE OPTIMIZATION

Self-test TSO/E REXX. Document: e0167test.fm 19/04/2012. ABIS Training & Consulting P.O. Box 220 B-3000 Leuven Belgium

Laboratory: Introduction to Mechatronics. Instructor TA: Edgar Martinez Soberanes Lab 2. PIC and Programming

Volume II, Section 5 Table of Contents

zcobol System Programmer s Guide v1.5.06

Regular Expressions. Regular expressions are a powerful search-and-replace technique that is widely used in other environments (such as Unix and Perl)

MID TERM MEGA FILE SOLVED BY VU HELPER Which one of the following statement is NOT correct.

Transcription:

http://www.tutorialspoint.com COBOL MOCK TEST Copyright tutorialspoint.com 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. COBOL MOCK TEST III Q 1 - With test before is the default condition and it indicates that the condition is checked before the execution of statements in a paragraph. Is this statement true or false? Q 2 - How many times following B-para loop will execute? 01 WS-A PIC 9 VALUE 0. A-PARA. PERFORM B-PARA VARYING WS-A FROM 1 BY 1 UNTIL WS-A=5 B-PARA. DISPLAY 'IN B-PARA ' WS-A. A - 5 B - 4 C - 3 D - 6 Q 3 - What is the output of following program?

01 WS-A PIC 9 VALUE 2. A-PARA. DISPLAY 'A' GO TO B-PARA. B-PARA. DISPLAY 'B'. GO TO C-PARA D-PARA DEPENDING ON WS-A. C-PARA. DISPLAY 'C'. D-PARA. DISPLAY 'D'. A - ABCD B - ABD C - BADC D - DCBA Q 4 - What is the output of following program? 01 WS-CNT PIC 9(2) VALUE 0. 01 WS-STRING PIC X(15) VALUE 'AABCDACDAAEAAAF'. INSPECT WS-STRING TALLYING WS-CNT FOR ALL 'A'. DISPLAY WS-CNT A - 09 B - 06 C - 08 D - 10 Q 5 - What is the output of following program? 01 WS-STRING PIC X(15) VALUE 'ABCDACDADEAAAFF'.

INSPECT WS-STRING REPLACING ALL 'A' BY 'X'. DISPLAY WS-STRING. A - ABCDACDADEAAAFF B - XBCDXCDXDEXXXFF C - Compilation error D - Run time error Q 6 - What is the output of following program? 01 WS-TABLE. 05 WS-A PIC A VALUE 'A' OCCURS 5 TIMES. DISPLAY WS-TABLE. A - A B - AAAAA C - Spaces D - Error Q 7 - What is the output of following program? 01 WS-TABLE. 05 WS-A OCCURS 3 TIMES. 10 WS-B PIC A(2). 10 WS-C OCCURS 2 TIMES. 15 WS-D PIC X(3). MOVE '12ABCDEF34GHIJKL56MNOPQR' TO WS-TABLE. DISPLAY 'WS-C(3,1) : ' WS-C(3,1). A - DEF B - ABC C - PQR D - MNO

Q 8 - Set statement is used to change the index value. Set verb is used to initialize, increment or decrement the index value. Is this statement true or false? Q 9 - Search is a binary search method, which is used to find elements inside the table. Is this statement true or false? A - True B - False Q 10 - Physical record is the information that exists on the external device and Logical record is the information which is used by the program. Is this statement true or false? A - True B - False Q 11 - How records are stored & accessed in sequential file organization? A - Relative address method B - Sequential access method C - Direct access method D - Both B & C Q 12 - How records are stored & accessed in indexed file organization? A - Relative address method B - Sequential access method C - Direct access method D - Both B & C Q 13 - How records are stored & accessed in relative file organization? A - Relative address B - Sequentially C - Directly D - Both B & C Q 14 - Which command is used to place the cursor on a specific record? A - Open

B - Start C - Read next D - Write Q 15 - Write verb is used to insert records in a file. Once the record is written, it is no longer available in the record buffer. Is this statement true or false? Q 16 - Rewrite verb is used to update the records. File should be opened in I-O mode for rewrite operations. It can be used even if read operation is not successful. Is this statement true or false? A - True B - False Q 17 - For deleting a record, in which mode we should open the file? A - Input-Output B - Input C - Output D - Extend Q 18 - If the values of variables in the called program are modified, then their new values will reflect in the calling program. What type of call is this? A - Call by content B - Call by reference C - None of these Q 19 - If the values of variables in the called program are modified, then their new values will not reflect in the calling program. What type of call is this? A - Call by content B - Call by reference C - None of these Q 20 - Static Call occurs when a program is compiled with the NODYNAM compiler option. A static called program is loaded into storage at compile time. Is this statement true or false.

Q 21 - Dynamic Call occurs when a program is compiled with the DYNAM and NODLL compiler option. A dynamic called program is loaded into storage at runtime. Is this statement true or false? Q 22 - Which of the following is not a figurative constant? A - High-Values B - Comma C - Zero D - Spaces Q 23 - Value clause is an optional clause which is used to initialize the data items. The values can be numeric literal, alphanumeric literal, or figurative constant. State whether true or false? Q 24 - If usage clause is specified on a group, then all the elementary items will have the same usage clause. State whether true or false? Q 25 - If usage is display, data item is stored in ASCII format and each character will take 1 byte. It is default usage. State whether true or false? ANSWER SHEET Question Number Answer Key 1 B 2 B 3 B 4 C 5 B 6 B

7 D 8 B 9 B 10 A 11 B 12 D 13 A 14 B 15 B 16 B 17 A 18 B 19 A 20 B 21 B 22 B 23 B 24 B 25 B Loading [MathJax]/jax/output/HTML-CSS/jax.js