SlideShare una empresa de Scribd logo
1 de 32
Descargar para leer sin conexión
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
                        Computer Fundamentals: Pradeep K. Sinha & Priti Sinha




Ref. Page   Chapter 16: Business Data Processing               Slide 1/32
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
                               Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

 Learning Objectives

   In this chapter you will learn about:
   § Difference between data and information
   § Data processing converts raw data into useful information
   § Data storage hierarchy commonly used to facilitate data
     processing
   § Standard methods of organizing data
   § Basic concepts of database systems




Ref. Page 295      Chapter 16: Business Data Processing               Slide 2/32
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
                              Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

 Data Processing
 Data Processing

  § Data is a collection of facts – unorganized but able to
    be organized into useful information
  § Information is data arranged in an order and form that
    is useful to the people who receive it
  § Data processing is a series of actions or operations
    that converts data into useful information
  § A data processing system includes resources such as
    people, procedures, and devices used to process input
    data for producing desirable output




Ref. Page 295     Chapter 16: Business Data Processing               Slide 3/32
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
                                            Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

 Data Storage Hierarchy
 Data Storage Hierarchy

                   Level 0    Bit    A single binary digit (0 or 1)


                                         Multiple related bits are combined to
                Level 1   Character      form a character (byte)


            Level 2                         Multiple related characters are combined to
                             Field          form a field


        Level 3              Record             Multiple related fields are combined to
                                                form a record


      Level 4                 File                  Multiple related records are combined to
                                                    form a file

  Level 5                 Database                     Multiple related files are integrated to
                                                       form a database




Ref. Page 296                Chapter 16: Business Data Processing                         Slide 4/32
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
                                                     Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
 Relationship Among
 Relationship Among
 Character, Field, Record, and File
 Character, Field, Record, and File




    A field having              Employee Code irst Name Last NameHours workedHourly rateTax rate
                                            F
    4 characters                   0004         Kumar Rana          40        14.00      0.09
                          Employee Code irst Name Last NameHours workedHourly rateTax rate
                                      F
                             0003      Pratap      Singh      43        15.00      0.10
                   Employee Code irst Name Last NameHours workedHourly rateTax rate
                               F
                      0002      Ravi        Patel      42        10.00      0.07

                Employee Code irst Name Last NameHours workedHourly rateTax rate
                            F
                   0001       Pradeep Sinha         45        12.00      0.08
     A record




                                                                                                   Records
                                         Fields
                                                                                                   of a file




Ref. Page 297                       Chapter 16: Business Data Processing                                  Slide 5/32
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
                                Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

 Standard Methods of Organizing Data
 Standard Methods of Organizing Data

  § File-oriented approach: Application’s data is organized
    into one or more files and application program processes
    them to generate the desired output
  § Database-oriented approach: Data from multiple
    related files are integrated together to form a database:
       § Provides greater query flexibility
       § Reduces data redundancy
       § Solves data integrity (inconsistency) problem
       § Makes data independent of the application programs
       § Includes data security features at database level,
         record level, and field level



                                                               (Continued on next slide)
Ref. Page 297       Chapter 16: Business Data Processing                Slide 6/32
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
                               Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

 File Management System
 File Management System

  § In file-oriented approach of organizing data, an
    application’s data is organized into one or more files
  § Application program processes the data stored in these
    files to generate the desired output
  § Set of programs is provided to facilitate the users in
    organizing, creating, deleting, updating, and
    manipulating their files
  § All these programs together form a File Management
    System (FMS)




Ref. Page 299      Chapter 16: Business Data Processing               Slide 7/32
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
                               Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

 File Types
 File Types


     A file management system supports following file types:
  § Transaction file: Stores input data until it can be
    processed
  § Master file: Contains all current data relevant to an
    application
  § Output file: Stores output produced by one program
    that is used as input to another program
  § Report file: Holds a copy of a report generated by an
    application
  § Backup file: Copy of a file, created as a safety
    precaution against loss of data




Ref. Page 299      Chapter 16: Business Data Processing               Slide 8/32
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
                                 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

 File Organizations
 File Organizations

  §    File organization is the physical organization of the
       records of a file for convenience of storage and retrieval
       of data records
  §    Three commonly used file organizations are:
       §   Sequential: Records are stored one after another in
           ascending or descending order determined by the
           value of the key field of the records
       §   Direct/random: Desired record pertaining to current
           transaction can be directly located by its key field
           value without having to navigate through sequence of
           other records


                                                                  (Continued on next slide)



Ref. Page 300        Chapter 16: Business Data Processing                Slide 9/32
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
                                Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

 File Organizations
 File Organizations

                                                           (Continued from previous slide)


  §    Indexed sequential: There are two files for every
       data file – the data file which contains the records
       stored in the file, and the smaller index file which
       contains the key and disk address of each record
       stored in the data file




Ref. Page 300       Chapter 16: Business Data Processing                  Slide 10/32
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
                                        Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
 Organization of An Indexed
 Organization of An Indexed
 Sequential File
 Sequential File


      Employee               Address                 Address
      Code (key)             Location                            Employee Record
                                                     Location
         0001                 1003                    1001      0002 R. S. Patel …

         0002                 1001                    1002      0004 R. K. Rana …

         0003                 1004                    1003      0001 K. P. Sinha …

         0004                 1002                    1004      0003 N. P. Singh …


                Index file                                      Data file




Ref. Page 302            Chapter 16: Business Data Processing                  Slide 11/32
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
                               Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

 File Utilities
 File Utilities

   § Routines to perform a variety of generalized operations
     on data files
   § Operations performed by some commonly used file
     utilities are Sorting, Searching, Merging, Copying,
     Printing, and Maintenance




