0% found this document useful (0 votes)
41 views5 pages

5 Practice For SHGC

This document contains 13 multiple choice questions about programming topics like Docker, PHP, WordPress, and arrays. Each question is followed by multiple choice answers, with some answers labeled "None."

Uploaded by

David Lei
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views5 pages

5 Practice For SHGC

This document contains 13 multiple choice questions about programming topics like Docker, PHP, WordPress, and arrays. Each question is followed by multiple choice answers, with some answers labeled "None."

Uploaded by

David Lei
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Q1: Which of the following input control represents a date and time (year, month, day, hour,

minute, second, fractions of a second) encoded according to ISO 8601 with the time zone set
to UTC in Web Form 2.0??

a None

b datetime

c datetime-local

d month

e None

f date

Q2: Which command can be used to change file access permission bits??

The correct Answer is: None

The correct Answer is: None

c chown

d umask

e chmod

f chperm

Q3: Is there a hard limit for the number of containers that you can run and if there is which
is number of total containers that you can run??

a None

b Even though there is no limit of containers that can run on Docker, hardware
limitations come into the picture.

c2

d5

e None

f None
Q4: Which of the functions is used to sort an array in descending order??

a asort()

b sort()

c None

d rsort()

e None

f dsort()

Q5: What will the following code return: Boolean(10 > 9)?

a None

b true

c None

d false

e None

f NaN

Q6: Which of the following provides content type of the uploaded file in PHP??

a None

b None

c $_FILES['file']['type']

d $_FILES['file']['size']

e $_FILES['file']['name']

f $_FILES['file']['tmp_name']

Q7: Did Docker pioneer container technology??


The correct Answer is: None

The correct Answer is: None

c False

The correct Answer is: None

The correct Answer is: None

f True

Q8: Which of the following is a cloud-hosted service from Docker that provides registry
capabilities for public and private content.?

a Docker Cloud

b Docker Hub

c None

d Docker Swarm

e None

f Docker Compose

Q9: Which of the following method of Exception class retrieve the error message when
error occurred??

a getCode()

b getError()

c getMessage()

The correct Answer is: None

e getFile()

f getLine()

Q10: What are the disadvantages of WordPress??

a Modifying images and tables is difficult.


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

c Only utilizes PHP

d None

e None

f All of the mentioned.

Q11: What is the difference between Wordpress Posts and Wordpress Pages??

a There is absolutely no difference between Posts and Pages.

b None of the above.

c Posts are entries listed in reverse chronological order on the site homepage and
Pages are static and are not listed by date.

d None

e None

f Pages are entries listed in reverse chronological order on the site homepage and
Posts are static and are not listed by date.

Q12: PHP is a ________________________?

a Client typed language

b None

c Loosely typed language

d Tightly typed language

e Server typed language

f None

Q13: How are objects in PHP passed by??

a None

b Objects are passed by reference.


c Neither of the mentioned

d None

e None

f Objects are passed by value.

You might also like