### programming languages Online Quiz - 158

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

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

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

Correct Option: D

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

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

How to clear a internal table and its occupied memory

1. Clear itab

2. Free itab

3. Refresh itab

4. All of the above

Correct Option: B

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. ABAP has the following data types
1. Character

2. String

3. Float / Packed

4. All of the above

Correct Option: D

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 = .

Correct Option: D

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

Correct Option: D

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

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

Correct Option: A

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

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

1. True

2. False

Correct Option: A

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

Correct Option: A

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

Query studio will be used to create simple adhoc reports?

1. True

2. False

Correct Option: A

By using which varibles we can do the Conditional Formatting?

1. Boolean

2. String

3. Report Language

4. None

Correct Option: A,B,C

1. 8.2

2. 8.1

3. 8.5

4. 8.4

Correct Option: D

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

1. 1042

2. 1204

3. 1024

4. 1402

Correct Option: C

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
+ View questions