Archive Pages Design$type=blogging

Solved MCQ of Programming in C++ set-5

1. There is a unique function in C++ program by where all C++ programs start their execution with ........ A) start()  Class diagram of C++ ...


1. There is a unique function in C++ program by where all C++ programs start their execution with ........

A) start()
Solved MCQ of Programming in C++
 Class diagram of C++ programming(Photo credit: Wikipedia)

B) begin()

C) main()

D) output()



2. Which of the following is not a jump statement in C++?

A) break

B) Goto

C) Exit

D) Switch



3. The memory address of the first element of an array is called ...................

A) floor address

B) foundation address

C) first address

D) base address



4. C++ exception handling mechanism mainly uses how many keywords?

A) Four

B) Three

C) Two

D) None of the above



5. When an exception is thrown, it needs to be .....................

A) Executed

B) Handled appropriately

C) Resolved

D) None of the above



6. After defining the function template, the next step to call it in another function such as .........

A) int()

B) secondary()

C) template()

D) main()



7. A file stream refers to the flow of data between a ...............

A) Program and object

B) Program and stream

C) Program and file

D) None of the above




8. .................. are one of the attributes of C++ that support run-time polymorphism.

A) Pointers

B) Derived classes

C) Virtual functions

D) Heap tree



9. which of the following header file does not exist?

A) iostream

B) string

C) sstring

D) sstream



10. To increase the value of c by one, which of the following is wrong?

A) c++;

B) c=c+1;

C) c+1=>c;

D) c+=1;





Answers:



1. There is a unique function in C++ program by where all C++ programs start their execution with ........

C) main()

2. Which of the following is not a jump statement in C++?

D) Switch

3. The memory address of the first element of an array is called ...................

D) base address

4. C++ exception handling mechanism mainly uses how many keywords?

B) Three

5. When an exception is thrown, it needs to be .....................

B) Handled appropriately

6. After defining the function template, the next step to call it in another function such as .........

D) main()

7. A file stream refers to the flow of data between a ...............

C) Program and file

8. .................. are one of the attributes of C++ that support run-time polymorphism.

C) Virtual functions

9. which of the following header file does not exist?

C) sstring

10. To increase the value of c by one, which of the following is wrong?

C) c+1=>c;


Related Posts


Enhanced by Zemanta

تعليقات

الاسم

Artificial Intelligence(AI) Backlinking Basic IT Best List Blogging Tips C C# C++ Computer Architecture Computer Fundamental Computer Security Computer/IT Officer Exam CSS Data Mining and Warehousing Data Recovery Tools Data Structure Database Management System E-commerce E-government Internet & Web Designing IT Law IT Tips and Tricks IT Tutorials Java JavaScript Keyword Research Tools MIS Multiple Choice Question (MCQ) Networking Online Earning Online IT Jobs Operating System Oracle Forms and Reports Programming Guide Programming Language SEO Social Networking Sites Software Download Software Engineering System Analysis and Design Top List VB.Net
false
rtl
item
Max6: Solved MCQ of Programming in C++ set-5
Solved MCQ of Programming in C++ set-5
http://upload.wikimedia.org/wikipedia/en/thumb/4/49/ClassDiagram_for_VirtualFunction.png/300px-ClassDiagram_for_VirtualFunction.png
Max6
https://maxs29.blogspot.com/2013/11/solved-mcq-of-programming-in-c-set-5.html
https://maxs29.blogspot.com/
http://maxs29.blogspot.com/
http://maxs29.blogspot.com/2013/11/solved-mcq-of-programming-in-c-set-5.html
true
4303790511137642940
UTF-8
لم يتم العثور على اى مواضيع شاهد الكل اقرأ المزيد رد احذف الرد حذف بواسطة الرئيسية صفحات مواضيع شاهد الكل نوصى لك التسميات الارشيف بحث لم يتم العثور على ماتبحث عنه عودة للرئيسية الاحد الاثنين الثلاثاء الاربعاء الخميس الجمعة السبت الاحد الاثنين الثلاثاء الاربعاء الخميس الجمعة السبت يناير فبراير مارس ابريل مايو يونيو يوليو اغسطس سبتمبر اكتوبر نوفمبر ديسمبر يناير فبراير مارس ابريل مايو يونيو يوليو اغسطس سبتمبر اكتوبر نوفمبر ديسمبر just now 1 دقيقة مضت $$1$$ دقيقة مضت 1 hour ago $$1$$ ساعة مضت الامس $$1$$ يوم مضى $$1$$ اسبوع مضى اكثر من 5 اسابيع مضت