How Well Do You Know Denzel Washington? (2025)

Reviewed byEditorial Team

The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.

Learn about Our Editorial Process

|By Ohiatse

O

Ohiatse

Community Contributor

Quizzes Created: 20|Total Attempts: 6,608

|Attempts: 113|Questions: 10

How Well Do You Know Denzel Washington? (1)

'); } // function thank_msg(){ // $.fancybox({ // fitToView: false, // width:"auto", // height: "auto", // autoSize: false, // closeClick: false, // openEffect: 'none', // closeEffect: 'none', // //type: "ajax", // href: "#thank_msg", // afterLoad: function(){ // setTimeout( function() {$.fancybox.close(); },2000); // 2000 = 2 secs // } // }); // } function thank_msg(){ $('#thank_msg, #overlay-feed').remove(); $('body').append( `

×

How Well Do You Know Denzel Washington? (2)

Thank you for your feedback!

`); } function edit_ques(data){ document.getElementById('insertid').value=data; $.fancybox({ fitToView: false, width:"auto", height: "auto", autoSize: false, closeClick: false, openEffect: 'none', closeEffect: 'none', href: "#editques", }); } function check_input(){ $('#qsloader').show(); var text_rate =$('#rate_text').val(); var radiocheck =$("input:radio[name='Tfeedback']").is(":checked"); var radiocheckval=$("input:radio[name=Tfeedback]:checked").val(); var name_value =$('#guest_name').val(); var email_value =$('#guest_email').val(); var ques_id=$('#rate_blk').attr('data-ques_id'); var ques_box=$('.ques-area-box[data-ques_id="'+ques_id+'"]'); if( $('.score_trophy_box_data').length ){ ques_box = $('.score_trophy_box_data[data-ques_id="'+ques_id+'"]'); } if(radiocheck){ if(radiocheckval=='4'){ if(text_rate!=''){ if((name_value=='') || (email_value=='')){ $('#qsloader').hide(); $('#error_select').hide(); $('#error_feedback').hide(); $('#error_rating').show(); $('#error_ratingmail').hide(); return false; }else{ $('#error_rating').hide(); var emailID = $('#guest_email').val(); atpos = emailID.indexOf("@"); dotpos = emailID.lastIndexOf("."); if (atpos < 1 || ( dotpos - atpos < 2 )) { $('#qsloader').hide(); $('#error_ratingmail').show(); $('#guest_email').focus(); return false; }else{ $('#error_rating').hide(); $('#error_ratingmail').hide(); $('#error_select').hide(); $('#error_feedback').hide(); // ajax_function_call(ques_box); } } }else{ $('#error_rating').hide(); $('#error_ratingmail').hide(); $('#error_select').hide(); $('#qsloader').hide(); $('#error_feedback').show(); } }else{ if((name_value=='') || (email_value=='')){ $('#qsloader').hide(); $('#error_select').hide(); $('#error_feedback').hide(); $('#error_rating').show(); $('#error_ratingmail').hide(); return false; }else{ $('#error_rating').hide(); var emailID = $('#guest_email').val(); atpos = emailID.indexOf("@"); dotpos = emailID.lastIndexOf("."); if (atpos < 1 || ( dotpos - atpos < 2 )) { $('#qsloader').hide(); $('#error_ratingmail').show(); $('#guest_email').focus(); return false; }else{ $('#error_rating').hide(); $('#error_ratingmail').hide(); $('#error_select').hide(); $('#error_feedback').hide(); // ajax_function_call(ques_box); } } } }else{ $('#error_rating').hide(); $('#error_ratingmail').hide(); $('#qsloader').hide(); $('#error_feedback').hide(); $('#error_select').show(); } } // function ajax_function_call(ques_box){ // var question_num =ques_box.attr('data-ques_id'); // var quiz_num =$('#quiz_id').val(); // var author_num =$('#author_id').val(); // var radioValue =ques_box.find('input[name^="rate_ques"]:checked').val(); // var ip_value =$('#ip_addr').val(); // var name_value =$('#guest_name').val(); // var email_value =$('#guest_email').val(); // var feedback_url =_quizData.title; // var feedback_quiz_title ='How Well Do You Know Denzel Washington?'; // var radioValue2 =$('#radiohiddenvalue').val(); // if(radioValue2=='4'){ var text_rate = $('#rate_text').val();} else{ var text_rate='';} // if((question_num !='') && (question_num !='0')) { // var data_string = 'quiz_id='+quiz_num+'&questionid='+question_num+'&authorid='+author_num+ '&rate_text='+text_rate+'&select_task='+radioValue+'&check_status=0'+'&feedback_url='+feedback_url+'&feedback_quiz_title='+feedback_quiz_title+'&ip_addr='+ip_value+'&guestname='+name_value+'&guestemail='+email_value+'&down_reason='+radioValue2; // } // console.log(quiz_num); // console.log(author_num); // $.ajax({ // type:'POST', // url:'/quiz-school/_ajax_discuss_question_rate.php', // cache:false, // data: data_string , // timeout:25000, // success:function(data){ // var n = data.search("--"); // if(n>=0){ // var res = data.split("--"); // var data = res[0]; // } // if(radioValue =='0'){ // if( typeof res != 'undefined' && res.length > 0 ){ // edit_ques(res[1]); // } // else{ // $.fancybox.close(); // } // ques_box.find(".vote_down_val").html(data); // }else{ // ques_box.find(".vote_up_val").html(data); // } // }, // error: window.errorOBJ // }); // } var ajax_calll = true; function ajax_function_call(radioValue, _this, down_reason){if( !ajax_calll ){return false;}varquestion_num=_this.attr('data-qid');var quiz_num ='1841250';var author_num = '1510065';var feedback_url= '3dq-how-well-do-you-know-denzel-washington';var feedback_quiz_title = $('.heading_title').text().trim();var text_rate =$('#rate_text').length?$('#rate_text').val():'';var name_value =$('#feed_name').length?$('#feed_name').val():'';var email_value=$('#feed_email').length?$('#feed_email').val():'';var qtype_qtl ='Quiz';var feedback_type ='0';if((question_num !='') && (question_num !='0')) {var data_string = 'quiz_id='+quiz_num+'&questionid='+question_num+'&authorid='+author_num+ '&rate_text='+text_rate+'&select_task='+radioValue+'&check_status=0'+'&feedback_url='+feedback_url+'&feedback_quiz_title='+feedback_quiz_title+'&guestname='+name_value+'&guestemail='+email_value+'&down_reason='+down_reason+'&qtype_qtl='+qtype_qtl+'&feedback_type='+feedback_type;}//console.log(data_string);ajax_calll=false;$.ajax({type:'POST',url:'/quiz-school/_ajax_discuss_question_rate.php',cache:false,data: data_string ,timeout:25000,success:function(data){ajax_calll=true;_this.addClass('offf');var n = data.search("--");if(n>=0){var res = data.split("--");var data = res[0];}if(radioValue =='0'){$('#rate_blk, #overlay-feed').remove();_this.find(".vote_down_val").html(data);_this.find('.thumpsdwn_cls').addClass('added');}else{_this.find(".vote_up_val").html(data);_this.find('.thumpsup_cls').addClass('added');}thank_msg();},// error: function(jqXHR, exception) // { // ajax_calll=true;// if (jqXHR.status == 404) {// showAlertPop_smpl("Oops","404: Requested page not found.\nPlease try to submit again.");// } else if (jqXHR.status == 500) {// showAlertPop_smpl("Oh-oh","500: Something went wrong with connection.\nPlease close this message and submit again.");// $("#loadershow2").hide();// } else if (exception === 'parsererror') {// showAlertPop_smpl("Oops","Parse error has been occurred.\nPlease try to submit again.");// $("#loadershow2");// } else if (exception === 'timeout') {// showAlertPop_smpl("Oh-oh","Server detected connection problem.\nPlease try to submit again.");// $("#loadershow2");// $("#loadershow2").hide();// } else if (exception === 'abort') {// showAlertPop_smpl("Oops!","Asynchronous request aborted.\nPlease try to submit again.");// $("#loadershow2").hide();// }else if (jqXHR.status === 0) {// showAlertPop_smpl("Oops!","Something went wrong.\nPlease close this message and submit again."); // $("#loadershow2").hide();// } // else {// showAlertPop_smpl("Oh-oh!","Something went wrong with connection.\nPlease close this message and submit again."); // $("#loadershow2").hide();// }// }});} var resize_tab_content = function(){ $('.tab-contents').height( $('.jump_slide_blk').outerHeight() - 126); if( $(window).width() > 767 ){ $('.tab-contents').height( $('.jump_slide_blk').outerHeight() - 90); } if( $(window).width() > 1024 ){ $('.tab-contents').height( $('.jump_slide_blk').outerHeight() - 180); } }; var hide_jump_slider = function(){ $('#overlay2').hide(); $('.jump_slide_blk').css("right", "-100%"); $('.jump_slide_blk').addClass("vi_hidden"); $('body').css("overflow", 'auto'); }; var calculateAttempted=function(){ $('#jump_unans_count').text($('.jump_unanswered_cls').length); $('#jump_ans_count').text($('.jump_answered_cls').length); }; var animateQuestion=function(ques_box){ if( ques_box.length == 0 ) return false; if( ques_box.is(':first-child') ){ $('html, body').animate({scrollTop: ques_box.offset().top -($(window).width() > 768?75:78)}, 500); } else if( !$('.ques-jump-progress-bar').hasClass('fixed') ){ $('html, body').animate({scrollTop: ques_box.offset().top -($(window).width() > 768?95:105)}, 500); } else{ $('html, body').animate({scrollTop: ques_box.offset().top -$('.ques-jump-progress-bar').outerHeight() }, 500); } }; var removeBlankAds = function(ques_box, sele){ var quesboxes = ques_box.nextAll(); quesboxes.each(function(i, e){ if( $(e).hasClass('ques-area-box') ){ return false; } else if( $(e).is(sele) ){ $(e).remove(); } }); }; $('.answer_boxes input[type="radio"], .answer_boxes input[type="checkbox"]').iCheck({ checkboxClass: 'icheckbox_square-blue', radioClass: 'iradio_square-blue', increaseArea: '20%' // optional }); if($(window).width() <= 767 ) answersGridChecher($('.answer_boxes')); $(document).on('ifChecked ifUnchecked', 'input', function(event){ var q_box=$(this).parents('.ques-area-box'); var q_type=q_box.attr('data-q_type'); if( q_type == 'multichoice' || q_type == 'truefalse' ){ q_box.find('.new_bottom_next_btn').trigger('click'); } }).on('click', '.new_bottom_next_btn:not(.final_submit):not(.disabled)', function(){ var btn = $(this); var q_box=btn.parents('.ques-area-box'); var q_type=q_box.attr('data-q_type'); var this_form=q_box.find('.ques-answer-form'); var ans_box=q_box.find('.answer_boxes_real'); var ques_id=q_box.attr('data-ques_id'); var quesnum=q_box.attr('data-q_num'); var quiz_is=q_box.attr('data-quiz_is'); var data_quiz_id=q_box.attr('data-quiz_id'); var formData=_quizData;//Script to replace video ad with normal adif(!hasRunOnce && quesnum>2 && !detecttab()){ console.log('check');const container1 = document.getElementById('new-sidebar-ad1');if (container1.querySelector('#v-proprofs-v1-0') || container1.querySelector('#pw_trendi_video_container')) {loadSide1DesktopIntoNewSidebar();hasRunOnce = true;}} formData.ques_id=ques_id; formData.quesnum=quesnum; formData.checkansphp='check'; if(btn.hasClass('submit_required')){ if(q_type == 'fill'){ var answer = this_form.find('input[name="fillin"]').val(); if(!answer || answer.trim() == ''){ q_box.find('.submit_required_text').html(' Please provide an answer.'); btn.removeClass('disabled'); return false; } else{ q_box.find('.submit_required_text').html(''); } } if(q_type == 'multi'){ const questionBox = document.querySelector(`.ques-area-box[data-ques_id="${ques_id}"]`); if (!questionBox) { console.error(`No question found with data-ques_id="${ques_id}"`); //return false; } // Get all checkboxes within this question const checkboxes = questionBox.querySelectorAll('.radiochk'); let isChecked = false; checkboxes.forEach(cb => { if (cb.checked) { isChecked = true; } }); // Show or hide the error message const errorText = questionBox.querySelector('.submit_required_text'); if (!isChecked) { if (errorText) q_box.find('.submit_required_text').html(' Please provide an answer.'); btn.removeClass('disabled'); return false; } else { if (errorText) q_box.find('.submit_required_text').html(''); //return true; } } if(q_type == 'match'){ const questionBox = document.querySelector(`.ques-area-box[data-ques_id="${ques_id}"]`); const matchInputs = questionBox.querySelectorAll('input[name^="select_match_"]'); const selects = questionBox.querySelectorAll('select'); let allAnswered = true; let isSelected = false; matchInputs.forEach(input => { if(!input.value || input.value.trim() == '') { allAnswered = false; } }); selects.forEach(function(select) { if (select.value !== "000000") { isSelected = true; } }); if(!allAnswered || !isSelected) { q_box.find('.submit_required_text').html(' Please provide an answer.'); btn.removeClass('disabled'); return false; } else { q_box.find('.submit_required_text').html(''); } } } formData=$.extend({}, formData, serializedObject(this_form.serializeArray())); ansBoxLoader(ans_box); btn.addClass('disabled'); if(quiz_is == 'SQ'){ var url = '/quiz-school/SQplay/_ajax_quizshow_free_new_v1.php'; } else{ var url = '/quiz-school/SQplay/_ajax_quizshow_per_free_new_v1.php'; } $.ajax({ url: url, type: 'POST', data: formData, timeout: 25000, success: function(res){ var data=JSON.parse(res); console.log(data); if(quiz_is == 'SQ' && detectmob() && quesnum % 2 != 0){ var aiHTMLAds = ''; aiHTMLAds = '

'; $('#mobile-ai-ad-container'+ques_id).html(aiHTMLAds); loadAIad(quesnum); } if( 'PracticeMode' == _quizData.quizmode ){ if(quiz_is == 'SQ'){ ans_box.hide(); } else{ ans_box.find('.jump_loader').remove(); ans_box.find('.load_overlay').remove(); q_box.find('.answer_option').css('pointer-events', 'none'); } } else{ ans_box.find('.jump_loader').remove(); ans_box.find('.load_overlay').remove(); } // Add attempted question indicator SVG const attemptedSvg = `

