wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Web Technologies Quiz

Total questions: 47

Worksheet time: 24mins

Name
Class
Date
1.

Mozilla Firefox and other browsers have ecosystems of add-ons for their browsers that add functionality, for example by blocking ads or providing tools for online shopping. What is this style of variation called?

a)

Adaptation

b)

Extension

c)

Reference Architecture

d)

Replacement

2.

You are probably using the internet to do some of your personal banking. There is a page that shows your accounts and their balances, often called something like "Account Summary" or "Account Overview." You must click on an account to begin managing it. Which type of web page is this?

a)

dynamic web page

b)

web app

c)

web service

d)

static web page

3.

Another web page allows interacting with a spreadsheet in a browser. You can enter in values, sum them up, perform operations on them, format them, etc. What type of web page is this?

a)

static web page

b)

dynamic web page

c)

web app

d)

web service

4.

Consider the two statements. Choose the one correct option. 1. JSON is a markup language 2. JSON can easily be converted into a Javascript object

a)

Only the first statement is correct

b)

Both statements are correct

c)

Neither statement is correct

d)

Only the second statement is correct

5.

Which of these is NOT a basic standard of the World Wide Web?

a)

TCP

b)

HTTP

c)

FTP

d)

URL

6.

There is an HTTP method that allows you to send, create or update a resource, but allows the server to decide its location and identity. Which HTTP method is this?

a)

PUT

b)

GET

c)

POST

d)

SEND

7.

Which of these is often used to add dynamic content to a web page?

a)

CSS

b)

Javascript

c)

HTML DOM

8.

What are the three high-level components involved in a remote procedural call?

a)

marshal, client, server

b)

client stub, compiler, server stub

c)

IDL source code, IDL compiler, interface headers

d)

client, server, interface definition language

9.

The process of establishing a connection between the client stub and server stub is called…

a)

binding

b)

marshalling

c)

interfacing

d)

handshaking

10.

What are the advantages of Common Object Request Broker Architecture (CORBA)? Choose the 2 correct answers.

a)

Objects are essentially independent of their physical or virtual location.

b)

It allows for object-oriented paradigms in distributed computing

c)

Dynamic binding is simple

d)

Method calls can be treated locally or remotely

11.

What is the main difference between a web service and a web application?

a)

Web applications are presented through a browser

b)

Web services are simpler

c)

Web services are mostly meant for business applications

d)

Web applications dynamically generate content

12.

What standard is used for all aspects of web service development in this module, from describing interfaces to publishing and discovering services?

a)

XML

b)

WSDL

c)

SOAP

d)

UDDI

13.

Your web browser has an add-on that is alerted when your favourite blog has a new post. Which messaging pattern is this?

a)

notification

b)

request-response

c)

one-way

d)

solicit-response

14.

An important part of a WSDL (Web Service Description Language) file is a section that describes how services are invoked. For example, this section includes the style of interaction (document or RPC), the transport protocol, and how messages are turned into XML. What is this section?

a)

services

b)

bindings

c)

interfaces

d)

types

15.

Which part of a WSDL 2.0 description gives concrete information about the ports to be used for the service?

a)

bindings

b)

portTypes

c)

services

d)

interfaces

16.

According to REST best practices, where should you specify what format the input and output messages are in?

a)

Parameters in the URI

b)

XML schema

c)

HTTP headers

d)

sub-resources in the URI

17.

Which of these is NOT used in developing RESTful web services?

a)

simple text

b)

JSON

c)

XML

d)

SOAP

18.

By convention, which HTML method is usually used to create a new resource?

a)

POST

b)

DELETE

c)

PATCH

d)

PUT

19.

What is the recommended way to not break functionality if your RESTful API is being used by many users?

a)

Refactor the service, keeping the API the same

b)

version your API

c)

Describe your service with WSDL

d)

Subscribe your service consumers to change notifications

20.

Which of these best describes microservices?

a)

Migrating business functionality into a set of services incrementally instead of all at once

b)

Web service architectures consisting of lots of small, modular services

c)

a variation of SOA applied on an application scale

d)

Replicating services and modifying them to fill other roles

21.

Consider the two statements. Choose the one correct option. 1. Microservices must be in the same language and framework 2. Microservices can be replicated for scaling

a)

Only the first statement is true

b)

Only the second statement is true

22.

Which of these examples is a web application?

a)

an online shopping platform

b)

a website conducting a survey

c)

a blog

d)

online poker

23.

What is the term for the action that converts the parameters into a standardized message on the client side?

a)

invocation

b)

binding

c)

marshalling

d)

blocking

