অণুজীব

html5 – web-design-html-html5 – কুইজ মডেল টেস্ট অনুশীলন – 22

10372. What is the output of the C statement – printf("%d",printf("Hello"));

  1. syntax error
  2. 5Hello
  3. Hello5
  4. Hello

10373. cin and cout are predefined in which stream ?

  1. iostream
  2. conio.h
  3. string.h
  4. fstream.h

10374. What is the output of – if(printf("Hello") || printf("World")) printf("123");

  1. syntax error
  2. Hello123
  3. HelloWorld123
  4. Hello

10375. To flush all streams after insertion we use

  1. cout.setf(ios::showpos)
  2. ios::stdio
  3. ios::showbase
  4. ios::unitbuf

10376. Which of the following is not a standard exception built in C++ ?

  1. std::bad_creat
  2. std::bad_alloc
  3. std::bad_typeid
  4. std::bad_cast

10377. What is the output of "abcd"[2:]

  1. ab
  2. a
  3. dc
  4. cd

10378. fail() returns true, if

  1. returns true if input/output operation fail
  2. returns true if input fails
  3. returns true if eof has reached
  4. returns true if while fails

10379. Which of the following returns a string that represents the present working directory?

  1. os.cwd()
  2. os.getpwd()
  3. os.pwd(
  4. os.getcwd()

10380. The input/output streams are derived from which base class

  1. mstream
  2. fstream
  3. fstreambase
  4. ofstream

10381. What is the output of – print type((1,2,3,4))

  1. <type ‘tuple’>
  2. <type ‘list’>
  3. <type ‘set’>
  4. error

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

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