`; // Make sure q_box has relative positioning for absolute SVG positioning q_box.css('position', 'relative'); // Remove any existing attempt indicators first q_box.find('.attempt-indicator').remove(); // Add the SVG wrapped in a div with attempt-indicator class q_box.prepend(`

${attemptedSvg}

`); if(quiz_is == 'SQ'){ var confitee_box = data.html; console.log('confitee--',$(confitee_box).find('.answer_boxes_resp .Right').length); if ($(confitee_box).find('.answer_boxes_resp .Right').length > 0 || $(confitee_box).hasClass('answer_boxes_resp Right')) { //showConfetti(ques_id); //showConfetti_new(ques_id);setTimeout(function() {showConfetti_new1(ques_id);}, 50); } // Insert AI container HTML into ai-show-container // Check if AI container exists and if this is a practice mode question if($('#ai-show-container' + ques_id).length) { // Create AI container for each question var aiContainerId = 'ai-container-' + ques_id; // Remove any existing AI containers first var aiHtml = '

'; aiHtml += '

'; aiHtml += '

'; aiHtml += '

'; aiHtml += '

'; aiHtml += ''; aiHtml += ''; aiHtml += '

'; if(quesnum % 2 != 0 && !detectmob()){ aiHtml += '

'; } aiHtml += '

'; $('#ai-show-container' + ques_id).html(aiHtml); } ans_box.find('.answer_boxes_resp').remove(); q_box.find('.feedback_xpln').remove(); btn.addClass('disabled').css('display', 'none'); $(data.html).insertAfter(ans_box); if( 1 || userDevice == 'yes' ){ if( q_box.find('.res_result_show').length ){ var result_resp = q_box.find('.res_result_show')[0].outerHTML; q_box.find('.answer_boxes_resp .res_result_show').remove(); q_box.find('.res_resp_area').html($(result_resp)); q_box.find('.res_result_show').addClass('mob-mrg'); q_box.addClass('prac_resp'); } } }if(!detectmob()){const boxes = document.querySelectorAll('.box_height_'+ques_id);let maxHeight = 0;boxes.forEach(box => {const boxHeight = box.offsetHeight;if (boxHeight > maxHeight) {maxHeight = boxHeight;}});boxes.forEach(box => {box.style.height = `${maxHeight}px`;});} if($(window).width() <= 767 ) answersGridChecher(ans_box.next('.answer_boxes_resp').find('.answer_boxes')); if( data.is_last_ques == 'y' ){ // $('.final_submit').removeClass('hide'); } if(resultButtonActive==false){ $('.final_submit').removeClass('hide'); $('.hide_panel').attr('style', 'display: none !important'); if( quesnum == 1 ){ $('

Scroll to Next Question

').insertAfter(q_box); } resultButtonActive = true; } else if( quesnum == 1 ){ // $('.final_submit').removeClass('hide'); // $('.hide_panel').attr('style', 'display: none !important'); // $('

Scroll to Next Question

').insertAfter(q_box); } if( $('.your_score').length ){ $('.your_score_only').html(data.score); } if( $('.score_trophy_box_data').length && data.score_other_meta ){ if( quesnum == 1 && $('#US_mid_small_video .score_trophy_box').length ){ $('#US_mid_small_video .score_trophy_box').find('.score_other_meta').remove(); $('#US_mid_small_video .score_trophy_box').find('.score_trophy_box_data').append(data.score_other_meta); $('#US_mid_small_video .score_trophy_box').find('.score_trophy_box_data').attr('data-ques_id', ques_id); } else{ $(q_box.nextAll('.marg-tb.PracticeMode')[0]).addClass('qa_attempted'); $(q_box.nextAll('.marg-tb.PracticeMode')[0]).find('.score_other_meta').remove(); $(q_box.nextAll('.marg-tb.PracticeMode')[0]).find('.score_trophy_box_data').append(data.score_other_meta); $(q_box.nextAll('.marg-tb.PracticeMode')[0]).find('.score_trophy_box_data').attr('data-ques_id', ques_id); } $('.trophy_score').html(data.score); } if( 'PracticeMode' == _quizData.quizmode ){ var audio = $('audio')[0]; audio.src = '/quiz-school/images/'+data.ques_res_show+'-a_f.mp3'; audio.play(); } if( $('#progressBar').length ){ $('.progrspan').html(data.progress+' %'); $('#progressBar > div').css('width', data.progress+'%'); } $('.jump_btn[data-key="'+ques_id+'"]').removeClass('jump_unanswered_cls').addClass('jump_answered_cls').addClass(data.ques_res); var initial_text =$('.jump_btn[data-key="'+ques_id+'"]').attr('data-rel'); $('.jump_btn[data-key="'+ques_id+'"]').attr('data-rel', '*Attempted
'+initial_text); calculateAttempted(); //Vks Commnet /* if( typeof _refreshAdUnits != 'undefined' ){ if( userDevice == 'no' ){ var refresh_ads = ['/1087502/ProProfs/PP_footer_D']; if( isTablet == '' ){ if( userCountry == 'United States' ){ refresh_ads.push('/1087502/ProProfs/PP_side-1_D'); refresh_ads.push('/1087502/ProProfs/PP_side-2_D'); } else{ refresh_ads.push('/1087502/ProProfs/PP_side-1_D'); refresh_ads.push('/1087502/ProProfs/PP_side-2_D'); } } _refreshAdUnits(refresh_ads); } else{ var refresh_ads = ['/1087502/ProProfs/PP_footer-sticky_M']; _refreshAdUnits(refresh_ads); } ad_locker_position(); if( userDevice == 'no' && window.innerHeight > 700 ){ setTimeout(function(){ refreshBodyAds(parseInt(quesnum)+1); }, 2100); } } */ }, error:function(jqXHR, exception){ window.errorOBJ(jqXHR, exception); ans_box.find('.load_overlay, .load_overlay').remove(); if( !(q_type == 'multichoice' || q_type == 'truefalse') ){ q_box.find('.new_bottom_next_btn').removeClass('hide'); } } }); }).on('click', '.jump_to_next:not(.opac_fifty)', function(){ animateQuestion($('.ques-area-box[data-q_num="'+(parseInt($('#current_q_num').text())+1)+'"]')); }).on('click', '.jump_to_prev:not(.opac_fifty)', function(){ animateQuestion($('.ques-area-box[data-q_num="'+(parseInt($('#current_q_num').text())-1)+'"]')); }).on('click', '.jump_next_ques_btn', function(){ animateQuestion($($(this).nextAll('.ques-area-box')[0])); }).on('scroll', function(){ // if( $(window).width() <= 480 ){ // if( window.scrollY > 127 ) // $('.ques-jump-progress-bar').addClass('fixed'); // else // $('.ques-jump-progress-bar').removeClass('fixed'); // } // else{ // if( window.scrollY > 208 ) // $('.ques-jump-progress-bar').addClass('fixed'); // else // $('.ques-jump-progress-bar').removeClass('fixed'); // } const $quizContainer = $('#quiz-container'); if ($quizContainer.length) { const quizContainerTop = $quizContainer.offset().top; const scrollY = window.scrollY; const windowWidth = $(window).width(); // Optional offsets if you want it to stick before reaching the quiz container const mobileOffset = 0; const desktopOffset = 0; if (windowWidth <= 480) { if (scrollY > quizContainerTop - mobileOffset) { $('.ques-jump-progress-bar').addClass('fixed'); } else { $('.ques-jump-progress-bar').removeClass('fixed'); } } else { if (scrollY > quizContainerTop - desktopOffset) { $('.ques-jump-progress-bar').addClass('fixed'); } else { $('.ques-jump-progress-bar').removeClass('fixed'); } } } }).on('click', '.final_submit', function(){ var quiz_is = $('.ques-area-box:first').attr('data-quiz_is'); if( quiz_is == 'SQ' ){ var url = '/quiz-school/SQplay/_ajax_quizshow_free_new_v1.php'; } else{ var url = '/quiz-school/SQplay/_ajax_quizshow_per_free_new_v1.php'; } // Check for unanswered questions var unanswered = []; $('.ques-area-box').each(function(index) { var qNum = $(this).attr('data-q_num'); var qType = $(this).attr('data-q_type'); // Check if question is answered based on type var isAnswered = false; if(qType == 'multi' || qType == 'multichoice' || qType == 'truefalse') { isAnswered = $(this).find('input:checked').length > 0; } else if(qType == 'match') { isAnswered = $(this).find('.match_answer_selected').length > 0; } if(!isAnswered) { unanswered.push(qNum); } }); // Show alert if there are unanswered questions // if(unanswered.length > 0 && !window.skipUnanswered) { // $('body').append(` //

