databse and filetypes Flashcards

(45 cards)

1
Q

1NF

A

atomic data
must have primary key
There are no columns with repeated or similar data

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

benefits of normalization

A

Atomic data is easier to search on specific criteria
easier to modify data as one record will update related records
no redundant data
file size is smaller
No repeated data so less errors

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

Opensource file format

A

format for storing data for anyone to use
defined by a publicly published specification
can be used by both proprietary and open source
often called free file format as not covered by copyright
specifications are maintained by a standards organization
(CSV/TXT/JPG)
(smaller size sometimes)

needed as can work in multiple software
provides standard file type

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

Data Dictionary contains?

A

table name
field name
data type
field length
field default value
Description of each field
Required ( if it can be left blank)
primary key/foreign key
relationships
validation
table security ( who can delete and edit)

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

Static parameter query adv and explanation

A

fixed criteria which is decided when written
saves time running the query
less likely for error as no input required
more user friendly as don’t have to enter search criteria (than dynamic)

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

data types

A

– text, alphanumeric
– numeric (integer, decimal,currency)
– date and time
– time
– percentage
– Boolean/logical (yes/no, true/false)

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

Static parameter query disadv

A

Every time query is run will search for same data
-cannot be changed
-can end up having lots of static query
-making it hard to find query u want
If different data is searched for user would have to open in design view and change the data in the criteria to required
Static queries increase file size ( vs dynamic)

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

Dynamic parameter query explanation adv/dis

A

Can be used to search for different values each time its run
-more flexible
-uses a dialog box for user to enter data required
Saves time designing queries as you don’t need to make similar queries ( vs static)
Requires less technical knowledge of the user ( vs static)

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

indexed sequential access

A

-Allows records to be accessed in order they were entered (or randomly)
-Each record is given a index
-Data is organized into records which consist of fixed field lengths
-uses a set of hash tables which contains “pointers” into the records
-Can be searched quickly
-Searches uses an index which narrows down records to be searched and then that section of file is searched sequentially to find the record required

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

Foreign key

A

primary key from another table
used to create relationship between tables

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

referential integrity

A

forces table relationships to be consistent
enforces table relationships
ensure both sides of relationship exist
ensures that foreign key references primary key

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

why referential integrity is important

A

ensures that foreign key is valid
avoids redundant data
avoids orphan data
warns deletions of related records
data within the related field cannot be changed

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

relational database

A

has more than one table
each table holds data that is related
relationships are established between tables using primary key,foreign key,compound key
made using one to one or one to many
can create queries/reports with more than 1 table

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

csv adv

A

comma separated value
human readable
can be edited in text editor
processed by almost all programs
small in file size

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

csv disadv

A

includes values only
no formatting
lack of universal standard
problems when importing to SQL
poor support of special characters

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

many to many relationship

A

cannot exist/not possible to create
need to create a link table
made using 2 one to many relationships
each primary key exists as a foreign key in the link table

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

2NF

A

(only do this if u have a compound key)
no partial dependencies
The table must already be in first normal form

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

3NF

A

Must already be in 2NF
no non-key dependancies
like city depends on the country

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

MIS (management information system) how used

A

Used in decision making
used to coordinate data in a business
Used to analyze information
May be used on a database which can be queried
can be used to create reports, graphs and charts
by comparing reports to previous report trends can be identified

20
Q

Hierarchical data base system

A

Uses a structure that defines level of access to records
uses one to many relationship
links are based on dependencies
Links a number of records to one parent
Inflexible and limited by only using one type of relationship
so its only used in specific uses

21
Q

Normalization dis adv

A

Can take longer to set up database
more complex database due to relationships
has more tables so setting up queries can be more difficult so harder to keep track of data
may require greater expertise
making data atomic may not always be best solution as DOB can be separated but serves no purpose

22
Q

MIS (management information system)
definition and contains

A

a computer based system which provides managers with tools to organize departments within a business

contains
database
hardware resources
decisions support systems
human resource management systems
Accounting information management system
Marketing information system
Executive information system

23
Q

normalisation definition

A

a method of organising data tables
attempts to avoid data loss, data redundancy
Breaks data from non atomic structure to atomic
a multistep process where each step increases the efficiency of the database
Only related data is stored in a table

24
Q

relational database adv

A

reduced chance of data entry errors
does not have redundant data
uses less storage space
related fields are updated when data is changed
easier to produce reports
easier to maintain security of data

25
complex query simple query
is more than 1 field can use boolean operator AND OR NOT only one criteria
26
compound key
A primary key that contains more than 1 foreign key to make a unique value
27
good data entry form
Help button Appropriate title appropriate white space and info filling the page accessible font seperate lines for each line of address radio buttons dropdown lists navigation buttons
28
wildcards
* - any number of characters ? - one single alphabetic character # - single numeric character
29
.rtf
-includes text formatting, such as bold type, italics, different fonts and font sizes, and custom tab settings. It may also support images saved within the text file. (RICH TEXT)
30
.txt
-standard text document that contains unformatted text. any text editing or word processing program can also be processed by most other software programs
31
.csv
comma separated values -contains data sets separated by commas. -spreadsheet program or database
32
.mp3
-audio file a compressed audio format that uses "Layer 3" audio compression. used to store music file,audio books on a hard drive and may provide near‐CD quality sound (stereo, 16‐bit) in a file roughly 1/10 the size of a .WAV or .AIF file.
33
.WAV
-audio file -used for storing waveform data allows audio recordings to be saved with different sampling rates and bit rates often saved in a 44.1 KHz, 16‐bit, stereo format, which is the standard format for CD audio
34
.MP4
-movie or video clip -uses MPEG‐4 compression, a standard developed by the Moving Picture Experts Group (MPEG). -used for sharing video files on the Internet.
35
.MPG
-video file -used for creating movies that are distributed on the Internet and typically incorporates MPEG‐1 or MPEG‐2 audio and video compression
36
.BMP
bitmap image -uncompressed raster image comprised of a rectangular grid of pixels
37
.GIF
Graphical Interchange Format File -image file often used for web graphics -uses a lossless format
38
.JPG
-image file that uses a compressed image format -used for storing digital photos and used by most digital cameras to save images -supports up to 24‐bit color.
39
.PNG
Portable Network Graphic -image file -bitmap of indexed colors and uses lossless compression, similar to a .GIF file but without copyright limitations -used to store graphics for web images
40
.HTML
Hypertext Markup Language -web page coded in HTML that can be displayed in a web browser. -used to format text, tables, images, and other content that is displayed on the page.
41
.CSS
cascading style sheet -used to format the contents of a Web page -contains customized, global properties for how to display HTML elements. -can define the size, color, font, line spacing, indentation, borders, and location of HTML elements.
42
.ZIP
compressed or "zipped" using Zip compression -compression where every file in the archive is compressed separately
43
.RAR
-file archive that contains one or more files compressed with RAR compression. -higher compression ratio than ZIP compression
44
proprietary file format
controlled by a license agreement which is owned by an organization or individual -products developed around these standards should work well with each other e.g Microsoft .DOCX
45
conceptual ERD DIAGRAM
-tables w titles -field names with shortened titles NO SPACES -add id field if needed -draw with rounded rectangle -relationships