Ref. Page 303      Chapter 16: Business Data Processing               Slide 12/32
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
                                  Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

 Sorting On One Key
 Sorting On One Key

          Employee    Department        Other fields (Name,
            Code         Code          Address, Qualification,
                                         Basic Salary, etc.)
                101        2                      ---
                123        3                      ---
                124        1                      ---
                176        2                      ---
                178        1                      ---
                202        3                      ---
                213        1                      ---


      Sorting on ascending employee code sequence




Ref. Page 303         Chapter 16: Business Data Processing               Slide 13/32
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
                                  Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

 Sorting On Two Key
 Sorting On Two Key

          Employee    Department       Other fields (Name, Address,
            Code         Code           Qualification, Basic Salary,
                                                    etc.)
                124         1                        ---
                178         1                        ---
                213         1                        ---
                101         2                        ---
                176         2                        ---
                123         3                        ---
                202         3                        ---


    Sorting on a ascending employee code (secondary
    key) within ascending department code (primary key)



Ref. Page 303         Chapter 16: Business Data Processing               Slide 14/32
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
                                       Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

 Merging of Two Files
 Merging of Two Files
        Input file                    Output file                    Input file
     Employee Other                Employee     Other             Employee    Other
       code   fields               code         fields              code      fields
                …                                   …                         …
      125                            112                           112
                …                                   …                         …
      127                            119                           119
                …                                   …                         …
      137                            125                           129
                 …                                  …                         …
      146                            127                           139
                 …                                  …
      159                            129                           150        …
                                                    …                         …
            File A                   137                           152
                                                    …
                                     139
                                                                         File B
                                                    …
                                     146
                                                    …
                                     150
                                                    …
                                     152
                                                    …
                                     159

                                           File C
                     Merging of files A and B to produce file C


Ref. Page 304              Chapter 16: Business Data Processing                    Slide 15/32
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
                               Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

 Database Management System
 Database Management System

   § In database-oriented approach of organizing data, a
     set of programs is provided to facilitate users in
     organizing, creating, deleting, updating, and
     manipulating data in a database
   § All these programs together form a Database
     Management System (DBMS)




Ref. Page 305      Chapter 16: Business Data Processing               Slide 16/32
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
                                 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

 Database Models
 Database Models


       § Database model defines the manner in which the
         various files of a database are linked together.
       § Four commonly used database models are:
            § Hierarchical
            § Network
            § Relational
            § Object-oriented




Ref. Page 305        Chapter 16: Business Data Processing               Slide 17/32
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
                                      Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

   Hierarchical Database
   Hierarchical Database


                             Organization         A parent element




       Personnel                Finance                                 Technical
      Department              Department                               Department




  Managers      Support              Support                                               Support
                          Managers                 Managers      Engineers   Technicians
                 Staff                Staff                                                 Staff



                                               A child element




Ref. Page 306             Chapter 16: Business Data Processing                       Slide 18/32
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
                                         Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

 Network Database
 Network Database


                                        College




              English           Hindi             Maths           Computer
                                                                   Science




     Seeta              Geeta            Ram              Mohan          Sohan            Raju



             A child element can have more                    This child element has no
             than one parent element                          parent element




Ref. Page 307               Chapter 16: Business Data Processing                     Slide 19/32
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
                                               Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

  Relational Database
  Relational Database
Membership    Member’s           Member’s Address              Borrower           Book No.        Due Date
   No.         name                                         (Membership No.)       (ISBN)       (DD-MM-YYYY)
83569        K. N. Raina   C-15, Sarita Vihar, Pune-7       12859              27-21675-2      10-12-2007
62853        D. P. Singh   A-22, Anand Park, Pune-5         11348              89303-530-0     08-11-2007
12859        R. Pandey     D-18, Vrindavan, Pune-7          32228              13-201702-5     10-11-2007
32228        R. S. Gupta   A-12, Nandanvan, Pune-2          16185              22-68111-7      05-12-2007
23466        S. K. Ray     B-05, Royal Villa, Pune-3        12859              71606-214-0     06-11-2007
11348        P. K. Sen     B-16, Anand Park, Pune-5         62853              13-48049-8      15-11-2007
16185        T. N. Murli   A-11, Vrindavan, Pune-7          11348              18-23614-1      12-11-2007
              (a) Members data table.                                      (b) Borrowed books data table

                      Book No. (ISBN)                  Book Title               Author
                    13-201702-5            Concepts of Physics           H. C. Verma
                    13-48049-8             Concepts of Chemistry         S. S. Dubey
                    18-23614-1             Astrology for You             N. K. Sharma
                                                                                                (c) Books data table
                    22-68111-7             Fundamentals of Computers     K. Ramesh
                    27-21675-2             C++ Programming               R. P. Rajan
                    71606-214-0            Computer Networks             A. N. Rai
                    89303-530-0            Database Systems              P. N. Dixit




Ref. Page 308                    Chapter 16: Business Data Processing                            Slide 20/32
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
                                           Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

 Sample Report
 Sample Report


       List of overdue books as on 10-11-2007
   Membership      Member’s         Member’s        Due      Book No.     Book Title         Book
      No.           Name            Address         Date                                    Author
   11348         P. K. Sen        B-16,             08-11   89303-530-0   Database        P. N. Dixit
                                  Anand     Park,                         Systems
                                  Pune-5
   32228         R. S. Gupta      A-12,             10-11   13-201702-5   Concepts   of   H. C. Verma
                                  Nandanvan,                              Physics
                                  Pune-2
   12859         R. Pandey        D-18,             06-11   71606-214-0   Computer        A. N. Rai
                                  Vrindavan,                              Networks
                                  Pune-7




                A report of overdue books as of 10-11-2007 from the
                sample database of previous slide



