Adv Databases Flashcards

1
Q

What is XML used for?

A

Data communication, data sharing, patching and for separating HTML

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a Namespace?

A

XML namespaces are used for providing uniquely named elements and attributes in an XML document

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Namespace - how would you differentiate a element?

A

and

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the DOM

A

Programming standard for manipulating XML documents (Dom plays with Doc)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Define XML Schema

A

A document defining elements to ensure a set of rules are implemented to the XML. An example is an Occurrence Indicator to declare the maximum number of elements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Name the three group of Indicators

A

Order, occurrence and group

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is XPATH?

A

A way of referring to the contents of an XML document

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is RDF?

A

Resource Description Framework is a method of describing resources that can be easily read by computers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the difference between a well formed XML document and a valid XML document?

A

Valid is readable by humans and well formed is readable by computers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is SPARQL

A

Current querying language for RDF

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is URI?

A

Web scope identifier that can be used to identify any resource

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is a literal?

A

Set of lexical values

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is a blank node?

A

Locally scoped identifier for resources that are not otherwise named

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What does a triple consist of?

A

Subject, predicate, object

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is a prefix?

A

An abbreviation of a URI

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Define OWA?

A

Open world assumption assumes that data is incomplete

17
Q

What two standards were introduced to add additional, well-defined vocab for RDF?

A

RDF schema and Web Ontology Language

18
Q

What does an RDF class allow for?

A

Simultaneous typing of resources. A RDF class is an ER entity

19
Q

What is taxonomy?

A

A classification schema for a vocabulary

20
Q

Why are there distributed databases?

A

For data protection laws, redundancy, performance, merging organizations.

21
Q

What is replication in distributed databases?

A

Where the DB stores some data at every node.

22
Q

What is synchronized replication in distributed databases?

A

Every node is kept up to date after every transaction

23
Q

What is asynchronized replication in distributed databases?

A

Every transaction is held in a queue

24
Q

What is key for performance management?

A

Good design, efficient connection management and properly formed SQL

25
Q

What is the three tier architecture?

A

Client –> Application Server –> Database

26
Q

What is connection pooling and name one benefit.

A

Recycling connections which can save time when querying in the future.

27
Q

Why is a cursor bad?

A

Takes up memory and locking

28
Q

What is Autotrace?

A

Debugging mechanism that gives an execution part of optimizer and statement execution stats

29
Q

What is metadata?

A

Data which is about data!

30
Q

What are the two types of metadata?

A

Structural (how the data is stored) and Descriptive (information about the data itself)

31
Q

True or false - Everyone should be able to see metadata

A

FALSE! Metadata should be kept a secret

32
Q

What is a distributed database?

A

DB with more than one DBMS