C++ Introduction

Descrição

Quiz contains basic C++ Quesiions
REZO KTM
Quiz por REZO KTM, atualizado more than 1 year ago
REZO KTM
Criado por REZO KTM quase 7 anos atrás
24
0

Resumo de Recurso

Questão 1

Questão
C++ was developed by

Questão 2

Questão
C++ Language was initially called as
Responda
  • B Lnaguage
  • Simula67
  • C with Classes
  • CPP

Questão 3

Questão
C++ is a
Responda
  • Assembly language
  • Object - Oriented Language
  • Procedure - Oriented Language
  • Object - Base Language

Questão 4

Questão
The Wrapping up of data and functions into a single unit is known as
Responda
  • Data Abstration
  • Inheritance
  • Polymorphism
  • Data Encapsulation

Questão 5

Questão
An Object is a Variable of Type
Responda
  • integer
  • Class
  • Structure
  • Object is not a variable

Questão 6

Questão
What is inheritance?
Responda
  • 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

Questão 7

Questão
A C++ Program may not have the main( ) funtion
Responda
  • True
  • False

Questão 8

Questão
A C++ Program may have more than one main( ) funtion
Responda
  • True
  • False

Questão 9

Questão
The default return type of main( ) is
Responda
  • void
  • int
  • char
  • class

Questão 10

Questão
Find the invalid variable declaration
Responda
  • int BCA
  • int bca_2017
  • int 2017_bca
  • int bca

Questão 11

Questão
A Class is a
Responda
  • Primary data type
  • Derived Data type
  • User Defined data type
  • It is not a Data type

Questão 12

Questão
An array is a
Responda
  • Derived data type
  • Primary data type
  • User - defined data type
  • it is not a data type

Questão 13

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

Questão 14

Questão
Which one of the following is a Relational Operator?
Responda
  • &&
  • <=
  • %
  • |

Questão 15

Questão
Which one of the following is an Exit controlled Loop
Responda
  • Do-While Loop
  • While Loop
  • For Loop
  • None

Semelhante

Data Types
Jacob Sedore
Mapa Conceptual - Arreglos
ciroivan94
Examen POO C++ Final 1er Trimestre
kamyacademy
Vector
Ariel Sanchez
ITC Quiz 1
Ahmad Bilal0467
FEH C/C++ Quiz
Jared Sherrick
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