### mainframe Online Quiz - 109

 Description: mainframe Online Quiz - 109 Number of Questions: 20 Created by: Aliensbrain Bot Tags: mainframe
Attempted 0/20 Correct 0 Score 0

Which of the following is NOT a valid symbol to use in an IF condition

1. =>

2. =

3. =

4. >

Correct Option: A

Which is the correct ASCII collating sequence?

1. spaces, a-z, A-Z, 0-9, special characters

2. a-z, A-Z, 0-9, spaces, special characters

3. spaces, special characters, 0-9, A-Z, a-z

4. 0-9, special characters, spaces, a-z, A-Z

Correct Option: C

#### AI Explanation

To answer this question, you need to understand the ASCII collating sequence. The ASCII collating sequence is the order in which characters are arranged in the ASCII character set.

Let's go through each option to understand why it is correct or incorrect:

Option A) spaces, a-z, A-Z, 0-9, special characters - This option is incorrect because it starts with spaces, followed by lowercase letters (a-z), uppercase letters (A-Z), numbers (0-9), and special characters. The correct ASCII collating sequence does not start with spaces.

Option B) a-z, A-Z, 0-9, spaces, special characters - This option is incorrect because it starts with lowercase letters (a-z), followed by uppercase letters (A-Z), numbers (0-9), spaces, and special characters. The correct ASCII collating sequence starts with spaces.

Option C) spaces, special characters, 0-9, A-Z, a-z - This option is correct because it starts with spaces, followed by special characters, numbers (0-9), uppercase letters (A-Z), and lowercase letters (a-z). This is the correct ASCII collating sequence.

Option D) 0-9, special characters, spaces, a-z, A-Z - This option is incorrect because it starts with numbers (0-9), followed by special characters, spaces, lowercase letters (a-z), and uppercase letters (A-Z). The correct ASCII collating sequence starts with spaces.

The correct answer is C. This option is correct because it follows the correct ASCII collating sequence.

The COBOL perform loop is the equivalent of which of the following structures found in other languages, such as Java or C++

1. For loop

2. Do-While loop

3. Method

4. None of the Above

Correct Option: B

What does X ALL command do

1. Delete all lines

2. Include all lines

3. Exclude all lines

4. Invalid command

Correct Option: C

What are the different kinds of commands to control editing operations?

1. Line Commands

2. ISPF Commands

3. Primary Commands

4. Secondary Commands

Correct Option: A,C

How do we issue an Primary Command?

1. with = symbol before Line command

2. with :(colon) symbol before Line command

3. with & symbol before Line command

4. None of the above

Correct Option: B

Which is not a ISPF Primary Command?

1. CAPS ON

2. HIlight COBol

3. :D2

4. None of the above

Correct Option: D

=BNDS> is part of the PROFILE

1. True

2. False

Correct Option: A

Significance of AUTONUM primary command

1. Automatically renumbers data whenever it is saved, preserving the modification level record

2. Automatically renumbers data whenever it is saved

3. Immediately renumbers data whenever inserted

4. None of the above

Correct Option: A

:DELete ALL .ZF .ZL will do the following

1. Deletes all from first line to last line

2. Delete all characters .ZF and .ZL

3. Error occurs

4. Does nothing

Correct Option: A

What happens when we issue CUT command on the command line?

1. Command Error

3. Entire data will be cut and stored on clipboard

4. None of the above

Correct Option: C

What is the command to view the last 25 commands issued from command line?

1. Get

2. Display

3. Retp

4. Retrieve

Correct Option: C

Bounds 10 50; is a valid ISPF command?

1. True

2. False

Correct Option: A

What is the command used to SORT the data?

1. SORT .A .B A

2. SORT .ZF .ZL D

3. SORT D

4. None of the above

Correct Option: A,B,C

Is SUBMIT an ISPF command?

1. True

2. False

Correct Option: A

I have set the Boundaries by giving BOUNDS 10 20. I have to sort the data in the dataset which starts from 1 to 9 columns. I have issued the command SORT .ZF .ZL A. What happens?

1. Data will be sorted

2. Data will not be sorted

3. Will give error

4. Nothing happens

Correct Option: B
1. Will give error

2. Command will be executed and the command will be available on the command prompt

3. It will take multiple inputs for processing

4. Invalid

Correct Option: B

The following are used to know the changes that are made since last issued save command (while editing a dataset or a PDS member)

1. Changes .zf .zl

2. Compare *

3. Compare Session

4. FCHANGE

Correct Option: B,C

Is it possible to cut and save data on a user-defined clipboard?

1. True

2. False

Correct Option: A
- Hide questions