0

programming languages Online Quiz - 158

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

Which of the following is true on CPYF and CRTDUPOBJ when a logical file needs to be copied?

  1. CPYF copies the records of one logical file to another but changes the file attribute to PF.

  2. CRTDUPOBJ copies the records of one logical file to another but retains the file attribute as LF.

  3. All of the above

  4. None of the above.


Correct Option: B

What is the latest version of cognos

  1. 8.2

  2. 8.1

  3. 8.5

  4. 8.4


Correct Option: D

By using which varibles we can do the Conditional Formatting?

  1. Boolean

  2. String

  3. Report Language

  4. None


Correct Option: A,B,C

Which Explorer we are using to view or work with any Conditional formatting Variables?

  1. Page Explorer

  2. Query Explorer

  3. Conditional Explorer

  4. All


Correct Option: C

Dataset: A SEQID 1 2 Data B; do i =1 to 10; set A; c = n; output; end; run; How many observations will be there in dataset B & what will be the final value of c?

  1. 20 20

  2. 20 2

  3. 2 2

  4. 2 1


Correct Option: D
  1. Observations =2 and Salary = 45000 at both observations

  2. Observations = 2 and Salary = 45000 at first and Salary =. at second observation

  3. Observation = 1 and Salary = 45000

  4. Error


Correct Option: A

Data A; x = 1; y = 3; z = 6; output; x = 2; y = 4; output; Run; Data B; Set A; z = x*y; where z < 6; Run; What will be the output of data set B?

  1. 2 observations

  2. 0 observations

  3. 1 observation

  4. Error


Correct Option: B
  1. No. of Observations = 2 I = 12

  2. No. of Observations = 10 I = 30

  3. No. of Observations = 4 I = 12

  4. No. of Observations = 3 I = 13


Correct Option: D
  1. ABAP has the following data types
  1. Character

  2. String

  3. Float / Packed

  4. All of the above


Correct Option: D

When we define a field as a numeric in the table using data element NUMC, then the possible value for that field is as follows

  1. 'A001'

  2. '0001'

  3. '9A99'

  4. 'ABCD'


Correct Option: B
  1. Clear itab

  2. Free itab

  3. Refresh itab

  4. All of the above


Correct Option: B

What is called Line type in internal table

  1. A structure that has the same data type

  2. A Line which used the type declaration

  3. A blank line in the print screen

  4. none of the above


Correct Option: A

Which of the following are correct ruby array declaration. Select all that apply.

  1. a = [0, 0, 0, 0, 0]

  2. days = [ "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday" ]

  3. clues = Array.new clues << 'vitamins' clues << 'minerals' clues << 'chocolates'

  4. name = %w(Harry monty michale)


Correct Option: A,B,C,D
  1. Give the MANDT field as a first field

  2. Select the primary key as defined in your db tables.

  3. Give initial values

  4. None of the above


Correct Option: D

When we are using QUAN data element, which is mandatory ?

  1. It has to be linked with currency codes.

  2. It has to be linked with numeric variables.

  3. It has to be linked to primary keys

  4. None of the above.


Correct Option: D
- Hide questions