C++ Programming and IT Fundamentals
Comprehensive quiz covering C++ programming concepts including OOP principles, file I/O, streams, and inheritance, along with general IT topics including networking, web services, enterprise systems, and digital payment technologies.
Questions
How can we achieve information security in a network?
- By cryptography
- By addressing
- By layering
- By grade of service
_____________ is also called as fast bridge.
- Switch
- Gateway
- Repeater
- Router
Which layer addresses are recognized by bridge?
- Data link layer
- Physical layer
- Layer 2
- None of these
Which of the following IP address classes uses 3 network ID bits to identify class?
- Class A
- Class B
- Class C
- None of these
The total number of possible networks in IP class B is
- 126
- 128
- 2097152
- 16384
The Internet Standard used for requesting Web services, is
- XML
- SOAP
- HTTP
- UDDI
Which technology is supported only by Windows?
- Net
- Java
- Oracle
- C, C++
OLTP stands for
- Online Transfer Protocol
- Online Tourist Plan
- Online Analytical Processing
- Online Analytical Programming
An enterprise resource planning is used to
- design and generate reports
- manage internal and external resources
- spot and analyse business data
- create programs
Which of the following is a Sun Certified Java Certification?
- Oracle Java Certification
- Cisco Certified Architect
- Java Associate
- Microsoft Certified Professional
___________ refers to multiple name forms in C++.
- Inheritance
- Polymorphism
- Classes
- Encapsulation
_________ header file contains function prototypes for the stream manipulators that enable formatting of streams of data.
- Iomanip.h
- Iostream.h
- Math.h
- Fstream.h
__________ is a property of C++ by which classes can be reused without modifying its contents.
- Classes
- Polymorphism
- Inheritance
- Encapsulation
Which of the following operators cannot be overloaded with the help of friend function?
- =
- +
- -
- >>
The protected data members of a base class become ___________ when privately derivated in the derived class.
- protected
- public
- private
- not inherited
_________ is a function that can be called using class name.
- Member function
- Static member function
- Inline function
- Recursive function
Which of the following is the derived data type in C++?
- Structure
- Union
- Enumeration
- Function
Which of the following functions moves the get pointer to a specified location?
- Seekp()
- Tellg()
- Seekg()
- Tellp()
Which of the following files modes is used to open a file for reading only?
- ios::app
- ios::out
- ios::nocreate
- ios::in
Which of the following flags prints '+' before positive numbers?
- ios::showbase
- ios::showpoint
- ios::showpos
- ios::stdio
________ was developed to support very low cost transaction involving digital goods.
- Cybercash
- Netbill
- Smart card
- Credit card
Which of the following operators in C++ cannot be overloaded?
- +
- -
- ==
- ?:
__________ is an unique member function, whose task is to initialize the objects of its class.
- Object
- Class
- Constructor
- Destructor
Which of the following forms of inheritance follows Grandfather-Father-Child relationship?
- Multiple inheritance
- Multi level inheritance
- Single inheritance
- Hierarchical inheritance
Which of the following stream classes provides support for simultaneous input and output operations?
- Fstream
- Ifstream
- Ofstream
- Fstreambase