You are on page 1of 3

Q1: What number is the first key of a PHP’s numerical array??

a -1

b None

c2

d1

e0

f None

Q2: What does the following command do? - $ chmod o-r note?

a Read permission for others is added

b None

c None

d Read permission for user is added

e Read permission for others is removed

f Read permission for user is removed

Q3: How to write an IF statement for executing some code if "i" is NOT equal to 5??

a None

b if (i != 5)

c if i =! 5 then

d None

e if (i <> 5)

f if i <> 5

Q4: Which of the following is available in MySQL:?


a CREATE VIEW

b CREATE SCHEMA

c None

d CREATE DATABASE

e CREATE TRIGGER

f None

Q5: What is the correct HTML for making a drop-down list??

a None

b <list>

c <select>

d <input type="list">

e <input type="dropdown">

f None

Q6: If we want to open a file for reading and writing which mode of the function fopen() are
we going to use:?

ax

b r+

The correct Answer is: None

d x+

e w+

fr

Q7: Which function gives us the number of affected entries by a MySQL query??

a None

b mysqli_num_rows() return the number of entries affected by an SQL query.


c None

d None

e mysqli_rows() return the number of entries affected by an SQL query.

f mysqli_affected_rows() return the number of entries affected by an SQL query.

Q8: What are the disadvantages of WordPress??

a Only utilizes PHP

b Use of multiple plugins can make the website heavy to load and slow

c Modifying images and tables is difficult.

d None

e None

f All of the mentioned.

You might also like