Bachelor Of Computer Science

PHP Quizzes

CS: PHP MCQs - Complete

Randomness Questions and Answers p. 81

Learn Randomness mock test for exam, randomness MCQ with answers pdf test 81 for online job interview. Practice "PHP Number Handling Trivia Questions" and answers, randomness Multiple Choice Questions (MCQ) for online . Free randomness MCQs, configuration issues, cookies, php superglobal arrays, understanding php configuration, randomness test prep for online computer science and engineering.

"The mt_rand ( ) function generates a random integer by using", randomness Multiple Choice Questions (MCQ) with choices divide and conquer algorithm, mersenne twister algorithm, backtracking algorithm, and greedy algorithm for software engineering online courses. Learn php number handling questions and answers with free online certification courses for top computer science schools.

Trivia Quiz on Randomness

1.

The mt_rand ( ) function generates a random integer by using

Mersenne Twister algorithm
Divide and Conquer algorithm
Backtracking algorithm
Greedy Algorithm

2.

In compile time installation the PHP offers some

Functions
Flags
Classes
None of them

3.

By default all GET, Post, Cookie, Environment, and Server variables are directly accessible in PHP because it is defined in

Web server
php.ini
Register globals directive
Both B and C

4.

In PHP4.1 and later versions, the cookies name/value pair are added to the

Superglobal array
$_COOKIE
Global function
Both A and B

5.

Php.ini file can be viewable by calling

info ( ) function
ini_file ( ) function
phpinfo ( ) function
php_ini ( ) function