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

Q1: Which of the following is correct about constants vs variables in PHP??

The correct Answer is: None

The correct Answer is: None

c Both of the mentioned

d There is no need to write a dollar sign ($) before a constant, where as in Variable
one has to write a dollar sign.

e None of the mentioned

f Constants cannot be defined by simple assignment, they may only be defined using
the define() function.

Q2: How can the result set of Mysql be handled in PHP??

a None

b The result set can be handled using mysqli_get_array

c None

d None

e None

f The result set can be handled using mysqli_fetch_array, mysqli_fetch_assoc,


mysqli_fetch_object or mysqli_fetch_row.

Q3: Which of the following is not a services in Kubernetes??

The correct Answer is: None

b Load Balancer

c Node port

d Container Proxy

e External name

f Cluster IP
Q4: The problem that occurs when one transaction updates a database item and then the
transaction fails for some reason is ________.?

a None

b None of the above

c Dirty Read Problem

d Temporary Modify Problem

e None

f Temporary Select Problem

Q5: Which of the following function returns a text in title case from a variable??

a .ucword($var)

b ucwords($var)

c .upper($var)

d toupper($var)

e None

f None

Q6: Once you’ve worked with an image, how do you push it to docker hub??

a None

b None

c None

d $ docker --push <username image name>

e $ docker push <username image name>

f $ docker push <username/image name>

Q7: What is Minikube?


a A tool for running Kubernetes locally

b Specification of a Kubernetes API object in JSON or YAML format

c An abstraction used by Kubernetes to support multiple virtual clusters on the


same physical cluster

d None

e None

f A pod object that a kubelet uses to represent a static pod

Q8: Which operator can be used to throw a process into background??

a ||

b&

The correct Answer is: None

The correct Answer is: None

e &&

f|

Q9: MySQL supports user defined functions?

a True

b False

c None

d None

e None

f None

Q10: Containers running on a single machine all share the same operating system kernel, so
they start instantly and make more efficient use of RAM.?

a False
b None

c None

d True

e None

f None

Q11: Which licensing authority is responsible for WordPress??

a MIT license

b GWPL

c GPU

d None

e GPLv2 (GNU General Public License)

f None

Q12: What tag is used to display a picture in a HTML page??

a Picture

b None

c Src

d Img

e None

f Image

Q13: Is it possible to use COM component in PHP??

a None

b False

c None
d None

e True

f None

Q14: What are the three classes of errors that can occur in PHP??

a fatal errors

b notices

c None

d warnings

e All of the mentioned

f None

You might also like