EXAM 3 Study Guide Answers
EXAM 3 Study Guide Answers
a. By Functional.
Analytical databases, also referred to as On-Line analytical processing, are those used to keep
track of statistics. (read only access to analyze the data).
Operational database, also referred to as On-Line transactional processing, lets you change and
manipulate the data in database.
b. By Data Model
Flat file database model
Data is stored in numerous files.
No linkage between files so repetition of information in different files’
Relational database model
Data can be stored in different tables/database.
The tables/databases can be connected using keys.
Object oriented database model.
Stores not only text, but also sounds, images and all sorts of media clips.
Not only SQL is an umbrella term for any alternative system to traditional SQL databases. In
NoSQL management system, it indicated any database that doesn’t use a rown and columns
table structure used with RDBMS.
5. What is GIT?
A distributed version control system (VCS) that enables you to store code, track revision history, merge
code changes, and revert to earlier code version when needed. It can be thought of as a backup system
for a subset of files where you want to keep historical copies. These copies are versions of your
repository.
Centralized SCM
Server: single database
Client: working directory & state
Where centralized system wins?
Single repository point
Easy setting up of access control
Partial checkout
Good user interface
Pitfalls
Centralized repository goes down.
Branching and merging
Performance issue
Incomplete merge event record
Compression tool
Decentralized SCM
Anyone can be a server.
Repository coupled with working directory.
Complete history
Disconnected operation.
Where it wins?
Distributed nature
Cheap local branching
Small space requirements
Easy to learn.
Easy merging
Any workflow
Conclusion
With decentralization…
Clients can commit changes while being offline.
A complete copy of data is stored locally thus, fast compared to a centralized system.
Decentralized system is flexible with various workflows.
Easy and cheap branching and merging.
Internal quality
Is the code easy to read and understand?
Is the code well structured?
Is the code easy to modify?
Purpose of packages:
To organize your code into logical groups. This makes your code easier to read, maintain and
understand.
To prevent naming conflicts.
To control access to your code allowing you to restrict which classes and interfaces can be
accessed from outside of the package. This helps to protect your code from unauthorized access.
Some of the most used DDL (Data definition language) statements in SQL are:
Create table- creates a new database table.
Alter table- changes a database table.
Drop table- deletes a database table.