0
Alien head

programming languages Online Quiz - 130

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

Which of the following method sends input to a script via a URL?

  1. Get

  2. Post

  3. Both

  4. None


Correct Option: A

mysql_connect( ) does not take following parameter

  1. password

  2. user ID

  3. database name

  4. database host


Correct Option: C

PHP is a widely used ……………. scripting language that is especially suited for web development and can be embedded into html

  1. Open source general purpose

  2. Proprietary general purpose

  3. Open source special purpose

  4. Proprietary special purpose


Correct Option: A

this keyword can't be assigned null value

  1. True

  2. False


Correct Option: A

There is only one way to create threads i.e. Implement the Runnable interface

  1. True

  2. False


Correct Option: B

An object becomes eligible for Garbage Collection when there are very few threads that can access it.

  1. True

  2. False


Correct Option: B

Immutable objects are automatically thread-safe.

  1. True

  2. False


Correct Option: A

IOException is a type of checked exception.

  1. True

  2. False


Correct Option: A

HashMap permits null values and only one null key.

  1. True

  2. False


Correct Option: A

ArrayList is thread-safe whereas Vector is not thread-safe.

  1. True

  2. False


Correct Option: B

After a DESCRIBE TABLE statement SY-TFILL will contain

  1. The number of rows in the internal table

  2. The current OCCURS value

  3. Zero, if the table contains one or more rows

  4. The length of the internal table row structure


Correct Option: A

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

  1. a&b

  2. a&c

  3. b&c

  4. b&d


Correct Option: B

PERFORM subroutine USING var. The var field is known as what type of parameter?

  1. Formal

  2. Actual

  3. Static

  4. Value


Correct Option: B

The AT USER-COMMAND event is triggered by functions defined in the ____.

  1. Screen painter

  2. ABAP report

  3. Menu painter status

  4. ABAP Dictionary


Correct Option: C

Which of the following is not a component of control break processing when looping at an internal table?

  1. AT START OF

  2. AT FIRST

  3. AT LAST

  4. AT NEW


Correct Option: A

What happens if message E046 is raised? At Selection-Screen on sales. If sales-low < 500. Message E046. Endif.

  1. The initialization event is fired again

  2. Field Sales is open for input and all other fields are not available for input

  3. All fields are open for input and cursor is positioned on field sales

  4. The program ends


Correct Option: B

n regard to SET PF-STATUS, you can deactivate unwanted function codes by using ____.

  1. EXCLUDING

  2. IMMEDIATELY

  3. WITHOUT

  4. HIDE


Correct Option: A

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.

  1. Contains no rows

  2. Contains at least one row

  3. Has a header line

  4. Has an empty header line


Correct Option: B

The complete technical definition of a table field is determined by the field's:

  1. Domain

  2. Field name

  3. Data type

  4. Data element


Correct Option: A

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?

  1. AT USER-COMMAND

  2. AT PFn

  3. AT SELECTION-SCREEN

  4. END-OF-SELECTION


Correct Option: A
+ View questions