CppBuzz.com
  
Home C C++ Java Python Perl PHP SQL Javascript Linux Forum

You are here : Home » C++ » C++ Objective Questions for Beginners

C++ Objective Questions for Beginners : 85


Question: 1

(A) 2
(B) 3
(C) 4
(D) 1

Compiler DiscussOnForum
Beginner loops[Posted by: Admin | Chicago, USA]



Question: 2

(A) Hi
(B) Bye
(C) HiBye
(D) Compilation Error

Compiler DiscussOnForum
Beginner conditional[Posted by: Admin | Chicago, USA]



Question: 3

(A) Scope Resolution Operator
(B) Conditional Operator
(C) Ternary Operator
(D) if else o/p

Compiler DiscussOnForum
Beginner operators[Posted by: Admin | Chicago, USA]



Question: 4

(A) 2 Bytes
(B) 4 Bytes
(C) 1 Byte
(D) Depends on Compiler

Compiler DiscussOnForum
Beginner operators[Posted by: Admin | Chicago, USA]



Question: 5

(A) +
(B) -
(C) *
(D) ::

Compiler DiscussOnForum
Beginner operators[Posted by: Admin | Chicago, USA]



Question: 6

(A) +
(B) -
(C) ++
(D) *

Compiler DiscussOnForum
Beginner operators[Posted by: Admin | Chicago, USA]



Question: 7

(A) 11
(B) 10
(C) Error
(D) 0

Compiler DiscussOnForum
Beginner operators[Posted by: Admin | Chicago, USA]



Question: 8

