You are on page 1of 3

Q1: Which of the following is used to get information sent via get method in PHP??

a $_GET

The correct Answer is: None

The correct Answer is: None

d None of the above.

e $GET

f $GETREQUEST

Q2: The die() and exit() functions do the exact same thing.?

a None

b False

c True

d None

e None

f None

Q3: What will be the output of the following query. SELECT * FROM `sales` WHERE amount
> 200.?

a None

b the query will output sales records with the amount equal to 200.

c the query will display all the sales records with amounts less than 200

d the query will display all the sales records with amounts starting from 200 and
above

e the query will display all the sales records with amounts greater than 200

f None

Q4: Which functions can be used to get the image's properties (size, width, and height)??
a None

b The functions are getimagesizeof() for size, imagesxn() for width and imagesyn()
for height.

c The functions are getsizeimage() for size, imagesx() for width and imagesy() for
height.

d The functions are getimagesize() for size, imagesx() for width and imagesy() for
height.

e None

f None

Q5: Which of the following function opens a file??

a fread()

b None

c file_exist()

d filesize()

e None

f fopen()

Q6: Which of the following tags represents a section of the document intended for
navigation in HTML5??

a section

b dialog

c None

d footer

e None

f nav

Q7: Which artisan command would you use to create a new Laravel Migration??
a None

b php artisan create:migrations create_users_table

c php artisan make:migration create_users_table

d php artisan make:migrations create_users_table

e None

f php artisan make:migrations create_users_table

Q8: What is the use of the function 'imagetypes()'??

a imagetypes() gives the image format and types supported by the current version
of GD-PHP.

b imagetypes() gives the image size and types supported by the current version of
GH-PHP.

c None

d imagetypes() is not a real function

e None

f imagetypes() hasn't been used since PHP4 and it's not being supported.

Q9: While starting minikube, a configuration file, gets created by default inside what
directory on Linux??

The correct Answer is: None

b /home/user/.kube

c /home/user

d /root

e /tmp

The correct Answer is: None

You might also like