{"id":2977,"date":"2014-07-04T12:30:54","date_gmt":"2014-07-04T17:30:54","guid":{"rendered":"http:\/\/blog.espol.edu.ec\/icm00794\/?p=2977"},"modified":"2025-12-11T08:04:50","modified_gmt":"2025-12-11T13:04:50","slug":"2eva2011tii_t2-ubicar-ficha-en-tablero","status":"publish","type":"post","link":"https:\/\/blog.espol.edu.ec\/algoritmos101\/fp-2eva20\/2eva2011tii_t2-ubicar-ficha-en-tablero\/","title":{"rendered":"2Eva2011TII_T2 Ubicar ficha en tablero"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"2EvaIIT2011\">2da Evaluaci\u00f3n II T\u00e9rmino 2011-2012, Enero 31, 2012 \/ICM00794<\/h2>\n\n\n\n<p><strong>Tema 2<\/strong>. (15 puntos) Escriba una funci\u00f3n <strong>ubicaficha<\/strong>(<strong>m<\/strong>, <strong>n<\/strong>) que ubique aleatoriamente <strong>m<\/strong> n\u00fameros entre 2 y <strong>m<\/strong>+1 dentro de una matriz de <strong>n<\/strong>x<strong>n<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>...<\/td><td><\/td><td><\/td><td><\/td><td>3<\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td><\/td><td><\/td><td>2<\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>...<\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td>6<\/td><\/tr><tr><td>...<\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>...<\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td><\/td><td>5<\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>...<\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td>4<\/td><td><\/td><\/tr><tr><td>...<\/td><td>7<\/td><td>...<\/td><td>...<\/td><td>...<\/td><td>...<\/td><td>...<\/td><td>...<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Nota<\/strong>: No se deben repetir las posiciones de los n\u00fameros y las casillas vac\u00edas se llenan con ceros.<\/p>\n\n\n\n<p><strong>R\u00fabrica<\/strong>: Definici\u00f3n de funci\u00f3n (5 puntos), ubicaci\u00f3n aleatoria no repetida (5 puntos), resultado y algoritmo integrado (5 puntos).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>2da Evaluaci\u00f3n II T\u00e9rmino 2011-2012, Enero 31, 2012 \/ICM00794 Tema 2. (15 puntos) Escriba una funci\u00f3n ubicaficha(m, n) que ubique aleatoriamente m n\u00fameros entre 2 y m+1 dentro de una matriz de nxn. ... 3 2 ... 6 ... ... 5 ... 4 ... 7 ... ... ... ... ... ... Nota: No se deben [&hellip;]<\/p>\n","protected":false},"author":8043,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"wp-custom-template-entrada-fp-ejercicios","format":"standard","meta":{"footnotes":""},"categories":[95],"tags":[148,155],"class_list":["post-2977","post","type-post","status-publish","format-standard","hentry","category-fp-2eva20","tag-arreglos-matrices","tag-funciones"],"_links":{"self":[{"href":"https:\/\/blog.espol.edu.ec\/algoritmos101\/wp-json\/wp\/v2\/posts\/2977","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.espol.edu.ec\/algoritmos101\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.espol.edu.ec\/algoritmos101\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.espol.edu.ec\/algoritmos101\/wp-json\/wp\/v2\/users\/8043"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.espol.edu.ec\/algoritmos101\/wp-json\/wp\/v2\/comments?post=2977"}],"version-history":[{"count":3,"href":"https:\/\/blog.espol.edu.ec\/algoritmos101\/wp-json\/wp\/v2\/posts\/2977\/revisions"}],"predecessor-version":[{"id":16830,"href":"https:\/\/blog.espol.edu.ec\/algoritmos101\/wp-json\/wp\/v2\/posts\/2977\/revisions\/16830"}],"wp:attachment":[{"href":"https:\/\/blog.espol.edu.ec\/algoritmos101\/wp-json\/wp\/v2\/media?parent=2977"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.espol.edu.ec\/algoritmos101\/wp-json\/wp\/v2\/categories?post=2977"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.espol.edu.ec\/algoritmos101\/wp-json\/wp\/v2\/tags?post=2977"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}