(A) for(initialization;condition; increment/decrement)
(B) for(increment/decrement; initialization; condition)
(C) for(initialization, condition, increment/decrement
(D) None of These

Compiler DiscussOnForum
Beginner loops[Posted by: Admin | Chicago, USA]



Question: 9

(A) Yes
(B) No
(C) Compilation Error
(D) Runtime Error

Compiler DiscussOnForum
Beginner function[Posted by: Admin | Chicago, USA]



Question: 10

(A) 10
(B) 11
(C) Compilation Error
(D) Linking Error

Compiler DiscussOnForum
Beginner operators[Posted by: Admin | Chicago, USA]



Question: 11

(A) ()
(B) =
(C) *
(D) ++

Compiler DiscussOnForum
Beginner operators[Posted by: Admin | Chicago, USA]



Question: 12

(A) 4.5
(B) 4.0
(C) 4
(D) Compilation Error

Compiler DiscussOnForum
Beginner operators[Posted by: Admin | Chicago, USA]



Question: 13

(A) Dcon DDest
(B) Dcon DDest BCon BDest
(C) BCon DCon DDest BDest
(D) BCon DCon BDes DDest

Compiler DiscussOnForum
Beginner classesAndobjects[Posted by: Admin | Chicago, USA]



Question: 14

(A) 10
(B) 11
(C) 12
(D) Not defined

Compiler DiscussOnForum
Beginner operators[Posted by: Admin | Chicago, USA]



Question: 15

(A) Object oriented programming
(B) Oriented object programming
(C) Office oriented programming
(D) office objective programming

Compiler DiscussOnForum
Beginner other[Posted by: Admin | Chicago, USA]



Question: 16

(A) 111011
(B) 111111
(C) 101011
(D) 101010

Compiler DiscussOnForum
Beginner operators[Posted by: Admin | Chicago, USA]



Question: 17

(A) No
(B) Yes
(C) Compilation Error
(D) Runtime Error

Compiler DiscussOnForum
Beginner loops[Posted by: Admin | Chicago, USA]



Question: 18

(A) Yes
(B) No
(C) Compilation Error
(D) Runtime Error

Compiler DiscussOnForum
Beginner structure[Posted by: Admin | Chicago, USA]



Question: 19

(A) 1
(B) 2
(C) 4
(D) 0

Compiler DiscussOnForum
Beginner datatype[Posted by: Admin | Chicago, USA]



Question: 20

(A) Yes
(B) No
(C) Compilation Error
(D) Runtime Error

Compiler DiscussOnForum
Beginner function[Posted by: Admin | Chicago, USA]



Question: 21

(A) Compilation Error
(B) Runtime Error
(C) CppBuzz
(D) CppBuzz;;;;

Compiler DiscussOnForum
Beginner other[Posted by: Admin | Chicago, USA]



Question: 22

(A) new is: -10
(B) new is: 10
(C) Compilation Error
(D) new is: 0

Compiler DiscussOnForum
Beginner loops[Posted by: Admin | Chicago, USA]



Question: 23

(A) BASIC
(B) VB
(C) PASCAL
(D) C

Compiler DiscussOnForum
Beginner other[Posted by: Admin | Chicago, USA]



Question: 24

(A) Constructor
(B) 0
(C) Compilation Error
(D) Runtime Error

Compiler DiscussOnForum
Beginner classesAndobjects[Posted by: Admin | Chicago, USA]



Question: 25

(A) Compilation Error - Constructor Missing
(B) Nothing would be printed
(C) Undefined
(D) In constructor

Compiler DiscussOnForum
Beginner classesAndobjects[Posted by: Admin | Chicago, USA]



Question: 26

(A) Compilation Error
(B) 0
(C) 3
(D) -3

Compiler DiscussOnForum
Beginner other[Posted by: Admin | Chicago, USA]



Question: 27

(A) 1
(B) 5
(C) There is no limit
(D) 256

Compiler DiscussOnForum
Beginner datatype[Posted by: Admin | Chicago, USA]



Question: 28

(A) Yes
(B) No

Compiler DiscussOnForum
Beginner datatype[Posted by: Admin | Chicago, USA]



Question: 29

(A) Yes
(B) No

Compiler DiscussOnForum
Beginner function[Posted by: Admin | Chicago, USA]



Question: 30

(A) Yes
(B) No

Compiler DiscussOnForum
Beginner datatype[Posted by: Admin | Chicago, USA]



Question: 31

(A) Yes
(B) No

Compiler DiscussOnForum
Beginner pointers[Posted by: Admin | Chicago, USA]



Question: 32

(A) Yes
(B) No

Compiler DiscussOnForum
Beginner datatype[Posted by: Admin | Chicago, USA]



Question: 33

(A) 1
(B) 2
(C) 3
(D) 4

Compiler DiscussOnForum
Beginner inheritance[Posted by: Admin | Chicago, USA]



Question: 34

(A) *
(B) ++
(C) +
(D) -

Compiler DiscussOnForum
Beginner operators[Posted by: Admin | Chicago, USA]



Question: 35

(A) Yes
(B) No

Compiler DiscussOnForum
Beginner loops[Posted by: Admin | Chicago, USA]



Question: 36

(A) 0
(B) 1
(C) 4
(D) 5

Compiler DiscussOnForum
Beginner loops[Posted by: Admin | Chicago, USA]



Question: 37

(A) <
(B) <<
(C) ->
(D) >>

Compiler DiscussOnForum
Beginner operators[Posted by: Admin | Chicago, USA]



Question: 38

(A) VB.NET
(B) VB 6
(C) C++
(D) C#

Compiler DiscussOnForum
Beginner other[Posted by: Admin | Chicago, USA]



Question: 39

(A) Uses buttons, menus, and icons
(B) Should be easy for a user to manipulate
(C) Stands for Graphic Use Interaction
(D) Both A and B

Compiler DiscussOnForum
Beginner other[Posted by: Admin | Chicago, USA]



Question: 40

(A) Single
(B) Byte
(C) Short
(D) Integer

Compiler DiscussOnForum
Beginner datatype[Posted by: Admin | Chicago, USA]



Question: 41

(A) class
(B) field
(C) function
(D) property

Compiler DiscussOnForum
Beginner classesAndobjects[Posted by: Admin | Chicago, USA]



Question: 42

(A) It instruct the compiler to set default value to any variable
(B) It instruct the compiler to set default return value to any function
(C) It instruct the compiler to set default argument values for any function
(D) It instruct the compiler to generate the default implementation

Compiler DiscussOnForum
Beginner loops[Posted by: Admin | Chicago, USA]



Question: 43

(A) Checking the Grammar
(B) Finding the type of names and expressions
(C) Making up tokens from characters
(D) None of these

Compiler DiscussOnForum
Beginner cpp11[Posted by: | Chicago, USA]



Question: 44

(A) long
(B) long int
(C) longs long
(D) long long

Compiler DiscussOnForum
Beginner cpp11[Posted by: | Chicago, USA]



Question: 45

(A) final
(B) static
(C) stop
(D) friend

Compiler DiscussOnForum
Beginner cpp11[Posted by: | Chicago, USA]



Question: 46

(A) Pass by Value
(B) Pass by reference
(C) Pass by pointer/address
(D) Depends on Compiler

Compiler DiscussOnForum
Beginner other[Posted by: Admin | Chicago, USA]



Question: 47

(A) We can create link using structure only
(B) We can create link list using class only
(C) We can create link list either by class or structure
(D) We should ignore implementation of link list using structure as it consume more memory

Compiler DiscussOnForum
Beginner other[Posted by: Admin | Chicago, USA]



Question: 48

(A) data
(B) members
(C) objects
(D) none of these

Compiler DiscussOnForum
Beginner structure[Posted by: Admin | Chicago, USA]



Question: 49

(A) Yes
(B) No
(C) Depends on Compiler

Compiler DiscussOnForum
Beginner structure[Posted by: Admin | Chicago, USA]



Question: 50

(A) <iostream>
(B) <ofstream>
(C) <ifstream>
(D) <fstream>

Compiler DiscussOnForum
Beginner filehandling[Posted by: Admin | Chicago, USA]



Question: 51

(A) <ofstream>
(B) <outstream>
(C) <iofstream>
(D) <ostream>

Compiler DiscussOnForum
Beginner filehandling[Posted by: Admin | Chicago, USA]



Question: 52

(A) <ofstream>
(B) <ifstream>
(C) <fstream>
(D) <iostream>

Compiler DiscussOnForum
Beginner filehandling[Posted by: Admin | Chicago, USA]



Question: 53

(A) For
(B) Do…While
(C) If
(D) While

Compiler DiscussOnForum
Beginner loops[Posted by: Jeffry Azhari Rosman | Indonesia]



Question: 54

(A) Branching
(B) Looping
(C) Rekursif
(D) Algorithm

Compiler DiscussOnForum
Beginner loops[Posted by: Jeffry Azhari Rosman | Indonesia]



Question: 55

(A) The GNU C compiler
(B) GNU C compiler
(C) Generic C compiler
(D) GDB C Compiler

Compiler DiscussOnForum
Beginner gcc_g++[Posted by: Admin | Chicago, USA]



Question: 56

(A) TRUE
(B) FALSE

Compiler DiscussOnForum
Beginner structure[Posted by: Andrew | New Jersey]



Question: 57

(A) TRUE
(B) FALSE

Compiler DiscussOnForum
Beginner structure[Posted by: Andrew | New Jersey]



Question: 58

(A) TRUE
(B) FALSE

Compiler DiscussOnForum
Beginner union[Posted by: Andrew | New Jersey]



Question: 59

(A) a member
(B) an array
(C) a tag
(D) None of these

Compiler DiscussOnForum
Beginner structure[Posted by: Andrew | New Jersey]



Question: 60

(A) employee[2] -> hourlyWage = 50.00;
(B) employee2.hourlyWage = 7.50;
(C) hourlyWage[2].employee = 29.75;
(D) employee[2].hourlyWage = 75.00;

Compiler DiscussOnForum
Beginner structure[Posted by: Andrew | New Jersey]



Question: 61

(A) cout << student1.gpa;
(B) cout << firstStudent.gpa;
(C) cout << student[1].gpa;
(D) cout << student1 ->gpa;

Compiler DiscussOnForum
Beginner structure[Posted by: Andrew | New Jersey]



Question: 62

(A) “MAPLE”
(B) 2
(C) ‘M’
(D) 1

Compiler DiscussOnForum
Beginner enum[Posted by: Andrew | New Jersey]



Question: 63

(A) TRUE
(B) FALSE

Compiler DiscussOnForum
Beginner other[Posted by: Andrew | New Jersey]



Question: 64

(A) TRUE
(B) FALSE

Compiler DiscussOnForum
Beginner datatype[Posted by: Andrew | New Jersey]



Question: 65

(A) TRUE
(B) FALSE

Compiler DiscussOnForum
Beginner filehandling[Posted by: Andrew | New Jersey]



Question: 66

(A) TRUE
(B) FALSE

Compiler DiscussOnForum
Beginner filehandling[Posted by: Andrew | New Jersey]



Question: 67

(A) get
(B) write
(C) put
(D) insert

Compiler DiscussOnForum
Beginner filehandling[Posted by: Andrew | New Jersey]



Question: 68

(A) TRUE
(B) FALSE

Compiler DiscussOnForum
Beginner classesAndobjects[Posted by: Andrew | New Jersey]



Question: 69

(A) TRUE
(B) FALSE

Compiler DiscussOnForum
Beginner inheritance[Posted by: Andrew | New Jersey]



Question: 70

(A) True
(B) False

Compiler DiscussOnForum
Beginner classesAndobjects[Posted by: Andrew | New Jersey]



Question: 71

(A) True
(B) False

Compiler DiscussOnForum
Beginner classesAndobjects[Posted by: Andrew | New Jersey]



Question: 72

(A) Honda->run;
(B) Honda.run();
(C) run()
(D) Honda()

Compiler DiscussOnForum
Beginner classesAndobjects[Posted by: Andrew | New Jersey]



Question: 73

(A) True
(B) False

Compiler DiscussOnForum
Beginner classesAndobjects[Posted by: Andrew | New Jersey]



Question: 74

(A) static function
(B) utility function
(C) constructor
(D) destructor

Compiler DiscussOnForum
Beginner classesAndobjects[Posted by: Andrew | New Jersey]



Question: 75

(A) True
(B) False

Compiler DiscussOnForum
Beginner classesAndobjects[Posted by: Andrew | New Jersey]



Question: 76

(A) first variable name
(B) first function
(C) class name
(D) object name

Compiler DiscussOnForum
Beginner classesAndobjects[Posted by: Andrew | New Jersey]



Question: 77

(A) True
(B) False

Compiler DiscussOnForum
Beginner classesAndobjects[Posted by: Andrew | New Jersey]



Question: 78

(A) TRUE
(B) FALSE

Compiler DiscussOnForum
Beginner classesAndobjects[Posted by: Andrew | New Jersey]



Question: 79

(A) True
(B) False

Compiler DiscussOnForum
Beginner classesAndobjects[Posted by: Andrew | New Jersey]



Question: 80

(A) True
(B) False

Compiler DiscussOnForum
Beginner inheritance[Posted by: Andrew | New Jersey]



Question: 81

(A) never
(B) must
(C) may
(D) None

Compiler DiscussOnForum
Beginner classesAndobjects[Posted by: Andrew | New Jersey]



Question: 82

(A) True
(B) False

Compiler DiscussOnForum
Beginner inheritance[Posted by: Andrew | New Jersey]



Question: 83

(A) Car
(B) Vehicle
(C) protected
(D) None

Compiler DiscussOnForum
Beginner inheritance[Posted by: Andrew | New Jersey]



Question: 84

(A) True
(B) False

Compiler DiscussOnForum
Beginner exceptions[Posted by: Admin | Chicago, USA]



Question: 85

(A) True
(B) False

Compiler DiscussOnForum
Beginner loops[Posted by: Admin | Chicago, USA]


Compile C++ code here Upload your Questions

Browse C++ Categories

Loops Conditional Functions Operators Structure Enum Storage Classes Union FileHandling Data Types Inheritance Pointers Classes & Objects Vtable Type Casting New & Delete Namespaces Reference Variables Static Cast Dynamic Cast Reinterpret Cast Const Cast Virtual Functions Abstract Class STL Singleton Class C++ 11 C++ 14 C++ 17 C++ 20 gcc/g++ others

Switch to C Questions