Interview Questions

Q:

Website always has

A) Address B) Information
C) Attachments D) Images
 
Answer & Explanation Answer: A) Address

Explanation:

Website always has an address whether it has images, any information or any attchments in it or not but it must has an address. 

Website_always_has1551876614.jpg image

Report Error

View Answer Report Error Discuss

1 2956
Q:

What are defaults? Is there a column to which a default can’t be bound?

Answer

A default is a value which will be used by a column, if no value is supplied to that column while inserting data.


Yes, IDENTITY and TIMESTAMP columns are free from the bounds of default.

Report Error

View answer Workspace Report Error Discuss

Subject: SQL

0 2956
Q:

What is the diff between RDO and ADO?

Answer

RDO is Hierarchy model where as ADO is Object model. ADO can access data from both flat files as well as the data bases. I.e., It is encapsulation of DAO, RDO , OLE that is why we call it as OLE-DB Technology. 

Report Error

View answer Workspace Report Error Discuss

7 2952
Q:

Write code snippet to retrieve IMEI number of Android phone?

Answer

TelephonyManager class can be used to get the IMEI number. It provides access to information about the telephony services on the device.


Code


        TelephonyManager mTelephonyMgr = (TelephonyManager)


        getSystemService(Context.TELEPHONY_SERVICE);


        String imei = mTelephonyMgr.getDeviceId();

Report Error

View answer Workspace Report Error Discuss

0 2948
Q:

What skills are important for a successful career in fashion design?

Answer

Designers have to either combine marketing intelligence and artistic vision themselves, or be able to delegate business duties to hired specialists, agents, etc. while they focus on the art.

Report Error

View answer Workspace Report Error Discuss

6 2944
Q:

What is advertising?

Answer

Advertising is defined as a paid form of communication that reaches the target audience through mass media to provide product/service and brand related information.  

Report Error

View answer Workspace Report Error Discuss

2 2938
Q:

Explain one-definition rule (ODR).

Answer

According to one-definition rule, C++ constructs must be identically defined in every compilation unit they are used in. 


As per ODR, two definitions contained in different source files are called to be identically defined if they token-for-token identical. The tokens should have same meaning in both source files. 


Identically defined doesn’t mean character-by-character equivalence. Two definitions can have different whitespace or comments and yet be identical.

Report Error

View answer Workspace Report Error Discuss

Subject: C++

0 2937
Q:

Explain include(), include_once, require() and require_once.

Answer

include()
The include() function takes all the content in a specified file and includes it in the current file. If an error occurs, the include() function generates a warning, but the script will continue execution.

include_once()
File will not be included more than once. If we want to include a file once only and further calling of the file will be ignored then we have to use the PHP function include_once().

require()
The require() function is identical to include(), except that it handles errors differently. The require() generates a fatal error, and the script will stop.

require_once()
The required file is called only once when a page is open and further calling of the file will be ignored.

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 2937