Technology Questions

Q:

What type of Joins have you used?

Answer

The knowledge of Joins is a MUST for every interviewee. Most SQL programmers have used inner join and  outer join[left/right]; but the catch point here is to also mention cross join and self-join.


 

Report Error

View answer Workspace Report Error Discuss

Subject: SQL

1 2526
Q:

If I call performSelector:withObject:afterDelay: – is the object retained?

Answer

Yes the object is retained. It creates a timer that calls a selector on the current threads run loop. It may not be 100% precise time-wise as it attempts to dequeue the message from the run loop and perform the selector.

Report Error

View answer Workspace Report Error Discuss

0 2526
Q:

What is the purpose of declaring a variable as final?

Answer A final variable's value can't be changed. final variables should be initialized before using them.
Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2526
Q:

How does fault tolerance work in mapreduce?

Answer

In a mapreduce job the master pings each worker periodically. In case a worker does not respond to that system then the system is marked as failed. Even completed tasks are rescheduled because the output was stored in a in a local disk of a worker which failed. Hence mapreduce is able to handle large-scale failures easily by simply restarting a task. The master node always saves itself at checkpoints and in case of any failure it simply restarts from that checkpoint.

Report Error

View answer Workspace Report Error Discuss

Subject: Cloud Computing

2 2525
Q:

How can you send an email message from an ASP.NET Web page?

Answer

You can use the System.Net.Mail.MailMessage and the System.Net.Mail.SmtpMail classes to send an email in your Web pages. In order to send an email through your mail server, you need to create an object of the SmtpClient class and set the server name, port, and credentials.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

0 2525
Q:

What is a DB2 plan?

Answer

An application plan or package is generated by the bind to define an access path. 

Report Error

View answer Workspace Report Error Discuss

0 2522
Q:

Which command displays memory usage in linux?

A) Top B) Free
C) Buffer D) Swap
 
Answer & Explanation Answer: B) Free

Explanation:

Free command displays memory usage in linux.

Report Error

View Answer Report Error Discuss

3 2521
Q:

Which among the following are the capabilities of the Cursor?

A) It reads every row one by one. B) It can be parameterised and hence are flexible
C) It can be positioned to specific rows D) All the above
 
Answer & Explanation Answer: D) All the above

Explanation:

All the above listed actions are the functions of cursor

Report Error

View Answer Report Error Discuss

1 2521