Miruna Teodora
Quiz por , criado more than 1 year ago

Quiz sobre Test 1, criado por Miruna Teodora em 07-02-2017.

63
0
0
Miruna Teodora
Criado por Miruna Teodora mais de 7 anos atrás
Fechar

Test 1

Questão 1 de 8

1

Characteristics for the hierarchical structure:

Selecione uma ou mais das seguintes:

  • A subordinate can be reached in many ways

  • A subordinate node can have only one superior

  • A node can have any number of subordinates and superiors

  • A subordinate node must have many superiors

  • A superior may have one or many subordinates

Explicação

Questão 2 de 8

1

In a table one can have:

Selecione uma ou mais das seguintes:

  • A simple primary key

  • A composed primary key

  • A simple foreign key

  • A foreign primary key

  • A control key

Explicação

Questão 3 de 8

1

The conceptual schema is the result of:

Selecione uma ou mais das seguintes:

  • The system study

  • The system analysis

  • The application requirements

  • The database structure's design

  • The database functions' design

Explicação

Questão 4 de 8

1

The clusters are useful for:

Selecione uma ou mais das seguintes:

  • Optimizing the database

  • Requests

  • Updates

  • Data inserts

  • Documentary databases

Explicação

Questão 5 de 8

1

A components database system architecture includes:

Selecione uma ou mais das seguintes:

  • data

  • database management system

  • application programs

  • legal and administrative regulations

  • hardware

Explicação

Questão 6 de 8

1

Having the table STUDENT ( name, year, group, no_stud_group, group_secretary, birth_date), what affirmation(s) is(are) not true:

Selecione uma ou mais das seguintes:

  • The table is in 2NF

  • The table has a fully functionally dependence

  • The table has a non-transitive dependence

  • The table is normalized

  • The table has a composed primary key

Explicação

Questão 7 de 8

1

In the relational model:

Selecione uma ou mais das seguintes:

  • There is the "record" notion

  • The attributes that have a role in making the links between tables are called composed keys

  • The links between tables are described in DML

  • There is the "table schema" notion

  • Projection, negation and existential are relational algebra operators

Explicação

Questão 8 de 8

1

Having the tables

PRODUCTS (product_id NUMBER(15) primary key, name VARCHAR2(25), price NUMBER (7, 2), release_date DATE),
ORDERS (order_id NUMBER(10) primary key, product_id NUMBER (15) REFERENCES products(product_id), quantity NUMBER(7,2), order_date DATE).

Select the orders that were made for the products that were released in 2000 (in two ways)

Selecione uma ou mais das seguintes:

  • select o.order_id, p.name, p.release_date, o.quantity from products p, orders o where p.product_id = o.product_id and extract (year from p.release_date) = 2000;

  • select o.order_id, p.name, p.release_date, o.quantity from products p join orders o using(product_id) where to_char(p.release_date, 'DD.MM.YYYY') like '%2000';

Explicação