Application Architectures

This quiz covers the concept of application architectures and their uses, transaction processing systems, information systems, and language processing systems - including their components, architecture diagrams, and real-world examples such as ATM systems, MHC-PMS, and compilers

download Export
search_insights Statistics
stylus_note White Board
Quran
calculate Calculator
dictionary Dictionary
fullscreen Full Screen

QUESTION OF
Views #: 22
Questions #: 14
Pass Score: 80.0%
Style
Mode

What is an Application Architecture?

1 pts
volume_mute

Application architectures encapsulate the principal characteristics of a class of systems. Which of the following best explains why application architectures exist?

note_alt Add notes
flag Flag

Correct Answer

Explanation

Five Uses of Application Architecture Models

1 pts

As a software designer, you can use models of application architectures in a number of ways. Match each use with its correct description.

To complete the line match

  1. Click on an item in the first group
  2. Click on the match in the second group

To delete a match, double click on a line

Use

Starting point for architectural design
Assessing components for reuse
Design checklist
Organising work of the development team
Vocabulary for talking about application types

Description

Base your initial design on a generic architecture, specialising it for the specific system being developed
Compare your developed architectural design with the generic architecture to check consistency
The architecture identifies stable structural features that can be developed in parallel by different team members
Compare existing components against the generic structure to see whether comparable components exist for reuse
Use concepts from the generic architecture to discuss and compare applications of the same type
note_alt Add notes
flag Flag

Correct Answer

Explanation

Transaction Processing Systems - Definition

1 pts
volume_mute

Which of the following best describes a Transaction Processing (TP) system?

note_alt Add notes
flag Flag

Correct Answer

Explanation

ATM Transaction Example

1 pts
volume_mute

Consider a customer withdrawing cash from a bank ATM. Which statement correctly explains why this constitutes a database transaction?

note_alt Add notes
flag Flag

Correct Answer

Explanation

Transaction Processing System Structure

1 pts
Please drag and drop the options to sort them

The general structure of a Transaction Processing application follows four stages in sequence. Arrange these components in the correct order from user input to database.

Database
Application Logic
Transaction Manager
I/O Processing
note_alt Add notes
flag Flag

Correct Answer

Explanation

ATM Software Architecture

1 pts

The software architecture of an ATM system can be organized as a Pipe and Filter structure with Input, Process, and Output stages. Classify each component into the correct stage.

drag and drop the selected option to the right place

note_alt Add notes
flag Flag

Correct Answer

Explanation

Information Systems Architecture

1 pts

A general information system uses a layered architecture with four layers. Match each layer to its primary function.

To complete the line match

  1. Click on an item in the first group
  2. Click on the match in the second group

To delete a match, double click on a line

Layer (top to bottom)

Information Retrieval and Modification
User Communications / Authentication and Authorization
Transaction Management / Database
User Interface

Function

Handles all interaction with the user; implemented using a web browser in modern systems
Manages user login, role checking, form and menu management, and data validation
Implements application-specific logic for accessing and updating the database; includes security, data import/export, and report generation
Provides persistent data storage, transaction management, and data integrity using a commercial DBMS
note_alt Add notes
flag Flag

Correct Answer

Explanation

MHC-PMS Architecture

1 pts

The MHC-PMS (Mental Health Care Patient Management System) is an example of a multi-tier information system. In a web-based deployment, which server handles each responsibility? Match the server to its role.

To complete the line match

  1. Click on an item in the first group
  2. Click on the match in the second group

To delete a match, double click on a line

Server

Application server
Web server
Database server

Role

Responsible for all user communications, with the user interface implemented via a web browser
Responsible for implementing application-specific logic as well as information storage and retrieval requests
Moves information to and from the database and handles transaction management
note_alt Add notes
flag Flag

Correct Answer

Explanation

Language Processing Systems - Purpose

1 pts
volume_mute

Which of the following correctly describes what a language processing system does?

note_alt Add notes
flag Flag

Correct Answer

Explanation

Compiler Architecture Components

1 pts

A general-purpose programming language compiler includes six key components. Match each component to its function.

Symbol Table Syntax Tree Lexical Analysis Syntactic Analysis Semantic Analysis Code Generation

To complete the line match

  1. Click on an item in the first group
  2. Click on the match in the second group

To delete a match, double click on a line

Component

Lexical analyzer
Syntax analyzer
Symbol table
Semantic analyzer
Syntax tree
Code generator

Function

Takes input language tokens and converts them to an internal form
Holds information about the names of entities (variables, class names, object names, etc.) used in the text being translated
Checks the syntax of the language being translated using a defined grammar and builds a syntax tree
An internal structure representing the program being compiled
Uses information from the syntax tree and the symbol table to check the semantic correctness of the input language text
Walks the syntax tree and generates abstract machine code
note_alt Add notes
flag Flag

Correct Answer

Explanation

Two Architectures for a Compiler

1 pts
volume_mute

A compiler can be organized using two alternative architectural patterns. Which of the following correctly describes when each is preferable?

note_alt Add notes
flag Flag

Correct Answer

Explanation

ERP Systems and Application Reuse

1 pts
volume_mute

Enterprise Resource Planning (ERP) systems exemplify a particular form of application architecture reuse. Which of the following best describes this form of reuse?

note_alt Add notes
flag Flag

Correct Answer

Explanation

Examples of Transaction Processing Systems

1 pts
volume_mute

Which of the following are examples of Transaction Processing systems? Select ALL that apply.

note_alt Add notes
flag Flag

Correct Answer

Explanation

Language Processing System Architecture

1 pts

In a basic language processing system architecture, a source language program flows through two main stages before producing results. Drag the correct term into each placeholder.

Source language instructions are fed into a (1), which checks syntax and semantics and generates abstract machine instructions. These instructions are then fed into an (2), which fetches and executes them using data from the environment to produce results.

Please drag and drop the selected option in the right place or type it instead
Translator
Interpreter
Compiler linker
Debugger
note_alt Add notes
flag Flag

Correct Answer

Explanation