Searching for "and"

Q:

"It shall be the duty of every citizen of india to protect and improve the natural environment."This Statement refers to which of the following Articles of the Constitution of India?

A) Article 50-A B) Article 50-B
C) Article 51-A D) Article 51-B
 
Answer & Explanation Answer: C) Article 51-A

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics

Q:

Which Commission made the recommendations which formed the basis for the Punjab Reorganisation Act which created the states Punjab and Haryana?

A) Dhar Commission B) Dass Commission
C) Shah Commission D) Mahajan Commission
 
Answer & Explanation Answer: C) Shah Commission

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics

Q:

During which of the following periods did the Constituent Assembly delibrate upon and finalise the Constitution of India?

A) November,1946 - November, 1949 B) November,1947 - November, 1949
C) December,1946 - November, 1949 D) December,1947 - November, 1949
 
Answer & Explanation Answer: C) December,1946 - November, 1949

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics

Q:

You want only a vertical scrollbar and no horizontal scrollbar on your page. How would you do it?

Answer

- This can be done by defining the frame with SCROLLING = auto and having content to just fit into this frame. 


- SCROLLING="yes" gets the scroll bar on both the sides, even when not needed. 


- SCROLLING="no" doesn’t get the scrollbars at all, even when they are needed.


 

Report Error

View answer Workspace Report Error Discuss

Q:

What is session storage and how can you create one?

Answer

Session storage is same like local storage but the data is valid for a session. In simple words the data is deleted as soon as you close the browser.


To create a session storage you need to use “sessionStorage.variablename” . In the below code we have a created a variable called as “clickcount”.


If you refresh the browser the count increases. But if you close the browser and start again the “clickcount” variable starts from zero.


if(sessionStorage.clickcount)


{


sessionStorage.clickcount=Number(sessionStorage.clickcount)+1;


}


else


{


sessionStorage.clickcount = 0;


Report Error

View answer Workspace Report Error Discuss

Q:

What are layer objects and what do they represent?

Answer

Layer objects are data objects which represent visual content. Layer objects are used by views to render their content. Custom layer objects can also be added to the interface to implement complex animations and other types of sophisticated visual effects.

Report Error

View answer Workspace Report Error Discuss

Q:

Whats the difference between a NSArray and a NSMutableArray?

Answer

A NSArray’s contents can not be modified once it’s been created whereas a NSMutableArray can be modified as needed, i.e items can be added/removed from it.

Report Error

View answer Workspace Report Error Discuss

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