Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .questions/questions-0/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Q: What is a javascript REPL? Can you name two ways to open one?

A: {YOUR ANSWER HERE}
A: An interactive shell that processes Node.js exxpressions.
1. Open the command palette and search for ans select "Start REPL"
2. Type python


Remember to commit and push when you're finished!
4 changes: 2 additions & 2 deletions .questions/questions-1/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Q: How do you write "Hello World" to the console?

A: {YOUR ANSWER HERE}

console.log("Hello World")

Remember to commit and push when you're finished!
Remember to commit and push when you're finished!
6 changes: 5 additions & 1 deletion questions-and-reviews/questions/0.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,8 @@ b) What will `result2` evaluate to? Explain your answer
c) Try to summarise the main difference between `logSum` and `calculateSum`


{YOUR ANSWERS HERE}
{
result1: 10 + 32
result2: 42
main difference: logSum uses parentheses, so it calculate the total of the numbers
}
2 changes: 1 addition & 1 deletion questions-and-reviews/questions/1.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ Ctr + Shift + V (Windows/Linux) or CMD + Shift + V (Mac)

In this task, you'll need to look at some code in `1.js` and, firstly, predict what it will do, **without executing it**.

{YOUR PREDICTION HERE}
My prediction is it gives Error

Afterwards, you can execute the code in `1.js` to check your answer 📝