{"id":243882,"date":"2022-11-29T07:40:39","date_gmt":"2022-11-29T06:40:39","guid":{"rendered":"https:\/\/www.ferrovial.com\/?page_id=243882"},"modified":"2022-12-09T12:29:04","modified_gmt":"2022-12-09T11:29:04","slug":"algorithms","status":"publish","type":"page","link":"https:\/\/www.ferrovial.com\/en\/stem\/algorithms\/","title":{"rendered":"Algorithms"},"content":{"rendered":"    <m-final-content-header >\n            <c-breadcrumb label-text=\"Breadcrumb\" slot=\"breadcrumbs\" type='2' align='left' wrap='wrapped wrapped' aria-label='You came from STEM'>\n                        <ol>\n\n                                                            <li><a href=\"https:\/\/www.ferrovial.com\/en\/\" title=\"Ferrovial\">Ferrovial<\/a><\/li>\n                                                                        <li><a href=\"https:\/\/www.ferrovial.com\/en\/stem\/\" title=\"STEM\">STEM<\/a><\/li>\n                                    \n                <\/ol>\n\n                <\/c-breadcrumb>\n    \n        <div slot=\"header\">\n            <h1>\n                What are algorithms?            <\/h1>\n                    <\/div>\n    <\/m-final-content-header>\n\n    \n\n\n<m-wysiwig class=\"wp-block-components-wysiwyg\"><div slot=\"maincontent\">\n<script type=\"application\/ld+json\">\n{\n  \"@context\": \"https:\/\/schema.org\",\n  \"@type\": \"FAQPage\",\n  \"mainEntity\": [{\n    \"@type\": \"Question\",\n    \"name\": \"What are algorithms?\",\n    \"acceptedAnswer\": {\n      \"@type\": \"Answer\",\n      \"text\": \"In computer science, algorithmsare the set of systematic, pre-defined instructions used to perform a specific task. These instructions are in a specific order with steps to follow to achieve a goal.\"\n    }\n  },{\n    \"@type\": \"Question\",\n    \"name\": \"What characteristics do algorithms have?\",\n    \"acceptedAnswer\": {\n      \"@type\": \"Answer\",\n      \"text\": \"Regardless of what an algorithm is used for, they all have the following characteristics in common:\n<ol>\n<li>Start and end: they start from an initial state from which they execute a set of instructions to reach a final exit or state of completion.<\/li>\n<li>Accuracy: they must indicate a clear, specific, logical order of instructions for executing each step, without any room for ambiguity.<\/li>\n<li>Sequence: they must follow a set of orderly, understandable, pre-defined steps. <\/li>\n<li>Complete: they must take into account all the possibilities and presentations of the problem to execute the exact solution. <\/li>\n<li>Finite: the number of steps to execute the task must be finite to complete it. <\/li>\n<li>Abstract: they represent a guide or model for ordering processes. <\/li>\n<\/ol>\"\n    }\n  },{\n    \"@type\": \"Question\",\n    \"name\": \"What types of algorithms are there?\",\n    \"acceptedAnswer\": {\n      \"@type\": \"Answer\",\n      \"text\": \"According to their system of signs, or how the steps to be followed are described, the algorithms can be:\n<ul>\n<li>Quantitative and qualitative<\/li>\n<li>Computational or non-computationa<\/li>\n<\/ul>\nAccording to their function and strategy, or what they do and how they do it, there are five types of algorithms:\n<ul>\n<li>Search algorithms:<ul>\n<li>Sequential<\/li>\n<li>Binary<\/li>\n<\/ul><\/li>\n<li>Sorting algorithm:<ul>\n<li>Bubble<\/li>\n<li>Selection<\/li>\n<li>Fast<\/li>\n<\/ul><\/li>\n<li>Voracious algorithms<\/li>\n<li>Dynamic programming<\/li>\n<li>Probabilistic algorithms<\/li>\n<\/ul>\"\n    }\n  }]\n}\n<\/script>\n<p>In computer science, <em>algorithms<\/em><strong> <\/strong>are the <strong>set of systematic, pre-defined instructions used to perform a specific task<\/strong>. These instructions <strong>are in a specific order <\/strong>with steps to follow to achieve a goal.<\/p>\n\n\n\n<p>Every algorithm has an <strong>input<\/strong> and <strong>output<\/strong>; in between, there are instructions or the sequence of steps to follow. These steps should be<strong> in order, <\/strong>and above all, they must be <strong>a finite set of operations<\/strong> that allow us to achieve a specific solution.<\/p>\n\n\n\n<p>In the world of <a href=\"https:\/\/www.ferrovial.com\/en\/stem\/programming\/\" target=\"_blank\" rel=\"noreferrer noopener\">programming<\/a>, <strong>every program or operating system works based on algorithms<\/strong> written in a programming language that the computer can understand to execute the steps or instructions <strong>automatically. <\/strong>In terms of<a href=\"https:\/\/www.ferrovial.com\/en\/resources\/big-data\/\"> <\/a><a href=\"https:\/\/www.ferrovial.com\/en\/resources\/big-data\/\" target=\"_blank\" rel=\"noreferrer noopener\">big <\/a><a href=\"https:\/\/www.ferrovial.com\/en\/resources\/big-data\/\">data<\/a> and <a href=\"https:\/\/www.ferrovial.com\/en\/stem\/data-and-ai\/\" target=\"_blank\" rel=\"noreferrer noopener\">artificial intelligence<\/a>, algorithms analyze information and data from consumers and end users.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What characteristics do algorithms have?<\/strong><\/h2>\n\n\n\n<p>Regardless of what an algorithm is used for, they all have the following characteristics in common:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li><strong>Start and end:<\/strong> they start from an initial state from which they execute a set of instructions to reach a final exit or state of completion.<\/li><li><strong>Accuracy:<\/strong> they must indicate a clear, specific, logical order of instructions for executing each step, without any room for ambiguity.<\/li><li><strong>Sequence:<\/strong> they must follow a set of orderly, understandable, pre-defined steps.&nbsp;<\/li><li><strong>Complete:<\/strong> they must take into account all the possibilities and presentations of the problem to execute the exact solution.&nbsp;<\/li><li><strong>Finite:<\/strong> the number of steps to execute the task must be finite to complete it.&nbsp;<\/li><li><strong>Abstract:<\/strong> they represent a guide or model for ordering processes.&nbsp;<\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What types of algorithms are there?<\/strong><\/h2>\n\n\n\n<p><strong>According to their system of signs, <\/strong>or how the steps to be followed are described, the algorithms can be:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Quantitative and qualitative: <\/strong>whether they operate based on mathematical calculations or logical sequences.<\/li><li><strong>Computational or non-computational: <\/strong>whether or not they require the use of a computer for solving or executing a certain task.&nbsp;&nbsp;<\/li><\/ul>\n\n\n\n<p><strong>According to their function and strategy,<\/strong> or what they do and how they do it, there are five types of algorithms:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Search algorithms: <\/strong>these find one or more elements with a set of properties within a certain data structure. Searches can be:<ul><li><strong>Sequential<\/strong>: they compare the element to be found with each element of the set until it is found.<\/li><li><strong>Binary: <\/strong>these compare the item searched with an item located in the middle of an ordered series to determine if they are the same.&nbsp;<\/li><\/ul><\/li><\/ul>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Sorting algorithm: <\/strong>these are used to reorganize elements in a list following numerical or alphanumeric order guidelines. They can be:<ul><li><strong>Bubble:<\/strong> these compare each item in the list to be sorted, swapping positions if they are not sorted correctly.<\/li><li><strong>Selection<\/strong>: these sort elements from smallest to largest consecutively.<\/li><li><strong>Fast:<\/strong> one element is chosen from the set, and the rest are repositioned around it, depending on whether they are smaller or larger with respect to it.<\/li><\/ul><\/li><\/ul>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Voracious algorithms:<\/strong> a type of algorithm applied to optimization problems used for logical decision-making to arrive at a global final solution. These algorithms are not reversible once the decision is made to run them.&nbsp;<\/li><\/ul>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Dynamic programming: <\/strong>this type of algorithm is associated with the method with which the result is processed. An element&#8217;s solution depends on solving a set of smaller problems, so as subproblems are solved, the solutions are stored so that they don&#8217;t need to be calculated again. With dynamic programming, the execution time for the algorithm is reduced.&nbsp;<\/li><\/ul>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Probabilistic algorithms: <\/strong>this type of algorithm bases its results on chance so that a good solution can generally be found for any random distribution of inputs. Chance means optimizing time with respect to whether the best alternative for each individual case would be determined. As a result, a good solution to a problem is obtained for any input data distribution.<\/li><\/ul>\n<\/div><\/m-wysiwig>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"featured_media":0,"parent":227880,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-243882","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Algorithms,what are and their characteristics - Ferrovial<\/title>\n<meta name=\"description\" content=\"In computer science, algorithms are the set of systematic, pre-defined instructions used to perform a specific task. These instructions are in a specific order with steps to follow to achieve a goal.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.ferrovial.com\/en\/stem\/algorithms\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Algorithms,what are and their characteristics - Ferrovial\" \/>\n<meta property=\"og:description\" content=\"In computer science, algorithms are the set of systematic, pre-defined instructions used to perform a specific task. These instructions are in a specific order with steps to follow to achieve a goal.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.ferrovial.com\/en\/stem\/algorithms\/\" \/>\n<meta property=\"og:site_name\" content=\"Ferrovial\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ferrovial\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-09T11:29:04+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@ferrovial\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Algorithms,what are and their characteristics - Ferrovial","description":"In computer science, algorithms are the set of systematic, pre-defined instructions used to perform a specific task. These instructions are in a specific order with steps to follow to achieve a goal.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.ferrovial.com\/en\/stem\/algorithms\/","og_locale":"en_US","og_type":"article","og_title":"Algorithms,what are and their characteristics - Ferrovial","og_description":"In computer science, algorithms are the set of systematic, pre-defined instructions used to perform a specific task. These instructions are in a specific order with steps to follow to achieve a goal.","og_url":"https:\/\/www.ferrovial.com\/en\/stem\/algorithms\/","og_site_name":"Ferrovial","article_publisher":"https:\/\/www.facebook.com\/ferrovial","article_modified_time":"2022-12-09T11:29:04+00:00","twitter_card":"summary_large_image","twitter_site":"@ferrovial","twitter_misc":{"Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.ferrovial.com\/en\/stem\/algorithms\/","url":"https:\/\/www.ferrovial.com\/en\/stem\/algorithms\/","name":"Algorithms,what are and their characteristics - Ferrovial","isPartOf":{"@id":"https:\/\/www.ferrovial.com\/en\/#website"},"datePublished":"2022-11-29T06:40:39+00:00","dateModified":"2022-12-09T11:29:04+00:00","description":"In computer science, algorithms are the set of systematic, pre-defined instructions used to perform a specific task. These instructions are in a specific order with steps to follow to achieve a goal.","breadcrumb":{"@id":"https:\/\/www.ferrovial.com\/en\/stem\/algorithms\/#breadcrumb"},"inLanguage":"en","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.ferrovial.com\/en\/stem\/algorithms\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.ferrovial.com\/en\/stem\/algorithms\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/www.ferrovial.com\/en\/"},{"@type":"ListItem","position":2,"name":"STEM","item":"https:\/\/www.ferrovial.com\/en\/stem\/"},{"@type":"ListItem","position":3,"name":"Algorithms"}]},{"@type":"WebSite","@id":"https:\/\/www.ferrovial.com\/en\/#website","url":"https:\/\/www.ferrovial.com\/en\/","name":"Ferrovial","description":"Welcome to the Ferrovial&#039;s website, global operator of sustainable infrastructure. Here you can find all the information about the company and subsidiaries.","publisher":{"@id":"https:\/\/www.ferrovial.com\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.ferrovial.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en"},{"@type":"Organization","@id":"https:\/\/www.ferrovial.com\/en\/#organization","name":"Ferrovial S.A.","url":"https:\/\/www.ferrovial.com\/en\/","logo":{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/www.ferrovial.com\/en\/#\/schema\/logo\/image\/","url":"https:\/\/static.ferrovial.com\/wp-content\/uploads\/2020\/01\/13124948\/logo-ferrovial-cf7.png","contentUrl":"https:\/\/static.ferrovial.com\/wp-content\/uploads\/2020\/01\/13124948\/logo-ferrovial-cf7.png","width":144,"height":32,"caption":"Ferrovial S.A."},"image":{"@id":"https:\/\/www.ferrovial.com\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/ferrovial","https:\/\/x.com\/ferrovial","https:\/\/www.instagram.com\/ferrovial\/","https:\/\/www.linkedin.com\/company\/ferrovial","https:\/\/www.pinterest.es\/ferrovial\/","https:\/\/www.youtube.com\/ferrovial","https:\/\/en.wikipedia.org\/wiki\/Ferrovial"]}]}},"_links":{"self":[{"href":"https:\/\/www.ferrovial.com\/en\/wp-json\/wp\/v2\/pages\/243882","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ferrovial.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.ferrovial.com\/en\/wp-json\/wp\/v2\/types\/page"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ferrovial.com\/en\/wp-json\/wp\/v2\/comments?post=243882"}],"version-history":[{"count":3,"href":"https:\/\/www.ferrovial.com\/en\/wp-json\/wp\/v2\/pages\/243882\/revisions"}],"predecessor-version":[{"id":244616,"href":"https:\/\/www.ferrovial.com\/en\/wp-json\/wp\/v2\/pages\/243882\/revisions\/244616"}],"up":[{"embeddable":true,"href":"https:\/\/www.ferrovial.com\/en\/wp-json\/wp\/v2\/pages\/227880"}],"wp:attachment":[{"href":"https:\/\/www.ferrovial.com\/en\/wp-json\/wp\/v2\/media?parent=243882"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}