Uploaded by Fares Nait Slimane

T2.docx

advertisement
SAP Certified Development Associate - ABAP with SAP
NetWeaver 7.50 - Full
You got 57 of 80 possible points.
Your score was: 71 %
Question Results
Score 1 of 1
Question:
You want to read data from two database tables A and B using a database join.
Database table B contains details for data records stored in database table A.
Your result should contain all combinations of matching rows from A and B plus all
rows from A that do not have matching rows in B.
Which statement do you use?
Please choose the correct answer.
Response:
SELECT … FROM a INNER JOIN b …
SELECT … FROM b RIGHT OUTER JOIN a …
SELECT … FROM a JOIN b …
SELECT … FROM a LEFT OUTER JOIN b …
Score 1 of 1
Question:
What is the correct order for using a lock object?
Please choose the correct answer.
Response:
Read the data, set the lock, change the data, release the lock
Set the lock, read the data, release the lock, change the data
Set the lock, read the data, change the data, release the lock
release the lock, Read the data, set the lock, change the data
Score 1 of 1
Question:
Which of the following ABAP standard types are numeric?
There are 3 correct answers to this question.
Response:
P
D
F
N
I
Score 1 of 1
Question:
You need to create a piece of code that can be used by multiple programs. Which
of the following techniques for modul arization does SAP recommend?
There are 2 correct answers to this question
Response:
A method in a local class
A subroutine in a program
A method in a global class
A function module in a function group
Score 1 of 1
Question:
Which must a search help do?
There are 4 correct answers to this question.
Response:
Be used from a screen
Allow the user to select a response
Use a table or a view for data selection
Have a dialog with the user
Determine the values for selection by the user
Score 1 of 1
Question:
You are asked to enhance the GUI status of an SAP standard application How do
you identify which menu exit function code you can use?
Please choose the correct answer.
Note: Answers of this question are not verified by our experts, please study yourself and
select the appropriate answers.
Response:
It starts with an ampersand (&)
It start with a plus (+)
It starts with a dollar($)
It starts with an asterisk (*)
Score 1 of 1
Question:
Where can you define global data types that are visible system-wide?
There are 3 correct answers to this question.
Response:
In a method of a global class
In a function module
In a global interface
In the ABAP Dictionary
In a global class
Score 1 of 1
Question:
In an ABAP program you have the following code sequence:
DATA var TYPE n LENGTH 1.
FIELD –SYMBOLS <fs> TYPE c
ASSIGN var TO <fs> CASTING
Which type is used to cast the assigned memory area?
Please choose the correct answer.
Response:
The default type STRING
The default type I
The type of var
The type of <fs>
Score 1 of 1
Question:
Which of the following statements are true?
There are 3 correct answers to this question.
Response:
Implicit enhancement can be used to enhance SAP objects developed prior to S
NetWeaver 7.0.
None of the above.
Implicit enhancement options allow you to enhance interface parameters for fu
modules and methods without modifying the repository object.
An implicit enhancement point can be used to insert code in an SAP pro- gram
always available to the customer.
Score 1 of 1
Question:
In a subclass, you want to redefine a method of the super class. Which of the
following conditions must be fulfilled?
There are 2 correct answers to this question.
Response:
The subclass method has a lower visibility than the super class method
The subclass method has same visibility as the super class method
The superclass method is an instance method
The super class method is abstract
Score 1 of 1
Question:
Each button on a Dynpro (screen) requires the assignment of a function code. This
function code…
Please choose the correct answer.
Response:
Prevents the function code from be assigned to a category item.
Prevents the function code from be assigned to a menu item.
Can be used to identify when the button is clicked by looking for the function c
the screen’s OK_CODE field.
Is used to define global variables that receive a value when the button is clicke
Score 1 of 1
Question:
A structure has enhancement category 3, can be enhanced (character-type).
Which set of elementary types is allowed for the new fields?
Please choose the correct answer.
Response:
F,I,P,X
D,I,string, T
C,D,N,X
C,D,N,T
Score 0 of 1
Question:
Identify the types of layout managers.
There are 4 correct answers to this question.
Response:
RowLayout
ColumnLayout
FlowLayout
MatrixLayout
GridLayout
TreeLayout
Score 1 of 1
Question:
When you define local classes in ABAP, which syntactical sequence must you
follow?
Please choose the correct answer.
Response:
The order doesn’t matter.
The order is handled automatically.
PUBLIC SECTION, PROTECTED SECTION, PRIVATE SECTION
PRIVATE SECTION, PROTECTED SECTION, PUBLIC SECTION
Score 1 of 1
Question:
Which statements are true about a class that has granted friendship to another
class?
There are 4 correct answers to this question.
Response:
The friend has access to protected attributes.
All classes that inherit from the friend (subclasses) also have the same access.
The friend has access to public attributes.
All classes the friend has granted friendship access status to also have the sam
access.
The friend has access to private attributes.
Score 1 of 1
Question:
The USER has the following fields: ID, FIRST_NAME, LAST_NAME. FIRST_NAME,
LAST_NAME have the same basic type and length. You want to compare fields
FIRST_NAME, LAST_NAME to each other.
Which of the following SELECT statements can you use?
There are 2 correct answers to this question.
Response:
SELECT*FROM users AS a INTO TABLE It_users
WHERE a»first_name = a»last_name
SELECT*FROM users INTO TABLE It_users
WHERE first name = users »last_name.
SELECT*FROM users INTO TABLE It_users WHERE first_name = users last_name
SELECT*FROM users AS a INTO TABLE It_users WHERE a first_name = last_nam
Score 1 of 1
Question:
Your program uses the class CL_GUI_ALV_GRID to generate a classic ALV Grid
Control What do you need in your program to react to a use double-clicking a row
in the ALV Grid?
There are 3 correct answers to this question
Response:
A SET HANDLER statement to register the handler to the event
A handler class
A method call to refresh the display
A handler method for the double_click event
A method call to create the event handler
Score 1 of 1
Question:
You want to use a BAdI to extend the functions of an SAP program. Which of the
following tasks is necessary?
Please choose the correct answer.
Response:
Call the BAdI
Define an interface for the BAdI.
Create an enhancement project using a customer exit.
Implement a class that implements the BAdI interface.
Score 1 of 1
Question:
What happens when an authorization check fails?
Please choose the correct answer.
Response:
The system field SY-SUBRC is set to a value other than zero.
A CX_AUTH_FAILED type exception is raised.
A type E message is displayed.
The program is terminated.
Score 0 of 1
Question:
Which boundary conditions lead to improved access time to an internal table?
There are 3 correct answers to this question.
Response:
Index access for standard tables
Left justified part of key for sorted tables
Left justified part of key for hashed tables
Index access for hashed tables
Fully qualified key for sorted tables
Score 0 of 1
Question:
What do you have to take into account before you decide to buffer a table?
Please choose the correct answer.
Response:
The data read from the buffer may NOT be current
The data must always be read from the buffer
The database server must allow table buffering
The entire table content must be loaded into the table buffer
Score 1 of 1
Question:
Compared to a predefined ABAP type what additional properties can be assigned
to a domain?
There are 3 correct answers to this question.
Response:
Value tables
Fixed values
Conversion exits
Parameter IDs
Search helps
Score 1 of 1
Question:
Which you should specify in a non-Unicode system when opening a file in TEXT
MODE?
There are 2 correct answers to this question.
Response:
The storage order
The byte order
The code page
The ENCODING addition
Score 1 of 1
Question:
What is data binding?
Please choose the correct answer.
Response:
Connecting an outbound plug on one view to the inbound plug of another view
Connecting a context node in one controller to a context node in another contr
Connecting the values of user interface elements to the context attributes of t
corresponding controller
Connecting one Web Dynpro component to another Web Dynpro component
Score 1 of 1
Question:
The following piece of code is used
DATA: def TYPE abc,
Ghi LIKE xyz.
Which of the four elements are data types and which are data objects?
Please choose the correct answer.
Response:
abc, xyz - data type
def, ghi - data objects
abc - data type
def, ghi ,xyz - data objects
def, ghi - data objects
abc, xyz - data type or data object
abc - data type
def, ghi - data objects
xyz - data type or data objects
Score 1 of 1
Question:
Which data type is allowed for the reference field of the Currency field?
Please choose the correct answer.
Response:
CURR
UNIT
DEC
CUKY
Score 0 of 1
Question:
Which of the following statements are correct?
There are 3 correct answers to this question.
Response:
The SELECT-OPTIONS statement creates an internal table with a header line. T
internal table is also known as the selection table.
You can only specify default values for the LOW and HIGH fields of the SELECTOPTIONS input field.
You can use the addition NO-DISPLAY to hide the input field on the selection sc
The structure of the selection table created with SELECT-OPTIONS has four
components: SIGN, OPTION, LOW, and HIGH.
Score 1 of 1
Question:
Which of the following components belong to the SAP application layer?
There are 2 correct answers to this question
Response:
Database interface
SAP GUI
Database server
ABAP dispatcher
Score 1 of 1
Question:
You define a database view A and maintenance view B in the ABAP dictionary.
What restrictions apply to these views?
There are 2 correct answers to this question
Response:
The tables joined in A must have foreign key relationships
Only A can be used in the FROM clause of a SELECT statement
Only B can have either a left outer join or an inner join
The tables joined in B must have foreign key relationships
Score 1 of 1
Question:
What is the purpose of the enqueuer work process?
Please choose the correct answer.
Response:
It processes update requests
It manages logical locks in the lock table
It processes user entries
It translates Open SQL statements
Score 1 of 1
Question:
What does the Refactoring Assistant allow you to do?
There are 2 correct answers to this question.
Response:
Move components between superclasses and subclasses
Rename all occurrences of a method
Move between classes and interfaces
Rename all subclasses of a method
Score 0 of 1
Question:
To which of the following you must assign newly created SAP repository objects?
Please choose the correct answer.
Response:
Transport task
Package
Transport request
Function group
Score 1 of 1
Question:
Which steps are needed when implementing the singleton concept for class
instantiation with minimum coding?
There are 3 correct answers to this question.
Response:
Define the instantiation of the class as private.
Define the class as abstract.
Create an event that returns the instance of the class.
Create an instance of the class in a static constructor.
Save the instance of the class in a static attribute.
Score 0 of 1
Question:
What can be exposed in the component interface of a Web dynpro component?
Please choose the correct answer.
Response:
Custom methods of the component controller
Public attributes of WINDOW controllers
Standard hook methods of the component controller
Context nodes of WINDOW controllers
Score 0 of 1
Question:
You run an executable program which contains the following code:
DATA: gv_var1 TYPE n LENGTH 3,
Gv_var2 TYPE n LENGTH 3 VALUE ‘456’.
START-OF-SELECTION
CLEAR gv_var2
Gv_var2 = gv_var1.
Gv_var1 = ‘123’.
At what point does the system reserve memory for the data object gv_var1?
Please choose the correct answer.
Response:
When the value ‘123’ is assigned to the data object
As soon as the program is loaded into thie internal session
At the beginning of the START-OF-SELECTION event block
When the assignment to gv_var2 is executed
Score 1 of 1
Question:
The statements CALL BADI and GET BADI are used for which type of BAdIs?
Please choose the correct answer.
Response:
New BAdI
Classical DDic
Classical BAdI
None of the above
Score 1 of 1
Question:
Which of the following characters is the first of a menu exit function code?
Please choose the correct answer.
Response:
&
*
+
Score 1 of 1
Question:
Which of the following statements are true?
There are 3 correct answers to this question.
Response:
The tables included in the help view should have a foreign key relationship.
The tables included in the maintenance view should have foreign key relations
You cannot use a pooled or cluster table for a database view.
Projection views can have more than one table included for the view definition
Score 0 of 1
Question:
Which of the following steps are required to set up a shared memory area?
There are 3 correct answers to this question.
Response:
Declare a catalog object
Call the attach_for_write method of area root class
Generate an area root class
Set the root object
Enable multiple versions of an area root class
Score 1 of 1
Question:
The order of fields for a transparent table in the database…
Please choose the correct answer.
Response:
Is created in the order of the ABAP Dictionary.
Is created in the order of the Data Dictionary.
Needs to match the ABAP Dictionary.
Is allowed to be different than the ABAP Dictionary.
Score 1 of 1
Question:
What is the event block that all of your code changes belongs to if you do not
explicitly code any event blocks in an executable program?
Please choose the correct answer.
Response:
LOAD-OF-PROGRAM
AT SELECTION-SCREEN OUTPUT
INITIALIZATION
START-OF-SELECTION
Score 1 of 1
Question:
Which of the following rules must you follow when creating subscreens?
There are 2 correct answers to this question.
Response:
Subscreens CANNOT have an AT EXIT-COMMAND module.
Subscreens can call other subscreens.
Subscreens CANNOT have a field of type OK.
Subscreens can have a dialog module containing SET PF-STATUS.
Score 1 of 1
Question:
You Created the following ABAP Code:
DATA x TYPE REF TO DATA
DATA y TYPE REF TO OBJECT
ASSIGN x TO <fs>
ASSIGN y TO <fs>
You want to add a declaration of <fs> to the Code.
Which of the Following Declarations are Valid?
There are 2 correct answers to this question.
Response:
FIELD-SYMBOLS TYPE REF TO DATA
FIELD-SYMBOLS <fs> TYPE REF TO ANY
FIELD-SYMBOLS <fs>
FIELD-SYMBOLS <fs> TYPE ANY
Score 1 of 1
Question:
Which of the following predefined ABAP types is incomplete?
Please choose the correct answer.
Response:
XSTRING
F
STRING
P
Score 0 of 1
Question:
When does the lifetime of a component controller begin and end?
Please choose the correct answer.
Response:
It ends the first time the Web Dynpro application is called at runtime and ends
the Web Dynpro application that called and instantiated the component ends.
It begins with the Web Dynpro component and ends with the Web Dynpro appl
that called it.
It begins the first time the Web Dynpro application is called at runtime and end
when the Web Dynpro application that called and instantiated the component
It lasts from creating data within the controller to cover the whole period durin
which the component is in use.
Score 0 of 1
Question:
Identify the ways to map context structures.
There are 2 correct answers to this question.
Response:
External context mapping
Static context mapping
Direct context mapping
Dynamic context mapping
Score 1 of 1
Question:
The Internet Communication Manager (ICM)…
Please choose the correct answer.
Response:
Can not replaced SAP ITS.
Replaced SAP ITS.
Allows the ABAP stack and the Java stack to exchange data.
Allows SAP NetWeaver Application Server to process HTTP requests.
Score 1 of 1
Question:
ABAP is a programming language that…
There are 4 correct answers to this question.
Response:
Executes on all three levels of the three-tier architecture.
Processes and formats data.
Interacts with the user.
Separates program code from language text.
Controls the business logic.
Score 1 of 1
Question:
How do you program an input validation on a selection screen that allows users to
correct their input?
Please choose the correct answer.
Response:
Implement the check at the event END-OF-SELECTION. In case of an input erro
type E MESSAGE must be displayed.
Implement the check at the event AT SELECTION-SCREEN. In case of an input e
type A MESSAGE must be displayed.
Implement the check at the event AT SELECTION-SCREEN OUTPUT. In case of a
error, a type E MESSAGE must be displayed.
Implement a check at the event AT SELECTION-SCREEN. In case of an input err
type E
MESSAGE must be displayed.
Score 0 of 1
Question:
Which of the following statements about the Object Navigator are true?
There are 4 correct answers to this question.
Response:
You can create customer projects (Transaction CMOD) in the Object Navigator.
Menus can be displayed and edited in the Object Navigator.
You can create BAdI implementations in the Object Navigator.
The ABAP Dictionary can be maintained in the Object Navigator.
Screens can be displayed and edited in the Object Navigator.
ABAP programs can be displayed and edited in the Object Navigator.
Score 0 of 1
Question:
Which of the following function types in a GUI status are reserved for internal
use?
There are 2 correct answers to this question.
Response:
H-HELP REQUEST
E-EXIT
S- SYSTEM
T-TRANSACTION
Score 1 of 1
Question:
You have 2 objects: O1 of type class C1 and O2 of type class C2.
Class C2 is a subclass of class C1. Which of the following statements implements
an up cast?
Please choose the correct answer.
Response:
O2 ?= O1.
MOVE O1 ?TO O2.
O1 = O2.
MOVE O1 TO O2.
Score 0 of 1
Question:
In the CALL CUSTOMER-FUNCTION 'nnn' statement, nnn is a three-digit
number used in SAP programs for which of the following types of enhancement?
Please choose the correct answer.
Response:
Customer exits
User exits
Business add-ins
New BAdIs
Score 0 of 1
Question:
Which of the following controller types can exist only once in a Web Dynpro
component?
There are 2 correct answers to this question.
Response:
Component controller
Window controller
View controller
Configuration controller
Score 1 of 1
Question:
Which of the following must you do to be able to use a Business Add-in(BADI)?
There are 2 correct answers to this question
Response:
Modify the adapter class
Activate the enhancement project
Write code for methods
Create the BADI implementation
Score 1 of 1
Question:
Which of the following generic types can you use to define a field symbol that will
be assigned to a character string?
There are 3 correct answers to this question
Note: Answers of this question are not verified by our experts, please study yourself and
select the appropriate answers.
Response:
Type any
Type any table
Type csequence
Type clike
Type xsequence
Score 1 of 1
Question:
What does SAP recommend that you use a hashed table?
Please choose the correct answer.
Response:
When a table must be accessible by both index and key
When a table is very large and you want to access the table by index only.
When a table must be sorted automatically by key in ascending order
When a table is very large and you want to access the table by key only
Score 1 of 1
Question:
What is the SAP recommended naming convention for append structures of
standard SAPtables?
Please choose the correct answer.
Response:
The name of the append structure must start with ZA.
The components of an append structure should start with ZZ or YY.
The name of the append structure must start with ZZ or YY.
The components of an append structure should start with Z or Y.
Score 0 of 1
Question:
You want to create a transparent table.
Which of the following must you define to activate the table?
There are 3 correct answers to this question.
Response:
A delivery class
The foreign key
The primary key
The MANDT field
A short description
Score 1 of 1
Question:
When must a foreign key have domain equality?
Please choose the correct answer.
Response:
For a text table
Always
For a check field
Never
Score 1 of 1
Question:
In which sequence are the following ABAP Events triggered?
Please choose the correct answer.
Response:
1. AT SELECTION-SCREEN
2. INITIALIZATION
3. START-OF-SELECTION
1. START-OF-SELECTION
2. AT SELECTION-SCREEN
3. INITIALIZATION
1. INITIALIZATION
2. AT SELECTION-SCREEN
3. START-OF-SELECTION
1. INITIALIZATION
2. START-OF-SELECTION
3. AT SELECTION-SCREEN
Score 1 of 1
Question:
Which of the following is a true statement?
There are 3 correct answers to this question.
Response:
All customer repository objects have to be assigned to a package.
The transport layer is a mandatory input field for the package.
Packages use interfaces and visibility to make their elements visible to other
packages.
A package can be nested.
Score 0 of 1
Question:
Where can you define data types that can be accessed directly by all ABAp
repository objects in an SAP system?
There are 2 correct answers to this question
Response:
In a function module
In the ABAP dictionary
In a method
In a global class
Score 0 of 1
Question:
When included in a structure, which elementary field types allow the structure to
be considered a character-type data object?
There are 4 correct answers to this question.
Response:
X
D
N
F
T
C
I
STRING
XSTRING
Score 1 of 1
Question:
What is unique about a singleton?
There are 2 correct answers to this question.
Response:
It must be instantiated using a static protected constructor.
must be instantiated using a static private constructor.
It must be defined as FINAL.
It must be instantiated using a public instance constructor.
It must be instantiated using a static public constructor.
It must be instantiated using a private instance constructor.
It must be instantiated using a protected instance constructor.
It cannot be defined as FINAL.
Score 0 of 1
Question:
Which of the following is a true statement?
There are 2 correct answers to this question.
Response:
A standard table should always have a multiple key.
A sorted table can have a unique or a non-unique key.
A hashed table should always have a unique table key.
A standard table should always have a unique key.
Score 0 of 1
Question:
Which of the following statements are correct?
There are 3 correct answers to this question.
Response:
An enhancement spot can contain an explicit enhancement point, explicit
enhancement section, and new BAdI.
An enhancement spot can contain one or more simple or composite enhancem
An enhancement spot can contain an explicit enhancement point and an
enhancement section.
An enhancement spot can contain either an explicit enhancement point and
enhancement section or a new BAdI only, but all three cannot be in the same
enhancement spot.
Score 0 of 1
Question:
What must before you can create a new transportable function modules?
There are 3 correct answers to this question
Response:
Transport request
Package
Function group
Exception class
Module pool
Score 0 of 1
Question:
When would you call the RFC function module synchronously?
There are 2 correct answers to this question.
Response:
During queue processing
During two-way communication
During interactive communication
During unidirectional communication
Score 1 of 1
Question:
When is a foreign key check performed on an input/output field?
Please choose the correct answer.
Response:
If the field refers to the dictionary field for which a append search is defined
If the field refers to the dictionary field for which a check table is defined
If the field refers to the dictionary field for which a value help is defined
If the field refers to the dictionary field for which a search is defined
Score 1 of 1
Question:
What is variable-length structure called?
Please choose the correct answer.
Response:
Flat structure
Link structure
Nested link structure
Nested structure
Score 0 of 1
Question:
Which view types can you use to join two tables with an outer join?
There are 2 correct answers to this question.
Response:
Projection view
Help view
Maintenance view
Database view
Score 1 of 1
Question:
How would you find out if an application program offers a program exit?
Please select all the correct answers that apply.
Response:
Use the Application Hierarchy
Use the Repository Information System
Search for the character string CUSTOMER-FUNCTION
Look for a customer exit in the SAP reference IMG within an application area
Score 1 of 1
Question:
A work process…
Please choose the correct answer.
Response:
Becomes active while waiting for a user.
Uses a common memory area called shared memory.
Stays linked toa screen through the dispatcher.
Becomes inactive while waiting for a user.
Score 0 of 1
Question:
You are using the new debugger and you want to change the content of an
internal table.
Which actions are allowed?
There are 3 correct answers to this question.
Response:
Delete the selected rows.
Delete table from memory.
Change row content and press Save (<CTRL> + S).
Delete the entire contents of a table.
Change row content and press Enter (<ENTER>).
Score 1 of 1
Question:
Which of the following conditions must be fulfilled when using a GROUP BY clause
in a SELECT statement?
There are 2 correct answers to this question.
Response:
The fields after GROUP BY must have a character type.
All fields in the SELECT clause that are not part of an aggregate function must
listed after GROUP BY.
The table in the FROM clause must be a transparent table.
The SELECT statement must also have a WHERE clause.
Score 1 of 1
Question:
Under which circumstances will the classic Debugger start as the Debugger?
There are 2 correct answers to this question.
Response:
When the number of debugging sessions exceeds half the number of dialog se
When five modes already exist for this logon session.
None; the new Debugger will always start as the Debugger.
If you manually switched to the classic Debugger during your last session.
When you specify the default as the classic Debugger in the settings of the Ob
Navigator.
Score 1 of 1
Question:
Which of the following transactions are integrated in the ABAP workbench tools?
There are 2 correct answers to this question.
Response:
ABAP editor (SE38)
Process overview (SM50)
Overview of job selection (SM37)
Class builder (SE24)
Score 1 of 1
Question:
You create a domain in the ABAP dictionary
How can you use this domain?
Please choose the correct answer.
Response:
As the data type of a data element in the ABAP Dictionary
As the data type of an input field on a dialog screen
As the data type of a variable in an ABAP program
As the data type of a selection screen field
Score 1 of 1
Question:
You want to develop a program that processes character type data. When you
implement the program, you can either use the classical string statements or the
newer strings expressions and functions
What are the main benefits of using string expressions and string functions?
There are 2 correct answers to this question
Response:
You can improve the performance significantly
You can write compact syntax instead of a long sequence of statements
You can write code that is very easy to read and understand
You can reduce the number of intermediate variables
Download