অণুজীব

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

8419. The output of following script is $result = ”; function glue($val ) { global $result; $result .= $val; } $array = array(‘a’ , ‘ b’ , ‘c ‘, ‘d’ ); array_walk ($array, ‘glue’); echo $result;

  1. NULL
  2. abcd
  3. 0
  4. A warning

8420. What is the default PHP session name

  1. PHPSESSID
  2. PHPSESSIONID
  3. PHPIDSESS
  4. PHPSESID

8421. Variables/functions in PHP don’t work directly with:

  1. isset()
  2. All of the above
  3. echo()
  4. print()

8422. Which of the following variable declarations within a class is invalid in PHP5

  1. internal $term= 3;
  2. private $type = ‘moderate’;
  3. protected $name = ‘Quantas Private Limited’;
  4. public $amnt = ‘500’;

8423. Who created the PHP

  1. Bill Gates
  2. Rasmus Lerdorf
  3. None of the above
  4. Linus Travolds

8424. What is the main advanatge of PHP

  1. open Source
  2. readily available and dual-licensedAll of the above
  3. interfaces very easily with Apache/MySQL
  4. Easy to understand Syntax

8425. which of the following are the valid PHP data types

  1. resource
  2. All of the above
  3. null
  4. boolean

8426. Which of the following is used in ternary operator

  1. *
  2. =
  3. :
  4. &

8427. Which function is used to log errors to a protected file for live websites

  1. set_error_handler
  2. log_error
  3. error_log
  4. error_reporting

8428. What is the output of the following PHP code – do { print "hi"; } while(0); print "hello";

  1. error
  2. hihello
  3. infinite loop
  4. hello

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

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