{"id":944,"date":"2024-06-03T14:22:31","date_gmt":"2024-06-03T14:22:31","guid":{"rendered":"https:\/\/createandcode.org\/code\/?page_id=944"},"modified":"2024-07-21T16:11:23","modified_gmt":"2024-07-21T16:11:23","slug":"questions","status":"publish","type":"page","link":"https:\/\/createandcode.org\/code\/questions\/","title":{"rendered":"Code Questions of the Week"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><p>[vc_row][vc_column fix_column=&#8221;&#8221; hide_bg_image_on_tablet=&#8221;&#8221; hide_bg_image_on_mobile=&#8221;&#8221; css=&#8221;.vc_custom_1720060197959{background-color: #81d742 !important;border-radius: 20px !important;}&#8221;][vc_empty_space hide_on_desktop=&#8221;&#8221; hide_on_notebook=&#8221;&#8221; hide_on_tablet=&#8221;&#8221; hide_on_mobile=&#8221;&#8221;][vc_empty_space hide_on_desktop=&#8221;&#8221; hide_on_notebook=&#8221;&#8221; hide_on_tablet=&#8221;&#8221; hide_on_mobile=&#8221;&#8221;]<div id=\"sc_title_340675085\"\n\t\tclass=\"sc_title color_style_default sc_title_default\"><h6 class=\"sc_item_subtitle sc_title_subtitle sc_align_center sc_item_title_style_default\">Week 1<\/h6><h3 class=\"sc_item_title sc_title_title sc_align_center sc_item_title_style_default\">Code Questions of the Week<\/h3><\/div><!-- \/.sc_title -->[vc_empty_space hide_on_desktop=&#8221;&#8221; hide_on_notebook=&#8221;&#8221; hide_on_tablet=&#8221;&#8221; hide_on_mobile=&#8221;&#8221;][vc_empty_space hide_on_desktop=&#8221;&#8221; hide_on_notebook=&#8221;&#8221; hide_on_tablet=&#8221;&#8221; hide_on_mobile=&#8221;&#8221;][\/vc_column][\/vc_row][vc_row][vc_column width=&#8221;1\/2&#8243;][vc_empty_space hide_on_desktop=&#8221;&#8221; hide_on_notebook=&#8221;&#8221; hide_on_tablet=&#8221;&#8221; hide_on_mobile=&#8221;&#8221;]<div id=\"sc_title_1274411788\"\n\t\tclass=\"sc_title color_style_default sc_title_default\"><h6 class=\"sc_item_subtitle sc_title_subtitle sc_align_left sc_item_title_style_default\">QUESTION 1<\/h6><h3 class=\"sc_item_title sc_title_title sc_align_left sc_item_title_style_default\">Bytes<\/h3><div class=\"sc_item_descr sc_title_descr sc_align_left\"><p>What will be the output of the following?<\/p>\n<p>if 9 > 6:<br \/>\n    print(\"True\")<br \/>\nelse:<br \/>\n    print(\"False\")<\/p>\n<\/div><\/div><!-- \/.sc_title -->[vc_zigzag][\/vc_column][vc_column width=&#8221;1\/2&#8243;][vc_empty_space hide_on_desktop=&#8221;&#8221; hide_on_notebook=&#8221;&#8221; hide_on_tablet=&#8221;&#8221; hide_on_mobile=&#8221;&#8221;]<div id=\"sc_title_5894591\"\n\t\tclass=\"sc_title color_style_default sc_title_default\"><h6 class=\"sc_item_subtitle sc_title_subtitle sc_align_left sc_item_title_style_default\">QUESTION 1<\/h6><h3 class=\"sc_item_title sc_title_title sc_align_left sc_item_title_style_default\">Kiloytes<\/h3><div class=\"sc_item_descr sc_title_descr sc_align_left\"><p>If every coding camper writes 3 lines of code every minute, how many lines of code will a camper write in an hour?<\/p>\n<\/div><\/div><!-- \/.sc_title -->[vc_zigzag][\/vc_column][\/vc_row][vc_row][vc_column width=&#8221;1\/2&#8243;]<div id=\"sc_title_1318085603\"\n\t\tclass=\"sc_title color_style_default sc_title_default\"><h6 class=\"sc_item_subtitle sc_title_subtitle sc_align_left sc_item_title_style_default\">QUESTION 1<\/h6><h3 class=\"sc_item_title sc_title_title sc_align_left sc_item_title_style_default\">Megabytes<\/h3><div class=\"sc_item_descr sc_title_descr sc_align_left\"><p>What would be the output of the following code?<br \/>\nfruits = [\"apple\", \"banana\", \"cherry\"]<br \/>\nprint(fruits[1])<\/p>\n<\/div><\/div><!-- \/.sc_title -->[vc_zigzag][\/vc_column][vc_column width=&#8221;1\/2&#8243;]<div id=\"sc_title_1867810203\"\n\t\tclass=\"sc_title color_style_default sc_title_default\"><h6 class=\"sc_item_subtitle sc_title_subtitle sc_align_left sc_item_title_style_default\">QUESTION 2<\/h6><h3 class=\"sc_item_title sc_title_title sc_align_left sc_item_title_style_default\">Megabytes<\/h3><div class=\"sc_item_descr sc_title_descr sc_align_left\"><p>What would be the output of the following code?<br \/>\ndef larger_number(a, b):<br \/>\n    if a > b:<br \/>\n        return a<br \/>\n    else:<br \/>\n        return b<\/p>\n<p>result = larger_number(12, 8)<br \/>\nprint(\"The larger number is:\", result)<\/p>\n<\/div><\/div><!-- \/.sc_title -->[vc_zigzag][\/vc_column][\/vc_row][vc_row][vc_column width=&#8221;1\/2&#8243;]<div id=\"sc_title_664189560\"\n\t\tclass=\"sc_title color_style_default sc_title_default\"><h6 class=\"sc_item_subtitle sc_title_subtitle sc_align_left sc_item_title_style_default\">QUESTION 1<\/h6><h3 class=\"sc_item_title sc_title_title sc_align_left sc_item_title_style_default\">Gigabytes<\/h3><div class=\"sc_item_descr sc_title_descr sc_align_left\"><p>If a coding competition has 8 participants and each participant must compete against each other exactly once, how many matches will there be in total?<\/p>\n<\/div><\/div><!-- \/.sc_title -->[vc_zigzag][\/vc_column][vc_column width=&#8221;1\/2&#8243;]<div id=\"sc_title_419133011\"\n\t\tclass=\"sc_title color_style_default sc_title_default\"><h6 class=\"sc_item_subtitle sc_title_subtitle sc_align_left sc_item_title_style_default\">QUESTION 2<\/h6><h3 class=\"sc_item_title sc_title_title sc_align_left sc_item_title_style_default\">Gigabytes<\/h3><div class=\"sc_item_descr sc_title_descr sc_align_left\"><p>You have a 4-digit code to unlock your computer. If the first digit cannot be zero, how many possible combinations are there?<\/p>\n<\/div><\/div><!-- \/.sc_title -->[vc_zigzag][\/vc_column][\/vc_row][vc_row][vc_column width=&#8221;1\/2&#8243;]<div id=\"sc_title_1258764684\"\n\t\tclass=\"sc_title color_style_default sc_title_default\"><h6 class=\"sc_item_subtitle sc_title_subtitle sc_align_left sc_item_title_style_default\">QUESTION 1<\/h6><h3 class=\"sc_item_title sc_title_title sc_align_left sc_item_title_style_default\">Terabytes<\/h3><div class=\"sc_item_descr sc_title_descr sc_align_left\"><p>Given the string \"codingcamp\", what is the result of the substring from index 2 to 5?<\/p>\n<\/div><\/div><!-- \/.sc_title -->[vc_zigzag][\/vc_column][vc_column width=&#8221;1\/2&#8243;]<div id=\"sc_title_1644031436\"\n\t\tclass=\"sc_title color_style_default sc_title_default\"><h6 class=\"sc_item_subtitle sc_title_subtitle sc_align_left sc_item_title_style_default\">QUESTION 2<\/h6><h3 class=\"sc_item_title sc_title_title sc_align_left sc_item_title_style_default\">Terabytes<\/h3><div class=\"sc_item_descr sc_title_descr sc_align_left\"><p>What is the value of \u201c !(true and false) or (false or true) \u201d ?<\/p>\n<\/div><\/div><!-- \/.sc_title -->[vc_zigzag][\/vc_column][\/vc_row][vc_row][vc_column width=&#8221;1\/2&#8243;][vc_column_text]Answer the question the fastest and claim more points for your house![\/vc_column_text][vc_empty_space hide_on_desktop=&#8221;&#8221; hide_on_notebook=&#8221;&#8221; hide_on_tablet=&#8221;&#8221; hide_on_mobile=&#8221;&#8221;]<a href=\"https:\/\/bit.ly\/CC24Question\" id=\"sc_button_1582811279\" class=\"sc_button color_style_default sc_button_default sc_button_size_normal sc_button_icon_left\"><span class=\"sc_button_text\"><span class=\"sc_button_title\">Submit an Answer!<\/span><\/span><!-- \/.sc_button_text --><\/a><!-- \/.sc_button -->[vc_empty_space hide_on_desktop=&#8221;&#8221; hide_on_notebook=&#8221;&#8221; hide_on_tablet=&#8221;&#8221; hide_on_mobile=&#8221;&#8221;][\/vc_column][vc_column width=&#8221;1\/2&#8243;][\/vc_column][\/vc_row][vc_row][vc_column fix_column=&#8221;&#8221; hide_bg_image_on_tablet=&#8221;&#8221; hide_bg_image_on_mobile=&#8221;&#8221; css=&#8221;.vc_custom_1720060197959{background-color: #81d742 !important;border-radius: 20px !important;}&#8221;][vc_empty_space hide_on_desktop=&#8221;&#8221; hide_on_notebook=&#8221;&#8221; hide_on_tablet=&#8221;&#8221; hide_on_mobile=&#8221;&#8221;][vc_empty_space hide_on_desktop=&#8221;&#8221; hide_on_notebook=&#8221;&#8221; hide_on_tablet=&#8221;&#8221; hide_on_mobile=&#8221;&#8221;]<div id=\"sc_title_995495146\"\n\t\tclass=\"sc_title color_style_default sc_title_default\"><h6 class=\"sc_item_subtitle sc_title_subtitle sc_align_center sc_item_title_style_default\">Week 2<\/h6><h3 class=\"sc_item_title sc_title_title sc_align_center sc_item_title_style_default\">Code Questions of the Week<\/h3><\/div><!-- \/.sc_title -->[vc_empty_space hide_on_desktop=&#8221;&#8221; hide_on_notebook=&#8221;&#8221; hide_on_tablet=&#8221;&#8221; hide_on_mobile=&#8221;&#8221;][vc_empty_space hide_on_desktop=&#8221;&#8221; hide_on_notebook=&#8221;&#8221; hide_on_tablet=&#8221;&#8221; hide_on_mobile=&#8221;&#8221;][\/vc_column][\/vc_row][vc_row][vc_column width=&#8221;1\/2&#8243;][vc_empty_space hide_on_desktop=&#8221;&#8221; hide_on_notebook=&#8221;&#8221; hide_on_tablet=&#8221;&#8221; hide_on_mobile=&#8221;&#8221;]<div id=\"sc_title_1419815270\"\n\t\tclass=\"sc_title color_style_default sc_title_default\"><h6 class=\"sc_item_subtitle sc_title_subtitle sc_align_left sc_item_title_style_default\">QUESTION 1<\/h6><h3 class=\"sc_item_title sc_title_title sc_align_left sc_item_title_style_default\">Bytes<\/h3><div class=\"sc_item_descr sc_title_descr sc_align_left\"><p>Sarah always wears a green scarf on rainy days. Today, Sarah is not wearing a green scarf. What can you say about today\u2019s weather?<\/p>\n<\/div><\/div><!-- \/.sc_title -->[vc_zigzag][\/vc_column][vc_column width=&#8221;1\/2&#8243;][vc_empty_space hide_on_desktop=&#8221;&#8221; hide_on_notebook=&#8221;&#8221; hide_on_tablet=&#8221;&#8221; hide_on_mobile=&#8221;&#8221;]<div id=\"sc_title_1179505364\"\n\t\tclass=\"sc_title color_style_default sc_title_default\"><h6 class=\"sc_item_subtitle sc_title_subtitle sc_align_left sc_item_title_style_default\">QUESTION 1<\/h6><h3 class=\"sc_item_title sc_title_title sc_align_left sc_item_title_style_default\">Kiloytes<\/h3><div class=\"sc_item_descr sc_title_descr sc_align_left\"><p>During a debugging session, you find that every 5th line of code has a bug. If your program has 150 lines, how many bugs will you find?<\/p>\n<\/div><\/div><!-- \/.sc_title -->[vc_zigzag][\/vc_column][\/vc_row][vc_row][vc_column width=&#8221;1\/2&#8243;]<div id=\"sc_title_148953105\"\n\t\tclass=\"sc_title color_style_default sc_title_default\"><h6 class=\"sc_item_subtitle sc_title_subtitle sc_align_left sc_item_title_style_default\">QUESTION 1<\/h6><h3 class=\"sc_item_title sc_title_title sc_align_left sc_item_title_style_default\">Megabytes<\/h3><div class=\"sc_item_descr sc_title_descr sc_align_left\"><p>In a competition, you score 10 points for each correct answer and lose 3 points for each incorrect answer. If you answer 12 questions correctly and 5 questions incorrectly, what is your total score?<\/p>\n<\/div><\/div><!-- \/.sc_title -->[vc_zigzag][\/vc_column][vc_column width=&#8221;1\/2&#8243;]<div id=\"sc_title_444240316\"\n\t\tclass=\"sc_title color_style_default sc_title_default\"><h6 class=\"sc_item_subtitle sc_title_subtitle sc_align_left sc_item_title_style_default\">QUESTION 2<\/h6><h3 class=\"sc_item_title sc_title_title sc_align_left sc_item_title_style_default\">Megabytes<\/h3><div class=\"sc_item_descr sc_title_descr sc_align_left\"><p>There are three houses. One is red, one is blue, and one is green. The red house is to the left of the green house. The blue house is to the right of the red house. What is the order of the houses from left to right?<\/p>\n<\/div><\/div><!-- \/.sc_title -->[vc_zigzag][\/vc_column][\/vc_row][vc_row][vc_column width=&#8221;1\/2&#8243;]<div id=\"sc_title_711131054\"\n\t\tclass=\"sc_title color_style_default sc_title_default\"><h6 class=\"sc_item_subtitle sc_title_subtitle sc_align_left sc_item_title_style_default\">QUESTION 1<\/h6><h3 class=\"sc_item_title sc_title_title sc_align_left sc_item_title_style_default\">Gigabytes<\/h3><div class=\"sc_item_descr sc_title_descr sc_align_left\"><p>If the sum of two coding projects\u2019 completion times is 12 hours and one project takes twice as long as the other, how long does each project take?<\/p>\n<\/div><\/div><!-- \/.sc_title -->[vc_zigzag][\/vc_column][vc_column width=&#8221;1\/2&#8243;]<div id=\"sc_title_1540913091\"\n\t\tclass=\"sc_title color_style_default sc_title_default\"><h6 class=\"sc_item_subtitle sc_title_subtitle sc_align_left sc_item_title_style_default\">QUESTION 2<\/h6><h3 class=\"sc_item_title sc_title_title sc_align_left sc_item_title_style_default\">Gigabytes<\/h3><div class=\"sc_item_descr sc_title_descr sc_align_left\"><p>In a class of 30 coding students, 18 students prefer Python, 15 prefer Java, and 10 prefer both. How many students do not prefer either Python or Java?<\/p>\n<\/div><\/div><!-- \/.sc_title -->[vc_zigzag][\/vc_column][\/vc_row][vc_row][vc_column width=&#8221;1\/2&#8243;]<div id=\"sc_title_1864501017\"\n\t\tclass=\"sc_title color_style_default sc_title_default\"><h6 class=\"sc_item_subtitle sc_title_subtitle sc_align_left sc_item_title_style_default\">QUESTION 1<\/h6><h3 class=\"sc_item_title sc_title_title sc_align_left sc_item_title_style_default\">Terabytes<\/h3><div class=\"sc_item_descr sc_title_descr sc_align_left\"><p>In a game, if you press a red button, the score doubles. If you press a blue button, the score increases by 5. If your starting score is 1, what sequence of button presses will result in a score of 19?<\/p>\n<\/div><\/div><!-- \/.sc_title -->[vc_zigzag][\/vc_column][vc_column width=&#8221;1\/2&#8243;]<div id=\"sc_title_153940655\"\n\t\tclass=\"sc_title color_style_default sc_title_default\"><h6 class=\"sc_item_subtitle sc_title_subtitle sc_align_left sc_item_title_style_default\">QUESTION 2<\/h6><h3 class=\"sc_item_title sc_title_title sc_align_left sc_item_title_style_default\">Terabytes<\/h3><div class=\"sc_item_descr sc_title_descr sc_align_left\"><p>If you have a string of 6 characters and each character can be either a letter or a number, how many different strings can be created?<\/p>\n<\/div><\/div><!-- \/.sc_title -->[vc_zigzag][\/vc_column][\/vc_row][vc_row][vc_column width=&#8221;1\/2&#8243;][vc_column_text]Answer the question the fastest and claim more points for your house![\/vc_column_text][vc_empty_space hide_on_desktop=&#8221;&#8221; hide_on_notebook=&#8221;&#8221; hide_on_tablet=&#8221;&#8221; hide_on_mobile=&#8221;&#8221;]<a href=\"https:\/\/bit.ly\/CC24Question\" id=\"sc_button_1150492196\" class=\"sc_button color_style_default sc_button_default sc_button_size_normal sc_button_icon_left\"><span class=\"sc_button_text\"><span class=\"sc_button_title\">Submit an Answer!<\/span><\/span><!-- \/.sc_button_text --><\/a><!-- \/.sc_button -->[vc_empty_space hide_on_desktop=&#8221;&#8221; hide_on_notebook=&#8221;&#8221; hide_on_tablet=&#8221;&#8221; hide_on_mobile=&#8221;&#8221;][\/vc_column][vc_column width=&#8221;1\/2&#8243;][\/vc_column][\/vc_row][vc_row][vc_column][vc_empty_space hide_on_desktop=&#8221;&#8221; hide_on_notebook=&#8221;&#8221; hide_on_tablet=&#8221;&#8221; hide_on_mobile=&#8221;&#8221;][\/vc_column][\/vc_row][vc_row][vc_column fix_column=&#8221;&#8221; hide_bg_image_on_tablet=&#8221;&#8221; hide_bg_image_on_mobile=&#8221;&#8221; css=&#8221;.vc_custom_1720060197959{background-color: #81d742 !important;border-radius: 20px !important;}&#8221;][vc_empty_space hide_on_desktop=&#8221;&#8221; hide_on_notebook=&#8221;&#8221; hide_on_tablet=&#8221;&#8221; hide_on_mobile=&#8221;&#8221;][vc_empty_space hide_on_desktop=&#8221;&#8221; hide_on_notebook=&#8221;&#8221; hide_on_tablet=&#8221;&#8221; hide_on_mobile=&#8221;&#8221;]<div id=\"sc_title_1443001342\"\n\t\tclass=\"sc_title color_style_default sc_title_default\"><h6 class=\"sc_item_subtitle sc_title_subtitle sc_align_center sc_item_title_style_default\">Week 3<\/h6><h3 class=\"sc_item_title sc_title_title sc_align_center sc_item_title_style_default\">Code Questions of the Week<\/h3><\/div><!-- \/.sc_title -->[vc_empty_space hide_on_desktop=&#8221;&#8221; hide_on_notebook=&#8221;&#8221; hide_on_tablet=&#8221;&#8221; hide_on_mobile=&#8221;&#8221;][vc_empty_space hide_on_desktop=&#8221;&#8221; hide_on_notebook=&#8221;&#8221; hide_on_tablet=&#8221;&#8221; hide_on_mobile=&#8221;&#8221;][\/vc_column][\/vc_row][vc_row][vc_column width=&#8221;1\/2&#8243;][vc_empty_space hide_on_desktop=&#8221;&#8221; hide_on_notebook=&#8221;&#8221; hide_on_tablet=&#8221;&#8221; hide_on_mobile=&#8221;&#8221;]<div id=\"sc_title_1621968799\"\n\t\tclass=\"sc_title color_style_default sc_title_default\"><h6 class=\"sc_item_subtitle sc_title_subtitle sc_align_left sc_item_title_style_default\">QUESTION 1<\/h6><h3 class=\"sc_item_title sc_title_title sc_align_left sc_item_title_style_default\">Bytes<\/h3><div class=\"sc_item_descr sc_title_descr sc_align_left\"><p>If you start with the number 5 and double it, then subtract 3, what is the result?<\/p>\n<\/div><\/div><!-- \/.sc_title -->[vc_zigzag][\/vc_column][vc_column width=&#8221;1\/2&#8243;][vc_empty_space hide_on_desktop=&#8221;&#8221; hide_on_notebook=&#8221;&#8221; hide_on_tablet=&#8221;&#8221; hide_on_mobile=&#8221;&#8221;]<div id=\"sc_title_1644845702\"\n\t\tclass=\"sc_title color_style_default sc_title_default\"><h6 class=\"sc_item_subtitle sc_title_subtitle sc_align_left sc_item_title_style_default\">QUESTION 1<\/h6><h3 class=\"sc_item_title sc_title_title sc_align_left sc_item_title_style_default\">Kiloytes<\/h3><div class=\"sc_item_descr sc_title_descr sc_align_left\"><p>If you have a game character that gains 10 points for collecting a coin but loses 5 points for hitting an obstacle, what is the character\u2019s score after collecting 3 coins and hitting 2 obstacles?<\/p>\n<\/div><\/div><!-- \/.sc_title -->[vc_zigzag][\/vc_column][\/vc_row][vc_row][vc_column width=&#8221;1\/2&#8243;]<div id=\"sc_title_808859716\"\n\t\tclass=\"sc_title color_style_default sc_title_default\"><h6 class=\"sc_item_subtitle sc_title_subtitle sc_align_left sc_item_title_style_default\">QUESTION 1<\/h6><h3 class=\"sc_item_title sc_title_title sc_align_left sc_item_title_style_default\">Megabytes<\/h3><div class=\"sc_item_descr sc_title_descr sc_align_left\"><p>Question: If a train leaves the station at 3:00 PM and travels at 60 km\/h, how far will it have traveled by 6:00 PM?<\/p>\n<\/div><\/div><!-- \/.sc_title -->[vc_zigzag][\/vc_column][vc_column width=&#8221;1\/2&#8243;]<div id=\"sc_title_2084718168\"\n\t\tclass=\"sc_title color_style_default sc_title_default\"><h6 class=\"sc_item_subtitle sc_title_subtitle sc_align_left sc_item_title_style_default\">QUESTION 2<\/h6><h3 class=\"sc_item_title sc_title_title sc_align_left sc_item_title_style_default\">Megabytes<\/h3><div class=\"sc_item_descr sc_title_descr sc_align_left\"><p>If x + y = 10 and y - z = 5, and x = 7, what is z?<\/p>\n<\/div><\/div><!-- \/.sc_title -->[vc_zigzag][\/vc_column][\/vc_row][vc_row][vc_column width=&#8221;1\/2&#8243;]<div id=\"sc_title_1913005165\"\n\t\tclass=\"sc_title color_style_default sc_title_default\"><h6 class=\"sc_item_subtitle sc_title_subtitle sc_align_left sc_item_title_style_default\">QUESTION 1<\/h6><h3 class=\"sc_item_title sc_title_title sc_align_left sc_item_title_style_default\">Gigabytes<\/h3><div class=\"sc_item_descr sc_title_descr sc_align_left\"><p>You have a list of 10 different coding problems and you want to choose 3 to solve. How many different combinations of problems can you choose?<\/p>\n<\/div><\/div><!-- \/.sc_title -->[vc_zigzag][\/vc_column][vc_column width=&#8221;1\/2&#8243;]<div id=\"sc_title_769250885\"\n\t\tclass=\"sc_title color_style_default sc_title_default\"><h6 class=\"sc_item_subtitle sc_title_subtitle sc_align_left sc_item_title_style_default\">QUESTION 2<\/h6><h3 class=\"sc_item_title sc_title_title sc_align_left sc_item_title_style_default\">Gigabytes<\/h3><div class=\"sc_item_descr sc_title_descr sc_align_left\"><p>Emma is designing a webpage and wants to ensure that her navigation bar is fixed at the top of the page, even when the user scrolls down. Which CSS property and value combination should she use?<\/p>\n<\/div><\/div><!-- \/.sc_title -->[vc_zigzag][\/vc_column][\/vc_row][vc_row][vc_column width=&#8221;1\/2&#8243;]<div id=\"sc_title_642536274\"\n\t\tclass=\"sc_title color_style_default sc_title_default\"><h6 class=\"sc_item_subtitle sc_title_subtitle sc_align_left sc_item_title_style_default\">QUESTION 1<\/h6><h3 class=\"sc_item_title sc_title_title sc_align_left sc_item_title_style_default\">Terabytes<\/h3><div class=\"sc_item_descr sc_title_descr sc_align_left\"><p>Style a div class \u201cinfobar\u201d with a left margin of 40 pixels and a right margin 45 pixels.<\/p>\n<\/div><\/div><!-- \/.sc_title -->[vc_zigzag][\/vc_column][vc_column width=&#8221;1\/2&#8243;]<div id=\"sc_title_1808358522\"\n\t\tclass=\"sc_title color_style_default sc_title_default\"><h6 class=\"sc_item_subtitle sc_title_subtitle sc_align_left sc_item_title_style_default\">QUESTION 2<\/h6><h3 class=\"sc_item_title sc_title_title sc_align_left sc_item_title_style_default\">Terabytes<\/h3><div class=\"sc_item_descr sc_title_descr sc_align_left\"><p>How many times will the following loop execute?<br \/>\n<i> for int i = 2; i less than 9; i++ <\/i><\/p>\n<\/div><\/div><!-- \/.sc_title -->[vc_zigzag][\/vc_column][\/vc_row][vc_row][vc_column width=&#8221;1\/2&#8243;][vc_column_text]Answer the question the fastest and claim more points for your house![\/vc_column_text][vc_empty_space hide_on_desktop=&#8221;&#8221; hide_on_notebook=&#8221;&#8221; hide_on_tablet=&#8221;&#8221; hide_on_mobile=&#8221;&#8221;]<a href=\"https:\/\/bit.ly\/CC24Question\" id=\"sc_button_695565866\" class=\"sc_button color_style_default sc_button_default sc_button_size_normal sc_button_icon_left\"><span class=\"sc_button_text\"><span class=\"sc_button_title\">Submit an Answer!<\/span><\/span><!-- \/.sc_button_text --><\/a><!-- \/.sc_button -->[vc_empty_space hide_on_desktop=&#8221;&#8221; hide_on_notebook=&#8221;&#8221; hide_on_tablet=&#8221;&#8221; hide_on_mobile=&#8221;&#8221;][\/vc_column][vc_column width=&#8221;1\/2&#8243;][\/vc_column][\/vc_row][vc_row][vc_column][vc_empty_space hide_on_desktop=&#8221;&#8221; hide_on_notebook=&#8221;&#8221; hide_on_tablet=&#8221;&#8221; hide_on_mobile=&#8221;&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_empty_space hide_on_desktop=&#8221;&#8221; hide_on_notebook=&#8221;&#8221; hide_on_tablet=&#8221;&#8221; hide_on_mobile=&#8221;&#8221;][\/vc_column][\/vc_row][vc_row][vc_column fix_column=&#8221;&#8221; hide_bg_image_on_tablet=&#8221;&#8221; hide_bg_image_on_mobile=&#8221;&#8221; css=&#8221;.vc_custom_1720060197959{background-color: #81d742 !important;border-radius: 20px !important;}&#8221;][vc_empty_space hide_on_desktop=&#8221;&#8221; hide_on_notebook=&#8221;&#8221; hide_on_tablet=&#8221;&#8221; hide_on_mobile=&#8221;&#8221;][vc_empty_space hide_on_desktop=&#8221;&#8221; hide_on_notebook=&#8221;&#8221; hide_on_tablet=&#8221;&#8221; hide_on_mobile=&#8221;&#8221;]<div id=\"sc_title_385471291\"\n\t\tclass=\"sc_title color_style_default sc_title_default\"><h6 class=\"sc_item_subtitle sc_title_subtitle sc_align_center sc_item_title_style_default\">Week 4<\/h6><h3 class=\"sc_item_title sc_title_title sc_align_center sc_item_title_style_default\">Code Questions of the Week<\/h3><\/div><!-- \/.sc_title -->[vc_empty_space hide_on_desktop=&#8221;&#8221; hide_on_notebook=&#8221;&#8221; hide_on_tablet=&#8221;&#8221; hide_on_mobile=&#8221;&#8221;][vc_empty_space hide_on_desktop=&#8221;&#8221; hide_on_notebook=&#8221;&#8221; hide_on_tablet=&#8221;&#8221; hide_on_mobile=&#8221;&#8221;][\/vc_column][\/vc_row][vc_row][vc_column width=&#8221;1\/2&#8243;][vc_empty_space hide_on_desktop=&#8221;&#8221; hide_on_notebook=&#8221;&#8221; hide_on_tablet=&#8221;&#8221; hide_on_mobile=&#8221;&#8221;]<div id=\"sc_title_1079249057\"\n\t\tclass=\"sc_title color_style_default sc_title_default\"><h6 class=\"sc_item_subtitle sc_title_subtitle sc_align_left sc_item_title_style_default\">QUESTION 1<\/h6><h3 class=\"sc_item_title sc_title_title sc_align_left sc_item_title_style_default\">Bytes<\/h3><div class=\"sc_item_descr sc_title_descr sc_align_left\"><p>If you have 8 marbles and you give away 5, but then later receive 2, how many marbles do you now have?<\/p>\n<\/div><\/div><!-- \/.sc_title -->[vc_zigzag][\/vc_column][vc_column width=&#8221;1\/2&#8243;][vc_empty_space hide_on_desktop=&#8221;&#8221; hide_on_notebook=&#8221;&#8221; hide_on_tablet=&#8221;&#8221; hide_on_mobile=&#8221;&#8221;]<div id=\"sc_title_1553870748\"\n\t\tclass=\"sc_title color_style_default sc_title_default\"><h6 class=\"sc_item_subtitle sc_title_subtitle sc_align_left sc_item_title_style_default\">QUESTION 1<\/h6><h3 class=\"sc_item_title sc_title_title sc_align_left sc_item_title_style_default\">Kiloytes<\/h3><div class=\"sc_item_descr sc_title_descr sc_align_left\"><p>If you send an email to three friends and ask each to forward it to two more friends, how many people in total have received the email?<\/p>\n<\/div><\/div><!-- \/.sc_title -->[vc_zigzag][\/vc_column][\/vc_row][vc_row][vc_column width=&#8221;1\/2&#8243;]<div id=\"sc_title_161035492\"\n\t\tclass=\"sc_title color_style_default sc_title_default\"><h6 class=\"sc_item_subtitle sc_title_subtitle sc_align_left sc_item_title_style_default\">QUESTION 1<\/h6><h3 class=\"sc_item_title sc_title_title sc_align_left sc_item_title_style_default\">Megabytes<\/h3><div class=\"sc_item_descr sc_title_descr sc_align_left\"><p>Identify the pattern and find the missing letter: A, C, F, J, ___?<\/p>\n<\/div><\/div><!-- \/.sc_title -->[vc_zigzag][\/vc_column][vc_column width=&#8221;1\/2&#8243;]<div id=\"sc_title_1337352592\"\n\t\tclass=\"sc_title color_style_default sc_title_default\"><h6 class=\"sc_item_subtitle sc_title_subtitle sc_align_left sc_item_title_style_default\">QUESTION 2<\/h6><h3 class=\"sc_item_title sc_title_title sc_align_left sc_item_title_style_default\">Megabytes<\/h3><div class=\"sc_item_descr sc_title_descr sc_align_left\"><p>If a light flashes every 4 seconds and another light flashes every 6 seconds, how often do both lights flash together?<\/p>\n<\/div><\/div><!-- \/.sc_title -->[vc_zigzag][\/vc_column][\/vc_row][vc_row][vc_column width=&#8221;1\/2&#8243;]<div id=\"sc_title_1607777877\"\n\t\tclass=\"sc_title color_style_default sc_title_default\"><h6 class=\"sc_item_subtitle sc_title_subtitle sc_align_left sc_item_title_style_default\">QUESTION 1<\/h6><h3 class=\"sc_item_title sc_title_title sc_align_left sc_item_title_style_default\">Gigabytes<\/h3><div class=\"sc_item_descr sc_title_descr sc_align_left\"><p>What is the result of <i>true AND false OR true<\/i>?<\/p>\n<\/div><\/div><!-- \/.sc_title -->[vc_zigzag][\/vc_column][vc_column width=&#8221;1\/2&#8243;]<div id=\"sc_title_2012511327\"\n\t\tclass=\"sc_title color_style_default sc_title_default\"><h6 class=\"sc_item_subtitle sc_title_subtitle sc_align_left sc_item_title_style_default\">QUESTION 2<\/h6><h3 class=\"sc_item_title sc_title_title sc_align_left sc_item_title_style_default\">Gigabytes<\/h3><div class=\"sc_item_descr sc_title_descr sc_align_left\"><p>Maria, Jake, and Sarah each have a different favorite fruit. Their favorite fruits are apple, banana, and cherry, but not necessarily in that order. Use the following clues to determine whose favorite fruit is which:<\/p>\n<p>1.\tMaria does not like cherries.<br \/>\n2.\tJake\u2019s favorite fruit is not apple.<br \/>\n3.\tSarah loves red fruits.<\/p>\n<p>Who likes which fruit?<\/p>\n<\/div><\/div><!-- \/.sc_title -->[vc_zigzag][\/vc_column][\/vc_row][vc_row][vc_column width=&#8221;1\/2&#8243;]<div id=\"sc_title_465764698\"\n\t\tclass=\"sc_title color_style_default sc_title_default\"><h6 class=\"sc_item_subtitle sc_title_subtitle sc_align_left sc_item_title_style_default\">QUESTION 1<\/h6><h3 class=\"sc_item_title sc_title_title sc_align_left sc_item_title_style_default\">Terabytes<\/h3><div class=\"sc_item_descr sc_title_descr sc_align_left\"><p>In robotics, an ultrasonic wave travels at 340 meters per second. If a wave leaves the ultrasonic sensor and gets back in 1 second, how far is the nearest object?<\/p>\n<\/div><\/div><!-- \/.sc_title -->[vc_zigzag][\/vc_column][vc_column width=&#8221;1\/2&#8243;]<div id=\"sc_title_1023885619\"\n\t\tclass=\"sc_title color_style_default sc_title_default\"><h6 class=\"sc_item_subtitle sc_title_subtitle sc_align_left sc_item_title_style_default\">QUESTION 2<\/h6><h3 class=\"sc_item_title sc_title_title sc_align_left sc_item_title_style_default\">Terabytes<\/h3><div class=\"sc_item_descr sc_title_descr sc_align_left\"><p>You are exploring the Enchanted Forest, and you come across three magical creatures: a Dragon, a Griffin, and a Unicorn. Each creature can only answer one type of question:<\/p>\n<p>1.\tThe Dragon always tells the truth.<br \/>\n2.\tThe Griffin always lies.<br \/>\n3.\tThe Unicorn can either tell the truth or lie, but you don\u2019t know which one it will do at any given time.<\/p>\n<p>You need to find out which creature is which. You are allowed to ask one yes\/no question to each creature, and you can only ask each creature once.<\/p>\n<p>Question:<\/p>\n<p>What single yes\/no question can you ask each creature to correctly identify which creature is the Dragon, which is the Griffin, and which is the Unicorn?<\/p>\n<p>Hint: Think about asking questions that force each creature to reveal their true nature based on their answering behavior.<\/p>\n<\/div><\/div><!-- \/.sc_title -->[vc_zigzag][\/vc_column][\/vc_row][vc_row][vc_column width=&#8221;1\/2&#8243;][vc_column_text]Answer the question the fastest and claim more points for your house![\/vc_column_text][vc_empty_space hide_on_desktop=&#8221;&#8221; hide_on_notebook=&#8221;&#8221; hide_on_tablet=&#8221;&#8221; hide_on_mobile=&#8221;&#8221;]<a href=\"https:\/\/bit.ly\/CC24Question\" id=\"sc_button_1339052310\" class=\"sc_button color_style_default sc_button_default sc_button_size_normal sc_button_icon_left\"><span class=\"sc_button_text\"><span class=\"sc_button_title\">Submit an Answer!<\/span><\/span><!-- \/.sc_button_text --><\/a><!-- \/.sc_button -->[vc_empty_space hide_on_desktop=&#8221;&#8221; hide_on_notebook=&#8221;&#8221; hide_on_tablet=&#8221;&#8221; hide_on_mobile=&#8221;&#8221;][\/vc_column][vc_column width=&#8221;1\/2&#8243;][\/vc_column][\/vc_row][vc_row][vc_column][vc_empty_space hide_on_desktop=&#8221;&#8221; hide_on_notebook=&#8221;&#8221; hide_on_tablet=&#8221;&#8221; hide_on_mobile=&#8221;&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_empty_space hide_on_desktop=&#8221;&#8221; hide_on_notebook=&#8221;&#8221; hide_on_tablet=&#8221;&#8221; hide_on_mobile=&#8221;&#8221;][\/vc_column][\/vc_row]<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>[vc_row][vc_column fix_column=&#8221;&#8221; hide_bg_image_on_tablet=&#8221;&#8221; hide_bg_image_on_mobile=&#8221;&#8221; css=&#8221;.vc_custom_1720060197959{background-color: #81d742 !important;border-radius: 20px !important;}&#8221;][vc_empty_space hide_on_desktop=&#8221;&#8221; hide_on_notebook=&#8221;&#8221; hide_on_tablet=&#8221;&#8221; hide_on_mobile=&#8221;&#8221;][vc_empty_space hide_on_desktop=&#8221;&#8221; hide_on_notebook=&#8221;&#8221; hide_on_tablet=&#8221;&#8221; hide_on_mobile=&#8221;&#8221;][vc_empty_space hide_on_desktop=&#8221;&#8221; hide_on_notebook=&#8221;&#8221; hide_on_tablet=&#8221;&#8221; hide_on_mobile=&#8221;&#8221;][vc_empty_space hide_on_desktop=&#8221;&#8221; hide_on_notebook=&#8221;&#8221; hide_on_tablet=&#8221;&#8221; hide_on_mobile=&#8221;&#8221;][\/vc_column][\/vc_row][vc_row][vc_column width=&#8221;1\/2&#8243;][vc_empty_space hide_on_desktop=&#8221;&#8221; hide_on_notebook=&#8221;&#8221; hide_on_tablet=&#8221;&#8221; hide_on_mobile=&#8221;&#8221;][vc_zigzag][\/vc_column][vc_column width=&#8221;1\/2&#8243;][vc_empty_space hide_on_desktop=&#8221;&#8221; hide_on_notebook=&#8221;&#8221; hide_on_tablet=&#8221;&#8221; hide_on_mobile=&#8221;&#8221;][vc_zigzag][\/vc_column][\/vc_row][vc_row][vc_column width=&#8221;1\/2&#8243;][vc_zigzag][\/vc_column][vc_column width=&#8221;1\/2&#8243;][vc_zigzag][\/vc_column][\/vc_row][vc_row][vc_column width=&#8221;1\/2&#8243;][vc_zigzag][\/vc_column][vc_column width=&#8221;1\/2&#8243;][vc_zigzag][\/vc_column][\/vc_row][vc_row][vc_column width=&#8221;1\/2&#8243;][vc_zigzag][\/vc_column][vc_column width=&#8221;1\/2&#8243;][vc_zigzag][\/vc_column][\/vc_row][vc_row][vc_column width=&#8221;1\/2&#8243;][vc_column_text]Answer the question the&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-944","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/createandcode.org\/code\/wp-json\/wp\/v2\/pages\/944","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/createandcode.org\/code\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/createandcode.org\/code\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/createandcode.org\/code\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/createandcode.org\/code\/wp-json\/wp\/v2\/comments?post=944"}],"version-history":[{"count":46,"href":"https:\/\/createandcode.org\/code\/wp-json\/wp\/v2\/pages\/944\/revisions"}],"predecessor-version":[{"id":1137,"href":"https:\/\/createandcode.org\/code\/wp-json\/wp\/v2\/pages\/944\/revisions\/1137"}],"wp:attachment":[{"href":"https:\/\/createandcode.org\/code\/wp-json\/wp\/v2\/media?parent=944"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}