Multi-Platform Technical Quiz: ABAP, SAS, Java, Cognos & IBM i

A comprehensive quiz covering multiple programming languages and technical platforms including ABAP/SAP development, SAS programming, Java basics, IBM Cognos Business Intelligence tools, and IBM i (AS/400) system operations.

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

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.
Question 2 Multiple Choice (Single Answer)

What is the maximum number of record formats in a display file?

  1. 1042
  2. 1204
  3. 1024
  4. 1402
Question 3 Multiple Choice (Single Answer)

What is the latest version of cognos

  1. 8.2
  2. 8.1
  3. 8.5
  4. 8.4
Question 4 Multiple Choice (Multiple Answers)

By using which varibles we can do the Conditional Formatting?

  1. Boolean
  2. String
  3. Report Language
  4. None
Question 5 True/False

Query studio will be used to create simple adhoc reports?

  1. True
  2. False
Question 6 Multiple Choice (Single Answer)

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
Question 7 True/False

You can open a Query Studio report in Report Studio,but u cann't open a Report Studio report in Query Studio?

  1. True
  2. False
Question 8 True/False

instanceof operator can take a class, an interface or an array type as an argument

  1. True
  2. False
Question 9 Multiple Choice (Single Answer)

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
Question 10 Multiple Choice (Single Answer)

Dataset: Score Name Score John 10 Greg 20 Dataset: Salary Salary 45000 Data map; If n = 1 then set salary; Set score; Run; How many observations will be in the Data Map and what would be value of salary

  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
Question 11 Multiple Choice (Single Answer)

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
Question 12 Multiple Choice (Single Answer)

Data X; do i = 1 to 10; i = i*3; output; end; output; Run; How many observations will be there in Dataset X and what will be the value of I at last Observation?

  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
Question 13 Multiple Choice (Single Answer)

data sw; input name $ gender ; datalines; bary 0 bary 0 celina 1 ; run; data re; input name $ gender salary ; datalines; bary . 45000 celina 1 40000 ; run; data final; merge sw re; by name; run; How many Observations will be there in dataset final and what would be the minimum value of gender variable

  1. Observations = 2 and Gender = .
  2. Observations = 2 and Gender = 0
  3. Observations = 3 and Gender = 0
  4. Observations = 3 and Gender = .
Question 14 Multiple Choice (Single Answer)
  1. ABAP has the following data types
  1. Character
  2. String
  3. Float / Packed
  4. All of the above
Question 15 Multiple Choice (Single Answer)

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'
Question 16 Multiple Choice (Single Answer)

How to clear a internal table and its occupied memory

  1. Clear itab
  2. Free itab
  3. Refresh itab
  4. All of the above
Question 17 Multiple Choice (Single Answer)

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
Question 18 Multiple Choice (Multiple Answers)

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)
Question 19 Multiple Choice (Single Answer)

When you are defining a structure using Se11?

  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
Question 20 Multiple Choice (Single Answer)

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.