{"id":3133,"date":"2014-03-05T08:00:58","date_gmt":"2014-03-05T13:00:58","guid":{"rendered":"http:\/\/blog.espol.edu.ec\/icm00794\/?p=3133"},"modified":"2026-04-05T06:42:07","modified_gmt":"2026-04-05T11:42:07","slug":"1eva2005ti_t1-prueba-de-escritorio","status":"publish","type":"post","link":"https:\/\/blog.espol.edu.ec\/algoritmos101\/fp-1eva10\/1eva2005ti_t1-prueba-de-escritorio\/","title":{"rendered":"1Eva2005TI_T1 Prueba de escritorio, algoritmo"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\" id=\"1EvaIT2005\">Parcial I T\u00e9rmino 2005 - 2006. Julio 05, 2005 \/ICM00794<\/h3>\n\n\n\n<p><strong>Tema 1.<\/strong> (10puntos) Para el siguiente algoritmo, muestre la prueba de escritorio para encontrar el valor final de <strong>tr<\/strong> siendo los valores ingresados de <strong>vu<\/strong>=70 y <strong>ur<\/strong>=4.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/ Algoritmo\nvu \u2190 0;\nMientras (vu&lt;1)\n    Ingrese (vu);\nrepita\nur \u2190 0;\nMientras (ur&lt;1)\n    ingrese (ur);\nrepita\ntr \u2190 0;\nmientras (ur&lt;=vu)\n    rc \u2190 fix(vu\/ur); \/\/divisi\u00f3n entera vu\/ur\n    sb \u2190 mod(vu,ur); \/\/residuo divisi\u00f3n vu\/ur\n    tr \u2190 tr+rc;\n    vu \u2190 rc+sb;\nrepita\nmostrar (tr);<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>vu<\/th><th>ur<\/th><th>tr<\/th><th>rc<\/th><th>sb<\/th><\/tr><\/thead><tbody><tr><td>&nbsp;<\/td><td>&nbsp;<\/td><td>&nbsp;<\/td><td>&nbsp;<\/td><td>&nbsp;<\/td><\/tr><tr><td>.<\/td><td>&nbsp;<\/td><td>&nbsp;<\/td><td>&nbsp;<\/td><td>&nbsp;<\/td><\/tr><tr><td>.<\/td><td>&nbsp;<\/td><td>&nbsp;<\/td><td>&nbsp;<\/td><td>&nbsp;<\/td><\/tr><tr><td>......<\/td><td>.....<\/td><td>......<\/td><td>.....<\/td><td>.....<\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Parcial I T\u00e9rmino 2005 - 2006. Julio 05, 2005 \/ICM00794 Tema 1. (10puntos) Para el siguiente algoritmo, muestre la prueba de escritorio para encontrar el valor final de tr siendo los valores ingresados de vu=70 y ur=4. vu ur tr rc sb &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; . &nbsp; &nbsp; &nbsp; &nbsp; . &nbsp; &nbsp; [&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":[113],"tags":[161],"class_list":["post-3133","post","type-post","status-publish","format-standard","hentry","category-fp-1eva10","tag-pruebaescritorio"],"_links":{"self":[{"href":"https:\/\/blog.espol.edu.ec\/algoritmos101\/wp-json\/wp\/v2\/posts\/3133","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=3133"}],"version-history":[{"count":4,"href":"https:\/\/blog.espol.edu.ec\/algoritmos101\/wp-json\/wp\/v2\/posts\/3133\/revisions"}],"predecessor-version":[{"id":16335,"href":"https:\/\/blog.espol.edu.ec\/algoritmos101\/wp-json\/wp\/v2\/posts\/3133\/revisions\/16335"}],"wp:attachment":[{"href":"https:\/\/blog.espol.edu.ec\/algoritmos101\/wp-json\/wp\/v2\/media?parent=3133"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.espol.edu.ec\/algoritmos101\/wp-json\/wp\/v2\/categories?post=3133"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.espol.edu.ec\/algoritmos101\/wp-json\/wp\/v2\/tags?post=3133"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}