Search Header Logo

Long Quiz | INFOT 1 – Integrative Programming and Technologies

Authored by WILLIAM MALABANAN

Information Technology (IT)

University

Used 1+ times

Long Quiz | INFOT 1 – Integrative Programming and Technologies
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Direction: Read the questions carefully. Write the letter that corresponds to the correct answer. What is the primary characteristic of "tight coupling" in software integration?

Components are independent and communicate via a message broker.

Two components are highly dependent on each other, with detailed knowledge of each other's interface and location.

A single, giant application handles all tasks.

Communication follows a "fire-and-forget" principle.

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is a major drawback of a tightly coupled system, described as "brittleness"?

The system is flexible and can easily add new services.

The system performs faster because services communicate directly.

If one service fails, the entire chain of services that depend on it also fails.

It only requires scaling the specific service that is a bottleneck.

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the core idea behind asynchronous messaging?

A service makes a call and must wait for a direct response before continuing its own work.

A service announces an event and can immediately respond to the user without waiting for other services to complete their tasks.

All services in a system are combined into a single monolithic application.

Services have detailed knowledge of each other's inner workings to ensure proper communication.

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

How is "loose coupling" defined?

Two components are highly dependent on each other, similar to two people holding hands.

Components are independent and interact through a well-defined interface without knowledge of each other's existence or internal workings.

A system where a change in one service often requires changes in all the services that call it.

A system where an order service makes a direct HTTP call to a payment service and waits for a response.

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

In the restaurant kitchen analogy, what does the central ticket queue represent?

The Producer/Publisher

The Consumer/Subscriber

The Message Broker

The "order placed" message

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the correct pip command to install the Paho-MQTT library?

pip install mqtt

pip get paho-mqtt

pip install paho-mqtt

python -m install paho

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

The Paho-MQTT library's mental model is built around which two key concepts?

The Broker and the Topic

The Client Object and Callbacks

Publishers and Subscribers

loop_start() and loop_stop()

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?