24.

In what format are SOAP messages represented?

a)

JSON

b)

SOAP formatting is not based on any other format

c)

XML

d)

HTML

25.

Which part of a SOAP message can be included but is NOT required?

a)

header

b)

envelope

c)

body

d)

HTTP method

26.

True or False: a SOAP message must be sent over HTTP.

a)

True

b)

False

27.

Which type of description will a service requester need to bind to a web service?

a)

SOAP

b)

UDDI

c)

WS-Description

d)

WSDL

28.

Which section of WSDL 2.0 contains concrete information like physical ports and mapping interfaces to endpoints?

a)

bindings

b)

services

c)

portTypes

d)

interfaces

29.

What does the types section of a WSDL 2.0 document allow developers to do?

a)

Define abstract data types

b)

Specify document-style or RPC-style interaction

c)

Specify which communications protocol is used (HTTP, SMTP…)

d)

Specify port types

30.

In which section of a UDDI description will you find information like the category of business and service?

a)

blue pages

b)

green pages

c)

yellow pages

d)

white pages

31.

Under which data structure of UDDI will you find a reference to the WSDL description?

a)

businessEntity

b)

serviceInterface

c)

businessService

d)

tModel

32.

What is the difference between coordination and composition in the context of services?

a)

coordination can only be done in a synchronous way

b)

composition uses only objects

c)

composition exposes a combination of services as another service

d)

coordination is focused on pairwise interactions

33.

What does it mean that RESTful services are cacheable?

a)

the service logic can be stored on the client

b)

the server can store the state of the interaction

c)

the client can store a version of the server's response

d)

the server can queue and prioritize requests

34.

Which of these is a good name for a REST resource? In other words, which of these resource names follow best practices? Choose the 2 correct answers.

a)

/getCar/2

b)

/car/2

c)

/cars/2

d)

/cars/2/tires

35.

Which of these elements in the HTTP header of a request specifies the format of the response?

a)

Host

b)

Content-Encoding

c)

Accept

d)

Content-Type

36.

What is the most important difference between WS*-style web services (which utilize SOAP, WSDL, etc.) and RESTful web services?

a)

WS* are more secure

b)

RESTful services are simpler

c)

Their differences are very minor

d)

They do not use the same transfer protocol

37.

Consider the following two statements about microservices architecture. Choose the one correct option. 1. Communication between microservices is stateless 2. Testing microservice architecture is complex

a)

Only the first statement is true

b)

Only the second statement is true

c)

Both statements are true

d)

Neither statement is true

38.

Which of these formats can be used to express and structure content to be sent over the internet? Choose the 3 correct answers:

a)

CSS

b)

XML

c)

JSON

d)

HTML

39.

Consider the following two statements about Javascript. Choose the one correct option. 1. It can allow you to generate content within the browser 2. A Javascript file must be sent in addition to an HTML file

a)

Only the first statement is true

b)

Only the second statement is true

c)

Both statements are true

d)

Neither statement is true

40.

Which of these responsibilities does the client stub have in a middleware-based architecture that uses RPC? Choose the 2 correct answers.

a)

Invoking the remote procedure call over the network

b)

Establishing a connection with the server

c)

Formatting and encoding data into standardized messages

d)

Invoking the server application directly

41.

Which of these are acceptable REST URIs according to best practices? Choose the 2 correct answers.

a)

/students/

b)

/students/3/

c)

/student/

d)

/getstudent/

42.

How can you pass parameters in a REST call?

a)

In the HTTP header

b)

In the URL

c)

In XML

d)

In the SOAP header

43.

Which of these message patterns are typical of asynchronous messaging?

a)

request-response

b)

solicit-response

c)

one-way

d)

notification

44.

Consider the two statements. Choose the one correct option 1. WSDL can be used to describe non-XML based web services 2. A WSDL document can import other WSDL documents to gain access to their specifications

a)

Only the first statement is true

b)

Only the second statement is true

c)

Both statements are true

d)

Neither statement is true

45.

Consider the two statements. Choose the one correct option
1.      WSDL can be used to describe non-XML based web services

2.      A WSDL document can import other WSDL documents to gain access to their specifications

a)

Only the first statement is true

b)

Only the second statement is true

c)

Both statements are true

d)

Neither statement is true

46.

Where are the formats of the input and output data specified, according to REST best practices?

a)

In the HTTP header

b)

As parameters in the URL

c)

In the HTTP request in JSON format

d)

In the HTTP request in XML format

47.

WS-BPEL covers what aspect of web services?

a)

encryption

b)

publishing

c)

composition

d)

security