Searching for "L"

Q:

Which command displays the present workig directory in UNIX?

A) $who B) $pwd
C) $who are you D) None
 
Answer & Explanation Answer: B) $pwd

Explanation:

$pwd - present working directory

Report Error

View Answer Report Error Discuss

Filed Under: Operating Systems

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

Q:

What are type safe function pointers?

A) Delegates B) Break points
C) Both A and B D) None
 
Answer & Explanation Answer: A) Delegates

Explanation:

A delegate declares a ref type that references a named of anonymous method. Delegates are secure and type-safe.

Report Error

View Answer Report Error Discuss

Filed Under: .NET

Q:

Explain how garbage collection deals with circular referrences?

Answer

The .Net runtime knows about all the references between the objects. It can identify all the circular references that are reachable from the root and hence finalize them to free them all at once if and when needed

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

Q:

Which among the following are the components of windows registry?

A) Keys B) SubKeys
C) Values D) All the above
 
Answer & Explanation Answer: D) All the above

Explanation:

All the above listed are the components of Windows registry

Report Error

View Answer Report Error Discuss

Filed Under: Operating Systems

Q:

Keeping the actoins and attributes together under a single unit is called 

A) Encapsulation B) Information Hiding
C) Polymorphism D) Inheritance
 
Answer & Explanation Answer: A) Encapsulation

Explanation:

Encapsulation is a process of binding the data objects together under a single unit.It is one ofthe elements of oops

Report Error

View Answer Report Error Discuss

Filed Under: Java

Q:

What is the capital of Finland?

A) Conakry B) Prague
C) Helsinki D) None of the above
 
Answer & Explanation Answer: C) Helsinki

Explanation:

Helsinki is the capital of Finland

Report Error

View Answer Report Error Discuss

Filed Under: Country Capitals

Q:

Explain the difference between value types and reference types

Answer

Value type :


 



  • Stores the data

  • The value of value types is stored on the managed stack

  • They are lighter objects 

  • One variable can have only one value


Reference Type :



  • Stores the reference to the data

  • A reference type is allocated on the heap

  • They are heavier objects

  • Several variables can reference the same data


 

Report Error

View answer Workspace Report Error Discuss

Subject: .NET