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

"We cannot solve our problems with the same thinking we used when we created them."
- Albert Einstein
1. 

Programmer-defined functions can be

A. value-returning functions only
B. void functions only
C. either value-returning or void functions

2. 

A class D can be derived from a class C, which is derived from a class B, which is derived from a class A

A. TrueB. False

3. 

To use the strcpy function, you must include the _____ header file in your program

A. assign.hB. copy.h
C. string.hD. strcopy.h
E. strcpy.h

4. 

The number of the relational operators in the C language is

A. four
B. six
C. three
D. one
E. None of the above

5. 

Which of the following tells C++ to display numbers with two decimal places?

A. setdecimal(2)B. setiosflags(2)
C. setiosflags(2.00)D. setprecision(2)




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

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