0

programming languages Online Quiz - 237

Description: programming languages Online Quiz - 237
Number of Questions: 20
Created by:
Tags: programming languages
Attempted 0/20 Correct 0 Score 0
  1. Virtual File Server

  2. Virtual File System

  3. Virtual File Sync

  4. None


Correct Option: B
  1. Only child can send and can not receive from parent signals

  2. SIGHUP is a signal sent by terminals and is not designed to propagate

  3. SIGHUP is an invalid signal

  4. None


Correct Option: B
  1. A core file is created when a program terminates unexpectedly, due to a bug,

  2. A core represents the RAM memory (core)

  3. core file contains the entire process information

  4. A text file


Correct Option: A

How To Enable or Disable Core Dumps.

  1. ulimit command

  2. Automatically enabled

  3. Cannot be controlled

  4. Only root can do that using ulimit


Correct Option: A
  1. sed 's/[ ][^ ]*$//' test2

  2. sed 's/[ ][ ]*$//' test2

  3. sed 's/[ ][ ]*$/' test2

  4. sed 's/[ ][ $]*$//' test2


Correct Option: A
  1. They are printer terminals

  2. Partial terminals

  3. Pseudo terminals

  4. Hardware cable


Correct Option: C
  1. swapon /swap

  2. mkswap /swap

  3. mknod /dev/swap

  4. Not possible


Correct Option: B
  1. Not possible thru command

  2. chcolor /dev/tty0

  3. chcolour /dev/tty0

  4. setterm -fore yellow -bold on -back blue -store /dev/tty0


Correct Option: D

How To Determine What Packages Are Installed on a System?

  1. pkglst -a

  2. pkglst -ql

  3. rpm -qa

  4. rpm -i


Correct Option: C
  1. a DLI

  2. a BMP

  3. a DBB

  4. All of the above


Correct Option: D
  1. To reduce free space fragmentation

  2. To copy or move Datasets from one DASD to another

  3. All of the above

  4. None of the above


Correct Option: C
Explanation:

To answer this question, the user needs to know what ADRDSSU Utility is used for.

The ADRDSSU Utility is a tool used for backup, restore, and copying datasets. It can be used to copy or move datasets from one DASD to another, and can also be used to reduce free space fragmentation.

Therefore, the correct answer is:

C. All of the above

  1. DUMP

  2. COPY

  3. MOVE

  4. CONVERTV


Correct Option: C
Explanation:

To solve this question, the user needs to be familiar with ADRDSSU (ADRDSSU) utility and its control statements.

Now, let's go through each option:

A. DUMP - This is a valid ADRDSSU control statement. It creates a dump of a dataset to an output dataset.

B. COPY - This is a valid ADRDSSU control statement. It copies a dataset or a group of datasets to another dataset or a group of datasets.

C. MOVE - This is not a valid ADRDSSU control statement. Although MOVE is a valid COBOL verb, it is not a control statement used in ADRDSSU.

D. CONVERTV - This is a valid ADRDSSU control statement. It converts a VSAM dataset to a non-VSAM dataset or vice versa.

Therefore, the answer is:

The Answer is: C

  1. File parameters

  2. Performance parameters

  3. Space Parameters

  4. Volume Parameters


Correct Option: A
  1. File parameters

  2. Performance parameters

  3. Space Parameters

  4. Volume Parameters


Correct Option: B
  1. VSAM File

  2. Tape File

  3. none of above

  4. Both a and b


Correct Option: A
Explanation:

To answer this question, the user needs to know about the LIKE parameter in mainframe programming.

The LIKE parameter is used to create a new file that has the same record-layout as an existing file. This is useful when you want to create a new file with the same structure as an existing file, but with different data.

Now, let's go through each option and explain why it is right or wrong:

A. VSAM File: This option is correct. You can use the LIKE parameter to create a new VSAM file that has the same record-layout as an existing VSAM file.

B. Tape File: This option is incorrect. You cannot use the LIKE parameter to create a new tape file. Tape files are typically used for backup and archival purposes, and do not have a record-layout like VSAM files.

C. None of above: This option is incorrect. As explained above, option A is correct.

D. Both a and b: This option is incorrect. Although option A is correct, option B is not.

Therefore, The Answer is: A. VSAM File

  1. REFDD=*.ddname

  2. REFDD=*.stepname.ddname

  3. REFDD=*.jobstepname.procstepname

  4. REFDD=*.jobstepname.ddname


Correct Option: A
  1. ACB

  2. DLI

  3. BMP

  4. MPP


Correct Option: B
Explanation:

To answer the question, the user needs to know the basic concepts of IMS, including the different interfaces used to connect the program to the Database in IMS.

Each option is explained below:

A. MPP: This option stands for Message Processing Program, which is not the correct interface used to connect the program to the Database in IMS.

B. ACB: This option stands for Access Control Block, which is not the correct interface used to connect the program to the Database in IMS.

C. DLI: This option stands for Data Language Interface, which is the correct interface used to connect the program to the Database in IMS. It provides a high-level interface for accessing IMS databases.

D. BMP: This option stands for Batch Message Processing, which is not the correct interface used to connect the program to the Database in IMS.

Therefore, the answer is: C. DLI

- Hide questions