//

//

//

//

//

The following questions are pending a response.

//

${unanswered.join(', ')}

//

// Answer Pending Questions // //

//

//

// `); // $('.unanswered-popup-close').on('click', function(){ // $('.unanswered-popup').remove(); // $('.popup-overlay').remove(); // }); // return false; // } var formData=_quizData; formData.checkansphp='submitForm'; $(this).prev('.action_checker').addClass('submitting'); submitCheck++; $.ajax({ url: url, type: 'POST', data: formData, timeout: 25000, success: function(res){ var res_id = res.trim(); if( res_id != '' ){ if( quiz_is == 'SQ' ){ location.href = "/quiz-school/quizreport.php?title="+_quizData.title+"&sid="+res_id; } else{ location.href = "/quiz-school/personality/quizreport.php?title="+_quizData.title+"&sid="+res_id; } } }, error:function(jqXHR, exception){ if( submitCheck == 1 ){ $('.final_submit').trigger('click'); } else{ window.errorOBJ(jqXHR, exception); $('.final_submit').prev().removeClass('submitting'); } } }); }).on('click', '.thump_sel:not(.offf) .thumps_area', function(){if( $(this).hasClass('thumpsup_cls') ){ajax_function_call(1, $(this).parent(), '');}else{var ques_id=$(this).parent().attr('data-qid');$('#rate_blk, #overlay-feed').remove();$('body').append( `