Ref. Page 308                Chapter 16: Business Data Processing                         Slide 21/32
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
                                            Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

 Object-Oriented Database
 Object-Oriented Database
                               Vehicle                                     VehicleSpecs
                         Id                                               Length
                         Color                                            Width
                         Specifications                                   Height
                         Manufacturer                                     Engine Type
                                                                          Fuel Type
                                                                          Fuel Tank Capacity
                                                                          No. of Wheels
                TwoWheeler               FourWheeler

                Other details            Other details
                of the vehicle           of the vehicle        Company              Employee
                like with/               like no. of
                without gear,            doors, seating       Name                  Id
                seating                  capacity, etc.       Location              Name
                capacity, etc.                                President             Age



                                                    DomesticCompany         ForeignCompany

         Class/subclass link                          Other details of      Other details of
         Attribute/domain link                        the company           the company




Ref. Page 309              Chapter 16: Business Data Processing                         Slide 22/32
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
                               Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

 Main Components of a DBMS
 Main Components of a DBMS

  § DBMS allows users to organize, process and retrieve
    selected data from a database without knowing about
    the underlying database structure
  § Four major components of a DBMS that enable this
    are:
       § Data Definition Language (DDL): Used to define the
         structure (schema) of a database
       § Data Manipulation Language (DML): Provides
         commands to enable the users to enter and
         manipulate the data



                                                              (Continued on next slide)



Ref. Page 310      Chapter 16: Business Data Processing                Slide 23/32
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
                                Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

 Main Components of a DBMS
 Main Components of a DBMS
                                                           (Continued from previous slide)

       § Query Language: Enables users to define their
         requirements for extracting the desired information
         from the database in the form of queries
       § Report generator: Enables the users of a database
         to design the layout of a report so that it can be
         presented in the desired format




Ref. Page 310       Chapter 16: Business Data Processing                  Slide 24/32
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
                                 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

 Creating a Database
 Creating a Database

       Creation of a database is a three step process:
       §   Defining its structure (schema)
       §   Designing forms (custom screens) for displaying and
           entering data
       §   Entering the data into it




Ref. Page 312        Chapter 16: Business Data Processing               Slide 25/32
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
                                            Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

 Sample Database Form
 Sample Database Form
                             EMPLOYEE DATABASE DATA ENTRY FORM


          EMPLOYEE ID:         856392              SEX:        M          AGE:     42



          EMPLOYEE NAME:                          LAST NAME:   SINHA

                                                 FIRST NAME:   PRADEEP

                                                MIDDLE NAME:   KUMAR


          CONTACT ADDRESS:                       ADDRESS 1:    F/8, ANAND PARK

                                                 ADDRESS 2:    SOCIETY, AUNDH

                                                       CITY:   PUNE

                                                      STATE:   MH
                                                POSTAL CODE:   411007


          TELEPHONE NO.:       (020) 5680-489



          ANY OTHER INFORMATION:                  IS FLUENT IN JAPANESE LANGUAGE




Ref. Page 313                Chapter 16: Business Data Processing                       Slide 26/32
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
                               Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
  Viewing, Modifying, Deleting, and
  Viewing, Modifying, Deleting, and
  Adding Records
  Adding Records

   § All database systems provide commands to view,
     modify, delete, or add records of an already
     established database
   § Many database systems also provide a facility to set up
     a filter allowing user to browse through and view only
     those records that meet some criterion




Ref. Page 314      Chapter 16: Business Data Processing               Slide 27/32
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
                               Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

  Searching a Database
  Searching a Database

  Commonly supported features for enabling a user to
  search for desired information in a database are:

  §    Find command: Used for simple database queries
  §    Query language: Used for more complex database
       queries
  §    Query By Example (QBE): Provides a simple user
       interface for specifying search criteria




Ref. Page 315      Chapter 16: Business Data Processing               Slide 28/32
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
                               Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

  Creating Reports
  Creating Reports

   § Reports are generated by using report generator of a
     database system to assemble the output of a database
     query in desired format
   § Report generator enables user to specify layout of the
     report, titles & subtitles for the report, column
     headings for various fields, and other elements to
     make the report appear more presentable




Ref. Page 316      Chapter 16: Business Data Processing               Slide 29/32
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
                                    Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

 Sample Output of Report
 Sample Output of Report

                   LIST OF EMPLOYEES WHO BELONG TO PUNE
                              DATE: DECEMBER 15, 2007

          LAST        FIRST        ADDRESS-1          ADDRESS-2        TELEPHONE
          NAME        NAME                                              NUMBER
       Gupta         Rajiv      A-12, Nandanvan       M. G. Road       4623-4892
       Murli         Tapan      A-11, Vrindavan       Pashan Road      5863-4905
       Pandey        Rupa       D-18, Vrindana        Pashan Road      5865-3236
       Raina         Pushpa     C-15, Sarita Vihar    Aundh Road       5755-8328
       Ray           Suhas      B-05, Royal Villa     M. G. Road       4685-6356

       Sen           Prakash    B-16, Anand Park      Aundh Road       5762-3333
       Singh         Deepak     A-22, Anand Park      Aundh Road       5728-6287

       The report is sorted to present the list in alphabetical order of their last
       name



Ref. Page 316           Chapter 16: Business Data Processing                Slide 30/32
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
                                      Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

 Key Words/Phrases
 Key Words/Phrases

       §   Activity ratio                        §   Database model
       §   Backup file                           §   Direct file
       §   Collision                             §   Field
       §   Copying                               §   File
       §   Data                                  §   File Management System (FMS)
       §   Data Definition Language (DDL)        §   File utilities
       §   Data dependence                       §   Filter
       §   Data dictionary                       §   Hashing
       §   Data file                             §   Hashing algorithm
       §   Data integrity                        §   Hierarchical database
       §   Data Manipulation Language            §   Index file
           (DML)                                 §   Indexed sequential file
       §   Data processing                       §   Information
       §   Data redundancy                       §   Master file
       §   Data storage hierarchy                §   Merging
       §   Database                              §   Network database
       §   Database administrator                §   Output file
       §   Database Management System            §   Peripheral Interchange Program
           (DBMS)                                §   Primary key

                                                                       (Continued on next slide)



