Interview Questions

Q:

What is the Dictionary class?

Answer

- The Dictionary class is an abstract class.


- Classes like Hashtable which map keys to values inherit from this class. 


- An object can be looked for if a dictionary and a key is provided.


- Any non-null object can be used as a key and as a value.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

1 1749
Q:

Differentiate linked list from arrays.

Answer

Arrays can store data in a fix allotted space. The use of linked list allows more flexibility because space is dynamically allocated as needed.

Report Error

View answer Workspace Report Error Discuss

0 1749
Q:

In a fractional reserve banking system

A) bank accepts deposits B) bank accepts some loans
C) bank has some cash reserves D) All the above
 
Answer & Explanation Answer: D) All the above

Explanation:

Fractional reserve banking is the practice whereby a bank accepts deposits, makes loans or investments, but is required to hold reserves equal to only a fraction of its deposit liabilities. Fractional reserve banking is a banking system in which only a fraction of bank deposits are backed by actual cash on hand and are available for withdrawal. This is done to expand the economy by freeing up capital that can be loaned out to other parties.

Report Error

View Answer Report Error Discuss

Filed Under: Bank Interview
Exam Prep: Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

0 1748
Q:

Whats a struct?

Answer

A struct is a special C data type that encapsulates other pieces of data into a single cohesive unit. Like an object, but built into C.

Report Error

View answer Workspace Report Error Discuss

0 1746
Q:

In a database table, the category of information is called

A) Record B) Field
C) Tuple D) None of the above
 
Answer & Explanation Answer: B) Field

Explanation:

In a database table, the category of information is called Field.

Report Error

View Answer Report Error Discuss

0 1744
Q:

How will you launch an Activity within you application?

Answer

For launching an application, we will need to create an intent that explicitly defines the activity that we wish to start. For example:


Code


        Intent intent = new Intent(this, MyTestActivity.class);


        startActivity(intent);

Report Error

View answer Workspace Report Error Discuss

0 1744
Q:

What is the difference between class selector and ID selector?

Answer

- Class selector can be given to an overall block. This is sometimes termed as block element as well, whereas ID selector identifies a unique name and a style for a specific element. 


- ID selector declares the style for only one particular element which can be differentiated from other element, whereas Class selector is being given for the whole complete block.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1744
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

0 1743