{"id":20490996,"url":"https://github.com/osoco/clear-top-half-image-rydnr","last_synced_at":"2026-02-11T16:31:42.232Z","repository":{"id":139966904,"uuid":"197232680","full_name":"osoco/clear-top-half-image-rydnr","owner":"osoco","description":"clear-top-half-image-rydnr created by GitHub Classroom","archived":false,"fork":false,"pushed_at":"2019-07-16T16:48:11.000Z","size":42,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-16T05:26:23.321Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/osoco.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2019-07-16T16:47:56.000Z","updated_at":"2019-07-16T16:48:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"245fcb46-5f60-4925-b943-ef6d55ee48dd","html_url":"https://github.com/osoco/clear-top-half-image-rydnr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osoco%2Fclear-top-half-image-rydnr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osoco%2Fclear-top-half-image-rydnr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osoco%2Fclear-top-half-image-rydnr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osoco%2Fclear-top-half-image-rydnr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/osoco","download_url":"https://codeload.github.com/osoco/clear-top-half-image-rydnr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242068734,"owners_count":20066954,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-11-15T17:19:23.981Z","updated_at":"2026-02-11T16:31:37.205Z","avatar_url":"https://github.com/osoco.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Clear top half exercise\n\nThis is a very simple exercise to check computational thinking skills.\n\n## Description\n\nWe have to program a function named `clearTopHalf()` receiving a parameter `picture` representing an image.\n\nThe function should make the top half of the input image all white.\n\n## Test case\n\nGiven the following input image:\n\n![Input image](https://raw.githubusercontent.com/osoco/clear-half-top-image-exercise/master/assets/alan_kay.jpg)\n\nThe image should be changed to the following one:\n\n![Resulting image](https://raw.githubusercontent.com/osoco/clear-half-top-image-exercise/master/assets/alan_kay_top_half.jpg)\n\n## Solution hints\n\nYou can use any existing programming language you know or an invented syntax (something like pseudocode).\n\nYou can suppose the existence of any number of auxiliary functions you need. Simply enumerate them in your solution file with a\nbrief description about their behaviour.\n\nWrite your solution in a `solution.md` file in this repository. In the case you think alternative solutions write them\nas `solution-1.md`, `solution-2.md`, and so on.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosoco%2Fclear-top-half-image-rydnr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fosoco%2Fclear-top-half-image-rydnr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosoco%2Fclear-top-half-image-rydnr/lists"}