
php-mock – programming-php – কুইজ মডেল টেস্ট অনুশীলন – 9
8379. What happens if a string is added to an integer using the + operator
- The interpreter outputs a type mismatch error
- The string is converted to a number and added to the integer
- The integer and string are concatenated together in a new string
- The string is discarded and the integer is preserved
8380. How are session variables accessed
- $_GET
- None of the above
- $_REQUEST
- $_POST
8381. Which quote is evaluated faster in PHP
- escape
- single
- None of the above
- double
8382. How long after the last access will a session “expire” and be subject to garbage collection if, browser is never restarted
- Never expires until manually deleted
- After 1440 seconds
- Expires when the browser is restarted
- After seconds specified in session.gc_maxlifetime INI setting
8383. Which of the following attribute is needed for file upload via form
- enctype=’form-data/file’
- enctype=’file’
- enctype=’singlepart/data’
- enctype=’multipart/form-data’
8384. The function used to convert an array into a string is
- implode()
- artostr()
- str()
- ar2str()
8385. The function used to convert binary data stored in a string into its hexadecimal representation is
- pack()
- encode_hex()
- hex2bin( )
- printf()
8386. The function print_r () returns details on
- Status of a variable
- Status of input stream
- Status of output stream
- Status of echo command
8387. The function used to ensure that a string always reaches a specific minimum length
- str_pad
- str_count
- str_length
- str_len
8388. Which of the following will not concatenate strings $s1 and $s2
- {$s1}{$s2}implode( ”
- array($s1
- $s2))$s1 + $s2
- All of the above
আমাদের কাছে থাকা লক্ষ লক্ষ মডেল টেস্ট থেকে প্রাকটিজের জন্য কিছু এখানে তুলে ধরা হল। প্রতিটি অধ্যায়ের উপরে ইশিখন.কম কুইজ চ্যালেঞ্জ এ আছে শত শত মডেল টেস্ট বার বার মডেল টেস্ট দিয়ে নিজেকে যাচাই কর এবং পুরো বাংলাদেশের সকল শিক্ষার্থীর সাথে আপনার মেধা তালিকা দেখুন। প্রশ্নে কোন প্রকার ভুল থাকলে সঠিক উত্তরসহ নিচে কমেন্ট করে জানাবেন, আমরা ঠিক করে দেবো।