¡GoConqr estrena diseño! Cuéntanos qué te parece.

Test

OOP

1610 R 41 preguntas

Hacer el test

Preguntas del test (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()

Información

Descripción
Test sobre OOP , creado por 1610 R el 09/12/2017.
Autor
1610 R
Idioma
English
Visitas
34
Valoración
Aún sin valoraciones
Valora este test
Valora este test

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?