অণুজীব

 

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

php function | 8352. The function print_r () returns details on

  1. Status of echo command
  2. Status of input stream
  3. Status of a variable
  4. Status of output stream

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

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

8354. What is the difference between print() and echo()

  1. print can be used in the CLI version of PHP
  2. while echo can&rsquo
  3. techo can be used as part of an expression
  4. while print can&rsquo

8355. Which of the following functions output text

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

8356. 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. A warning
  3. 0
  4. abcd

8357. In the following PHP code block, the value “info” is stored in $namevar = ‘Vskills’; $($namevar)=’info’;

  1. $$namevar
  2. info
  3. namevar
  4. $namevar

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

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

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

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