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.
Questions
Which of the following is true on CPYF and CRTDUPOBJ when a logical file needs to be copied?
- CPYF copies the records of one logical file to another but changes the file attribute to PF.
- CRTDUPOBJ copies the records of one logical file to another but retains the file attribute as LF.
- All of the above
- None of the above.
What is the maximum number of record formats in a display file?
- 1042
- 1204
- 1024
- 1402
What is the latest version of cognos
- 8.2
- 8.1
- 8.5
- 8.4
By using which varibles we can do the Conditional Formatting?
- Boolean
- String
- Report Language
- None
Query studio will be used to create simple adhoc reports?
- True
- False
Which Explorer we are using to view or work with any Conditional formatting Variables?
- Page Explorer
- Query Explorer
- Conditional Explorer
- All
You can open a Query Studio report in Report Studio,but u cann't open a Report Studio report in Query Studio?
- True
- False
instanceof operator can take a class, an interface or an array type as an argument
- True
- False
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?
- 20 20
- 20 2
- 2 2
- 2 1
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
- Observations =2 and Salary = 45000 at both observations
- Observations = 2 and Salary = 45000 at first and Salary =. at second observation
- Observation = 1 and Salary = 45000
- Error
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?
- 2 observations
- 0 observations
- 1 observation
- Error
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?
- No. of Observations = 2 I = 12
- No. of Observations = 10 I = 30
- No. of Observations = 4 I = 12
- No. of Observations = 3 I = 13
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
- Observations = 2 and Gender = .
- Observations = 2 and Gender = 0
- Observations = 3 and Gender = 0
- Observations = 3 and Gender = .
- ABAP has the following data types
- Character
- String
- Float / Packed
- All of the above
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
- 'A001'
- '0001'
- '9A99'
- 'ABCD'
How to clear a internal table and its occupied memory
- Clear itab
- Free itab
- Refresh itab
- All of the above
What is called Line type in internal table
- A structure that has the same data type
- A Line which used the type declaration
- A blank line in the print screen
- none of the above
Which of the following are correct ruby array declaration. Select all that apply.
- a = [0, 0, 0, 0, 0]
- days = [ "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday" ]
- clues = Array.new clues << 'vitamins' clues << 'minerals' clues << 'chocolates'
- name = %w(Harry monty michale)
When you are defining a structure using Se11?
- Give the MANDT field as a first field
- Select the primary key as defined in your db tables.
- Give initial values
- None of the above
When we are using QUAN data element, which is mandatory ?
- It has to be linked with currency codes.
- It has to be linked with numeric variables.
- It has to be linked to primary keys
- None of the above.