Ref. Page 317             Chapter 16: Business Data Processing                  Slide 31/32
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
                                      Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

 Key Words/Phrases
 Key Words/Phrases

                                                                 (Continued from previous slide)
         §   Query By Example
         §   Query language
         §   Record
         §   Relational database
         §   Report file
         §   Report Generator
         §   Schema
         §   Searching
         §   Secondary key
         §   Secondary key
         §   Sequential file
         §   Sorting
         §   Transaction file
         §   Tuple




Ref. Page 317             Chapter 16: Business Data Processing                  Slide 32/32

Más contenido relacionado

La actualidad más candente

Chapter 08 secondary storage
Chapter 08 secondary storageChapter 08 secondary storage
Chapter 08 secondary storagesumatipuri
 
Chapter 21 c language
Chapter 21 c languageChapter 21 c language
Chapter 21 c languageHareem Aslam
 
Computer Fundamentals Chapter 12 cl
Computer Fundamentals Chapter 12 clComputer Fundamentals Chapter 12 cl
Computer Fundamentals Chapter 12 clSaumya Sahu
 
Computer Fundamentals_Chapter 02 bco
Computer Fundamentals_Chapter 02 bcoComputer Fundamentals_Chapter 02 bco
Computer Fundamentals_Chapter 02 bcoSaumya Sahu
 
Chapter 09 io devices
Chapter 09 io devicesChapter 09 io devices
Chapter 09 io devicessumatipuri
 

La actualidad más candente (6)

Chapter 08 secondary storage
Chapter 08 secondary storageChapter 08 secondary storage
Chapter 08 secondary storage
 
Chapter 21 c language
Chapter 21 c languageChapter 21 c language
Chapter 21 c language
 
Computer Fundamentals Chapter 12 cl
Computer Fundamentals Chapter 12 clComputer Fundamentals Chapter 12 cl
Computer Fundamentals Chapter 12 cl
 
Chapter 10 cs
Chapter 10 csChapter 10 cs
Chapter 10 cs
 
Computer Fundamentals_Chapter 02 bco
Computer Fundamentals_Chapter 02 bcoComputer Fundamentals_Chapter 02 bco
Computer Fundamentals_Chapter 02 bco
 
Chapter 09 io devices
Chapter 09 io devicesChapter 09 io devices
Chapter 09 io devices
 

Destacado

Chapter01 introduction to computer
Chapter01   introduction to computerChapter01   introduction to computer
Chapter01 introduction to computerAinuddin Yousufzai
 
Chapter04 ip addressing networking
Chapter04 ip addressing networkingChapter04 ip addressing networking
Chapter04 ip addressing networkingAinuddin Yousufzai
 
Chapter04 processor and memory
Chapter04   processor and memoryChapter04   processor and memory
Chapter04 processor and memoryAinuddin Yousufzai
 
Chapter02 basic computer organization
Chapter02   basic computer organizationChapter02   basic computer organization
Chapter02 basic computer organizationAinuddin Yousufzai
 
Chapter08 internet & multimedia (a)
Chapter08   internet & multimedia (a)Chapter08   internet & multimedia (a)
Chapter08 internet & multimedia (a)Ainuddin Yousufzai
 
Chapter 04 computer codes
Chapter 04 computer codesChapter 04 computer codes
Chapter 04 computer codesHareem Aslam
 
Chapter 05 computer arithmetic
Chapter 05 computer arithmeticChapter 05 computer arithmetic
Chapter 05 computer arithmeticHareem Aslam
 

Destacado (14)

Storage
StorageStorage
Storage
 
Chapter03 number system
Chapter03   number systemChapter03   number system
Chapter03 number system
 
Chapter01 introduction to computer
Chapter01   introduction to computerChapter01   introduction to computer
Chapter01 introduction to computer
 
Chapter06 computer software
Chapter06   computer softwareChapter06   computer software
Chapter06 computer software
 
Chapter05 secondary storage
Chapter05   secondary storageChapter05   secondary storage
Chapter05 secondary storage
 
Chapter04 ip addressing networking
Chapter04 ip addressing networkingChapter04 ip addressing networking
Chapter04 ip addressing networking
 
Chapter07 io devices
Chapter07   io devicesChapter07   io devices
Chapter07 io devices
 
Chapter04 processor and memory
Chapter04   processor and memoryChapter04   processor and memory
Chapter04 processor and memory
 
Chapter 17 dccn
Chapter 17 dccnChapter 17 dccn
Chapter 17 dccn
 
Chapter02 basic computer organization
Chapter02   basic computer organizationChapter02   basic computer organization
Chapter02 basic computer organization
 
Chapter 14 os
Chapter 14 osChapter 14 os
Chapter 14 os
 
Chapter08 internet & multimedia (a)
Chapter08   internet & multimedia (a)Chapter08   internet & multimedia (a)
Chapter08 internet & multimedia (a)
 
Chapter 04 computer codes
Chapter 04 computer codesChapter 04 computer codes
Chapter 04 computer codes
 
Chapter 05 computer arithmetic
Chapter 05 computer arithmeticChapter 05 computer arithmetic
Chapter 05 computer arithmetic
 

Similar a Computer Fundamentals Chapter 16 bdp

Normalisation in Database management System (DBMS)
Normalisation in Database management System (DBMS)Normalisation in Database management System (DBMS)
Normalisation in Database management System (DBMS)Prof Ansari
 
