You are on page 1of 5

Q1: How can we add comments in PHP??

a None

b // commented code to end of line

c # commented code to end of line

d None

e /* commented code here */

f all of the above

Q2: If the variable $var1 is set to 10 and the $var2 is set to the character var1, what's the
value of $$var2??

a $$var2 contains the value 1.

b $$var2 contains the value 10.

c None

d None

e $$var2 contains the value 5

f $$var2 contains the value 20

Q3: Choose the correct usage of ‘cd’ to move into the parent directory.?

a cd ..

b cd .

c cd/

d cd..

e cd

f None of the above


Q4: What will be the effect of inserting 500 rows in a table with the following definition.
CREATE TABLE `categories` ( `category_id` tinyint(3) AUTO_INCREMENT, `category_name`
varchar(150) DEFAULT NULL, `remarks` varchar(500) DEFAULT NULL, PRIMARY KEY?

a 500 rows will be inserted into the table

b None

c only 100 rows will be inserted

d None

e a table with the above definition is not possible

f half the records will be inserted then an error will be generated

Q5: Which tag allows you to add a row in a table??

a <cr> and </cr>

b None

c <td> and </td>

d <th> and </th>

e <tr> and </tr>

f None

Q6: Is it possible to destroy a cookie??

a None

b False

c None

d None

e True

f None

Q7: Following Docker command: docker exec -it container_id bash is used to:?
a Activate default VM machine

b None

c Build an image

d Commit changes done in a Docker image

e None

f Access a running container

Q8: How can you create a static page with WordPress??

a To create a static page in WordPress, in the page section you have to upload a
PERL file to the server in the theme folder, and then select that as your template.

b To create a static page in WordPress, in the page section you have to upload a
HTML file to the server in the theme folder, and then select that as your template.

c To create a static page in WordPress, in the page section you have to upload a PHP
file to the server in the theme folder, and then select that as your template.

d None

e None

f None

Q9: What is a Binary file?

a Regular file

b System file

c Executable file

d Directory

e None

f None of the above

Q10: What is the mission of the control plane in Kubernetes??


a It makes sure that the actual state of system objects match the desired state.

The correct Answer is: None

c To manage clusters of pods

The correct Answer is: None

e To control nodes

f To move workloads from one host to another

Q11: Which of the answers listed below refers to a command used for invoking a text editor
in Unix-like operating systems??

a edit

b vi

c None

d bcdedit

e None

f notepad

Q12: Which of the following function sorts an array in reverse order??

The correct Answer is: None

b reset()

c sort()

The correct Answer is: None

e shuffle()

f rsort()

Q13: Why is wordpress.com considered more secure than wordpress.org??

a None
b None

c because they limit the themes and also does not allow installing plugins.

d because they limit the site proxy settings

e because it is SSL encrypted

f None

Q14: A virtual filesystem created dynamically by Linux that contains information about
system resources is:?

a None

b /proc

c /system

d /boot

e /mkdir

f None

Q15: Which of the following is not a SQL operator??

a Not in

b Between .. and ..

c Like

d Is null

e In

f All of the above are valid SQL operators

You might also like