
html5 – web-design-html-html5 – কুইজ মডেল টেস্ট অনুশীলন – 22
10372. What is the output of the C statement – printf("%d",printf("Hello"));
- syntax error
- 5Hello
- Hello5
- Hello
10373. cin and cout are predefined in which stream ?
- iostream
- conio.h
- string.h
- fstream.h
10374. What is the output of – if(printf("Hello") || printf("World")) printf("123");
- syntax error
- Hello123
- HelloWorld123
- Hello
10375. To flush all streams after insertion we use
- cout.setf(ios::showpos)
- ios::stdio
- ios::showbase
- ios::unitbuf
10376. Which of the following is not a standard exception built in C++ ?
- std::bad_creat
- std::bad_alloc
- std::bad_typeid
- std::bad_cast
10377. What is the output of "abcd"[2:]
- ab
- a
- dc
- cd
10378. fail() returns true, if
- returns true if input/output operation fail
- returns true if input fails
- returns true if eof has reached
- returns true if while fails
10379. Which of the following returns a string that represents the present working directory?
- os.cwd()
- os.getpwd()
- os.pwd(
- os.getcwd()
10380. The input/output streams are derived from which base class
- mstream
- fstream
- fstreambase
- ofstream
10381. What is the output of – print type((1,2,3,4))
- <type ‘tuple’>
- <type ‘list’>
- <type ‘set’>
- error
আমাদের কাছে থাকা লক্ষ লক্ষ মডেল টেস্ট থেকে প্রাকটিজের জন্য কিছু এখানে তুলে ধরা হল। প্রতিটি অধ্যায়ের উপরে ইশিখন.কম কুইজ চ্যালেঞ্জ এ আছে শত শত মডেল টেস্ট বার বার মডেল টেস্ট দিয়ে নিজেকে যাচাই কর এবং পুরো বাংলাদেশের সকল শিক্ষার্থীর সাথে আপনার মেধা তালিকা দেখুন। প্রশ্নে কোন প্রকার ভুল থাকলে সঠিক উত্তরসহ নিচে কমেন্ট করে জানাবেন, আমরা ঠিক করে দেবো।