[go: up one dir, main page]

0% found this document useful (0 votes)
30 views57 pages

MCQ2 - Sample 4

Accenture mcq2
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views57 pages

MCQ2 - Sample 4

Accenture mcq2
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 57

Which is not a feature of ABAP OOPS?

a) Encapsulation
b) Polymorphism
c) Abstraction
d) Enumeration
e) Inheritance

Answer : d
What provides a sketch or a blueprint for all instances created from it?

a) Method
b) Class
c) Reference object
d) Both a and b
e) Both b and c

Answer : b
What is true about a class? ( 2 answers are correct)

a) It is possible to define a class inside another class


b) It is not possible to define a class inside another class
c) Local auxiliary classes for global classes can be defined
d) Local auxiliary classes for global classes cannot be defined

Answer : b, c
CLASS lcl_company IMPLEMENTATION.
ENDCLASS.
What is the above part of class used for?

a) Define the attributes of class


b) Define methods of class
c) Implement methods of class
d) All of above
e) None of above

Answer : c
TYPE REF TO is used for?

a) Declare instance of class


b) Declare reference object of class
c) Create object
d) None of above

Answer : b
This attributes usually contain information that applies to all instances. Data that is the
same in all instances.

a) Instance
b) static
c) Both
d) None of above

Answer : b
This attributes Can only be viewed only within the class and no Direct Access from outside of the class

a) Private
b) Public
c) Protected
d) None of above

Answer : a
Which component selector can be used for accessing instance attributes of class?

a) ->
b) =>
c) ::
d) <->

Answer : a
What can access all attributes in their class and can therefore change the state of an
object?

a) Method
b) Instance
c) Variables
d) All
e) None

Answer : a
When object (instance) is created in memory, this is the first method that is
executed automatically by the runtime environment.

a) Instance methods
b) Static methods
c) Constructor
d) Functional method

Answer : c
What are not possible in constructor method?(2 Ans)

a) IMPORTING
b) EXPORTING
c) RETURNING
d) EXCEPTIONS

Answer : b,c
Where is global exception class created?

a) SE24
b) SE38
c) SE37
d) SE41

Answer : a
Which is the parent class from which all the exception classes are inherited?

a) CX_ROOT
b) CX_BASE
c) CX_PARENT
d) CX_EXCEPTION

Answer : a
Class LCL_TREE is parent class and LCL_MANGO and LCL_APPLE are inherited from
LCL_TREE. In main program its not possible to instantiate LCL_TREE, however its
possible to instantiate LCL_MANGO and LCL_APPLE.
What can be the reason LCL_TREE can’t do the same?

a) LCL_TREE is private class


b) LCL_TREE is abstract class
c) LCL_TREE is exception class
d) None of above

Answer : b
Class LCL_TREE is abstract class where it have two methods BRANCH (abstract
method) and LEAF (instance method).
LCL_MANGO and LCL_APPLE are inherited from LCL_TREE.
Where should be LEAF be implemented?

a) Either LCL_MANGO or LCL_APPLE


b) LCL_TREE
c) LCL_MANGO and LCL_APPLE
d) LCL_MANGO or LCL_APPLE or LCL_TREE

Answer : b
Class LCL_TREE is class where it have two instance methods BRANCH and LEAF.
LCL_MANGO and LCL_APPLE are inherited from LCL_TREE.
Where should be LEAF be implemented?

a) Either LCL_MANGO or LCL_APPLE


b) LCL_TREE
c) LCL_MANGO and LCL_APPLE
d) LCL_MANGO or LCL_APPLE or LCL_TREE

Answer : b
Class LCL_TREE is class where it have two instance methods BRANCH and LEAF.
LCL_MANGO and LCL_APPLE are inherited from LCL_TREE.
The method LEAF is defined in PUBLIC SECTION and have one importing parameter
COLOR.
In LCL_MANGO, the method LEAF must be redefined. What is true about
redefinition?

a) Another importing parameter TEXTURE can be added while redefinition


b) No new importing parameters can be added while redefinition
c) Method name LEAF can be renamed to APPLE_LEAF
d) It is not possible to redefine method LEAF in child classes

Answer : b
What contains only method definition and a class inheriting should implement
them?

a) ABSTRACT class
b) INTERFACE
c) both
d) None

Answer : b
What needs to be done for Including an ALV Grid Control Instance in a dialog
program?

a) SAP Grid Control


b) Custom container control
c) both
d) None

Answer : c
How to Trigger the created event in a method of the same class?

a) EVENTS / CLASS-EVENTS eventname


b) RAISE EVENT eventname
c) [CLASS-]METHODS…FOR EVENT…OF
d) SET HANDLER

Answer : b
Changes in SAP standard objects using SNOTES are always saved under which
task?

a) Development
b) Repair
c) unclassified
d) Workbench
e) customizing

Answer : a
How can transport request be created?

a) During program creation, when TR is asked


b) Through SE09
c) Through SE01
d) All above
e) None of above

Answer : d
Program ZLOADTEST is saved in TR LSH234. It is released after completion. There
is a defect raised for the same. Developer changed the program.
Where can it be saved?

a) TR LSH234
b) A new TR must be created
c) Either a or b
d) Its not possible to change the program once released
e) None of above

Answer : b
What among below can maps profiles specified in the user master record to decide if
the user has enough authorizations.

a) AUTHORITY-MAP
b) CHECK-AUTHORITY
c) AUTHORIZATION-CHECK
d) AUTHORITY-CHECK

Answer : D
Among below options, what generally users have restricted/no authorizations access
in production system? ( 3 ans)

a) Changing source code


b) debugging with replace
c) transport request creation
d) Opening t-codes which are non-critical