CSC1100 - Chapter08 - Database Management
CSC1100 - Chapter08 - Database ManagementCSC1100 - Chapter08 - Database Management
CSC1100 - Chapter08 - Database ManagementYhal Htet Aung
 
Software
SoftwareSoftware
SoftwareIIUI
 
Software Introduction
Software IntroductionSoftware Introduction
Software IntroductionIIUI
 
Computer Science 12th Topic- introduction to syllabus.pdf
Computer Science 12th Topic- introduction to syllabus.pdfComputer Science 12th Topic- introduction to syllabus.pdf
Computer Science 12th Topic- introduction to syllabus.pdfiqbalaabi01
 
TID Chapter 10 Introduction To Database
TID Chapter 10 Introduction To DatabaseTID Chapter 10 Introduction To Database
TID Chapter 10 Introduction To DatabaseWanBK Leo
 
W 1&2 introduction to omt-ii
W 1&2 introduction to omt-iiW 1&2 introduction to omt-ii
W 1&2 introduction to omt-iiMajid Orakzai
 
Database Systems-Lec 1.ppt
Database Systems-Lec 1.pptDatabase Systems-Lec 1.ppt
Database Systems-Lec 1.pptsara591850
 
Unstructured Data Processing
Unstructured Data ProcessingUnstructured Data Processing
Unstructured Data ProcessingJohn Paul
 
D I T211 Chapter 1
D I T211    Chapter 1D I T211    Chapter 1
D I T211 Chapter 1askme
 
Behind The Scenes Databases And Information Systems 6
Behind The Scenes  Databases And Information Systems 6Behind The Scenes  Databases And Information Systems 6
Behind The Scenes Databases And Information Systems 6guest4a9cdb
 
MIS-CH6: Foundation of BUsiness Intelligence: Databases & IS
MIS-CH6: Foundation of BUsiness Intelligence: Databases & ISMIS-CH6: Foundation of BUsiness Intelligence: Databases & IS
MIS-CH6: Foundation of BUsiness Intelligence: Databases & ISSukanya Ben
 
Chapter1.0 database management system
Chapter1.0 database management systemChapter1.0 database management system
Chapter1.0 database management systembluejayjunior
 
Chapter 10 cs 2o-p
Chapter 10 cs 2o-pChapter 10 cs 2o-p
Chapter 10 cs 2o-pIIUI
 

Similar a Computer Fundamentals Chapter 16 bdp (20)

Chapter 16 bdp
Chapter 16 bdpChapter 16 bdp
Chapter 16 bdp
 
2ndlec.database
2ndlec.database2ndlec.database
2ndlec.database
 
Normalisation in Database management System (DBMS)
Normalisation in Database management System (DBMS)Normalisation in Database management System (DBMS)
Normalisation in Database management System (DBMS)
 
CSC1100 - Chapter08 - Database Management
CSC1100 - Chapter08 - Database ManagementCSC1100 - Chapter08 - Database Management
CSC1100 - Chapter08 - Database Management
 
Database
DatabaseDatabase
Database
 
Software
SoftwareSoftware
Software
 
Software Introduction
Software IntroductionSoftware Introduction
Software Introduction
 
Computer Science 12th Topic- introduction to syllabus.pdf
Computer Science 12th Topic- introduction to syllabus.pdfComputer Science 12th Topic- introduction to syllabus.pdf
Computer Science 12th Topic- introduction to syllabus.pdf
 
TID Chapter 10 Introduction To Database
TID Chapter 10 Introduction To DatabaseTID Chapter 10 Introduction To Database
TID Chapter 10 Introduction To Database
 
W 1&2 introduction to omt-ii
W 1&2 introduction to omt-iiW 1&2 introduction to omt-ii
W 1&2 introduction to omt-ii
 
Chap17
Chap17Chap17
Chap17
 
Database Systems-Lec 1.ppt
Database Systems-Lec 1.pptDatabase Systems-Lec 1.ppt
Database Systems-Lec 1.ppt
 
Unstructured Data Processing
Unstructured Data ProcessingUnstructured Data Processing
Unstructured Data Processing
 
Chapter10
Chapter10Chapter10
Chapter10
 
D I T211 Chapter 1
D I T211    Chapter 1D I T211    Chapter 1
D I T211 Chapter 1
 
Chapter 10 cs
Chapter 10 csChapter 10 cs
Chapter 10 cs
 
Behind The Scenes Databases And Information Systems 6
Behind The Scenes  Databases And Information Systems 6Behind The Scenes  Databases And Information Systems 6
Behind The Scenes Databases And Information Systems 6
 
MIS-CH6: Foundation of BUsiness Intelligence: Databases & IS
MIS-CH6: Foundation of BUsiness Intelligence: Databases & ISMIS-CH6: Foundation of BUsiness Intelligence: Databases & IS
MIS-CH6: Foundation of BUsiness Intelligence: Databases & IS
 
Chapter1.0 database management system
Chapter1.0 database management systemChapter1.0 database management system
Chapter1.0 database management system
 
Chapter 10 cs 2o-p
Chapter 10 cs 2o-pChapter 10 cs 2o-p
Chapter 10 cs 2o-p
 

Más de Saumya Sahu

Paper presentation-nano-robots
Paper presentation-nano-robotsPaper presentation-nano-robots
Paper presentation-nano-robotsSaumya Sahu
 
Paper presentation-nano-robots
Paper presentation-nano-robotsPaper presentation-nano-robots
Paper presentation-nano-robotsSaumya Sahu
 
Engineering Symbols
Engineering SymbolsEngineering Symbols
Engineering SymbolsSaumya Sahu
 
Gate-2013(Computer Science) Que_Ans
Gate-2013(Computer Science) Que_AnsGate-2013(Computer Science) Que_Ans
Gate-2013(Computer Science) Que_AnsSaumya Sahu
 
