I'll soon be posting an article on my blog, but I'd like to verify I haven't missed anything first.
Find an example I've missed, and I'll cite you on my post...
The topic is failed Singleton implementations - in what cases can you accidentally get multiple instances of a singleton?
So far, I've come up with
Race Condition on first ca...
I'd like to know of an example of a problem which was solved by adding the volatile keyword.
I'm sure it has helped somebody solve something, but I don't know where I would actually apply it.
In my case, it has never been the answer.
...
Is there any free online exam/quiz for jQuery?
...
Quick Quiz?
What language has comments with side effects? In essence, comments which are not comments...
...
Hi, folks.
Many of you sometimes face with interesting code, problems, solutions. And all of this could be used as good interview questions or just for fun as any other quiz.
Could you please share such things? I think it would be interesting to create an Erlang quiz - a list with good questions and answers.
...
Given the following routine:
private static object ParseNumber(string token, FieldDefinition def)
{
if (def.Fraction > 0)
return Double.Parse(token);
else
return Int64.Parse(token);
}
Resharper offers me the option to refactor it into a statement with the ternary operator:
private static object ParseNumber(string token, F...
There is an increasing (and generally good) trend for potential employers to ask candidates to sit some sort of technical test before even being invited to interview.
I appreciate that it is going to be more cost-effective that even a phone call to screen you but there seem to be two types of test out there, in the wild.
The first ty...
How do you remove the review quiz borders and background color when creating a quiz in Captivate 2. A border shows around the answers as if it is an input field. See: http://preview.promomart.com/prep/asi/cv/example.jpg
...
hi
i want to make a quiz application on facebook using php ( the concept is after every question there is a next button by we reach to the next question ) how can i applied any transition effect (like in jquery)
...
Hi!
Recently I came across with the following quiz. Imagine we have this table
+--------+
| colors |
+--------+
| red |
| black |
| white |
| green |
| orange |
+--------+
The task is to write a SQL query that will select all pairs without allowing duplicates. Permutations are counted too ({red, black} = {black, red}, hence onl...
I've got a weird problem to solve - this is to be used in designing a quiz, but it's easiest to explain using teams.
There's 16 teams. There's 24 matches. 4 teams play in every match. Each team has to appear once against 12/16 teams and twice against the remaining 3/16, and has to appear exactly 6 times. Any ideas on how to do this? If...
Hello there,
I have been programming 10 years, mostly in vba and vb.net but I know c# well enough to program what I normally do. I yesterday was applying for a Senior c# position and I did so poorly on the induction test its not funny :)
I have always found that for me the best way to learn and recall is via question's and answers (mul...
Which stylesheet will be used when the page is printed from the browser’s print command with the below code?
<link rel="stylesheet” type=”text/css” href=”core.css”>
<link rel=”stylesheet” type=”text/css” media=”screen” href=”comman.css”>
core.css
common.css
core.css + common.css
Varies from browser to browser
Again this question is...
I'm asking this question because I finally solved a problem that I have been trying to find a technique for in a number of cases. I think it's pretty neat so I'm doing a Q-and-A on this.
See, if I could use eval, I would just do this:
eval join( "\n"
, map {
my $v = $valcashe{$_};
sprintf( '$Text:...
Hi guys!
I'm making a quiz in Actionscript 2.0.
The quiz has 8 questions. Each question has four answers and each answer gives different points. On every frame their is two questions to answer and then move on to the next two and so on.
My problem is that I need to assign each answer with points that in the end will be calculated and d...
Does anyone know of an open source quiz engine for asp.net?
...
which of the followng statement can be used to identify alphanumeric patter?
A) a-zA-Z0-9/./,/-/\n
B) ^[a-zA-Z]
C) ^a-zA-Z
D) /^[a-zA-Z0-9/./,/-/\n]+$/
...
Hi!
I´m working on a quiz application which uses a grouped UITableView, where i need to limit the users selection to one cell per group and also make the group selectable only once per group, in order to stop the user from correcting any potential wrong answers. Is there any way of doing this?
Cheers, Adam
...
Quiz question: What is the output of running the following program:
Sub Main()
Try
CallToMethodThatThrowsException()
Catch ex As ArgumentException
Console.WriteLine("Argument exception caught")
Finally
Console.WriteLine("Outer finally block")
End Try
End Sub
Public Sub CallToMet...
Make this syntax possible:
var a = add(2)(3); //5
I got this question at
http://dmitry.baranovskiy.com/post/31797647
Got no clue. Confused.... Know the answer...
...