Explore topic-wise MCQs in C++ Programming.

This section includes 1112 Mcqs, each offering curated multiple-choice questions to sharpen your C++ Programming knowledge and support exam preparation. Choose a topic below to get started.

201.

The size of file can be limited using _________ limit and _____________ limit.

A. soft and hard
B. little and short
C. mg and gb
D. none of these
Answer» B. little and short
202.

In Ajax XMLHttpRequest this object is used to exchange data with web server .

A. true
B. false
C. both
D. none of these
Answer» B. false
203.

_______ statements reduce parsing time as the preparation on the query is doneonly once (although the statement is executed multiple times)

A. Prepared
B. fetch
C. array
D. SSL
Answer» B. fetch
204.

CSS is use to separate data from _____.

A. tag
B. data
C. file
D. table
Answer» B. data
205.

PHP was designed as a ________ scripting language.

A. Sever side
B. client slide
C. c++
D. none of these
Answer» B. client slide
206.

RDBMS stands for __________.

A. Relation data base management
B. reletives data base management
C. Random data base management
D. none of these
Answer» B. reletives data base management
207.

A class that is inherited from by another class. This is also called a ____

A. child class
B. class
C. member function
D. parent Class or base class
Answer» E.
208.

Data source name in pear DB is _________

A. String
B. character
C. float
D. int
Answer» B. character
209.

Xml document are formed by trees

A. structure
B. element
C. Attribute
D. html
Answer» C. Attribute
210.

which type of language used in sql

A. DDL
B. DML
C. DIL
D. none of these
Answer» B. DML
211.

java script was designed as a _____ scripting language.

A. get
B. Post
C. Server
D. Client
Answer» E.
212.

A ______is a small file that the server embeds on the user's computer. Each timethe same computer requests a page with a browser, it will send the ________ too.

A. Cookie & cookie
B. FTP & TCP
C. GET & POST
D. HTTP request & HTTP Responses
Answer» B. FTP & TCP
213.

Which one of the Following methods is responsible for sending the query toDatabase

A. query()
B. send_query( )
C. sendquery()
D. query_send()
Answer» B. send_query( )
214.

PHP files can contain text, HTML, CSS, JavaScript, and PHP code

A. true
B. false
C. both a and b
D. none of these
Answer» B. false
215.

the _________ statement is used to perform different actions based on differentconditions

A. switch
B. if condition
C. foreach
D. while
Answer» C. foreach
216.

__________ is used to display data and focuses on how data looks.

A. HTML
B. xml
C. css
D. none of these
Answer» B. xml
217.

________ This is a programmer-defined data type, which includes local functions as well aslocal data.

A. child class
B. class
C. member function
D. parent Class
Answer» C. member function
218.

long form of Ajax is

A. Asynchronous java script & xml
B. Asynchronous Java program
C. Asynchronous xml language
D. non of these
Answer» B. Asynchronous Java program
219.

XML is used to data.

A. design
B. store
C. delete
D. none of these
Answer» C. delete
220.

While writing your PHP program, it is a good idea to use PHP-aware editors like ____

A. Ajax
B. XML
C. SimpleXML
D. BBEdit
Answer» E.
221.

_________ An array with a numeric index. Values are stored and accessed in linear fashion.

A. associative array
B. multidimensional array
C. Numeric array
D. None of these
Answer» D. None of these
222.

Xml is use to separate the_____ form design.

A. Data
B. table
C. file
D. none of these
Answer» B. table
223.

The PHP ____function formats a timestamp to a more readable date and time.

A. date()
B. min()
C. abs()
D. sqrt()
Answer» B. min()
224.

Ajax is not programming language , itis

A. true
B. false
C. both true and false
D. not know
Answer» B. false
225.

When inheriting from an abstract class, the child class method must be definedwith the same name, and the same or a less restricted access modifier.

A. true
B. false
C. both a and b
D. none of these
Answer» B. false
226.

The ajaxStart and ajaxStop are ______ that relate to all Ajax requests together

A. event
B. properties
C. object
D. none of these
Answer» B. properties
227.

URL stands for ____________ .

A. Uniform resource locator
B. Universal resource location
C. Universe research land mark
D. non of theses
Answer» B. Universal resource location
228.

Interfaces allow you to specify what methods a class should implement.

A. true
B. false
C. both a and b
D. none of these
Answer» B. false
229.

Which one of the following methods recuperates any memory consumed by aresult set?

A. destroy()
B. remover()
C. alloc()
D. free()
Answer» E.
230.

mysql_close() is use to ________database(wamp) in php .

A. create
B. close
C. connect
D. none of these
Answer» C. connect
231.

________ is used to uniquely identify the rows in table.

A. primary key
B. Database
C. not null
D. none of these
Answer» B. Database
232.

_________ Validation is performed on the client machine web browsers.

A. Client-Side Validation
B. Server Side Validation −
C. input type validation
D. output type validation
Answer» B. Server Side Validation −
233.

The _______ function generates a random number:

A. rand
B. min
C. abs
D. sqrt()
Answer» B. min
234.

__________ These are the function defined inside a class and are used to access objectdata.

A. child class
B. class
C. member function
D. parent Class
Answer» D. parent Class
235.

A ______is called when the object is destructed or the script is stopped orexited.

A. destructor
B. constructor
C. object
D. none of these
Answer» B. constructor
236.

The _______ defines a standard way for accessing and manipulating HTMLdocuments. It presents an HTML document as a tree-structure.

A. HTML DOM
B. CSS
C. XML
D. Form
Answer» B. CSS
237.

To upload the file ________ array is used.

A. $Files
B. $load
C. $New
D. none of these
Answer» B. $load
238.

__________Reduce the traffic travels between the client and the server

A. Ajax
B. HTML
C. xml
D. UDDI
Answer» B. HTML
239.

__________ refers to a concept where we encapsulate all the data and member functionstogether to form an object.

A. overloading
B. data Abstraction
C. Encapsulation
D. member function
Answer» D. member function
240.

If you create a __construct() function, PHP will automatically call thisfunction when you create an object from a class.

A. true
B. false
C. both a and b
D. none of these
Answer» B. false
241.

_______an object means converting it to a byte stream representation that can bestored into file.

A. class
B. object
C. Construct
D. Serializing
Answer» E.
242.

Validation means check the input submitted by the user.

A. true
B. false
C. both a and b
D. none of these
Answer» B. false
243.

A session is a way to store information (in variables) to be usedacross multiple pages.

A. true
B. false
C. both a and b
D. none of these
Answer» B. false
244.

To create a constant, use the _____ function.is used

A. define()
B. min()
C. abs()
D. sqrt()
Answer» B. min()
245.

An abstract class is a class that contains at least one abstract method. Anabstract method is a method that is declared, but not implemented in the code.

A. true
B. false
C. both a and b
D. none of these
Answer» B. false
246.

long form of UDDI is _______

A. Universal description language
B. Web services deleted language
C. Universal description, discovery language
D. none of these
Answer» D. none of these
247.

HTTP stands for ___________.

A. Hyper text transfer protocol
B. hyper text mark protcol
C. File transfer protocol
D. none of these
Answer» B. hyper text mark protcol
248.

_______ is a object oriented programming language , it is used to create theobject…

A. PHP
B. java script
C. Angular js
D. none of these
Answer» B. java script
249.

To implement an interface, a class must use the______ keyword.

A. interface
B. abstract class
C. implements
D. None of these
Answer» D. None of these
250.

Classes and objects are the two main aspects of __________________

A. object oriented programming
B. constructor and destructor
C. object and array
D. none of these
Answer» B. constructor and destructor