Technology Questions

Q:

What are the important topologies for networks?

Answer

BUS topology:


In this each computer is directly connected to primary network cable in a single line.


 


STAR topology:


In this all computers are connected using a central hub.

Report Error

View answer Workspace Report Error Discuss

2 2921
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 2921
Q:

What is the role of the DataSet object in ADO.NET?

Answer

One of the major component of ADO.NET is the DataSet object, which always remains disconnected from the database and reduces the load on the database.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

1 2911
Q:

What are the different ways to Declare and Instantiate an object in Visual Basic 6?

Answer

Dim obj as OBJ.CLASS with eitherSet obj = New OBJ.CLASS orSet obj = CreateObject(OBJ.CLASS?) orSet obj = GetObject( , OBJ.CLASS?)orDim obj as New OBJ.CLASS 

Report Error

View answer Workspace Report Error Discuss

0 2909
Q:

What is the purpose of garbage collection in Java, and when is it used ?

Answer

The purpose of garbage collection is to identify and discard those objects that are no longer needed by the application, in order for the resources to be reclaimed and reused.


 

Report Error

View answer Workspace Report Error Discuss

Subject: Java

1 2908
Q:

What is Ribbon ?

Answer

Ribbon is the term used as a replacement to the menu bar and toolbars in the older Microsoft Office versions. Under the ribbon, file menu items and toolbar buttons were grouped according to their functionality. It made these functions much accessible on the main interface, with the most commonly used buttons being shown instantly.

Report Error

View answer Workspace Report Error Discuss

4 2902
Q:

What do you mean by late binding?

Answer

Late binding refers to function calls that are not resolved until run time. Virtual functions are used to achieve late binding. When access is via a base pointer or reference, the virtual function actually called is determined by the type of object pointed to by the pointer.

Report Error

View answer Workspace Report Error Discuss

Subject: C++

0 2897
Q:

Which of the following are the debugging windows in .NET?

A) Breakpoints B) Output
C) Immediate D) All the above
 
Answer & Explanation Answer: D) All the above

Explanation:

All the above listed are debugging windows in .NET

Report Error

View Answer Report Error Discuss

Filed Under: .NET

0 2897