অণুজীব

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

8459. What is the output of the following PHP code – $i = 0; for ($i) { print $i; }

  1. infinite loop
  2. error
  3. no output
  4. 0

8460. What is the output of the following PHP code – $colors = array("red","green","blue","yellow"); foreach ($colors as $value) { echo "$value <br>";}

  1. error
  2. red
  3. no output
  4. red green blue yellow

8461. Usually, PHP stores session data in

  1. Database
  2. Filesystem
  3. Shared memory
  4. None of the above

8462. The output of following script is $a = ‘able osts indy’; echo wordwrap($a, 1, "c", false);

  1. ablecostscindy.
  2. able costs cindy.
  3. able costscindy.
  4. ablecosts cindy.

8463. Variable names are preceded by

  1. $
  2. &
  3. ^
  4. *

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

  1. No output
  2. hihello
  3. hi
  4. how are uhello

8465. The function used to compare two strings using a case-insensitive binary algorithm is

  1. strcasecmp()
  2. strcmp()
  3. stristr( )
  4. stricmp( )

8466. Which of the following functions output text

  1. display()
  2. print()
  3. None of the above
  4. println()

8467. Multiple select/load is possible with:

  1. Checkbox
  2. Select
  3. File
  4. All of the above

8468. Which of the following is not a predefined constant

  1. T
  2. _FILE_
  3. F
  4. NULL

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

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