Archive

Posts Tagged ‘Interview Questions’

Script as blocking element and dynamic script loading using document.write

July 15th, 2009 Maxim 1 comment

We all know that script is blocking element, meaning no content will be rendered untill script block is parsed and executed or downloaded then parsed and then executed in case of externale script.

And we were told endless times that the best practice is to load scripts at the end of web page. It’s true.

We also have document.ready events thanks to numerous javascript frameworks that gives us opportunity to perform most of our JS actions when document is ready to be manipulated. But there are cases when you do need JS blocking features.
Read more…

VN:F [1.9.16_1159]
Rating: 5.0/5 (3 votes cast)

Javascript boolean interpretation

July 13th, 2009 Maxim 3 comments

I have two simple questions for you about boolean values in Javascript.
When will browser show alert message:

        if (a-b) alert("it's true!");

And another one
Read more…

VN:F [1.9.16_1159]
Rating: 5.0/5 (5 votes cast)

C# LINQ Teaser

July 12th, 2009 Xander 5 comments

Another great interview question.

Will the following code compile and if yes what will be the result of it ?
Read more…

VN:F [1.9.16_1159]
Rating: 4.8/5 (9 votes cast)

C# Byte Iteration Question

July 10th, 2009 Xander 13 comments

This one is a great c# interview question – short and simple, but tricky.

Read more…

VN:F [1.9.16_1159]
Rating: 4.4/5 (5 votes cast)

C# The “double” trouble

July 7th, 2009 Xander No comments

This is a very simple question with a not so simple answer…

Forget for a second about .NET.
If someone asks you how much is 1.000025 – 0.000025 your answer will probably be “1″ and correct. An easy question, right ?

Now, let’s go back to .NET and check if our calculations are correct.

Read more…

VN:F [1.9.16_1159]
Rating: 4.3/5 (6 votes cast)

C# Increment operator (++) question

July 1st, 2009 Xander 10 comments

Well, this is a nice one. We all familiar with incremental operators, but from what i saw yesterday… well, there is no need to give a developer some tricky assignment so he could find a way to make some bugs.

3bj4h786fc

Read more…

VN:F [1.9.16_1159]
Rating: 5.0/5 (6 votes cast)

C# Inheritance Question

June 25th, 2009 Xander 13 comments

The following are two simple questions related to C# inheritance.
Please try to give an answer without executing the code, otherwise where is the fun part ?
Read more…

VN:F [1.9.16_1159]
Rating: 4.6/5 (5 votes cast)

SEO Powered by Platinum SEO from Techblissonline
watch free movies