Provide additional feedback

×

`);}}).on('click', '#submit_poor', check_input).on('change', '[name="Tfeedback"]', function(){ $('#radiohiddenvalue').val($(this).val()); if( $(this).val() == 4 ) $('#T_ratetext').show(); else $('#T_ratetext').hide(); }).on('click', '#noedit', function(){ thank_msg(); $('#rate_blk').hide(); }).on('click', '#save', function(){ var quesvoteid=$('#insertid').val(); var name =$('#guest_name').val(); var email =$('#guest_email').val(); var ques_no =$('#rate_blk').attr('data-ques_id'); var quiz_no =$('#quiz_id').val(); var auth_no =$('#author_id').val(); if((ques_no!='') && (ques_no!='0')){ var url = 'https://www.proprofs.com/quiz-school/discuss_edit_question?qid='+ques_no+"&id="+quiz_no+"&auth="+auth_no+"&name="+name+"&email="+email+"&quesvoteid="+quesvoteid; window.open(url,'_blank'); setTimeout( function() {$.fancybox.close(); },2000); } }).on('click', '.side_bar_view', function(){ $('#overlay2').show(); $('.jump_slide_blk').css("right", "0"); $('.jump_slide_blk').removeClass("vi_hidden"); $('body').css("overflow", 'hidden'); setTimeout(function(){ $('.tabmenu .tabs.active').focus(); }, 100); }).on('click', '.tabmenu_bottom li', function(){ var tab_index=$(this).attr('data-tab-index'); $('.tabmenu_bottom li').removeClass('active'); $(this).addClass('active'); if( tab_index == 'white' ){ $('.bottom_ques_container, .show_view_more').hide(); $('.bottm_jump_unanswered_cls').show(); $('.bottom_ques_container.very_first').attr('style', 'display: none !important;'); } if( tab_index == 'all' ){ if( !$('.tabmenu_bottom [data-tab-index="all"]').hasClass('load_view_all') ){ $('.bottom_ques_container, .show_view_more').show(); } else{ $('.bottom_ques_container').show(); } } if( tab_index == 'grey' ){ $('.bottom_ques_container, .show_view_more').hide(); $('.bottm_jump_answered_cls_Right, .bottm_jump_answered_cls_Wrong').show(); } }).on('click', '.jump_cross_free', hide_jump_slider).on('keydown', function(e){ if(e.which==27) hide_jump_slider(); }).on('click', '.tab-content', function(){ var ques_id=$(this).attr('data-key'); var q_box=$('.ques-area-box[data-ques_id="'+ques_id+'"]'); hide_jump_slider(); animateQuestion(q_box); //$('html, body').animate({scrollTop: q_box.offset().top - 70}, 500); }).on('click', '.tabmenu li', function(){ var data_index=$(this).attr('data-tab-index'); $('.tabmenu li').removeClass('active'); $(this).addClass('active'); $('.tab-contents .tab-content').hide(); if( data_index == 'white' ){ $('.tab-content .jump_unanswered_cls').each(function(){ $(this).parent().show(); }); } else if( data_index == 'grey' ){ $('.tab-content .jump_answered_cls').each(function(){ $(this).parent().show(); }); } else{ $('.tab-contents .tab-content').show(); } }).on('click', '#shr-less-more', function() { var current_hide=$(this).find('.hide'); $('#shr-less-more > div').addClass('hide'); current_hide.removeClass('hide'); $('#side-share-btn .s_hide').toggleClass('hide'); }).on('click', '#side-share-btn li', function(){ var shr_id=$(this).attr('id'); var openLink=''; if( shr_id == 'shr-facebook' ){ openLink = 'https://www.facebook.com/sharer/sharer.php?u=' + encodeURIComponent(storylink); } else if( shr_id == 'shr-twitter' ){ openLink = 'https://twitter.com/intent/tweet?text=' + encodeURIComponent(quiz_title+' '+ storylink+' '+ viapp); } else if( shr_id == 'shr-thumblr' ){ openLink = 'https://www.tumblr.com/share?v=3&u=' + encodeURIComponent(storylink) +'&t=' +encodeURIComponent(quiz_title); } else if( shr_id == 'shr-reddit' ){ openLink ='https://www.reddit.com/submit?url='+encodeURIComponent(storylink)+'&title='+encodeURIComponent(quiz_title); } else if( shr_id == 'shr-pin' ){ openLink ='https://www.pinterest.com/pin/create/button/?url='+encodeURIComponent(storylink)+'&media='+imagepath+'&description='+descpp; } else if( shr_id == 'shr-link' || shr_id == 'shr-embed' ){ var link = $(this).attr('rel'); $.fancybox({ fitToView: false, width: shr_id == 'shr-embed'?650:400, height: shr_id == 'shr-embed'?320:120, autoSize: false, closeClick: false, openEffect: 'none', closeEffect: 'none', href : link, helpers: { title: null }, type: 'ajax', wrapCSS : 'shr_link' }); } if( openLink != '' ){ winWidth = 650; winHeight = 450; winLeft = ($(window).width() - winWidth) / 2, winTop = ($(window).height() - winHeight) / 2, winOptions= 'width=' + winWidth + ',height=' + winHeight + ',top=' + winTop + ',left=' + winLeft; window.open(openLink,'Share This Link',winOptions); } }).on('submit', '.ques-answer-form', function(e){ e.preventDefault(); $(this).parents('.ques-area-box').find('.new_bottom_next_btn').trigger('click'); return false; }).on('click', '.practice_next_btn', function(){ $('.jump_to_next').trigger('click'); }).on('click', '.typein_hint_icon', function(){ $('.typein_hint_popup').hide(); $(this).next('.typein_hint_popup').show(); }).on('click', function(e){ if( !($(e.target).is('.typein_hint_icon') || $(e.target).is('.typein_hint_popup') || $(e.target).is('.typein_hint_popup *')) ){ $('.typein_hint_popup').hide(); } }).on('keyup', '.typein_input', function(){ var this_box_inp = $(this); var this_box = $(this).parent(); this_box.find('.try_again').remove(); if( this_box_inp.val() != '' ){ var typein_ans = typein_answers[this_box_inp.attr('id')]; var userin = md5(this_box_inp.val().toLowerCase()); if( typein_ans != userin ){ this_box.append('

Try again

'); } else{ this_box.parents('.typein_ans_box').addClass('answered'); this_box.parents('.typein_ans_box').append('

'+this_box_inp.val()+'

'); } } }).on('click', '.mute_unmute_icon', function(){ var audio = $('audio')[0]; if( $(this).hasClass('mute') ){ audio.muted = false; $(this).removeClass('mute'); } else{ audio.muted = true; $(this).addClass('mute'); } }); resize_tab_content(); calculateAttempted(); if( $('#quiz-sidebar .new_ad_wrapper_all').length>0 && $('#quiz-sidebar_adblock').length ){ $(window).scroll(function(){ if( $(this).scrollTop() > last_ad_top_offset ){ $('#quiz-sidebar_adblock').addClass('ad_fix_right'); //$('.side_last_unit .new_ad_wrapper_all').addClass('ad_fix_right'); } else{ $('#quiz-sidebar_adblock').removeClass('ad_fix_right'); //$('.side_last_unit .new_ad_wrapper_all').removeClass('ad_fix_right'); } }); ad_locker_position(); } $("#product-menu, .product-drop-new").hover(function(){ $(".all-dots").addClass("showBG"); }, function(){ $(".all-dots").removeClass("showBG"); }); $(".dropdown-menu").hover(function(){ $(this).parents(".dropdown").addClass("open"); }, function(){ $(".dropdown").removeClass("open"); }); $(".navbar_control.new-ver .dropdown").hover(function(){ $(this).addClass("open"); }, function(){ $(".dropdown").removeClass("open"); }); $(document).on('keypress', function(e){ var keycode = (e.keyCode ? e.keyCode : e.which); if (keycode == '13') { document.activeElement.click(); } }); var isInViewport = function (elem) { var bounding = elem.getBoundingClientRect(); if( 1 || bounding.height > window.innerHeight ){ return !((bounding.height+bounding.top) < bounding.height/4); } else{ return ( bounding.top >= 0 && bounding.left >= 0 && bounding.bottom <= (window.innerHeight || document.documentElement.clientHeight) && bounding.right <= (window.innerWidth || document.documentElement.clientWidth) ); } }; var last_used_new = 3; var last_used_new_re = 1; var refreshBodyAds = function(quesnum){ var refresh_ads = []; var next_qnum = parseInt(quesnum); if( $('[data-q_num="'+next_qnum+'"]').length ){ var ad_common_cls = 'marg-tb'; var ad_move_cls = 'body-desk-top-ad'; if( userDevice != 'no' ){ var ad_common_cls = 'mob_body_m'; var ad_move_cls = 'mob_body_ads'; } var next_q_div = $('[data-q_num="'+next_qnum+'"]'); var next_ad_div = next_q_div.next('.'+ad_common_cls); var ad_unit = next_ad_div.attr('data-unit'); if( ad_unit || next_qnum == 1){ //refresh_ads.push('/1087502/ProProfs/'+ad_unit); } else{ var ad_box = $('.'+ad_move_cls)[0]; var fisrt_unit = ad_box.outerHTML; var ad_unit = $(ad_box).attr('data-unit'); if( userDevice == 'no' ){ if( last_used_new <= 10 ){ var newAdUnit = "PP_body-"+(last_used_new)+"_D"; next_ad_div.attr('data-unit', newAdUnit).addClass(ad_move_cls); next_ad_div.find('.new_ad_wrapper_all').append("

"); last_used_new++;//Vks Commnet // PWT.initAdserverSet = false; if( _quizData.quizmode == 'PracticeMode' ){//Vks Commnet // prebidCallLoadUnits([newAdUnit], false, [[300,250]]); } else{//Vks Commnet // prebidCallLoadUnits([newAdUnit], false, [[728,90]]); } return false; } } //$(ad_box).removeAttr('data-unit'); //$(ad_box).removeClass(ad_move_cls); //$(ad_box).find('.new_ad_wrapper_all [id^="ad-PP"]').remove(); if( $('.score_trophy_box_data').length ){ var score_trophy_box = next_q_div.next('.marg-tb.PracticeMode').find('.score_trophy_box').html(); } //removeBlankAds(next_q_div, '.'+ad_common_cls+':not(.'+ad_move_cls+')'); //$(fisrt_unit).insertAfter(next_q_div); if( $('.score_trophy_box_data').length ){ $('#ad-'+ad_unit).parents('.marg-tb.PracticeMode').find('.score_trophy_box').html(score_trophy_box); } if( userDevice == 'no' ){ var newAdUnit = "PP_body-"+(last_used_new_re)+"_D"; var newAdUnitID = "PP_body_D_question-"+quesnum; last_used_new_re++; if( last_used_new_re > 10 ){ last_used_new_re = 1; } } else{ var newAdUnit = "PP_body-"+(last_used_new_re)+"_M"; var newAdUnitID = "PP_body_M_question-"+quesnum; last_used_new_re++; if( last_used_new_re > 2 ){ last_used_new_re = 1; } } next_ad_div.attr('data-unit', newAdUnit).addClass(ad_move_cls); next_ad_div.find('.new_ad_wrapper_all').append('

');//Vks Commnet /* googletag.cmd.push(function() { var slot = googletag.defineSlot('/1087502/ProProfs/'+newAdUnit, adUnits[newAdUnit].sizes, newAdUnitID).addService(googletag.pubads()).setTargeting('pos', newAdUnitID).setTargeting('refresh', '0'); googletag.display(slot); }); */ }//Vks Commnet //_refreshAdUnits(refresh_ads); } }; var isInViewportReal = function(e) { var elementTop = $(e).offset().top; var elementBottom = elementTop + $(e).outerHeight(); var viewportTop = $(window).scrollTop(); var viewportBottom = viewportTop + $(window).height(); return elementBottom > viewportTop && elementTop < viewportBottom; }; var setTimeOutV = ''; var bodyAdsInViewport = function(){ clearTimeout(setTimeOutV); setTimeOutV = setTimeout(function(){ var adBoxes = []; $('.marg-tb:not(.body-desk-top-ad)').each(function(i,e) { if( isInViewportReal(e) ){ adBoxes.push(e); } }); for( var i=0;i

= 2 ){ return false; } var adBox = $(adBoxes[i]); var prevQ = adBox.prevAll('.ques-area-box'); if( prevQ.length ){ var qnum = $(prevQ[0]).attr('data-q_num');//Vks Commnet // refreshBodyAds(qnum); } } }, 500); } var setTimeOut = ''; var q_flag = 0; $(window).scroll(function(){ $('.ques-area-box').each(function(i, e){ if( isInViewport($(e)[0]) ){ var q_num=$(e).attr('data-q_num'); $('#current_q_num').text(q_num); if( userDevice == 'yes' || window.innerHeight <= 700 ){ q_flag = q_num; clearTimeout(setTimeOut); setTimeOut = setTimeout(function(){//Vks Commnet //refreshBodyAds(q_flag); }, 500); } if( q_num > 1 ){ $('.jump_to_prev').removeClass('opac_fifty'); } else{ $('.jump_to_prev').addClass('opac_fifty'); } if( $('.ques-area-box').length == q_num ){ $('.jump_to_next').addClass('opac_fifty'); } else{ $('.jump_to_next').removeClass('opac_fifty'); } return false; } }); if( userDevice == 'no' && window.innerHeight > 700 ){ bodyAdsInViewport(); } }); if( screen.width > 767 ){ $(function () { $(document).on('mouseover', ".tipsy_cls_jump", function () { var text_con = $(this).attr("data-rel"); var text_count = text_con.length; $(this).qtip({ content: text_con, show: { ready: true, when: true }, hide: 'mouseout', style: { width: 220, padding: 5, background: '#000', color: 'white', textAlign: 'left', border: { width: 7, radius: 5, color: '#000' }, tip: 'bottomMiddle', name: 'dark', // Inherit the rest of the attributes from the preset dark style }, position: { corner: { target: "topMiddle", tooltip: "bottomMiddle" } } }); }); }); } }); // Store chat history per question ID var chatHistories = {}; function submitQuestionAI(ques_id,quesnum,quiz_id) { var questionTEXT = ''; // Add instruction for proper formatting var spans = document.querySelectorAll('.showRightBox .answer_text_container span'); var wrongSpans = document.querySelectorAll('.showWrongBox .answer_text_container span'); var correctAnswer = ''; var wrongAnswer = ''; spans.forEach(function(span) { correctAnswer = span.textContent.trim(); }); wrongSpans.forEach(function(span) { wrongAnswer = span.textContent.trim(); }); var questionTextEl = document.getElementById('questionTEXT' + ques_id); if (questionTextEl) { questionTEXT = questionTextEl.value.replace(/(<([^>]+)>)/gi, ""); console.log('questionTEXT-', questionTEXT); } // console.log('questionTEXT', questionTEXT); var clickedElement = event.target.closest('.suggestion-ai'); /** * All system prompt Start */ var systemPromptML = `You are an educational assistant. You will be given a question, its correct answer, and a follow-up query (e.g., "Why it's important?"). Your task is to provide a helpful and detailed explanation. The response must: - Be written in proper format with clear paragraphs. - Include at least one list where relevant. - Contain exactly 100 words (not more, not less). - Expand on the concept behind the question and correct answer. - For "Why it's important?" queries, explain the significance or real-world relevance of the concept. - Be concise, easy to understand, and insightful.`; var systemPromptSuggest = `You are a tutor generating quiz questions. When given a question, its correct answer, you must generate a response in the following format: - For given question: - Create at least 3 different questions based on the topic: * One should be a rephrased version of the original. * One should be a trick question with plausible but misleading options. * One should be concept-based, derived from the explanation or underlying idea. - Create 3-5 multiple-choice questions (MCQ) based on the topic. - Do not include any labels like 'Rephrased Question', 'Trick Question', or 'Concept Question'. Only output the questions directly - Each pair must strictly use this format: Question: A)
How Well Do You Know Denzel Washington? (2025)

References

Top Articles
Latest Posts
Recommended Articles
Article information

Author: Reed Wilderman

Last Updated:

Views: 5881

Rating: 4.1 / 5 (52 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Reed Wilderman

Birthday: 1992-06-14

Address: 998 Estell Village, Lake Oscarberg, SD 48713-6877

Phone: +21813267449721

Job: Technology Engineer

Hobby: Swimming, Do it yourself, Beekeeping, Lapidary, Cosplaying, Hiking, Graffiti

Introduction: My name is Reed Wilderman, I am a faithful, bright, lucky, adventurous, lively, rich, vast person who loves writing and wants to share my knowledge and understanding with you.