PHP, Java, and ABAP Programming Quiz
Questions covering PHP web development, Java threading and collections, and ABAP programming fundamentals
Questions
Assuming a pushbutton with function code 'FUNC' is available in the toolbar of a list report, what event is processed when the button is clicked?
- AT USER-COMMAND
- AT PFn
- AT SELECTION-SCREEN
- END-OF-SELECTION
The complete technical definition of a table field is determined by the field's:
- Domain
- Field name
- Data type
- Data element
The ABAP statement below indicates that the program should continue with the next line of code if the internal table itab:CHECK NOT itab[] IS INITIAL.
- Contains no rows
- Contains at least one row
- Has a header line
- Has an empty header line
n regard to SET PF-STATUS, you can deactivate unwanted function codes by using ____.
- EXCLUDING
- IMMEDIATELY
- WITHOUT
- HIDE
What happens if message E046 is raised? At Selection-Screen on sales. If sales-low < 500. Message E046. Endif.
- The initialization event is fired again
- Field Sales is open for input and all other fields are not available for input
- All fields are open for input and cursor is positioned on field sales
- The program ends
Which of the following is not a component of control break processing when looping at an internal table?
- AT START OF
- AT FIRST
- AT LAST
- AT NEW
The AT USER-COMMAND event is triggered by functions defined in the ____.
- Screen painter
- ABAP report
- Menu painter status
- ABAP Dictionary
PERFORM subroutine USING var. The var field is known as what type of parameter?
- Formal
- Actual
- Static
- Value
What is true of passing by value and result in the following code? More than one answer is correct. Perform calculate_sales using amount. FORM calculate_sales changing value(f_amount) a) Formal Parameter f_amount is allocated it’s own memory space b) The address of the actual parameter is passed to the formal parameter c) Formal parameter is copied to memory space of actual parameter at the end of the form d) Formal parameter is not copied to memory space of actual parameter
- a&b
- a&c
- b&c
- b&d
After a DESCRIBE TABLE statement SY-TFILL will contain
- The number of rows in the internal table
- The current OCCURS value
- Zero, if the table contains one or more rows
- The length of the internal table row structure
ArrayList is thread-safe whereas Vector is not thread-safe.
- True
- False
HashMap permits null values and only one null key.
- True
- False
IOException is a type of checked exception.
- True
- False
Immutable objects are automatically thread-safe.
- True
- False
An object becomes eligible for Garbage Collection when there are very few threads that can access it.
- True
- False
There is only one way to create threads i.e. Implement the Runnable interface
- True
- False
this keyword can't be assigned null value
- True
- False
PHP is a widely used ……………. scripting language that is especially suited for web development and can be embedded into html
- Open source general purpose
- Proprietary general purpose
- Open source special purpose
- Proprietary special purpose
mysql_connect( ) does not take following parameter
- password
- user ID
- database name
- database host
Which of the following method sends input to a script via a URL?
- Get
- Post
- Both
- None