{"id":1994,"date":"2022-02-17T22:02:22","date_gmt":"2022-02-17T22:02:22","guid":{"rendered":"https:\/\/evalart.com\/?post_type=ufaq&#038;p=1994"},"modified":"2022-03-23T01:00:43","modified_gmt":"2022-03-23T01:00:43","slug":"how-can-i-create-practical-programming-questions-for-coding","status":"publish","type":"ufaq","link":"https:\/\/evalart.com\/en\/blog\/ufaqs\/how-can-i-create-practical-programming-questions-for-coding\/","title":{"rendered":"How can I create practical programming questions (for coding)?"},"content":{"rendered":"<style>.ewd-ufaq-post-margin-symbol { border-width: 1px !important; }.ewd-ufaq-faq-title .ewd-ufaq-post-margin-symbol span { font-size: 20px !important; }div.ewd-ufaq-faq-post p { margin: 0 4cm 0 1cm !important; }div.ewd-ufaq-faq-post p {\r\n  margin: 0 0 15px !important;\r\n}\r\n\r\n.np-pricing-ufaqs-container #ewd-ufaq-faq-list {\r\n    background-color: #ffffff;\r\n    border-radius: 16px;\r\n    border: 1px solid #E3E7ED;\r\n    padding: 0;\r\n}\r\n\r\n.np-pricing-ufaqs-container .ewd-ufaq-faq-div {\r\n    border: none !important;\r\n}\r\n\r\n.np-pricing-ufaqs-container .ewd-ufaq-faq-title-text h4 {\r\n    color: #222222CC;\r\n    font-size: 18px;\r\n    font-weight: 500;\r\n    line-height: 100%\r\n}\r\n\r\n.np-pricing-ufaqs-container .ewd-ufaq-faq-body p {\r\n    color: #77787B;\r\n    font-size: 16px;\r\n    font-weight: 400;\r\n    line-height: 20px;\r\n}\r\n\r\n.np-pricing-ufaqs-container .ewd-ufaq-faq-category-title {\r\n    display: none;\r\n}\r\n\r\n.np-pricing-ufaqs-container .ewd-ufaq-faq-category-inner {\r\n    margin: 0;\r\n}\r\n\r\n.np-pricing-ufaqs-container .ewd-ufaq-faq-category-inner .ewd-ufaq-faq-div {\r\n    border-bottom: 1px solid #E3E7ED !important;\r\n    padding: 1.5rem !important;\r\n}\r\n\r\n.np-pricing-ufaqs-container .ewd-ufaq-faq-category-inner .ewd-ufaq-faq-div:last-child {\r\n    border-bottom: none !important;\r\n}\r\n\r\n.np-pricing-ufaqs-container .ewd-ufaq-faq-category {\r\n    margin: 0px;\r\n}<\/style><div  class=\"ewd-ufaq-faq-list ewd-ufaq-page-type-load_more ewd-ufaq-category-tabs-\" id='ewd-ufaq-faq-list'>\n\n\t<input type='hidden' name='show_on_load' value='' id='ewd-ufaq-show-on-load' \/>\n<input type='hidden' name='include_category' value='' id='ewd-ufaq-include-category' \/>\n<input type='hidden' name='exclude_category' value='' id='ewd-ufaq-exclude-category' \/>\n<input type='hidden' name='orderby' value='date' id='ewd-ufaq-orderby' \/>\n<input type='hidden' name='order' value='asc' id='ewd-ufaq-order' \/>\n<input type='hidden' name='post_count' value='-1' id='ewd-ufaq-post-count' \/>\n<input type='hidden' name='current_url' value='\/en\/wp-json\/wp\/v2\/ufaq\/1994' id='ewd-ufaq-current-url' \/>\n\t\n\t\n\t<div class='ewd-ufaq-faqs'>\n\n\t\t<div  class=\"ewd-ufaq-faq-div ewd-ufaq-faq-column-count-one ewd-ufaq-faq-responsive-columns- ewd-ufaq-faq-display-style-one ewd-ufaq-can-be-toggled\" id='ewd-ufaq-post-1994-a33hCDo50C' data-post_id='1994'>\n\n\t\t\n\t<div class='ewd-ufaq-faq-title ewd-ufaq-faq-toggle'>\n\t\n\t<a class='ewd-ufaq-post-margin'  href='#' role=\"button\">\n\n\t\t<div class='ewd-ufaq-post-margin-symbol ewd-ufaq-square'>\n\t\t\t<span >A<\/span>\n\t\t<\/div>\n\n\t\t<div class='ewd-ufaq-faq-title-text'>\n\n\t\t\t<h4>\n\t\t\t\tHow can I create practical programming questions (for coding)?\t\t\t<\/h4>\n\n\t\t<\/div>\n\n\t\t<div class='ewd-ufaq-clear'><\/div>\n\n\t<\/a>\n\t\n<\/div>\n\t\n\t<div class='ewd-ufaq-faq-body' >\n\n\t\t\n\t\t\t\n\t\t\n\t\t\t<div class='ewd-ufaq-post-margin ewd-ufaq-faq-post'>\n\t<p><span style=\"font-weight: 400\">Programming questions are created in the same way as other question types, but a specific tool is available to facilitate the creation of this type of question and to place specific values for programming questions.<\/span><\/p>\n<p><span style=\"font-weight: 400\">To access this tool, go to the &#8220;Tools&#8221; menu and select &#8220;Programming Question Builder&#8221;. After loading the question, the corresponding information will be displayed.&nbsp;<\/span><\/p>\n<p><span style=\"font-weight: 400\">On the right side, there is an editor where you can test how the question would evaluate an answer, and, on the left side, there are the conditions (validation scenarios) to validate the question, which is composed of two sections; the first one that is used to validate the question when the candidate is answering and the ones that will be used to validate and determine the score of the question. This difference exists to prevent the candidate from entering a trivial answer such as &#8220;Print 5&#8221; instead of an algorithm to solve the question problem. This is why it is usual to include predefined code, one to validate during the exam and another to assign the score (with other values) so that the candidate cannot enter a trivial answer without the corresponding logic.<\/span><\/p>\n<p><span style=\"font-weight: 400\">For both validation during the test and for scoring, you need to enter the expected value, which you can enter directly, or you can write a program to test the question and then copy the output from it to the answers. You can run your program with any of the conditions by clicking the corresponding Run button. The conditions to validate weight since it is possible to place several different conditions, each with a different weight that indicates how much weight this condition has in calculating the score obtained by the candidate in the question.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Optionally, you can set up a code efficiency evaluation, based on the number of instructions (tokens) used by the program. This is to give less score to solutions that are longer than necessary. For this, you must fill in the Min Token, Max Token, and Code Efficiency Weight fields. Code Efficiency Weight refers to what percentage of the question score will depend on the coding efficiency. For example, if the question has a score of 20 and a weight of 50, then 50% of the score (10) will depend on the efficiency. The code is evaluated and, if the number of tokens is less than or equal to the Min token, it will get the maximum score for efficiency. On the other hand, if the number is greater than the Max token, it will receive 0. It is advisable to configure this only when you already have a sample of several candidate responses to identify reasonable ranges of the Min and the Max Token (when executing the candidate response in the constructor, the Min and Max token values for the executed code are shown).<\/span><\/p>\n<p><span style=\"font-weight: 400\">Finally, for questions that support measuring code performance, it is possible to indicate the ranges and the performance weight in the question score. It is necessary to mark which validation scenarios will be used to measure performance. Currently, only questions that use the TLang module allow performance to be measured.<\/span><\/p>\n<\/div>\n\t\t\n\t\t\t<div class='ewd-ufaq-faq-custom-fields'>\n\n\t\n<\/div>\n\t\t\n\t\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\t\n\t\t\n\t<\/div>\n\n<\/div>\n\t<\/div>\n\n\t\n<\/div>","protected":false},"excerpt":{"rendered":"<p>A How can I create practical programming questions (for coding)? Programming questions are created in the same way as other question types, but a specific tool is available to facilitate the creation of this type of question and to place specific values for programming questions. To access this tool, go to the &#8220;Tools&#8221; menu and [&hellip;]<\/p>\n","protected":false},"author":18,"featured_media":0,"template":"","ufaq-category":[48],"ufaq-tag":[],"class_list":["post-1994","ufaq","type-ufaq","status-publish","hentry","ufaq-category-preguntas-frecuentes-procesos-de-seleccion"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How can I create practical programming questions (for coding)? - Evalart<\/title>\n<meta name=\"robots\" content=\"noindex, follow\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[:en]How can I create practical programming questions (for coding)?[:es]\u00bfC\u00f3mo puedo crear preguntas de programaci\u00f3n pr\u00e1cticas (para codificar)?[:pb]Como posso criar perguntas pr\u00e1ticas de programa\u00e7\u00e3o (para codifica\u00e7\u00e3o)?[:] - Evalart\" \/>\n<meta property=\"og:description\" content=\"A How can I create practical programming questions (for coding)? Programming questions are created in the same way as other question types, but a specific tool is available to facilitate the creation of this type of question and to place specific values for programming questions. To access this tool, go to the &#8220;Tools&#8221; menu and [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/evalart.com\/es\/blog\/ufaqs\/how-can-i-create-practical-programming-questions-for-coding\/\" \/>\n<meta property=\"og:site_name\" content=\"Evalart\" \/>\n<meta property=\"article:modified_time\" content=\"2022-03-23T01:00:43+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/evalart.com\/es\/blog\/ufaqs\/how-can-i-create-practical-programming-questions-for-coding\/\",\"url\":\"https:\/\/evalart.com\/es\/blog\/ufaqs\/how-can-i-create-practical-programming-questions-for-coding\/\",\"name\":\"[:en]How can I create practical programming questions (for coding)?[:es]\u00bfC\u00f3mo puedo crear preguntas de programaci\u00f3n pr\u00e1cticas (para codificar)?[:pb]Como posso criar perguntas pr\u00e1ticas de programa\u00e7\u00e3o (para codifica\u00e7\u00e3o)?[:] - Evalart\",\"isPartOf\":{\"@id\":\"https:\/\/evalart.com\/pb\/#website\"},\"datePublished\":\"2022-02-17T22:02:22+00:00\",\"dateModified\":\"2022-03-23T01:00:43+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/evalart.com\/es\/blog\/ufaqs\/how-can-i-create-practical-programming-questions-for-coding\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/evalart.com\/es\/blog\/ufaqs\/how-can-i-create-practical-programming-questions-for-coding\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/evalart.com\/es\/blog\/ufaqs\/how-can-i-create-practical-programming-questions-for-coding\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\/\/evalart.com\/pb\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"FAQs\",\"item\":\"https:\/\/evalart.com\/en\/blog\/ufaqs\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"\u00bfC\u00f3mo puedo crear preguntas de programaci\u00f3n pr\u00e1cticas (para codificar)?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/evalart.com\/pb\/#website\",\"url\":\"https:\/\/evalart.com\/pb\/\",\"name\":\"Evalart\",\"description\":\"Skills Assessment Platform for your Recruiting Process\",\"publisher\":{\"@id\":\"https:\/\/evalart.com\/pb\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/evalart.com\/pb\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/evalart.com\/pb\/#organization\",\"name\":\"Evalart\",\"url\":\"https:\/\/evalart.com\/pb\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/evalart.com\/pb\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/evalart.com\/wp-content\/uploads\/2024\/03\/evalart-logo.svg\",\"contentUrl\":\"https:\/\/evalart.com\/wp-content\/uploads\/2024\/03\/evalart-logo.svg\",\"caption\":\"Evalart\"},\"image\":{\"@id\":\"https:\/\/evalart.com\/pb\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[:en]How can I create practical programming questions (for coding)?[:es]\u00bfC\u00f3mo puedo crear preguntas de programaci\u00f3n pr\u00e1cticas (para codificar)?[:pb]Como posso criar perguntas pr\u00e1ticas de programa\u00e7\u00e3o (para codifica\u00e7\u00e3o)?[:] - Evalart","robots":{"index":"noindex","follow":"follow"},"og_locale":"en_US","og_type":"article","og_title":"[:en]How can I create practical programming questions (for coding)?[:es]\u00bfC\u00f3mo puedo crear preguntas de programaci\u00f3n pr\u00e1cticas (para codificar)?[:pb]Como posso criar perguntas pr\u00e1ticas de programa\u00e7\u00e3o (para codifica\u00e7\u00e3o)?[:] - Evalart","og_description":"A How can I create practical programming questions (for coding)? Programming questions are created in the same way as other question types, but a specific tool is available to facilitate the creation of this type of question and to place specific values for programming questions. To access this tool, go to the &#8220;Tools&#8221; menu and [&hellip;]","og_url":"https:\/\/evalart.com\/es\/blog\/ufaqs\/how-can-i-create-practical-programming-questions-for-coding\/","og_site_name":"Evalart","article_modified_time":"2022-03-23T01:00:43+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/evalart.com\/es\/blog\/ufaqs\/how-can-i-create-practical-programming-questions-for-coding\/","url":"https:\/\/evalart.com\/es\/blog\/ufaqs\/how-can-i-create-practical-programming-questions-for-coding\/","name":"[:en]How can I create practical programming questions (for coding)?[:es]\u00bfC\u00f3mo puedo crear preguntas de programaci\u00f3n pr\u00e1cticas (para codificar)?[:pb]Como posso criar perguntas pr\u00e1ticas de programa\u00e7\u00e3o (para codifica\u00e7\u00e3o)?[:] - Evalart","isPartOf":{"@id":"https:\/\/evalart.com\/pb\/#website"},"datePublished":"2022-02-17T22:02:22+00:00","dateModified":"2022-03-23T01:00:43+00:00","breadcrumb":{"@id":"https:\/\/evalart.com\/es\/blog\/ufaqs\/how-can-i-create-practical-programming-questions-for-coding\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/evalart.com\/es\/blog\/ufaqs\/how-can-i-create-practical-programming-questions-for-coding\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/evalart.com\/es\/blog\/ufaqs\/how-can-i-create-practical-programming-questions-for-coding\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/evalart.com\/pb\/"},{"@type":"ListItem","position":2,"name":"FAQs","item":"https:\/\/evalart.com\/en\/blog\/ufaqs\/"},{"@type":"ListItem","position":3,"name":"\u00bfC\u00f3mo puedo crear preguntas de programaci\u00f3n pr\u00e1cticas (para codificar)?"}]},{"@type":"WebSite","@id":"https:\/\/evalart.com\/pb\/#website","url":"https:\/\/evalart.com\/pb\/","name":"Evalart","description":"Skills Assessment Platform for your Recruiting Process","publisher":{"@id":"https:\/\/evalart.com\/pb\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/evalart.com\/pb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/evalart.com\/pb\/#organization","name":"Evalart","url":"https:\/\/evalart.com\/pb\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/evalart.com\/pb\/#\/schema\/logo\/image\/","url":"https:\/\/evalart.com\/wp-content\/uploads\/2024\/03\/evalart-logo.svg","contentUrl":"https:\/\/evalart.com\/wp-content\/uploads\/2024\/03\/evalart-logo.svg","caption":"Evalart"},"image":{"@id":"https:\/\/evalart.com\/pb\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/evalart.com\/en\/wp-json\/wp\/v2\/ufaq\/1994","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/evalart.com\/en\/wp-json\/wp\/v2\/ufaq"}],"about":[{"href":"https:\/\/evalart.com\/en\/wp-json\/wp\/v2\/types\/ufaq"}],"author":[{"embeddable":true,"href":"https:\/\/evalart.com\/en\/wp-json\/wp\/v2\/users\/18"}],"wp:attachment":[{"href":"https:\/\/evalart.com\/en\/wp-json\/wp\/v2\/media?parent=1994"}],"wp:term":[{"taxonomy":"ufaq-category","embeddable":true,"href":"https:\/\/evalart.com\/en\/wp-json\/wp\/v2\/ufaq-category?post=1994"},{"taxonomy":"ufaq-tag","embeddable":true,"href":"https:\/\/evalart.com\/en\/wp-json\/wp\/v2\/ufaq-tag?post=1994"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}