{"id":34904665,"url":"https://github.com/vrodriguezvalentin/pruebaprogramacion-valentinrodriguez","last_synced_at":"2026-05-23T06:31:02.985Z","repository":{"id":316126786,"uuid":"1062087289","full_name":"VRodriguezValentin/PruebaProgramacion-ValentinRodriguez","owner":"VRodriguezValentin","description":"Prueba Programacion para ASINCE realizada por Valentin Rodriguez.","archived":false,"fork":false,"pushed_at":"2025-09-22T19:43:01.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-22T21:24:56.584Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/VRodriguezValentin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-22T19:39:45.000Z","updated_at":"2025-09-22T19:44:37.000Z","dependencies_parsed_at":"2025-09-22T21:24:59.107Z","dependency_job_id":null,"html_url":"https://github.com/VRodriguezValentin/PruebaProgramacion-ValentinRodriguez","commit_stats":null,"previous_names":["vrodriguezvalentin/pruebaprogramacion-valentinrodriguez"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/VRodriguezValentin/PruebaProgramacion-ValentinRodriguez","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VRodriguezValentin%2FPruebaProgramacion-ValentinRodriguez","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VRodriguezValentin%2FPruebaProgramacion-ValentinRodriguez/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VRodriguezValentin%2FPruebaProgramacion-ValentinRodriguez/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VRodriguezValentin%2FPruebaProgramacion-ValentinRodriguez/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VRodriguezValentin","download_url":"https://codeload.github.com/VRodriguezValentin/PruebaProgramacion-ValentinRodriguez/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VRodriguezValentin%2FPruebaProgramacion-ValentinRodriguez/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33385119,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-23T04:15:53.637Z","status":"ssl_error","status_checked_at":"2026-05-23T04:15:53.242Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-12-26T09:56:45.500Z","updated_at":"2026-05-23T06:31:02.978Z","avatar_url":"https://github.com/VRodriguezValentin.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Prueba de Programación\n\nA continuación se presentan una serie de preguntas básicas de programación y SQL con el objetivo de medir la experiencia laboral del/la postulante.  \nNo hay límite de tiempo para entregar las respuestas, pero tené en cuenta que hay otros candidatos realizando la prueba y los puestos disponibles son limitados.\n\n---\n\n## Pregunta 1\n\nEscribí una función en **C#** que reciba tres variables:  \n- **int**  \n- **string**  \n- **object**\n\nDentro de la función:\n\n- Si la variable de tipo `object` es un número, sumarla a la variable de tipo `int` y mostrar el resultado en la consola.  \n- Si la variable de tipo `object` es una cadena de caracteres, adjuntarla a la variable de tipo `string` y mostrar el resultado en la consola.  \n- Si la variable de tipo `object` no cumple con los requisitos anteriores, arrojar una excepción.\n\n---\n\n## Pregunta 2\n\nEscribí una función en **C#** que reciba como parámetro un `Dictionary\u003cint, string\u003e`.  \nDentro de la función, recorrer el diccionario y separar sus registros en dos listas:\n\n- Una lista con todos los **valores** del diccionario cuya **llave sea un número par**.  \n- Otra lista con todos los **valores** del diccionario cuya **llave sea un número impar**.\n\n---\n\n## Pregunta 3\n\nSuponé que tenés dos tablas en SQL:\n\n- **Producto**: `[ID, DESCRIPCION, CODIGO]`  \n- **Descuento**: `[ID, ID_PRODUCTO, FECHA_INICIO, FECHA_FIN, PORCENTAJE]`\n\nArmá una query para cada requerimiento:\n\n1. Obtener todos los productos que hayan tenido o tendrán en el futuro un **descuento mayor al 60%**.  \n   - Mostrar la **descripción** del producto y su **código**.\n\n2. Obtener todos los productos que tengan un descuento **entre el 1 de enero de 2021 y el 1 de marzo de 2021**.  \n   - Mostrar la **descripción**, **código**, las **fechas del descuento** y el **porcentaje**.\n\n3. Obtener todos los descuentos registrados para los productos cuyo código sea uno de los siguientes:  \n   `ADF32`, `POP79`, `LLE51`.\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvrodriguezvalentin%2Fpruebaprogramacion-valentinrodriguez","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvrodriguezvalentin%2Fpruebaprogramacion-valentinrodriguez","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvrodriguezvalentin%2Fpruebaprogramacion-valentinrodriguez/lists"}