Computer Science, asked by Fernandosea, 5 months ago

1. PHP stands for________.

a) Personal Home Page b) Hypertext Preprocessor

c) Pretext Hypertext Processor d) Processor Home Page

2. To run PHP script ________ is installed.

a) Windows b) Adobe c) Apache d) iOS

3. The _________ is used for comments.

a) // b) # c) /* */ d) all of these

4. ________is the symbol for new line character.

a) \n b) \r c) \c d) \t

5. In PHP Indexed array begin with position_________.

a) 0 b) 1 c) -1 d) 2

6. There are _______ types of functions.

a) 1 b) 2 c) 3 d) 4

7. What will be the output?

<?php

$x = 0;

if($x++)

print “hai”;

else

print “ hello”; ?>

a) hai b) hello c) hai hello d) hello hai

8. The ________ is an alternative for multiple if else statement.

a) loop b) switch c) default d) case

9. Loops that iterate for fixed number of times is called as ______.

a)Infinite loop b)Iterative loop c)Bounded loop d) all of these

10.The number of parameters in for loop is_____.

a) 1 b) 2 c) 3 d) 4

11. How many times the loop is executed? for($i=0;$i<=10;$i++)

a) 5 b) 6 c) 10 d) 11
12. The number of parameters in fclose( ) is _______.

a) 2 b) 3 c) 4 d) 1

13. PHP is a _______ programming language.

a) client side b) script side c) file side d) object side

14. The number of parameters in Mysqli_close function is______.

a) 1 b) 2 c) 3 d) 4

15. The ________ organised collection of data.

a) query b) field c) record d) database​

Answers

Answered by shouryapratap87
1

Answer:

1. (a)option personal home page

Similar questions