Search Header Logo

saig-web-techmastery-qizz

Authored by Tamtikorn Kietipungchai

Computers

University

Used 3+ times

saig-web-techmastery-qizz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

ในการสร้าง API ด้วย Node.js และ Express.js เราควรใช้ middleware ใดเพื่อจัดการกับข้อมูล JSON ที่ส่งเข้ามาใน request body?

express.static()

express.json()

express.urlencoded()

express.Router()

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

เราควรใช้คำสั่งใดในการติดตั้ง Express.js ในโปรเจ็กต์ Node.js?

npm install node

npm install express-api

npm install express

npm install express-js

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

ใน Express.js, คำสั่งใดใช้สำหรับกำหนดเส้นทาง HTTP GET?

app.get()

app.request()

app.GET()

app.Get()

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

ในการส่ง response กลับไปยัง client ด้วยข้อความ "Hello, World!" ใน Express.js เราจะใช้คำสั่งใด?

res.send("Hello, World!")

res.end("Hello, World!")

res.write("Hello, World!")

res.text("Hello, World!")

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

ในการกำหนดพอร์ตที่ Express.js จะรัน เราใช้คำสั่งใด?

app.set('port', 3000)

app.listen(3000)

app.run(3000)

app.bind(3000)

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

ใน HTML, แท็กใดใช้สำหรับแสดงรูปภาพ?

<image>

<picture>

<img>

<src>

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

ใน JavaScript, คำสั่งใดใช้สำหรับสร้างตัวแปรที่ค่าไม่สามารถเปลี่ยนแปลงได้?

let

var

const

fixed

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?