Technology Questions

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 2967
Q:

What is currency in IDMS?

Answer

Currency is the location within the database during run-unit execution.


There are four levels of currency:


- Current of run-unit is the record occurrence of the last successful find or obtain;


- Current of record type is for the most recent of each record type;


- Current of record set is the most recent within each set 


- Current of area is within each area.

Report Error

View answer Workspace Report Error Discuss

0 2967
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 2966
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 2963
Q:

Does the order of public and static declaration matter in main() method?

Answer No. It doesn't matter but void should always come before main().
Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2959
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 2959
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 2957
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 2950