• Nie Znaleziono Wyników

MAS - Sample Exam | Mariusz Trzaska PJATK

N/A
N/A
Protected

Academic year: 2021

Share "MAS - Sample Exam | Mariusz Trzaska PJATK"

Copied!
2
0
0

Pełen tekst

(1)

Design and Analysis of Information Systems (MAS)

The Final Exam

First Name

Last Name

No

Group

The Final Exam

Page 1 from 2

Printed: 2021-03-01

Zestaw B

1. Test questions. Please mark true statements (T) and false ones (F). The correct answer will

give +2, a wrong one -2, no answer is 0 points. (total: 0 – 40 points).

In the relational model, in case of a column of type INT, the NULL value means 0.

In the ObjectPlus class, a container storing all extents, could be easily implemented using the ArrayList class.

The reflection technology could be used to read information about a class.

In case of the {XOR} implementation, it is worth using one of the contains(…) method existing in a container class.

A method implementing the {subset} constraint should take into account a name of the association. Using the declarative approach for GUI creation requires a major effort from the programmer. In popular programming languages (e.g. Java) UML constraints do not exist directly.

The {bag} constraint for an association means, that links among the same objects are ordered. An implementation of a complex attribute could be based on defining a new type.

The impedance mismatch phenomena is related to the poor performance of relational databases. Annotations utilized by the Hibernate could be related to associations.

An association attribute is implemented using a dedicated (middle) class.

In the relational model, an implementation of aggregation follows the same principles as in the object-oriented one.

One of the ways of shaping high usability is the observation how users work.

In the relational model, an aggregation is implemented as two middle tables and four foreign keys. The Java serialization technology helps in implementation of extents’ persistency.

One of the main reason of using identifiers to implement associations is making objects independent from each other.

In case of implementing a class extent using another class (e.g. PersonExtent), the dedicated collection has to be static.

A properly designed GUI, should use radio buttons to present mutual options.

Some of new applications do not focus on adding new functionalities, but on improving GUI.

(2)

The Final Exam

Page 2 from 2

Printed: 2021-03-01

2. For the analytical diagram below, please name the elements marked with letters from A to

J and briefly describe the selected (one) implementation method in Java (max. 10 x 6

points). General definitions, examples, etc. should not be provided. In the descriptions,

reference should be made to the elements in the diagram.

+getManufactureCosts {abstract}() -Name {unique}[1]

-Weight[0..1] -Colour[1]

Furniture item {abstract}

+getTotalCosts() -Number -Date Order -First name -Surname -Address Person {abstract} -Birth date -/Age -Salary -Company name Employee -Name Team -VATID -Support start date

Customer +getManufactureCosts() -Drawer count Desk +getManufactureCosts() -Shelf count Wardrobe {incomplete} 1 * * 1 3 manufactures -Accomplished course[1..*] Carpenter

-Mobile phone no. Manager {overlapping} * 0..10 3 is member of * * 3 supervises 1 *

has been placed by4

-Serial no. * 3..* -Start date -End date * * -Start date -End date * * A B C D E F G H I J

A

...

F

...

B

...

G

...

C

...

H

...

D

...

I

...

E

...

J

...

Cytaty

Powiązane dokumenty

Działanie algorytmu oparte jest na minimalizacji funkcji celu , zdefiniowanej jako suma funkcji kosztu ( ) oraz funkcji heurystycznej ( ).. W każdym kroku algorytm

wybranego punktu. Przy czym jeśli w danym sąsiedztwie znajduje się rozwiązanie umieszczone aktualnie na liście tabu- nie bierzemy go pod uwagę. Oczywiście po pewnej

wybranych punktów i wartość oczekiwana populacji bazowej (czerwony i niebieski krzyżyk) będą się w przybliżeniu pokrywały - rozkład będzie się więc zachowywał jak w

Warto zauważyć, że możliwe punkty wylosowane z kolejnej populacji są dyskretne – dla μ punktów w populacji jest maksymalnie μ 2 par punktów o których przeskalowaną

W tym celu ewaluator przypisuje do zadanego punktu w logu wartość funkcji celu, która następnie może zostać wykorzystana przez metodę optymalizacyjną

hiperheurystyke, w której dwie metody heurystyczne będą działały na przestrzeniach 5-wymiarowych, a następnie przekazywały swoje wyniki do modelu metody działającej w 10

Następuje wybór punktów przestrzeni do zbioru danych dla modelu zastępczego – model zastępczy znać będzie tylko położenie tych punktów oraz wartości funkcji celu

● Znacznie większa łatwość przekraczania siodeł ● Znacznie większa trudność lokalizacji. “lepszych“ siodeł w