GoConqr has a new look! Let us know what you think.

Quiz

OOP

1610 R 41 questions

Take the quiz

Questions in this quiz (41)

  1. 1Which of the following types is a structured data types in C++?
    1. Afloating
    2. Bshort
    3. Carray
    4. Dpointer
  2. 2Which of the following types is not a structured data types in C++?
    1. Aenum
    2. Bstruct
    3. Carray
    4. Dclass
  3. 3Which of the following types is not a structured data types in C++?
    1. Aenum
    2. Bstruct
    3. Carray
    4. Dclass
  4. 4Which of the following to avoid such name collisions, programmers to use unique identifiers in their own code types is a structured data types in C++?
    1. Anamespaces
    2. Breferences
    3. Cconstants
    4. Dpointer
  5. 5Which of the following value represented unsigned integer in C++?
    1. A2344U
    2. B166UL
    3. C3.1416F
  6. 6Which of the following operations is wrong based on this code: int var1=333, var2=444; *pvar1, *pvar2;
    1. Apvar2 = &var2
    2. Bpvar1 = var1
    3. C*pvar1 = var2
    4. D*pvar2 = *pvar1 + 100
  7. 7Which of the following correct form of defining structure?
    1. Astruct AnimalType {long id; string name;};
    2. Bstruct AnimalType {long id, string name;};
    3. Cstruct AnimalType {long id, string name}
    4. Dstruct AnimalType {long id; string name;}
  8. 8Which of the following correct form of defining structure?
    1. Astruct AnimalType {long id; string name;};
    2. Bstruct AnimalType {long id, string name;};
    3. Cstruct AnimalType {long id, string name}
    4. Dstruct AnimalType {long id; string name;}
  9. 9How many class member has the following class?
    : class AnimalType {public: long id; string name; public: void hello();};
    1. A1
    2. B2
    3. C3
    4. D4
  10. 10Which of the following function can be a constructor for class student()
    1. Astudent()
    2. Bsetdata()
    3. Cconstructor()
    4. Dinitialize()

Information

Description
Quiz on OOP , created by 1610 R on 09/12/2017.
Author
1610 R
Language
English
Views
34
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?