You are on page 1of 24

Question TypeTopic

Question-Category
Complexity
Sr. No.

MC

Practise\
Familiari
CN
zation
with MF

MC

Practise\
Familiari
CN
zation
with MF

MC

Practice\
Familiari
CN
zation
with MF

MC

Practice\
Familiari
CN
zation
with MF

MR

Practice\
Familiari
CN
zation
with MF

MC

Practice\
Familiari
CN
zation
with MF

Practice\
OPP &
UML

CN

Practice\
OPP &
UML

Cn

Practice\
OPP &
UML

CN

10

Practice\
OPP &
UML

Cn

11

MC

Practice\
CN
MVS

12

MC

Practice\
CD
MVS

13

MC

Practice\
CN
MVS

14

MC

Practice\
CN
MVS

15

MC

Practice\
CN
MVS

16

MC

Practice\
CN
MVS

17

MC

Practice\
CD
MVS

18

MC

Practice\
CD
MVS

19

MR

Practice\
CN
MVS

20

MC

Practice\
CN
MVS

21

MR

Practice\J
CD
CL

22

MC

Practice\J
CN
CL

23

MC

Practice\J
CN
CL

24

MR

Practice\J
CD
CL

25

MC

Practice\J
CD
CL

26

MR

Practice\J
CD
CL

27

MR

Practice\J
CN
CL

28

MC

Practice\J
CD
CL

29

MC

Practice\J
CD
CL

30

MC

Practice\J
CD
CL

31

MC

Practice\J
CD
CL

32

MC

Practice\J
CD
CL

33

MC

Practice\J
CN
CL

34

MC

Practice\J
CD
CL

35

MC

Practice\J
CD
CL

36

MC

Practice\J
CD
CL

37

MC

Practice\J
CD
CL

38

MC

Practice\J
CL

39

MC

Practice\J
CN
CL

40

MC

Practice\J
CN
CL

Question

Which of these are to be considered while coing a program?

Self review is _______

Option 0

Naming Conventions

done by the
developers with the
help of checklist

List the order of process used in solving the problem

Analysis
Design
Coding
Testing

What is the sequence of developing an application program?


1. Coding the program
2. Write a psuedocode
3. Compiling the Code
4. Executing the code

1,2,3,4

List out the features of good programming?

Non Robust

_______ is the forms of Alpha and Beta Testing.

Acceptance Testing

Refer the below example and identify it resembles with which OOPS concept: Abstraction
Customer needs to know what is the interest he is earning; and may not need
to know
how the bank is calculating this interest.

Salim wants to build a class for implementing the functionality to filter the
Inheritance
files with .txt extension
and printing the contents of a file. He found that there is another class with
the implementation of functionality
to filter the files with .doc extension and printing the contents of a file. What
factors will be used by Salim to reuse the behavior of the existing system and
implement a salient feature of a new class in addition to the existing
behavior?

Composition is indicated by ____________.

Filled Diamond

If an object takes different states during its life time. Which of


the following UML diagram will represent this?

Activity Diagram

Where are JES2 & JES3 spool data stored?

DFSMS

In which of these mode, you can modify the data without


saving the changes?

EDIT

Identify the correct sequence for processing a dataset in MVS


region:

Allocating
Processing
Validating
Closing
De-allocation

Block of real storage is called ____________

Frame

When does Page Fault occur?

When a page is
erased due to some
Hardware problems

Which of these hardware is responsible for identifying the best I/O Devices
path to transfer the data?
Which of these ISPF option is used to compress the dataset?

List out as which of these are INVALID system defined datasets? SYS1.NUCLEUS
List out as which of these are IBM Mainframe operating system? Z/OS

MVS initiator

Invokes buffer
resources

Identify the erroneous JCL:

//DD1
DD
DISP=SHR,DSN=DSRP010..
SAMPLE11.JCLS

Assume you are creating a new PDS using the IEBGENER utility. You require 6 //SYSUT1 DD
tracks of primary space, 2 tracks of secondary space, and 3 tracks of directory ,SPACE=(TRK,(3,2,6)),
space. Select the JCL statement that would establish the space you need:

What would be abend code, when a program invoked in not


found?

S803

Which of these utilities requires the control statements coded


below the SYSIN DD statements.

IEBGENER

//STEP1 JOB NOTIFY=USERID


//MYPROC PROC
//STEP1 EXEC PGM=CBL1,TIME=10,REGION=4M
//SYSUT1 DD DUMMY
//SYSUT1 DD DUMMY
// PEND

//STEP2 EXEC
MYPROC,TIME.STEP1=NOL
IMIT REGION.STEP1=
COND=(4,LT)

Following overrides has to be implemented :


1)Time must be set to NOLIMIT
2)REGION should be nullified
3)Cond parameter for JOB STEP (4,LT) should be coded
Identify the correct JCL for the same

