Web Application Session 1

Web Application Session 1

University

5 Qs

quiz-placeholder

Similar activities

MT-Chapter 8 & 11 (set 1)

MT-Chapter 8 & 11 (set 1)

University

10 Qs

Mobile Commerce P2

Mobile Commerce P2

University

10 Qs

ITP  Quiz

ITP Quiz

University

10 Qs

Quiz 6 Perancangan dan Pemrograman Web-2023-1-Konsep Pemrograman

Quiz 6 Perancangan dan Pemrograman Web-2023-1-Konsep Pemrograman

University

5 Qs

Node.js and Express.js Fun Challenge

Node.js and Express.js Fun Challenge

University

10 Qs

Golang Quiz

Golang Quiz

University - Professional Development

7 Qs

NodeJS Quiz 1

NodeJS Quiz 1

University

9 Qs

Middleware

Middleware

University

10 Qs

Web Application Session 1

Web Application Session 1

Assessment

Quiz

Computers

University

Medium

Created by

Backend CAMP

Used 12+ times

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apa kepanjangan dari API?
Allocation Personal Interface
Application Programming Interface
Application Programming Internal
Application Personal Interface

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apa yang dilakukan client saat menggunakan API?
Memberikan Response
Mengirim Request
Membuat Middleware
Melakukan Connect database

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apa yang dilakukan server saat menggunakan API?
Memberikan Response
Mengirim Request
Membuat Middleware
Melakukan Connect database

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Saat membuat client di Golang, bagaimana cara kita melakukan request dengan method GET?
`http.DoRequest("GET", "url")`
`http.("GET", "url")`
`http.Get("url")`
`http.DoRequest.Get("url")`

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Saat membuat server di Golang, bagaimana cara membuat response dengen endpoint "hello" dan response string "hello client!"
http.HandleFunc(func("/hello", w http.ResponseWriter, r *http.Request){ w.Write([]byte("hello client!") })
http.HandleFunc("/hello", func(w http.ResponseWriter, r *http.Request){ fmt.Fprintln(w, "hello client!") })
http.HandleFunc("/hello", func(w http.ResponseWriter, r *http.Request){ w.Write([]byte("hello server!") })
http.HandleFunc(func("/server", w http.ResponseWriter, r *http.Request){ fmt.Fprintln(w, "hello client!") })