Introduction November 27, 2020December 21, 2020wefru c++ programming quiz in that you have to check yours knowledge 4 Created on November 27, 2020 By wefru Introductions TEST YOUR SKILLS 1 / 10 Wrapping data and its related functionality into a single entity is known as _____________ Abstraction Encapuslation Polymorphism Modularity 2 / 10 What does polymorphism in OOPs mean? Concept of keeping things in differnt modules/files Concept of allowing overiding of functions Concept of wrapping things into a single unit Concept of hiding data 3 / 10 Which of the following shows multiple inheritances? A->B->C B->A A,B->C A->B; A->C 4 / 10 C++ is ______________ both procedural and object oriented programming language functional programming language object oriented programming language procedural programming language 5 / 10 Which of the following feature of OOPs is not used in the following C++ code?class A{ int i; public: void print(){cout<<"hello"<<i;}} class B: public A{ int j; public: void assign(int a){j = a;}} Abstraction Encapsulation Inheritance Polymorphism 6 / 10 What will be the output of the following C++ code?#include <iostream>using namespace std; class A { int a; A() { a = 5;}}; int main(){ A *obj = new A; cout << obj->a;} Compile-time error Run-time error Garbage value 5 7 / 10 Constant variables can be created in CPP by using ________ . enum const #define All of these 8 / 10 Object oriented programming employs_________ programming approach. top-down bottom-up procedure all of these 9 / 10 _________________are used for generic programming. Inheritance virtual functions Templates None of these 10 / 10 In CPP, the size of the character array should be one larger than the number of characters in the string. True False Your score isThe average score is 33% LinkedIn Facebook VKontakte 0% Restart quiz