Tag: programming languages

Questions Related to programming languages

  1. Only Toolbar control

  2. ImageList and Toolbar control

  3. Both 1 and 2

  4. All the above


Correct Option: B
Explanation:

To create a toolbar, two controls are needed: an ImageList control and a Toolbar control.

Option A is incorrect because only a Toolbar control is not sufficient to create a toolbar.

Option B is correct because it accurately identifies the two controls needed to create a toolbar. An ImageList control is used to store the images that will be displayed on the toolbar buttons. A Toolbar control is used to create the actual toolbar, and it references the images in the ImageList control for the button icons.

Option C is incorrect because it is not a valid option.

Option D is incorrect because it includes option A which is incorrect.

Therefore, the correct answer is: B. ImageList and Toolbar control.

  1. SELECT * FROM Persons WHERE FirstName='%a%'

  2. SELECT * FROmPersons WHERE FirstName LIKE '%a'

  3. SELECT * FROM Persons WHERE FirstName='a'

  4. SELECT * FROM Persons WHERE FirstName LIKE 'a%'


Correct Option: D
  1. SELECT UNIQUE

  2. SELECT DIFFERENT

  3. SELECT DISTINCT

  4. None of the above


Correct Option: C
  1. SELECT COUNT() FROM Persons

  2. SELECT COLUMNS() FROM Persons

  3. SELECT COLUMNS(*) FROM Persons

  4. SELECT COUNT(*) FROM Persons


Correct Option: D