Project management
Project managementProject management
Project managementSaumya Sahu
 
Computer Fundamentals Chapter 09 io devices
Computer Fundamentals Chapter 09 io devicesComputer Fundamentals Chapter 09 io devices
Computer Fundamentals Chapter 09 io devicesSaumya Sahu
 
Computer Fundamentals Chapter 08 secondary storage
Computer Fundamentals Chapter 08 secondary storageComputer Fundamentals Chapter 08 secondary storage
Computer Fundamentals Chapter 08 secondary storageSaumya Sahu
 
Computer Fundamentals Chapter 01 introduction
Computer Fundamentals Chapter 01 introductionComputer Fundamentals Chapter 01 introduction
Computer Fundamentals Chapter 01 introductionSaumya Sahu
 
Computer networks
Computer networksComputer networks
Computer networksSaumya Sahu
 
Computer networks (2)
Computer networks (2)Computer networks (2)
Computer networks (2)Saumya Sahu
 
Software project management
Software project managementSoftware project management
Software project managementSaumya Sahu
 

Más de Saumya Sahu (12)

Cloud computing
Cloud computingCloud computing
Cloud computing
 
Paper presentation-nano-robots
Paper presentation-nano-robotsPaper presentation-nano-robots
Paper presentation-nano-robots
 
Paper presentation-nano-robots
Paper presentation-nano-robotsPaper presentation-nano-robots
Paper presentation-nano-robots
 
Engineering Symbols
Engineering SymbolsEngineering Symbols
Engineering Symbols
 
Gate-2013(Computer Science) Que_Ans
Gate-2013(Computer Science) Que_AnsGate-2013(Computer Science) Que_Ans
Gate-2013(Computer Science) Que_Ans
 
Project management
Project managementProject management
Project management
 
Computer Fundamentals Chapter 09 io devices
Computer Fundamentals Chapter 09 io devicesComputer Fundamentals Chapter 09 io devices
Computer Fundamentals Chapter 09 io devices
 
Computer Fundamentals Chapter 08 secondary storage
Computer Fundamentals Chapter 08 secondary storageComputer Fundamentals Chapter 08 secondary storage
Computer Fundamentals Chapter 08 secondary storage
 
Computer Fundamentals Chapter 01 introduction
Computer Fundamentals Chapter 01 introductionComputer Fundamentals Chapter 01 introduction
Computer Fundamentals Chapter 01 introduction
 
Computer networks
Computer networksComputer networks
Computer networks
 
Computer networks (2)
Computer networks (2)Computer networks (2)
Computer networks (2)
 
Software project management
Software project managementSoftware project management
Software project management
 

