Modularization MCQs
Modularization MCQs
11. which statement is used to call a sub routine generated in source code
a) perform(true)
b) pattern
c) execute
d) none
12. can you implement call geneartion by using pattern push button
a)yes(true)
b)no
13. control functions of ABAP debugger is
1.Execute
3.Pattern
3.Return
a)
b)
c)
d)
1,
3,
1,
2,
14.Which of
a)
b)
c)
d)
Ans: c
2,
4,
3,
3,
4.Continue
4
2
4
4
15.________ are used to exchange data between the program and the module?
a)global functions
b)local variables
c)global variables
d)Parameters
Ans:d
16.The total number of parameters in a modularization unit is referred to as____
_?
a)interface
b)signature
c)Both a & b
d)program
Ans :c
16.Modularization is used for__________??
a)to improve performance
b)to provide better overview of program and to encapsulate.
c)to make function available across the system
d)none
Ans:b
17.What is a subroutine?
a)a modularization unit within a program.
b)a modularization unit within a system
c)a modularization unit within a function
d)none
Ans:a
18.Variables defined in the main program are_______?
a)Locally visible
b)globally visible
c)not accessible
d)Both a & b.
Ans:b
19. _______ can be called from all function modules in the group.
a) subroutines
b) screens
c) both a and b.
d) neither a nor b option
ANS. c
20. Components of a function group is/are
a) Data objects
b) Screens
c) Subroutines
d) all of the above
ANS. d
21. What does Data objects are global in relation to the function group means?
a) they are visible to, and cannot be changed by function module within
the group
b) they are visible to, and can be changed by function module within the
group
c) they are invisible to, and can be changed by function module within t
he group
d) they are invisible to, and cannot be changed by function module withi
n the group
ANS. b
22. A function module is a procedure with a corresponding function that is store
d centrally in the _____ of the SAP system.
a) function library
b) function file
c) function object
d) function directory
ANS. a
23. Which of the following elements are contain by the interface of a function m
odule
a) Import parameter and export parameter
b) Changing parameter and Exceptions
c) both a and b
d)none of the above
ANS. c
24. When a program calls a function module :
c) True sometimes
d) Cant say
32.The system calls the methods using the CALL CLASS METHOD statement
a) TRUE
b) FALSE
Answer : b) False
33.When you identify a method as a static method, it can be called directly
without the need to generate an instance of the class first.\
a) TRUE
b) FALSE
Answer: a)True
34.Which of the following is correct selection to create a global class :
a) Create -> Class -> Class Library
b) Create -> Class Library -> Class
c) Class -> Class Library -> Create
d) Class Library -> Class -> Create
Answer: b)Create -> Class Library -> Class
35.To create a static method you need to write _________ in method list.
a) parameter type
b)class name
c)method name
d) b and c
Ans: c
36.To create a static method, all you need to do is enter its name in the Constr
uctor list.
a) TRUE
b)FALSE
Ans: b
37. While you are editing source code,you can display the signature method using
:
a) display pushbutton
b)method pushbutton
c)signature pushbutton
d)none of these
Ans: c
38. ______
a)
b)
C)
d)
Ans: d
39. How many times function group with global data objects
can be loaded to the program context for each main program
a)
b)
c)
d)
Twice
Once
Zero
As many times as we want