CHAPTER 8 Flashcards
Most audit testing occurs in the ______________ phase of the audit.
Substantive-testing
Uses of Substantive Tests [DDCS]
- Determining the correct value of inventory
- Determining the accuracay of prepayments and accurals.
- Confirming accounts receivable with customers.
- Searching for unrecorded liabilities.
2 General Categories of CAATTS [OA]
- Organization
- Access Method
refers to the way the records are PHYSICALLY ARRANGED on the secondary storage device. This may be either sequential or random.
Organization
is the technique used to LOCATE records and to NAVIGATE through the database or file
Access Method
describes an environment in which individual data files are NOT INTEGRATED with other files.
Flat-file Model
typically called the SEQUENTIAL access method. All records i the file lie in contiquous storage spaces in a specified sequence (ascending or descending) arranged by their primary key.
Sequential Structure
is so named because, in addition to the actual data file, there exists a separate INDEX that is itself a file or record addresses.
Indexed Structure
Virtual Storage Access Method (VSAM)
• is used for very large files that require routine batch
processing and a moderate degree of individual
record processing.
• is used for files that often occupy several cylinders
of contiguous storage on a disk.
VSAM File - 3 Physical Components [IPO]
- Indexes
- Prime Data Storage
- Overflow Area
employs an ALGORITHM that converts the primary key of a record directly into a storage address.
Hashing Structure
Principal advantage of hashing is
access speed
Two significant disadvantages of hashing
(1) Does not use storage space efficiently
(2) Different record keys may generate the
same (or similar) residual, which translates
into the same address. This is called a
collision.
Different record keys may generate the
same (or similar) residual, which translates
into the same address.
Collision
is used to create a LINKED LIST file. This approach stores in a field of one record the address (pointer) of a related record.
Pointer Structure
may also be used to LINK records between files.
Pointers
3 Types of Pointers [PRL]
- Physical Address Pointer
- Relative Address Pointer
- Logical Key Pointer
contains the ACTUAL disk storage location recorded by the disk controller. It bear no logical relationship to the records they identify
Physical Address Pointer
contains the RELATIVE position of a record in the file
Relative Address Pointer
contains the PRIMARY KEY of the related record
Logical Key Pointer
are BASED on the INDEXED SEQUENTIAL file structure
Relational Database
MULTIPLE indexes can be used to create a cross-reference which allows even more FLEXIBLE access to data
Inverted List
E. F. Codd originally proposed the principles of the relational model in the late 1960s
Relational Database Theory
A System is Relational if it:
- Represents data in the form of two-dimensional
tables. - Supports the relational algebra functions of
restrict, project, and join.
3 Algebra Functions [RPJ]
- Restrict
- Project
- Join
extracts specified ROWS from a specified table
Restrict