Computer Fundamentals Chapter 16 bdp

  • 1. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Ref. Page Chapter 16: Business Data Processing Slide 1/32
  • 2. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Learning Objectives In this chapter you will learn about: § Difference between data and information § Data processing converts raw data into useful information § Data storage hierarchy commonly used to facilitate data processing § Standard methods of organizing data § Basic concepts of database systems Ref. Page 295 Chapter 16: Business Data Processing Slide 2/32
  • 3. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Data Processing Data Processing § Data is a collection of facts – unorganized but able to be organized into useful information § Information is data arranged in an order and form that is useful to the people who receive it § Data processing is a series of actions or operations that converts data into useful information § A data processing system includes resources such as people, procedures, and devices used to process input data for producing desirable output Ref. Page 295 Chapter 16: Business Data Processing Slide 3/32
  • 4. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Data Storage Hierarchy Data Storage Hierarchy Level 0 Bit A single binary digit (0 or 1) Multiple related bits are combined to Level 1 Character form a character (byte) Level 2 Multiple related characters are combined to Field form a field Level 3 Record Multiple related fields are combined to form a record Level 4 File Multiple related records are combined to form a file Level 5 Database Multiple related files are integrated to form a database Ref. Page 296 Chapter 16: Business Data Processing Slide 4/32
  • 5. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Relationship Among Relationship Among Character, Field, Record, and File Character, Field, Record, and File A field having Employee Code irst Name Last NameHours workedHourly rateTax rate F 4 characters 0004 Kumar Rana 40 14.00 0.09 Employee Code irst Name Last NameHours workedHourly rateTax rate F 0003 Pratap Singh 43 15.00 0.10 Employee Code irst Name Last NameHours workedHourly rateTax rate F 0002 Ravi Patel 42 10.00 0.07 Employee Code irst Name Last NameHours workedHourly rateTax rate F 0001 Pradeep Sinha 45 12.00 0.08 A record Records Fields of a file Ref. Page 297 Chapter 16: Business Data Processing Slide 5/32
  • 6. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Standard Methods of Organizing Data Standard Methods of Organizing Data § File-oriented approach: Application’s data is organized into one or more files and application program processes them to generate the desired output § Database-oriented approach: Data from multiple related files are integrated together to form a database: § Provides greater query flexibility § Reduces data redundancy § Solves data integrity (inconsistency) problem § Makes data independent of the application programs § Includes data security features at database level, record level, and field level (Continued on next slide) Ref. Page 297 Chapter 16: Business Data Processing Slide 6/32
  • 7. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha File Management System File Management System § In file-oriented approach of organizing data, an application’s data is organized into one or more files § Application program processes the data stored in these files to generate the desired output § Set of programs is provided to facilitate the users in organizing, creating, deleting, updating, and manipulating their files § All these programs together form a File Management System (FMS) Ref. Page 299 Chapter 16: Business Data Processing Slide 7/32
  • 8. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha File Types File Types A file management system supports following file types: § Transaction file: Stores input data until it can be processed § Master file: Contains all current data relevant to an application § Output file: Stores output produced by one program that is used as input to another program § Report file: Holds a copy of a report generated by an application § Backup file: Copy of a file, created as a safety precaution against loss of data Ref. Page 299 Chapter 16: Business Data Processing Slide 8/32
  • 9. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha File Organizations File Organizations § File organization is the physical organization of the records of a file for convenience of storage and retrieval of data records § Three commonly used file organizations are: § Sequential: Records are stored one after another in ascending or descending order determined by the value of the key field of the records § Direct/random: Desired record pertaining to current transaction can be directly located by its key field value without having to navigate through sequence of other records (Continued on next slide) Ref. Page 300 Chapter 16: Business Data Processing Slide 9/32
  • 10. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha File Organizations File Organizations (Continued from previous slide) § Indexed sequential: There are two files for every data file – the data file which contains the records stored in the file, and the smaller index file which contains the key and disk address of each record stored in the data file Ref. Page 300 Chapter 16: Business Data Processing Slide 10/32
  • 11. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Organization of An Indexed Organization of An Indexed Sequential File Sequential File Employee Address Address Code (key) Location Employee Record Location 0001 1003 1001 0002 R. S. Patel … 0002 1001 1002 0004 R. K. Rana … 0003 1004 1003 0001 K. P. Sinha … 0004 1002 1004 0003 N. P. Singh … Index file Data file Ref. Page 302 Chapter 16: Business Data Processing Slide 11/32
  • 12. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha File Utilities File Utilities § Routines to perform a variety of generalized operations on data files § Operations performed by some commonly used file utilities are Sorting, Searching, Merging, Copying, Printing, and Maintenance Ref. Page 303 Chapter 16: Business Data Processing Slide 12/32
  • 13. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Sorting On One Key Sorting On One Key Employee Department Other fields (Name, Code Code Address, Qualification, Basic Salary, etc.) 101 2 --- 123 3 --- 124 1 --- 176 2 --- 178 1 --- 202 3 --- 213 1 --- Sorting on ascending employee code sequence Ref. Page 303 Chapter 16: Business Data Processing Slide 13/32
  • 14. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Sorting On Two Key Sorting On Two Key Employee Department Other fields (Name, Address, Code Code Qualification, Basic Salary, etc.) 124 1 --- 178 1 --- 213 1 --- 101 2 --- 176 2 --- 123 3 --- 202 3 --- Sorting on a ascending employee code (secondary key) within ascending department code (primary key) Ref. Page 303 Chapter 16: Business Data Processing Slide 14/32
  • 15. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Merging of Two Files Merging of Two Files Input file Output file Input file Employee Other Employee Other Employee Other code fields code fields code fields … … … 125 112 112 … … … 127 119 119 … … … 137 125 129 … … … 146 127 139 … … 159 129 150 … … … File A 137 152 … 139 File B … 146 … 150 … 152 … 159 File C Merging of files A and B to produce file C Ref. Page 304 Chapter 16: Business Data Processing Slide 15/32
  • 16. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Database Management System Database Management System § In database-oriented approach of organizing data, a set of programs is provided to facilitate users in organizing, creating, deleting, updating, and manipulating data in a database § All these programs together form a Database Management System (DBMS) Ref. Page 305 Chapter 16: Business Data Processing Slide 16/32
  • 17. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Database Models Database Models § Database model defines the manner in which the various files of a database are linked together. § Four commonly used database models are: § Hierarchical § Network § Relational § Object-oriented Ref. Page 305 Chapter 16: Business Data Processing Slide 17/32
  • 18. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Hierarchical Database Hierarchical Database Organization A parent element Personnel Finance Technical Department Department Department Managers Support Support Support Managers Managers Engineers Technicians Staff Staff Staff A child element Ref. Page 306 Chapter 16: Business Data Processing Slide 18/32
  • 19. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Network Database Network Database College English Hindi Maths Computer Science Seeta Geeta Ram Mohan Sohan Raju A child element can have more This child element has no than one parent element parent element Ref. Page 307 Chapter 16: Business Data Processing Slide 19/32
  • 20. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Relational Database Relational Database Membership Member’s Member’s Address Borrower Book No. Due Date No. name (Membership No.) (ISBN) (DD-MM-YYYY) 83569 K. N. Raina C-15, Sarita Vihar, Pune-7 12859 27-21675-2 10-12-2007 62853 D. P. Singh A-22, Anand Park, Pune-5 11348 89303-530-0 08-11-2007 12859 R. Pandey D-18, Vrindavan, Pune-7 32228 13-201702-5 10-11-2007 32228 R. S. Gupta A-12, Nandanvan, Pune-2 16185 22-68111-7 05-12-2007 23466 S. K. Ray B-05, Royal Villa, Pune-3 12859 71606-214-0 06-11-2007 11348 P. K. Sen B-16, Anand Park, Pune-5 62853 13-48049-8 15-11-2007 16185 T. N. Murli A-11, Vrindavan, Pune-7 11348 18-23614-1 12-11-2007 (a) Members data table. (b) Borrowed books data table Book No. (ISBN) Book Title Author 13-201702-5 Concepts of Physics H. C. Verma 13-48049-8 Concepts of Chemistry S. S. Dubey 18-23614-1 Astrology for You N. K. Sharma (c) Books data table 22-68111-7 Fundamentals of Computers K. Ramesh 27-21675-2 C++ Programming R. P. Rajan 71606-214-0 Computer Networks A. N. Rai 89303-530-0 Database Systems P. N. Dixit Ref. Page 308 Chapter 16: Business Data Processing Slide 20/32
  • 21. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Sample Report Sample Report List of overdue books as on 10-11-2007 Membership Member’s Member’s Due Book No. Book Title Book No. Name Address Date Author 11348 P. K. Sen B-16, 08-11 89303-530-0 Database P. N. Dixit Anand Park, Systems Pune-5 32228 R. S. Gupta A-12, 10-11 13-201702-5 Concepts of H. C. Verma Nandanvan, Physics Pune-2 12859 R. Pandey D-18, 06-11 71606-214-0 Computer A. N. Rai Vrindavan, Networks Pune-7 A report of overdue books as of 10-11-2007 from the sample database of previous slide Ref. Page 308 Chapter 16: Business Data Processing Slide 21/32
  • 22. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Object-Oriented Database Object-Oriented Database Vehicle VehicleSpecs Id Length Color Width Specifications Height Manufacturer Engine Type Fuel Type Fuel Tank Capacity No. of Wheels TwoWheeler FourWheeler Other details Other details of the vehicle of the vehicle Company Employee like with/ like no. of without gear, doors, seating Name Id seating capacity, etc. Location Name capacity, etc. President Age DomesticCompany ForeignCompany Class/subclass link Other details of Other details of Attribute/domain link the company the company Ref. Page 309 Chapter 16: Business Data Processing Slide 22/32
  • 23. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Main Components of a DBMS Main Components of a DBMS § DBMS allows users to organize, process and retrieve selected data from a database without knowing about the underlying database structure § Four major components of a DBMS that enable this are: § Data Definition Language (DDL): Used to define the structure (schema) of a database § Data Manipulation Language (DML): Provides commands to enable the users to enter and manipulate the data (Continued on next slide) Ref. Page 310 Chapter 16: Business Data Processing Slide 23/32
  • 24. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Main Components of a DBMS Main Components of a DBMS (Continued from previous slide) § Query Language: Enables users to define their requirements for extracting the desired information from the database in the form of queries § Report generator: Enables the users of a database to design the layout of a report so that it can be presented in the desired format Ref. Page 310 Chapter 16: Business Data Processing Slide 24/32
  • 25. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Creating a Database Creating a Database Creation of a database is a three step process: § Defining its structure (schema) § Designing forms (custom screens) for displaying and entering data § Entering the data into it Ref. Page 312 Chapter 16: Business Data Processing Slide 25/32
  • 26. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Sample Database Form Sample Database Form EMPLOYEE DATABASE DATA ENTRY FORM EMPLOYEE ID: 856392 SEX: M AGE: 42 EMPLOYEE NAME: LAST NAME: SINHA FIRST NAME: PRADEEP MIDDLE NAME: KUMAR CONTACT ADDRESS: ADDRESS 1: F/8, ANAND PARK ADDRESS 2: SOCIETY, AUNDH CITY: PUNE STATE: MH POSTAL CODE: 411007 TELEPHONE NO.: (020) 5680-489 ANY OTHER INFORMATION: IS FLUENT IN JAPANESE LANGUAGE Ref. Page 313 Chapter 16: Business Data Processing Slide 26/32
  • 27. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Viewing, Modifying, Deleting, and Viewing, Modifying, Deleting, and Adding Records Adding Records § All database systems provide commands to view, modify, delete, or add records of an already established database § Many database systems also provide a facility to set up a filter allowing user to browse through and view only those records that meet some criterion Ref. Page 314 Chapter 16: Business Data Processing Slide 27/32
  • 28. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Searching a Database Searching a Database Commonly supported features for enabling a user to search for desired information in a database are: § Find command: Used for simple database queries § Query language: Used for more complex database queries § Query By Example (QBE): Provides a simple user interface for specifying search criteria Ref. Page 315 Chapter 16: Business Data Processing Slide 28/32
  • 29. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Creating Reports Creating Reports § Reports are generated by using report generator of a database system to assemble the output of a database query in desired format § Report generator enables user to specify layout of the report, titles & subtitles for the report, column headings for various fields, and other elements to make the report appear more presentable Ref. Page 316 Chapter 16: Business Data Processing Slide 29/32
  • 30. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Sample Output of Report Sample Output of Report LIST OF EMPLOYEES WHO BELONG TO PUNE DATE: DECEMBER 15, 2007 LAST FIRST ADDRESS-1 ADDRESS-2 TELEPHONE NAME NAME NUMBER Gupta Rajiv A-12, Nandanvan M. G. Road 4623-4892 Murli Tapan A-11, Vrindavan Pashan Road 5863-4905 Pandey Rupa D-18, Vrindana Pashan Road 5865-3236 Raina Pushpa C-15, Sarita Vihar Aundh Road 5755-8328 Ray Suhas B-05, Royal Villa M. G. Road 4685-6356 Sen Prakash B-16, Anand Park Aundh Road 5762-3333 Singh Deepak A-22, Anand Park Aundh Road 5728-6287 The report is sorted to present the list in alphabetical order of their last name Ref. Page 316 Chapter 16: Business Data Processing Slide 30/32
  • 31. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Key Words/Phrases Key Words/Phrases § Activity ratio § Database model § Backup file § Direct file § Collision § Field § Copying § File § Data § File Management System (FMS) § Data Definition Language (DDL) § File utilities § Data dependence § Filter § Data dictionary § Hashing § Data file § Hashing algorithm § Data integrity § Hierarchical database § Data Manipulation Language § Index file (DML) § Indexed sequential file § Data processing § Information § Data redundancy § Master file § Data storage hierarchy § Merging § Database § Network database § Database administrator § Output file § Database Management System § Peripheral Interchange Program (DBMS) § Primary key (Continued on next slide) Ref. Page 317 Chapter 16: Business Data Processing Slide 31/32
  • 32. Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Key Words/Phrases Key Words/Phrases (Continued from previous slide) § Query By Example § Query language § Record § Relational database § Report file § Report Generator § Schema § Searching § Secondary key § Secondary key § Sequential file § Sorting § Transaction file § Tuple Ref. Page 317 Chapter 16: Business Data Processing Slide 32/32