
php-conditional – programming-php – কুইজ মডেল টেস্ট অনুশীলন – 3
8323. What will be the output of the following code – $a = 10; if ($a > 5 OR < 15) echo ‘true’; else echo ‘false’;
- No output
- Parse Error
- TRUE
- F
8324. Which of the following is used in ternary operator
- #ERROR!
8325. What is the output of the following PHP code – $x = 0; if ($x == 1) if ($x >= 0) print "true"; else print "false";
- No output
- TRUE
- FALSE
- error
8326. What is the output of the following PHP code – $x; if ($x) print "hi" ; else print "error";
- hi
- No output
- Error
- error
8327. What is the output of the following PHP code – $x; if ($x == 0) print "hi" ; else print "how are u"; print "hello"
- hi
- how are uhello
- No output
- hihello
8328. What is the output of the following PHP code – $x = 0; if ($x++) print "hi"; else print "how are u";
- hi
- error
- no output
- how are u
আমাদের কাছে থাকা লক্ষ লক্ষ মডেল টেস্ট থেকে প্রাকটিজের জন্য কিছু এখানে তুলে ধরা হল। প্রতিটি অধ্যায়ের উপরে ইশিখন.কম কুইজ চ্যালেঞ্জ এ আছে শত শত মডেল টেস্ট বার বার মডেল টেস্ট দিয়ে নিজেকে যাচাই কর এবং পুরো বাংলাদেশের সকল শিক্ষার্থীর সাথে আপনার মেধা তালিকা দেখুন। প্রশ্নে কোন প্রকার ভুল থাকলে সঠিক উত্তরসহ নিচে কমেন্ট করে জানাবেন, আমরা ঠিক করে দেবো।