Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Q1: Which of the mentioned are valid PHP loops?

a for

b foreach

c do ... while

d beforeeach

e each

f while

Q2: What will be the effect of the query SELECT c.*,e.* FROM clients c INNER JOIN
employees e ON c.emp_no = e.emp_no;?

a None

b return all the records from the clients table and only those that match the emp_no
from the employees table

c None

d return all the records from the employees table and only those that match the
emp_no from the clients table

e The query will generate an error

f return only records that have matching emp_no values in both tables

Q3: If you insert (00) as the value of the year in a date column, what will be stored in the
database??

a 1900

b 0000

c Cannot be determined

d None

e 2000

f None
Q4: How do we escape data before storing it in the database??

a None

b None

c None

d The addslashes function enables us to escape data before storage into the
database.

e The addstring function enables us to escape data before storage into the database.

f None

Q5: Which one is true for Minikube??

a None of the above

b Minikube multi-node cluster

c Minikube is a GUI for Kubernetes

The correct Answer is: None

e Minikube is an all-in-One Kubernetes cluster on our workstation

The correct Answer is: None

Q6: Which file is the single most important file in Wordpress??

a header.php

b None

c None

d page.php

e wp-setting.php

f wp-config.php

You might also like