0

programming languages Online Quiz - 235

Description: programming languages Online Quiz - 235
Number of Questions: 20
Created by:
Tags: programming languages
Attempted 0/20 Correct 0 Score 0
  1. File Transmission Protocol

  2. File Transfer Protocol

  3. Transmission control Protocol

  4. Data Transmission protocol


Correct Option: B
  1. LRECL

  2. RECFM

  3. None of the attributes can be changed

  4. All the attributes can be changed


Correct Option: D
  1. PLAN Name in which the DB2 program has to be bound

  2. Collection name in to which the program has to be bound

  3. Database Name

  4. Dataset in which the DB2 program resides


Correct Option: A
  1. Authentication failure

  2. SELECT statement has resulted in retrieval of more than one row

  3. Generated when the consistency tokens in the DBRM and the load module are different

  4. Resource Unavailable


Correct Option: C
  1. Avoid having to bind a large number of DBRM members into a plan

  2. Minimize fallback complexities if changes result in an error

  3. Avoid cost of a large bind

  4. Time consumption is reduced


Correct Option: D
  1. Caused by invalid Data in a Numeric field

  2. Protection Exception

  3. Timeout

  4. Data protection Exception


Correct Option: B
  1. Assigns value of < to var variable

  2. Assigns value of $< to var variable

  3. Gets input from stdin and assigns that to var variable

  4. Assigns previously returned value to var variable


Correct Option: C

What is the difference between $* and [email protected]?

  1. $* returns the number of arguments passed whereas [email protected] represents the arguments list.

  2. All arguments are double quoted using $* whereas all arguments are individually double quoted when using [email protected]

  3. $* is used in for loop whereas [email protected] is used in while loop.

  4. $* and [email protected] are same


Correct Option: B

What does $! represent?

  1. Process ID of current process

  2. Process ID of last background process

  3. Process ID of first background process

  4. Process ID of foreground process


Correct Option: B

What does the below line does when inserted as first line in a shell script and executed? #! /usr/bin/bash -f

  1. bash is used to intrepret the script and it does not invoke .bashrc before executing the script

  2. bash is used to intrepret the script and it does invoke .bashrc before executing the script

  3. bash as well as sh are used to intrepret the script

  4. none


Correct Option: A
- Hide questions