Top 350+ Solved Web Technology MCQ Questions Answer
Q. Which syntax is used to describe elements in CSS?
a. Protectors
b. Selectors
c. Both a and b
d. None of the above
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
Q. What PHP stands for?
a. Hypertext Preprocessor
b. Pre Hypertext Processor
c. Pre Hyper Processor
d. Pre Hypertext Process
Q. Which of the following tags is not a valid way to begin and end a PHP code block?
a. <% %>
b. <? ?>
c. <! !>
d. <? php ?>
Q. Variables always start with a ........ in PHP
a. Pond-sign
b. Yen-sign
c. Dollar-sign
d. Euro-sign
Q. What function computes the difference of arrays?
a. array_diff
b. diff_array
c. arrays_diff
d. diff_arrays
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
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()
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
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
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