Top 350+ Solved Web Technology MCQ Questions Answer

From 316 to 330 of 417

Q. Which syntax is used to describe elements in CSS?

a. Protectors

b. Selectors

c. Both a and b

d. None of the above

  • b. Selectors

Q. The C in CSS stands for

a. Continuous

b. Cascaded

c. Contentional

d. Cascading

  • d. Cascading

Q. When are the keyboard events fired?

a. When user manually calls the button

b. When user clicks a key

c. When the user calls the modifier

d. All of the above

  • a. When user manually calls the button

Q. What PHP stands for?

a. Hypertext Preprocessor

b. Pre Hypertext Processor

c. Pre Hyper Processor

d. Pre Hypertext Process

  • a. Hypertext Preprocessor

Q. Which of the following tags is not a valid way to begin and end a PHP code block?

a. <% %>

b. <? ?>

c. <! !>

d. <? php ?>

  • d. <? php ?>

Q. Variables always start with a ........ in PHP

a. Pond-sign

b. Yen-sign

c. Dollar-sign

d. Euro-sign

  • c. Dollar-sign

Q. What function computes the difference of arrays?

a. array_diff

b. diff_array

c. arrays_diff

d. diff_arrays

  • a. array_diff

Q. What functions count elements in an array?

a. Count

b. Size

c. Array_Count

d. Count_array

  • a. Count

Q. There are three different kind of arrays:

a. Numeric array, String array, Multidimensional array

b. Numeric array, Associative array, Dimensional array

c. Numeric array, Associative array, Multidimensional array

d. Const array, Associative array, Multidimensional array

  • c. Numeric array, Associative array, Multidimensional array

Q. Which array function checks if the specified key exists in the array

a. array_key_exist()

b. array_key_exists()

c. array_keys_exists()

d. arrays_key_exists()

  • b. array_key_exists()

Q. Which of the following DBMSs do not have a native PHP extension?

a. MySQL

b. IBM DB/2

c. Microsoft SQL Server

d. None of the above

  • d. None of the above

Q. In PHP in order to access MySQL database you will use:

a. mysqlconnect() function

b. mysql-connect() function

c. mysql_connect() function

d. sql_connect() function

  • c. mysql_connect() function

Q. PHP files have a default file extension of..

a. .html

b. .xml

c. .php

d. .ph

  • c. .php

Q. Which of the following is/are a PHP code editor?i) Notepadii) Notepad++iii) Adobe Dreamweaveriv) PDT

a. Only iv)

b. Only iii)

c. i), ii) and iii)

d. All of the above

  • b. Only iii)

Q. Which version of PHP introduced Try/catch Exception?

a. PHP 4

b. PHP 5

c. PHP 5.3

d. PHP 6

  • b. PHP 5
Subscribe Now

Get All Updates & News