Join Us ::
Register
Login
Home
Classes
GK
Engineering
Past Papers
Current Affairs
Technical
GAT Subject
Programming
Medical Papers
GAT Subject
Computer Science
English Mcqs
Agriculture
Botany Mcqs
Arithmetic Aptitude
Engineering
Computer Science
Civil Engineering
Chemical Engineering
Agricultural Engineering
Mechanical Engineering
Electronics and Communication
Technical
Networking
Electronics
Database
Past Papers
Model Papers
FPSC Papers
PPSC Papers
NTS Papers
General Knowledge
Basic General Knowledge
General Science
Pakistan Politics
International Organizations
Current Affairs
Pakistan
National
International
CPEC
Engineering
Computer Science
Civil Engineering
Chemical Engineering
Agricultural Engineering
Programming
C Programming
C++ Programming
C# Programming
Java Programming
Object Oriented Programming Using C++ - Section 7 Multiple Questions and Answers.
Home
» »
Computer Science
»
Object Oriented Programming
»
Object Oriented Programming Using C++ - Section 7
Exercise Questions ::
Object Oriented Programming
»
Object Oriented Programming Using C++ - Section 1
»
Object Oriented Programming Using C++ - Section 2
»
Object Oriented Programming Using C++ - Section 3
»
Object Oriented Programming Using C++ - Section 4
»
Object Oriented Programming Using C++ - Section 5
»
Object Oriented Programming Using C++ - Section 6
»
Object Oriented Programming Using C++ - Section 7
»
Object Oriented Programming Using C++ - Section 8
11.
The cout << sales[0] + sales[1]; statement will______
A.
display 22000
B.
display 10000 + 12000
C.
display sales[0] + sales[l]
D.
result in an error
View Answer
Discuss forum
Workplace
Report
Answer:
Option
A
Explanation:
See More Information
Tutorial Link:
Published by:Michael Daani
12.
The most efficient data type for a variable that stores the letter C is the _____ data type
A.
Character
B.
Double
C.
Float
D.
Long Integer
View Answer
Discuss forum
Workplace
Report
Answer:
Option
A
Explanation:
See More Information
Tutorial Link:
Published by:Michael Daani
13.
The C++ operator used to allocate memory is _________
A.
mem
B.
allocate
C.
new
D.
create
View Answer
Discuss forum
Workplace
Report
Answer:
Option
C
Explanation:
See More Information
Tutorial Link:
Published by:Michael Daani
14.
Assume that your version of C++ can recognize only the first 8 characters of an identifier name, through identifier names may be arbitrarily long. Which of the following identifier names is not distinct:
A.
list, list2
B.
address, Address
C.
identifier_l, identifier_2
D.
answer, ANSWER
View Answer
Discuss forum
Workplace
Report
Answer:
Option
C
Explanation:
See More Information
Tutorial Link:
Published by:Michael Daani
15.
Object is to class as _____
A.
library is to book
B.
mother is to daughter
C.
Plato is to philosopher
D.
president is to Lincoln
View Answer
Discuss forum
Workplace
Report
Answer:
Option
C
Explanation:
See More Information
Tutorial Link:
Published by:Michael Daani
«
1
2
3
4
5
6
7
8
9
»
Read More :
» Object Oriented Programming Using C++ - Section 1
» Object Oriented Programming Using C++ - Section 2
» Object Oriented Programming Using C++ - Section 3
» Object Oriented Programming Using C++ - Section 4
» Object Oriented Programming Using C++ - Section 5
» Object Oriented Programming Using C++ - Section 6
» Object Oriented Programming Using C++ - Section 7
» Object Oriented Programming Using C++ - Section 8
Date to Date Current Affairs 2022
PakMCQs.net
Quick Links
GAT Subject
Computer Science
English Mcqs
Agriculture
Engineering
Computer Science
Civil Engineering
Technical
Networking
Electronics
Database
Past Papers
Model Papers
FPSC Papers