Bachelor Of Computer Science

PHP Quizzes

CS: PHP MCQs - Complete

Sorting Quiz Questions and Answers p. 64

Practice Sorting quiz questions and answers PDF, sorting MCQ with answers worksheet 64 for online past papers exam. Practice "Advanced Array Functions" quiz questions with answers, sorting Multiple Choice Questions (MCQ) for online . Free sorting MCQs, creating images using gd, unbound variables, iterations, how sessions work in php, sorting test prep for online computer science and engineering.

"Which function displays structured information about variables including its type and value?", sorting Multiple Choice Questions (MCQ) with choices ksort ( ), asort ( ), sort ( ), and var_dump ( ) for software engineering online courses. Learn advanced array functions questions and answers with free online certification courses for top computer science schools.

Quiz on Sorting

1.

Which function displays structured information about variables including its type and value?

asort ( )
ksort ( )
sort ( )
var_dump ( )

2.

The $_SESSION array is one of the superglobal variables introduced in

PHP2.1
PHP3
PHP4.1
PHP6

3.

For the purpose of iteration Foreach is a

Function
language construct
loop
Both A and B

4.

An unbound variable are interpreted as 0 in a

Numerical context
String context
Boolean context
Array context

5.

For creating an image in PHP, which gd function is used?

create ( )
picture_create ( )
imagecreate ( )
createfromgd ( )