Bài 1 & Bài 2 Ôn tập Web Services

 

Bài 1 & Bài 2 Ôn tập Web Services


Ảnh minh họa

Web services thầy Công

Bài 1: Tổng quan về web services

Câu 1. The term Web service (WS) is either a service offered by an electronic device to another electronic device, communicating with each other via the World Wide Web, or a server running on a computer device, listening for _________ at a particular port over a network, serving web documents (HTML, JSON, XML, images).

A. response

B. requests

C. server

D. client

Câu 2. In a Web service a Web technology such as HTTP is used for transferring _________ file formats such as XML and JSON

A. HTML

B. HTTP

C. human-readable

D. machine-readable

Câu 3. What is the RSS?

A. RDF Site Summary

B. Really Simple Syndication

C. Remote Support Software

D. Rich Site Summary

Bài 2: Hoạt động của web services

Câu 1. The Hypertext Transfer Protocol (HTTP) is an application _____  protocol in the Internet protocol suite model for distributed, collaborative, hypermedia information systems.

A. of

B. programming

C. interface

D. layer

Câu 2. What does RFC stand for in tech?

A. Radio frequency channel

B. Request for comments

C. Read frequently content

D. Require for command

Câu 3. The format of a request HTTP includes?

A. Request line, Request message, Blank line, Request body

B. Request line, Request headers, Blank line, Request body

C. Request input, Request headers, Blank line, Request body

D. Request line, Request headers, Blank line, Request data

Câu 4. The format of a response HTTP includes?

A. Status line, Response headers, Blank line, Response body

B. Response error, Response headers, Blank line, Response body

C. Status line, Response headers, Blank space, Response body

D. Status line, Response headers, Blank line, Response code.

Phần 3. Các câu hỏi khác

Câu 5: The basic Web Services platform is combination of _______ and ________

C. XML + HTML

B. CSS + JAVA

D. XML + HTTP

A. CSS + HTTP

Câu 6. Phát biểu về phương pháp học top-down và bottom-up nào sau đây không hợp lý?

A. Học theo phương pháp top-down là làm theo hướng dẫn để có một sản phẩm phần mềm hoàn chỉnh. Trong và sau khi làm, sẽ từng bước tìm hiểu các khái niệm, thuật ngữ liên quan.
B. Học theo phương pháp bottom-up là học từng khái niệm, thuật ngữ nền tảng, sau đó ghép nối chúng lại để tạo ra một sản phẩm phần mềm hoàn chỉnh.
C. Học theo kiểu top-down, và bottom-up không tốn nhiều thời gian, không cần kiên trì.
D. Học theo kiểu top-down và bottom-up đều cần rất nhiều thời gian và sự kiên trì.

Câu 7. XML documents may begin with an XML _________ that describes some information about themselves. An example is <?xml version="1.0" encoding="UTF-8"?>.

A. schema
B. definition
C. declaration
D. define

Câu 8. HTTP response status _______ indicate whether a specific HTTP request has been successfully completed.

D. characters
C. codes
B. keys
A. strings

Câu 9. HTTP messages are how data is __________between a server and a client. There are two types of messages: requests sent by the client to trigger an action on the server, and responses, the answer from the server.

A. converted
D. exchanged
B. transmitted
C. transformedstrings

Câu 10. The Hypertext Transfer Protocol (HTTP) is an application layer protocol for distributed, collaborative, hypermedia information systems. HTTP is the foundation of data communication for the World Wide Web, where hypertext documents include ___________ to other resources that the user can easily access, for example by a mouse click or by tapping the screen in a web browser.

C. HTML document

B. hyperlinks

D. images
A. CSS document

Câu 11. Select the communication channels NOT use in a web service?

A. HTTP/GET
C. SOAP
D. MIME
B. HTTP/POST

Câu 12. JSON stands for...

A. JavaScript Oriented Notation
B. Java Object Null
D. JavaScript Object Node
C. JavaScript Object Notation

Câu 13. What is REST?

C. Representational Service Transfer
D. Representational State Transfer
B. Realy State Transfer
A. Representational Server Transfer

Câu 14. What is NOT a part of a SOAP Message ?

D. SOAP Headers
C. SOAP Body
A. SOAP Envelope
B. SOAP Footer

Câu 15. In computing, a __________ protocol is a communications protocol in which no session information is retained by the receiver, usually a server. Relevant session data is sent to the receiver by the client in such a way that every packet of information transferred can be understood in isolation, without context information from previous packets in the session.

B. application layer
D. network
C. stateless
A. data exchanged

Câu 16. Amazon Web Services (AWS) is a __________ of web services that offers solutions for
computing, storing, and networking, at different layers of abstraction.

D. database management system
A. operating system
B. customer
C. platform

Câu 17. __________ are messages sent by the client to initiate an action on the server

A. HTML responses
C. HTTP responses
D. HTML requests
B. HTTP requests

Câu 18. Trong dịch vụ web, phát biểu nào sau đây không đúng về: API, REST, RESTful

A. API là một hàm chức năng
B. REST (danh từ) là một chuẩn để viết API
C. RESTful (tính từ) là một chuẩn để viết API
D. API là một giao thức

Câu 19. Mối liên hệ giữa các phương thức của REST và thao tác CRUD tương ứng. Phát biểu nào sai?

A. GET – Read
B. POST – Create
C. PUT/PATCH – Create
D. DELETE – Delete

Câu 20. Clouds (or cloud computing) are often divided into three types:

C. hybrid, private, protected
A. public, private, protected
B. public, protected, hybrid
D. public, private, hybrid

Câu 21. What is WSDL?

D. Web System Description Language
A. Web Services Detail Language
C. Web Services Description Language
B. Web Services Development Language

Câu 22. What UDDI means?

B. Universal Defination Display and Integration
A. Universal Definition Discovery and Integration
D. Universal Description Discovery and Integration
C. Universal Discovery Description and Integration

Câu 23. Để học nhanh bạn nên?

A. Chỉ học theo kiểu bottom-up
B. Chỉ học theo kiểu top-down
C. Kết hợp, luân chuyển liên tục giữa top-down và bottom-up
D. Học không cần phương pháp

Câu 24. Chu trình học tập Kolb gồm 4 bước: [1] Trải nghiệm rời rạc (xem, nghe, đọc, làm theo), [2] Xâu chuỗi và hệ thống các khái niệm, [3] Ghi nhận tri thức vào bộ não, [4] Áp dụng tri thức vào thực tế, làm việc, vào việc học kiến thức mới. Bước nào là quan trọng nhất?

A. 1, 2
B. 2, 3
C. 3, 4
D. Tất cả các bước

Câu 25. __________ is a model for enabling ubiquitous, convenient, on-demand network access to a shared pool of configurable computing resources (networks, virtual machines, storage, applications, and services) that can be rapidly provisioned and released with minimal management effort or service provider interaction.

A. Cloud computing
C. Docker
D. Git
B. MVC

Hết

Chúc mọi người thi tốt!


Đăng nhận xét

0 Nhận xét