0

programming languages Online Quiz - 160

Description: programming languages Online Quiz - 160
Number of Questions: 20
Created by:
Tags: programming languages
Attempted 0/20 Correct 0 Score 0

The maximum length of a literal in REXX is ?

  1. 32

  2. 33

  3. 255

  4. 251


Correct Option: C

The symbol '||' is used for ?

  1. Concatenation of literals

  2. String manipulation

  3. Trace

  4. Exponential notation


Correct Option: A
  1. EBCDIC string

  2. ASCII string

  3. HEX string

  4. None of the above


Correct Option: C

Which instruction in REXX is used to display at the terminal?

  1. PUT

  2. DISPLAY

  3. SAY

  4. PRINTLN


Correct Option: C

What is the result when the following piece of code is executed? /REXX/ X=16 Y=5 Z = X % Y Say Z

  1. 80

  2. 3.2

  3. 3

  4. 1


Correct Option: C

What is the output of the following? SAY 'C1C2C3'X

  1. ABC

  2. F1F2F3 X

  3. 123

  4. ABC X


Correct Option: A

What is the output? SAY "TCS"||"USWEST"

  1. TCSUSWEST

  2. TCS USWEST

  3. TCS USWEST

  4. None of the above


Correct Option: A

The instruction NUMERIC FUZZ is used in REXX ?

  1. To ignore one or more rightmost digits in a comparison

  2. To ignore one or more leftmost digits in a comparison

  3. To return true in all numeric comparisons

  4. None of the above


Correct Option: A

Which of the following is EXCLUSIVE OR operator?

  1. &|

  2. |&

  3. ||

  4. &&


Correct Option: D

EXECIO is used to ?

  1. Execute a REXX program

  2. Perform input output operation in a file

  3. Read the contents of a file into a stem variable

  4. None of the above


Correct Option: B

To indicate end of input file EXECIO sets the REXX special variable RC to ?

  1. 0

  2. 10

  3. 2

  4. None of the above


Correct Option: A

When there is data in the stack, which instruction can be used to force the Input from the terminal?

  1. PARSE PULL FORCE

  2. PARSE PULL TERMINAL

  3. PARSE EXTERNAL

  4. Not possible


Correct Option: C

The command "EXECUTIL TS" in REXX ?

  1. Turns on Interactive debug

  2. Turns off Interactive debug

  3. Stops displays to terminal

  4. Resumes displays to terminal


Correct Option: A
  1. Remoting Service

  2. Proxy Service

  3. Message Service

  4. Data Management Service


Correct Option: A,B

Which method is used to write data to the SOL file during a open session?

  1. sharedObject.flush

  2. sharedObject.write

  3. sharedObject.in

  4. sharedObject.open


Correct Option: A

What is the default method for sending a request via the HTTPService MXML tag?

  1. PUT

  2. POST

  3. GET

  4. HEAD


Correct Option: C
- Hide questions