DAT Tools Flashcards

1
Q

What is the difference between Declarative and Imperative languages?

A

Declarative - You define the outcome, not how to achieve it. The system chooses the step order and path. Code can be repeated as many times as necessary.

Imperative - The system carries out the precise steps in the order you direct it to.

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

What is R?

A

An object oriented programming language.

All commands are functions, often having many default arguments.

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

What is Python?

A

An open-source, general-purpose language.

It’s abstracted from computer architecture (more logical to read).

Interpreted, not compiled language (runs line by line)

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

What are the four Data Structures in Python?

A

List - Heterogeneous collection. Mutable (can be changed).
Tuple - Immutable list, ordered.
Dictionary - Collections of key-value pairs.
Sets - Collections of unique objects. Unordered and mutable.

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

What does ACID refer to?

A

Atomicity - Multiple options treated as single entity, all completed or none.
Consistency
Isolation - Concurrent operations don’t influence eachother.
Durability

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

What does BASE refer to?

A

Basic Availability - Appears working, but some data may be unavailable.
Soft-state - Each store isn’t always consistent.
Eventual consistency - Stores not consistent will eventually catch-up.

Often used in Big Data.

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

How many records can Excel handle and display?

A

1 million records can be displayed, 10 million can be handled.

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

Define NOSQL

A

It is a database not solely using SQL querying.

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

What is a Document Datastore?

A

Data stored and queried as JSON like documents. Documents can be nested within documents.

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

What is a Column Value/Family Datastore?

A

Values are stored within columns, consisting of a unique name, value and time stamp (to warn of stale).

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

What is a Graph Datastore?

A

Focusses on relationships between variables. Features networks of nodes and links.

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

What is a Key Value Datastore?

A

Values can be retrieved by knowing the key for which the value was stored. Simple to retrieve values once you know the key.

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