List out the methods to uncataloge a datasets?

DISP=(OLD,UNCATLG)

Identify the INVALID DD statements:

//STEPLIB01 D*
DSN=DSRP010.IGATE.LOA
DLIB

Which of the keyword parameter is used to check for the


syntactical errors?

TYPRUN=CPY

Identify the valid syntax for refer back?

DSN=*.stepname.ddname

......
SELECT
//STEP1 EXEC PGM=IEBCOPY
MEMBER=(MEM1,ME
//SYSPRINT DD SYSOUT=*
M,R)
//INP DD DSN=iGATE.JCL.IN,DISP=SHR
//OUP DD DSN=iGATE.JCL.OUT,DISP=SHR
//SYSIN DD *
COPY OUTDD=OUP,INDD=INP
/*
Which one of the following statements when added to the
above code will copy and rename the Member 'MEM1' from the
dataset in INDD?
........
//STEP01 EXEC PGM=IEFBR14
//OUTFILE DD DSN=USERID.TEST.DATA,
//
DISP=(NEW,KEEP,DELETE),
//
DCB=(LRECL=120,BLKSIZE=1200,RECFM=FB)

Dataset not found

Referring to the above coding, if STEP01.OUTFILE fails during


execution with a DUPLICATE DATASET NAME error, what caused
the error?
//DSRPXXXA JOB CLASS=F,NOTIFY=&SYSUID

SYSPRT=(JOB,MSGS)

Which parameter, added to the above JOB statement causes to


print only the JOB/JOB card statement and
allocation/termination messages if JOB terminates normally?
The special DD name that points to the PDS where the MVS should first search STEPLIB
for load modules specified in all the job steps is ___________.

which of these statement identifies the utility control statement.

//SYSPRINT DD
SYSOUT=*

//DSRP0XXA JOB NOTIFY=&SYSUID


//MYPROC PROC SYSTEM=DSRP0XX,DEPT=RATH,TYPE=DFSORT
//STEP1 EXEC PGM=IEBCOPY
//SET1 SET SYSTEM=DSRP0XX,DEPT=RATH,TYPE=COBOL
//SET2 SET SYSTEM=DSRP0XX,DEPT=RATH,TYPE=DCLGEN
//SYSPRINT DD SYSOUT=*
//FILEIN DD DSNAME=&SYSTEM..&DEPT..&TYPE,DISP=SHR
//SYSUT2 DD DSNAME=&SYSTEM..&DEPT..DATA,
// DISP=(NEW,CATLG,DELETE),
// SPACE=(TRK,(10,10,10),RLSE),
// DCB=(LRECL=80,RECFM=FB,BLKSIZE=800)
//SYSIN DD DUMMY
// PEND
//STEPX
EXEC MYPROC

DSRP0XX.RATH.DFS
ORT

Referring to the above coding, what is the effective dataset name for the
data definition FILEIN?

Sample Code:

20 Seconds

//STEP01 EXEC PGM=PGM01,TIME=(,25)


//INFILE DD DSN=TEST.PAYROLL.DATA,DISP=SHR
//SYSOUT DD SYSOUT=A
//STEP02 EXEC PGM=PGM02,TIME=(,15)
//INFILE DD DSN=TEST.PERSONEL.DATA,DISP=SHR
//SYSOUT DD SYSOUT=A
What is the maximum time that the STEP01 can execute?

SAM submits JOB1. MYPGM is executed in STEP1. The dataset called FILE1 is
created on a 3390 disk.
Space in the amount of four tracks is requested for this data set.
Identify the JCL with the above mentioned requirements?

//JOB1 JOB
ACCT#,'SAM'
//STEP1 EXEC
PGM=MYPGM
//DATA1 DD
DSN=FILE1,UNIT=3390,SPA
CE=(4,TRK)

//JOBNAME JOB NOTIFY=&SYSUID


//MYPROC PROC A=LP2WK1,B=SYSDA
//STEP1 EXEC PGM=IEFBR14
//DD1 DD DSN=MAINUSR.ABC.INPUT,DISP=SHR,
//
VOL=SER=&A,
//
UNIT=&B
//
PEND
//STEPX EXEC MYPROC,A=LP1WK1,B=SYSSQ

VOL=SER=LP1WK1
UNIT=SYSSQ

Considering the above mentioned instream procedure, what will be the run
time value for VOLUME & UNIT parameters?

//Consider the following code

S2, S3, S4 and S5

//DSRP001A JOB LA2719,PCS,NOTIFY=&SYSUID,MSGLEVEL=(1,1),


// COND=(12,LT)
//S1
EXEC PGM=P1
(0)
//S2
EXEC PGM=P2
(12)
//S3
EXEC PGM=P3
(16)
//S4
EXEC PGM=P4
(8)
//S5
EXEC PGM=P5
Referring to the above code in the given steps, which of the steps will not
execute?

//JOB1 JOB NOTIFY=&SYSUID


// JCLLIB ORDER=USERID.IGATE.PDS
//STEP1 EXEC PROC=JCL4
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
Consider the above jcl which executes a cataloged procedure named as
JCL4, that is available at 'USERID.IGATE.PDS1',
Which of the following statement(s) is/are true?

The cataloged procedure


is invoked and executed.

Option 1

Option 2

Option 3

Comments

Indentation

documentation

done by the
developers along
with their team
members

Done by group of
members along
with their
managers

All of these are


applicable

Testing
Analysis
Design
Coding

Design
Analysis
Coding
Testing

Testing
Coding
Analysis
Design

2,1,3,4

4,3,2,1

2,3,1,4

Readable

Reusable

efficient

Integration Testing

System Testing

Unit Testing

Encapsulation

Inheritance

Polymorphism

Option 4

All of
these

Option 5

Abstraction

Interface

Polymorphism

Hollow Diamond

line and circle

Circle and then


Line

Sequence Diagram

State Chart Diagram Class Diagram

CONSOLE

DFHMSG

SYSLOG

VIEW

BROWSE

All of these

Opening
Allocating
Processing
Closing
De-allocation

Allocating
Opening
Processing
Closing
De-allocation

Allocating
Opening
Validating
Closing

Slot

Page

Address pace

When the User is


deleting the page

When the next


None of these
instruction is to be
executed and that
page is not
available in central
storage

Processors

Host system

Channel
subsystem

3.1

3.2

3.3

USERID.NUCLEUS

SYS1.PARMLIB

SYS1.PROCLIB

CLIST

REXX

PCP

Initiates the system


resources

Accepts the Job

None of these

//STEP3 PROC = PROC1

//STEP4 EXEC
PGM=CBL2
//DD1 DD
DSN=DSRP010.ABC.OUTF
ILE,DISP=(NEW,CATLG,D
ELETE)

//STEP4 EXEC
PGM=CB2
//DD1 DD
DSN=DSRP010.ABC.IN
FILE,DISP=(NEW)

//SYSUT2 DD
//SYSUT2 DD
,SPACE=(TRK,(6,2,3)), TRK=(6,2,3),

None of these

S322

S806

S807

IEFBR14

IEHLIST

ISPFPROC

//STEP2 EXEC
MYPROC,TIME.STEP1=NOL
IMIT, REGION.STEP1=
,COND=(4,LT)

//STEP2 EXEC MYPROC


STEP1.TIME=NOLIMIT
REGION.STEP1=
COND=(4,LT)

//STEP2 EXEC
MYPROC
TIME.STEP1=LIMIT
REGION.STEP1=
COND=(4,GT)

IEBGENER

IEFBR14

CATPROC

//STEPLIB DD
//STEP1 DD
//STEP1DD DISP=SHR
DSN=DSRP010.IGATE.LOAD DISP=SHR,DSN=DSRP010.
LIB
IGATE.FILE1
TYPRUN=SCAN

TYPRUN=SORT

None of these

DSN=jobname.stepname.* DSN=jobname.*.ddname DSN=jobname.stepna


me

RENAME
SELECT
SELECT
MEMBER=(MEM1,ME MEMBER=(MEM1,M MEMBER=((MEM
M)
EM,Rename)
1,MEM,R))

Incompatible
disposition with the
dataset name

Wrong record
format

The dataset is
already
cataloged

MSGLEVEL=(0,1)

MSGLEVEL=(2,1)

JOBMSG=(JOB,AL
L)

JOBLIB

JCLLIB

none of these

//SYSOUT DD
SYSOUT=*

//SYSIN DD DUMMY //SYSIN DD *

DSRP0XX.RATH.DATA DSRP0XX.RATH.COB DSRP0XX.RATH.D


OL
CLGEN

25 Seconds

40 Seconds

//JOB1 JOB
ACCT#,'SAM'
//STEP1 EXEC
PGM=MYPGM
//DATA1 DD
DSN=FILE1,UNIT=3390,SPA
CE=(TRK,4)

//JOB1 JOB
ACCT#,'SAM'
//STEP1 EXEC MYPGM
//DATA1 DD
DSN=FILE1,UNIT=3390,SP
ACE=(TRK,4)

None of the above

VOL=SER=LP2WK1
UNIT=SYSDA

VOL=SER=LP1WK1
UNIT=SYSDA

VOL=SER=LP2WK1
UNIT=SYSSQ

S3 , S4 and S5

S4 and S5

Only S5

The JOB teminates with a The JOB terminates


S806 ABEND.
with a JCL error.

The JOB terminates


with a MAXCC=12.

Answers

Marks

1,2,3

0,3

0.3

0,1

0,2

0,2

0,3

Replace S804

You might also like