অণুজীব

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

8429. Which of the following is used to maintain the value of a variable over different pages

  1. session_register
  2. global
  3. None of the above
  4. static

8430. The output of following script is $s = ‘1 234 5’; $s[$s[1 ]] = ‘2’; echo $s ;

  1. 22345
  2. 12245
  3. 12345
  4. 11345

8431. Which is not a valid PHP file wrapper resource

  1. \server pathfilename
  2. http://www.example.com/index.php
  3. abc.txt
  4. All of the above

8432. Which of the following is not valid PHP code

  1. $10_somethings
  2. ${“MyVar ”}
  3. &$something
  4. $_10

8433. what is true regarding $a + $b where both of them are arrays

  1. None of the above
  2. The + operator is overloaded
  3. Duplicated keys are NOT overwritten
  4. This produces a syntax error

8434. What will be the output of the following code – $Rent = 250; function Expenses($Other) { $Rent = 250 + $Other; return $Rent; } Expenses(50); echo $Rent;

  1. 250
  2. Program will not compile
  3. 200
  4. 300

8435. The output of following script is $array = array (‘3’ => ‘a’, ‘1b ‘ = > ‘b’, ‘c ‘, ‘d’); echo ($ array[1]);

  1. 1
  2. b
  3. c
  4. A warning

8436. What happens when a form submitted to a PHP script contains two elements with the same name

  1. Second element is automatically renamed
  2. Value of second element overwrites the first in specific superglobal array
  3. Combined in an array and stored in specific superglobal array
  4. Value of second element is added to the first in superglobal array

8437. How does the identity operator === comp are two values

  1. It returns True only if they are both of the same type and value
  2. It bases its comparison on the strcmp function exclusivelyIf the two values are strings
  3. it performs a lexical comparisonIt converts them to a common compatible data type and then compares the resulting values

8438. Which of the following are not considered as Boolean false

  1. 0
  2. F
  3. “FALSE”
  4. “0”

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

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