Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bed27ed

Browse files
authored
Update test.md
1 parent eae30db commit bed27ed

File tree

1 file changed

+37
-14
lines changed

1 file changed

+37
-14
lines changed

test.md

Lines changed: 37 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,58 @@
1-
# Final JavaScript Test
1+
# Final javascript test
22

3-
It will be about all the JavaScript you’ve learned, from JavaScript1 to JavaScript3.
3+
You’ll be doing a final JavaScript test. It will be about all the JavaScript you’ve learned, from JavaScript 1 to JavaScript 3.
4+
5+
## Practical information
6+
- The test will start at 10.450 until 11.45 . The door will open at 10.30.
7+
- It will be done online and you can use google, so please bring your laptop.
8+
- You can’t use your old code.
9+
- There will be 5 or 6 questions.
410

511
## Purpose of the test
12+
The purpose of this exam is to test your comprehension of JavaScript
13+
- The goal for us is to know how solid your knowledge is and if you need any extra assistance throughout the program.
14+
- The goal for you is to test how well enough you master the material so far.
15+
Like the homework you will get feedback and are expected to improve upon your weak points.
616

7-
We want to make sure you understand and master the material well enough to confidently go on in the program. We also want to see if you can keep up with the pace.
8-
Test material
17+
## Test material
918
The test will be about all main JavaScript concepts we have discussed for the past weeks of JS. The following are the most important that will be tested:
10-
1119
- `Functions & Variables`
1220
- `Scope`
1321
- `Loops`
1422
- `Callbacks & Promises`
1523
- `Array functions`
1624
- `Conditional statements`
1725
- `DOM manipulations`
18-
- `XMLHttpRequests & API calls`
26+
- `Fetch & API calls`
27+
- `Promises & Async/await`
1928
- `Try…catch`
2029

21-
## How to prepare optimally
30+
## Preparation
31+
Advice on how to optimally prepare:
32+
- Find out 2 things about each concepts listed above: (1) how does the basic structure look and (2) what is the most common use case.
33+
- Ask questions through Slack to your teachers and/or your classmates.
34+
- Practice for understanding (why something is the case), NOT just for repetition shake (and hoping ‘you will understand it one day’).
35+
- Make a summary of all the study material.
36+
- After you prepared try to make the sample questions that are in this file.
2237

23-
For each of these you must be able to (1) write the basic code structure of it, (2) know when to apply them, and (3) apply it coherently with the rest of your code.
38+
## During the test
39+
Advise on how to make a test:
40+
- Look for low hanging fruit. Which of the assignments is easiest for you to do? Tackle that one first.
41+
- When writing your code, write small chunks at a time, testing each time before continuing. Use temporary console.log statements to show intermediate results (remove when no longer needed). Don't continue until the code written sofar is working correctly. If you write a whole bunch of code without intermediate testing it becomes difficult to pinpoint where issues occur.
42+
- If you get stuck in an assignment, move on to the next one. You can always come back later if time permits.
43+
- When writing code for the browser, always open the Chrome Developer Tools. Watch out for error messages in the browser console. Inspect the network tab to examine the data returned from a remote API.
44+
- Don't over-deliver. If styling is not required by the assignment, skip it. If time permits, you can do it later. The same goes for handling fetch errors. Focus on delivering a minimum working version that meets the requirement. Ticking off a working version again reduces your stress level. Come back later, if time permits, to embellish your solutions.
45+
- Don't use Google as a replacement for common sense.
46+
- After finishing an assignment, read the question again to make sure you actually gave an answer to the question.
47+
- Before handing in the test, read it all over again to pick out the small mistakes.
2448

25-
## What type of questions to expect
49+
## Sample questions
2650

27-
You are expected to solve several coding challenges. These include DOM manipulation and making API Calls.
51+
1. Using JavaScript only (adding HTML to index.html is NOT allowed), create a button element (with text "click me!") and an empty image element and add it to the document. When the button is clicked, insert an image URL into the <img> tag and remove the button. Use the following image URL: https://thehub.dk/files/5ad4b4a9f9ac4aa13c3d2d58/logo_upload-6d537cf7e5de664db275b32b3c6ae12d.png
2852

29-
## What tools to use
53+
2. Make an API call using the Fetch API or the regular XMLHttpRequest (whichever one you're more comfortable with). Use the following API: https://reqres.in/api/users
54+
Parse the response and then display the "first_name" and "last_name" of the first three users within the DOM (inside an unordered list)
3055

31-
This test will be done on your laptop. You may use Google to help you out, but not the code from your homeworks.
3256

33-
## Time and location
57+
If there’s anything unclear please let us know. Also, if any of you need additional support, now is the moment to let us know as we could pair you up with someone to answer any questions you may have.
3458

35-
The test will be held in the usual place, will start at 11.00 and takes about an hour to complete. Doors will open at 10:45 the latest so please be in time.

0 commit comments

Comments
 (0)