UNIHIVE

Study Hub UNIPORT CSC 282

CSC 282 · Database Programming

Characteristics of business programming

What makes business (data processing) programs different from scientific ones, and the jobs they do.

Our notes

2 min read

Two kinds of programming

Scientific programmingBusiness programming
little data, heavy calculationlots of data, simple calculation
results are numbers and graphsresults are records, lists, bills, reports
runs once per problemruns every day, month, semester
precision of the method mattersaccuracy, security and audit of the data matter

A payroll, a bank's account system, a hostel allocation list or UNIPORT's course registration are business (data processing) systems.

Typical features

  • Large volumes of records: thousands of students, millions of transactions.
  • Input, processing, output in cycles: capture transactions, update master files, print reports.
  • Files that last: a master file (students, customers, stock) kept for years, and transaction files (today's payments) that update it.
  • Validation: checking input before it is stored (a matric number in the right format, a date that exists, a score from 0 to 100).
  • Reports: lists, totals, sub-totals by group, exception reports ("students owing fees").
  • Security and control: who may see or change which data, backups, audit trails.
  • Many users at once: two cashiers must not sell the last item twice.

Batch and online processing

  • Batch: transactions are collected and processed together (end-of-day posting, monthly payroll). Cheap and simple; data is out of date between runs.
  • Online / real time: each transaction updates the files at once (ATM withdrawals, airline seats).

Languages

Early business systems used COBOL, whose records and file sections still shape the vocabulary. Desktop database tools (dBase in the 1980s-90s, then MS Access) joined a data store with a simple programming language and forms. Today business programs usually talk to a database server (MySQL, PostgreSQL, SQL Server, Oracle) through SQL, from languages such as Python, Java, C#, PHP or JavaScript.

Exams usually ask

  • Compare business and scientific programming.
  • Explain master and transaction files, batch and online processing.
  • List what validation checks are and give examples.

Common mistake

Thinking business programs are "easy" because the arithmetic is simple. The hard part is correct, consistent and secure data for years, for many users.

Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.

Read

Watch

We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.

All CSC 282 topics

Report

Sign in to report this. It is free.

Is this your work (a lecturer, author or publisher)? Ask us to take it down.