C++ Introduction

Descripción

Quiz contains basic C++ Quesiions
REZO KTM
Test por REZO KTM, actualizado hace más de 1 año
REZO KTM
Creado por REZO KTM hace más de 6 años
19
0

Resumen del Recurso

Pregunta 1

Pregunta
C++ was developed by

Pregunta 2

Pregunta
C++ Language was initially called as
Respuesta
  • B Lnaguage
  • Simula67
  • C with Classes
  • CPP

Pregunta 3

Pregunta
C++ is a
Respuesta
  • Assembly language
  • Object - Oriented Language
  • Procedure - Oriented Language
  • Object - Base Language

Pregunta 4

Pregunta
The Wrapping up of data and functions into a single unit is known as
Respuesta
  • Data Abstration
  • Inheritance
  • Polymorphism
  • Data Encapsulation

Pregunta 5

Pregunta
An Object is a Variable of Type
Respuesta
  • integer
  • Class
  • Structure
  • Object is not a variable

Pregunta 6

Pregunta
What is inheritance?
Respuesta
  • It is refer to the act of representing essential features without including background details or Exaplantion
  • User - defined data type
  • ability to take more than one form
  • Is the process by which objects of one class acquire the properties of another class

Pregunta 7

Pregunta
A C++ Program may not have the main( ) funtion
Respuesta
  • True
  • False

Pregunta 8

Pregunta
A C++ Program may have more than one main( ) funtion
Respuesta
  • True
  • False

Pregunta 9

Pregunta
The default return type of main( ) is
Respuesta
  • void
  • int
  • char
  • class

Pregunta 10

Pregunta
Find the invalid variable declaration
Respuesta
  • int BCA
  • int bca_2017
  • int 2017_bca
  • int bca

Pregunta 11

Pregunta
A Class is a
Respuesta
  • Primary data type
  • Derived Data type
  • User Defined data type
  • It is not a Data type

Pregunta 12

Pregunta
An array is a
Respuesta
  • Derived data type
  • Primary data type
  • User - defined data type
  • it is not a data type

Pregunta 13

Pregunta
void main() { int a=0; int *b; b=&a *b=100; cout<<a; } What will be the output of the program?
Respuesta
  • 0
  • Error
  • 100
  • a

Pregunta 14

Pregunta
Which one of the following is a Relational Operator?
Respuesta
  • &&
  • <=
  • %
  • |

Pregunta 15

Pregunta
Which one of the following is an Exit controlled Loop
Respuesta
  • Do-While Loop
  • While Loop
  • For Loop
  • None
Mostrar resumen completo Ocultar resumen completo

Similar

Data Types
Jacob Sedore
Mapa Conceptual - Arreglos
ciroivan94
Examen POO C++ Final 1er Trimestre
kamyacademy
Vector
Ariel Sanchez
FEH C/C++ Quiz
Jared Sherrick
ITC Quiz 1
Ahmad Bilal0467
3. Сокеты Беркли. Мультиплексирование.
Sergei Fomin
OOP Phase Test (Summer)
b3014292
Mapa conceptual - Palabras reservadas
Giulio Gagliardi
COMP 206 Unit 3: The C in C++
Adriana Vincelli-Joma