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.

25 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

How can we achieve information security in a network?

  1. By cryptography
  2. By addressing
  3. By layering
  4. By grade of service
Question 2 Multiple Choice (Single Answer)

_____________ is also called as fast bridge.

  1. Switch
  2. Gateway
  3. Repeater
  4. Router
Question 3 Multiple Choice (Single Answer)

Which layer addresses are recognized by bridge?

  1. Data link layer
  2. Physical layer
  3. Layer 2
  4. None of these
Question 4 Multiple Choice (Single Answer)

Which of the following IP address classes uses 3 network ID bits to identify class?

  1. Class A
  2. Class B
  3. Class C
  4. None of these
Question 5 Multiple Choice (Single Answer)

The total number of possible networks in IP class B is

  1. 126
  2. 128
  3. 2097152
  4. 16384
Question 6 Multiple Choice (Single Answer)

The Internet Standard used for requesting Web services, is

  1. XML
  2. SOAP
  3. HTTP
  4. UDDI
Question 7 Multiple Choice (Single Answer)

Which technology is supported only by Windows?

  1. Net
  2. Java
  3. Oracle
  4. C, C++
Question 8 Multiple Choice (Single Answer)

OLTP stands for

  1. Online Transfer Protocol
  2. Online Tourist Plan
  3. Online Analytical Processing
  4. Online Analytical Programming
Question 9 Multiple Choice (Single Answer)

An enterprise resource planning is used to

  1. design and generate reports
  2. manage internal and external resources
  3. spot and analyse business data
  4. create programs
Question 10 Multiple Choice (Single Answer)

Which of the following is a Sun Certified Java Certification?

  1. Oracle Java Certification
  2. Cisco Certified Architect
  3. Java Associate
  4. Microsoft Certified Professional
Question 11 Multiple Choice (Single Answer)

___________ refers to multiple name forms in C++.

  1. Inheritance
  2. Polymorphism
  3. Classes
  4. Encapsulation
Question 12 Multiple Choice (Single Answer)

_________ header file contains function prototypes for the stream manipulators that enable formatting of streams of data.

  1. Iomanip.h
  2. Iostream.h
  3. Math.h
  4. Fstream.h
Question 13 Multiple Choice (Single Answer)

__________ is a property of C++ by which classes can be reused without modifying its contents.

  1. Classes
  2. Polymorphism
  3. Inheritance
  4. Encapsulation
Question 14 Multiple Choice (Single Answer)

Which of the following operators cannot be overloaded with the help of friend function?

  1. =
  2. +
  3. -
  4. >>
Question 15 Multiple Choice (Single Answer)

The protected data members of a base class become ___________ when privately derivated in the derived class.

  1. protected
  2. public
  3. private
  4. not inherited
Question 16 Multiple Choice (Single Answer)

_________ is a function that can be called using class name.

  1. Member function
  2. Static member function
  3. Inline function
  4. Recursive function
Question 17 Multiple Choice (Single Answer)

Which of the following is the derived data type in C++?

  1. Structure
  2. Union
  3. Enumeration
  4. Function
Question 18 Multiple Choice (Single Answer)

Which of the following functions moves the get pointer to a specified location?

  1. Seekp()
  2. Tellg()
  3. Seekg()
  4. Tellp()
Question 19 Multiple Choice (Single Answer)

Which of the following files modes is used to open a file for reading only?

  1. ios::app
  2. ios::out
  3. ios::nocreate
  4. ios::in
Question 20 Multiple Choice (Single Answer)

Which of the following flags prints '+' before positive numbers?

  1. ios::showbase
  2. ios::showpoint
  3. ios::showpos
  4. ios::stdio
Question 21 Multiple Choice (Single Answer)

________ was developed to support very low cost transaction involving digital goods.

  1. Cybercash
  2. Netbill
  3. Smart card
  4. Credit card
Question 22 Multiple Choice (Single Answer)

Which of the following operators in C++ cannot be overloaded?

  1. +
  2. -
  3. ==
  4. ?:
Question 23 Multiple Choice (Single Answer)

__________ is an unique member function, whose task is to initialize the objects of its class.

  1. Object
  2. Class
  3. Constructor
  4. Destructor
Question 24 Multiple Choice (Single Answer)

Which of the following forms of inheritance follows Grandfather-Father-Child relationship?

  1. Multiple inheritance
  2. Multi level inheritance
  3. Single inheritance
  4. Hierarchical inheritance
Question 25 Multiple Choice (Single Answer)

Which of the following stream classes provides support for simultaneous input and output operations?

  1. Fstream
  2. Ifstream
  3. Ofstream
  4. Fstreambase