wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Zendesk Dev

Total questions: 12

Worksheet time: 6mins

Name
Class
Date
1.

What is JSON?

a)

Just Simple Object Notation

b)

JavaScript Object Notation

c)

Javascript Syntax Object Notation

d)

a programming language

2.

I am in a restaurant and I want to get a dish from the menu,

Which request method in API language would it be?

a)

GET

b)

PATCH

c)

POST

d)

DELETE

3.

which is NOT Server error status code:

a)

200s

b)

400s

c)

500s

d)

300s

4.

Which is NOT a valid method?

a)

GET

b)

PUT

c)

INSERT

d)

DELETE

5.
The following code will:
x++;
a)
Add 1 to the previous value of x
b)
Add 1 to the previous value of y
c)
Subtract 1 from the previous value of x
d)
Give an error message
6.
A variable is used to:
a)
Store a value in memory
b)
Draw a circle
c)
Store a value that does not change
d)
Draw a rectangle
7.

What file is used to check different dependencies and other meta information about a NodeJS project?

a)

package.json

b)

config.json

c)

node_modules

d)

.env

8.

Which of the following routes contains a URL parameter?

a)

/{id}

b)

/:id

c)

/?id=val

d)

/id=val

9.

What global variable is used to access the environment variables of a NodeJS application?

a)

env

b)

ENV

c)

process.env

d)

Process.getEnv()

10.

What is not considered a NodeJS Application?

a)

Javascript running in your mobile phone

b)

Javascript running in your browser

c)

Javascript running in your server

d)

Javascript running as a desktop application

11.

Which of the following command is used to run a node.js program?

a)

node run main.js

b)

node start main.js

c)

start main.js

d)

node main.js

12.
Which for loop is correct?
a)
for (1; x < 5; i--)
b)
for(x; 5; ++1)
c)
for(int i = 0; i < 5; i++)
d)
for(int i = 0, i < 5, i++)