SO fiddle

Test Fiddle mainly for SO Questions

by Nick Craver

HTML

<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.4/themes/overcast/jquery-ui.css">
<h1>Question 1</h1>
<input type="radio" name="radio1" value="false" />
<input type="radio" name="radio1" value="true" /> 

<h1>Question 2</h1>
<input type="radio" name="radio2" value="false" />
<input type="radio" name="radio2" value="true" />
<br />
<button>Check</button>

JavaScript

$("button").click(function() {
    var noAns = $("h1").filter(function() {
                  return $(this).nextUntil("h1").filter(":checked").length == 0;
    });
    if(noAns.length > 0) { 
      alert(noAns.length + " question(s) don't have answers!"); 
    } else {
      alert("All good, carry on!");
    }
});