{"id":17681662,"url":"https://github.com/epoch/checkpoint1","last_synced_at":"2025-04-30T19:46:43.954Z","repository":{"id":48403145,"uuid":"149694914","full_name":"epoch/checkpoint1","owner":"epoch","description":null,"archived":false,"fork":false,"pushed_at":"2018-09-21T05:45:22.000Z","size":0,"stargazers_count":0,"open_issues_count":8,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T19:22:48.086Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/epoch.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}},"created_at":"2018-09-21T01:52:29.000Z","updated_at":"2018-09-21T01:54:07.000Z","dependencies_parsed_at":"2022-09-21T20:43:16.229Z","dependency_job_id":null,"html_url":"https://github.com/epoch/checkpoint1","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/epoch%2Fcheckpoint1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epoch%2Fcheckpoint1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epoch%2Fcheckpoint1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epoch%2Fcheckpoint1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/epoch","download_url":"https://codeload.github.com/epoch/checkpoint1/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251773698,"owners_count":21641678,"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-10-24T09:11:48.735Z","updated_at":"2025-04-30T19:46:43.935Z","avatar_url":"https://github.com/epoch.png","language":null,"readme":"# Week 1 Assessment\n\n### Bash (Terminal)\n\n#### Assume your present working directory is `$ ~/buffy`\n\n1. Make two directories inside `~/buffy`: `scoobies` and `vamps`\n\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\n\n2. Make files in `scoobies` named `buffy.txt`, `giles.txt` and `angel.txt`\n\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\n\n3. Copy `angel.txt` into the `vamps` directory\n\u003cbr\u003e\u003cbr\u003e\n\n4. Delete the `vamps` directory and everything inside it\n\u003cbr\u003e\u003cbr\u003e\n\n### JS Variables\n\n1. Assign the string \"Jack\" to a variable called `captain`\n\u003cbr\u003e\u003cbr\u003e\n\n2. Using the `captain` variable, use string concatenation to form the string \"Oh Jack, my Jack!\", assigning it to a variable named `phrase`\n\u003cbr\u003e\u003cbr\u003e\n\n\n### JS Conditionals\n```js\nvar souls = 3;\nvar lifeRafts = 2;\n```\n\n1. Write an `if` statement that console.logs \"SOS!\" if there are more _souls_ than _lifeRafts_\n\u003cbr\u003e\u003cbr\u003e\n\n\n### Data Structures - JS Arrays\n\n1. Create an array named `weekend` with just 'Saturday' in it\n\u003cbr\u003e\u003cbr\u003e\n\n2. Add 'Sunday' to the end of the `weekend` array\n\u003cbr\u003e\u003cbr\u003e\n\n3. Add 'Friday' to the front to the front of the `weekend` array\n\u003cbr\u003e\u003cbr\u003e\n\n4. Access 'Saturday' in the array and assign to a variable named `day`\n\u003cbr\u003e\u003cbr\u003e\n\n5. Remove 'Friday' from the array\n\u003cbr\u003e\u003cbr\u003e\n\n### Data Structures - JS Objects\n\n1. Write an object literal named `brain` having a property of `energyLevel` with a value of `10` as a number\n\u003cbr\u003e\u003cbr\u003e\n\n2. Assign the property of `energyLevel` to a variable named `energy`\n\u003cbr\u003e\u003cbr\u003e\n\n3. Add a `dream` property to the `brain` object that holds the string  'electric sheep'\n\u003cbr\u003e\u003cbr\u003e\n\n4. Add a `dayDream` property to the `brain` object that holds the object `{ lunch: ['burger', 'beer'] }` \n\u003cbr\u003e\u003cbr\u003e\n\n5. Add another element `pudding` to the lunch array inside the `brain` object\n\u003cbr\u003e\u003cbr\u003e\n\n### JS Functions\n\n1. Write a function to return the area of a rectangle (the product of its length and its width)\n\u003cbr\u003e\u003cbr\u003e\n\n2. Invoke the function with `3` and `4` as arguments and save it to a variable named `result`\n\u003cbr\u003e\u003cbr\u003e","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepoch%2Fcheckpoint1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fepoch%2Fcheckpoint1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepoch%2Fcheckpoint1/lists"}