C++ Introduction

Beschreibung

Quiz contains basic C++ Quesiions
REZO KTM
Quiz von REZO KTM, aktualisiert more than 1 year ago
REZO KTM
Erstellt von REZO KTM vor mehr als 6 Jahre
19
0

Zusammenfassung der Ressource

Frage 1

Frage
C++ was developed by

Frage 2

Frage
C++ Language was initially called as
Antworten
  • B Lnaguage
  • Simula67
  • C with Classes
  • CPP

Frage 3

Frage
C++ is a
Antworten
  • Assembly language
  • Object - Oriented Language
  • Procedure - Oriented Language
  • Object - Base Language

Frage 4

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

Frage 5

Frage
An Object is a Variable of Type
Antworten
  • integer
  • Class
  • Structure
  • Object is not a variable

Frage 6

Frage
What is inheritance?
Antworten
  • 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

Frage 7

Frage
A C++ Program may not have the main( ) funtion
Antworten
  • True
  • False

Frage 8

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

Frage 9

Frage
The default return type of main( ) is
Antworten
  • void
  • int
  • char
  • class

Frage 10

Frage
Find the invalid variable declaration
Antworten
  • int BCA
  • int bca_2017
  • int 2017_bca
  • int bca

Frage 11

Frage
A Class is a
Antworten
  • Primary data type
  • Derived Data type
  • User Defined data type
  • It is not a Data type

Frage 12

Frage
An array is a
Antworten
  • Derived data type
  • Primary data type
  • User - defined data type
  • it is not a data type

Frage 13

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

Frage 14

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

Frage 15

Frage
Which one of the following is an Exit controlled Loop
Antworten
  • Do-While Loop
  • While Loop
  • For Loop
  • None
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

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