Technology Questions

Q:

What is the Standard Template Library?

Answer

A library of container templates approved by the ANSI committee for inclusion in the standard C++ specification. A programmer who then launches into a discussion of the generic programming model, iterators, allocators, algorithms, and such, has a higher than average understanding of the new technology that STL brings to C++ programming

Report Error

View answer Workspace Report Error Discuss

Subject: C++
Job Role: Software Architect

2 10220
Q:

Which of the following type of data member can be shared by all instances of its class?

A) Public B) Inherited
C) Static D) None
 
Answer & Explanation Answer: C) Static

Explanation:

Static members are shared by all the instances of the class

Report Error

View Answer Report Error Discuss

Filed Under: C++

2 10217
Q:

Which design patterns benefit from the multiple inheritance?

A) Adapter and observer pattern B) Code pattern
C) Glue pattern D) None of these
 
Answer & Explanation Answer: A) Adapter and observer pattern

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: C++

5 10179
Q:

Write SQL Query to display current date?

Answer

The built in function called GetDate() returns the time stamp.

Report Error

View answer Workspace Report Error Discuss

Subject: SQL

18 10173
Q:

Which HTML attribute is used to define inline styles?

 

A) <header> B) <strong>
C) <style> D) <alt>
 
Answer & Explanation Answer: C) <style>

Explanation:

The style attribute specifies an inline style for an element. The style attribute will override any style set globally,

 

e.g. styles specified in the <style> tag or in an external style sheet.

 

Report Error

View Answer Report Error Discuss

Filed Under: Web Technology
Exam Prep: Bank Exams

3 10039
Q:

What are some open source cloud computing platform databases?

Answer

Cloud computing platform has various databases that are in support. The open source databases that are developed to support it is as follows:


- MongoDB: is an open source database system which is schema free and document oriented database. It is written in C++ and provides tables and high storage space. 


- CouchDB: is an open source database system based on Apache server and used to store the data efficiently


- LucidDB: is the database made in Java/C++ for data warehousing. It provides features and functionalities to maintain data warehouse.

Report Error

View answer Workspace Report Error Discuss

Subject: Cloud Computing

2 9920
Q:

Which of the following is not the member of class?

A) Virtual function B) Static function
C) Friend function D) Const function
 
Answer & Explanation Answer: C) Friend function

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: C++
Job Role: Analyst , Database Administration , IT Trainer

19 9882
Q:

What type of inheritance that PHP supports? Provide an example.

Answer

PHP supports single level inheritance.


Inheriting a class would mean creating a new class with all functionality of the existing class in addition to some more. The created class is called as a subclass of the parent class. Parent is a keyword which we use to access members of a parent class. Inheritance is usually defined by using the keyword “Extend”. $this is used a reference to the calling object. Inheritance avoids redundancy of code.


Example:


Class employee extends manager : Here Employee is a subclass of manager.


Echo $this->name can be used to echo variable name of the parent class.

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

1 9871