IndiaBIX.com
Arithmetic Aptitude Data Interpretation
Logical Reasoning Verbal Reasoning Non Verbal Reasoning
General Knowledge
Sudoku Number puzzles Missing letters puzzles Logical puzzles Playing cards puzzles Clock puzzles
C Programming C++ Programming C# Programming Java Programming
Microbiology Biochemistry Biotechnology Biochemical Engineering
Civil Engineering Mechanical Engineering Chemical Engineering Networking Database Questions Computer Science Basic Electronics Digital Electronics Electronic Devices Circuit Simulation Electrical Enigneering Engineering Mechanics Technical Drawing
Placement Papers Group Disucssion HR Interview Technical Interview Body Language
Aptitude Test Verbal Ability Test Verbal Reasoning Test Logical Reasoning Test C Programming Test Java Programming Test Data Interpretation Test General Knowledge Test
Data Structures Operating Systems Networking DATABASE Database Basics SQL Server Basics SQL Server Advanced SQL Server 2008 JAVA Core Java Java Basics Advanced Java UNIX Unix File Management Unix Memory Management Unix Process Managemnt C Interview Questions The C Language Basics .NET Interview Questions .NET Framework ADO.NET ASP.NET Software Testing

Computer Science - Object Oriented Programming Using C++


Exercise

"To err is human; to forgive, divine."
- Alexander Pope
41. 

The logical NOT operator represented by is a

A. unary operator
B. binary operator
C. ternary operator
D. octal operator
E. None of the above

42. 

When variables refer to attributes of an entity (such as name, address, and phone number of a person), those attributes form a _____

A. fileB. record
C. fieldD. program

43. 

A derived class _____ override attributes of a parent class

A. may
B. may if the two classes have the same name
C. must
D. must not

44. 

Which of the following is false?

A. You enclose a function's statements in a set of braces
B. The function header is considered a C++ statement, so it must end in a semicolon.
C. The keyword void tells the C++ compiler that the function does not return a value
D. A function can receive information that you send (pass) to it
E. An empty set of parentheses after the function's name in the function header tells you that the function does not receive any information

45. 

A function's single most important role is to

A. give a name to a block of code
B. reduce program size
C. accept arguments and provide a return value
D. help organize a program into conceptual units
E. None of the above




© 2008-2013 by IndiaBIX™ Technologies. All Rights Reserved | Copyright | Terms of Use & Privacy Policy

Contact us: info@indiabix.com     Follow us on twitter!