Answer : a,b,c
One of the SAP transactions is giving dump with unknown errors. How to deal with it?

a) Debug the transaction, find the issue and modify the source code
b) Check if SAP note is available, download and apply
c) Nothing can do since it is standard transaction
d) All above will work
e) None will work

Answer : b
Developer has completed the program ZUPDATE. What must he/she do next to
improve code quality? ( 2 ans)

a) Examine source code using ACRTS tool


b) Send code for peer review
c) Release the code to quality system
d) Nothing his/her job is done

Answer : a,b
In Accenture delivery suite, what helps in instilling more discipline, providing for
reduced risks and more reliability in delivery?

a) Standard tools and architectures


b) Multliple workforces
c) Delivery centres
d) Productivity

Answer : a
Expand LTMC
a) Legacy transport migration cockpit
b) Legacy transfer migration cockpit
c) Legal transfer migration cockpit
d) Legacy transaction migration cockpit

Answer : b
Tool that supports moving data from SAP and
Non-SAP to S/4 Hana
(a) LTMON
(b) LTMC
(c) LTMOM
(d) LTMD

Answer : b
What is the new front end technology of SAP?
(a) SAP UI5
(b) SAP Webdynpro
(c) LTMC
(d) LTMOM

Answer : b
SAP has developed Fiori apps based on? 2
right options
(a) SAP UI5
(b) Odata service
(c) Webdynpro
(d) ABAP

Answer : a, b
What are the two Fiori application types?
(a) Transactional
(b) Odata
(c) Factsheet
(d) UI5

Answer : a,c
Central hub and embedded hub are part of
which architecture?
(a) LTMC
(b) Odata
(c) Fiori
(d) UI5

Answer : c
This leverage REST services and Odata/ATOM
protocols
(a) LTMC
(b) Odata
(c) Fiori
(d) SAP netweaver gateway

Answer : d
What are the two formats Odata supports?
(a) HTML format
(b) XML based atom format
(c) JSON format
(d) ABAP format

Answer : b,c
What are the two formats Odata supports?
(a) HTML format
(b) XML based atom format
(c) JSON format
(d) ABAP format

Answer : b,c
Which among the following comes under
programming standards?
(a) Naming conventions
(b) Hard coding
(c) Sort
(d) Authorization

Answer : a
What is not a transport request type?
(a) Workbench
(b) Customizing
(c) Transport of copies
(d) Relocation
(e) Configuration

Answer : e
In migration, why data cleansing is required?

a) To avoid runtime errors while running program


b) To transfer fast
c) To dividing huge amount of data into small chunks
d) To improve data quality by eliminating redundant or obsolete
information

Answer : d
What is the method of SAP business object?

a) Standard batch/direct input


b) Batch input recording
c) BAPI
d) Idoc
e) Function module

Answer : c
What always return success/error messages in RETURN
tables?

a) Standard batch/direct input


b) Batch input recording
c) BAPI
d) Idoc
e) Function module

Answer : c
What permits us to add/modify SAP’s standard business
applications without modifying original applications.

a) R/3 enhancement concept


b) Batch input recording
c) BAPI
d) Idoc

Answer : a
Which is not an enhancement concept in ABAP?

a. User Exits
b. Customer Exits
c. BADI
d. BAPI
e. Enhancement framework

Answer : d
CALL CUSTOMER-FUNCTION '003'
exporting a. Call to function module 003
xvbak = vbak b. Call to function module of implemented exit
xvbuk = vbuk c. Call to function module customer 003
d. It is a wrong statement
xkomk = tkomk
importing
lvf_subrc = lvf_subrc
tables
xvbfa = xvbfa
xvbap = xvbap
xvbup = xvbup.

By seeing above statement, what is


understood?
Answer : b
They are more flexible as you have more data for using in your
code but on the other hand, it is quite easy to manipulate
global data erroneously which can lead the standard program
to abend or to database inconsistency.

What is it talking about?


a. User Exits
b. Customer Exits
c. BADI
d. Enhancement framework

Answer : a
Access key is required for this enhancement technique.

a. User Exits
b. Customer Exits
c. BADI
d. Enhancement framework

Answer : a
Which enhancement technique is based on OOPS
concepts?

a. User Exits
b. Customer Exits
c. BADI
d. Enhancement framework

Answer : c
To find BADI, which class and method can be used in
debugging?

a. Class CL_EXIT, method GET_INSTANCE


b. Class CL_EXITHANDLER, method GET_INSTANCE
c. Class GET_INSTANCE, Method CL_EXITHANDLER
d. Class CL_GET_BADI, method GET_INSTANCE

Answer : b
Which enhancement technique is available in all
programs, function modules and so on.

a. User Exits
b. Customer Exits
c. BADI
d. Implicit enhancement point

Answer : d
Which is not a code pushdown technique?

a. Advanced SQL with additional operations


b. CDS
c. AMDP
d. Modelling views
e. BAPI

Answer : e
In AMDP method, parameters are passed by

a) Value
b) Reference
c) Both
d) None

Answer : a
In AMDP method

a) Only SQLScript code is allowed


b) Any code is allowed
c) Only SQLscript and internal table allowed
d) None

Answer : a
AMDP can be implemented in

a) T-code SE24
b) Eclipse
c) Hana studio
d) T-code SE11

Answer : b,c
What is SCM in terms of software assets?
a. Supplier Chain Management
b. Software Configuration Management
c. Software Chain Management
d. Software Code Management

Answer : b
Jenkins is
a. Code analysis tool
b. Cloud
c. CI/CD tool
d. Automation tool

Answer : c
Any changes in Custom developed ( or workbench) objects are saved under?

a) Workbench request
b) Custom request
c) Customizing request
d) Both a & b

Answer : a

You might also like