অণুজীব

php-mock – programming-php – কুইজ মডেল টেস্ট অনুশীলন – 15

8439. Which of the following variables is not related to file uploads

  1. max_file_size
  2. max_execution_time
  3. post_max_size
  4. max_input_time

8440. What will be the output of the following code – function fn (&$var) { $var = $var – ($var/10*5); return $var; } echo fn(100);

  1. Error message
  2. 98
  3. 100
  4. 50

8441. You need to count the number of parameters given in the URL by a POST operation. The correct way is:

  1. count($_POST);
  2. count($POST_VARS);
  3. count($HTTP_POST_PARAM);
  4. count($POST_VARS_PARAM);

8442. The output of following script is $array = array(true => ‘a’, 1 => ‘b’); var_dump ($aray);

  1. NULL
  2. 1 => ‘b’True => ‘a’
  3. 1 => ‘b’0 => ‘a’
  4. 1 => ‘b'”;}}

8443. Array values are keyed by integer values are called

  1. absolute arrays
  2. associative arrays
  3. numeric arrays
  4. indexed arrays

8444. The inbuilt function to get the number of parameters passed is:

  1. arg_num()
  2. func_args_count()
  3. func_num_args()
  4. None of the above

8445. Which of the following expression multiply the value of the integer variable $a by 4

  1. $a += $a + $a;
  2. None of the above$a *= pow(2
  3. 2);$a >>= 2 ;

8446. Which of the following variable names are invalid

  1. $var1
  2. $var_1
  3. $var-1
  4. None of the above

8447. What is the output of the following PHP code – $x = 0; if ($x++) print "hi"; else print "how are u";

  1. how are u
  2. hi
  3. no output
  4. error

8448. The output of following script if, the URL http://www.php.net can be successfully read, is $s = file_get_contents("http://ww w.php.net "); strip_tags( $s, array (‘p’)); echo count($s);

  1. 1
  2. length of the www.php.net homepage
  3. 0
  4. None of the above

আমাদের কাছে থাকা লক্ষ লক্ষ মডেল টেস্ট থেকে প্রাকটিজের জন্য কিছু এখানে তুলে ধরা হল। প্রতিটি অধ্যায়ের উপরে ইশিখন.কম কুইজ চ্যালেঞ্জ এ আছে শত শত মডেল টেস্ট বার বার মডেল টেস্ট দিয়ে নিজেকে যাচাই কর এবং পুরো বাংলাদেশের সকল শিক্ষার্থীর সাথে আপনার মেধা তালিকা দেখুন। প্রশ্নে কোন প্রকার ভুল থাকলে সঠিক উত্তরসহ নিচে কমেন্ট করে জানাবেন, আমরা ঠিক করে দেবো।

Leave a Reply

স্যার, কিভাবে আপনাকে সাহায্য করতে পারি?

Click one of our representatives below

Customer Support
Customer Support

Syeda Nusrat

I am online

I am offline

Technical Support
Technical Support

Ariful Islam Aquib

I am online

I am offline