Search Header Logo

Web Application Session 1

Authored by Backend CAMP

Computers

University

Used 12+ times

Web Application Session 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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!") })

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?

Discover more resources for Computers