Sie sind auf Seite 1von 19

A2-R3: BUSINESS SYSTEMS

NOTE:
1.
There are TWO PARTS in this Module/paper. PART ONE contains FOUR questions and
PART TWO contains FOUR questions.
2.

PART ONE is to be answered in the TEAR-OFFANSWER SHEET only, attached to the


question paper, as per the instructions contained therein. PART ONE is NOT to be answered
in the answer book.

3.

Maximum time allotted for PART ONE is ONE HOUR. Answer book for PART TWO will be
supplied at the table when the answer sheet for PART ONE is returned. However,
candidates who complete PART ONE earlier than one hour, can collect the answer book for
PART TWO immediately after handing over the answer sheet for PART ONE.
TOTAL TIME: 3 HOURS
TOTAL MARKS: 100
(PART ONE-40; PART TWO 60)
PART ONE
(Answer all the questions)
1.

Each question below gives a multiple choice of answers. Choose the most appropriate
one and enter in the tear-off answer sheet attached to the question paper, following
instructions therein.
(1 x 10)

1.1

Using Visual FoxPro, the number of table that we can use simultaneously is:
A)
225
B)
205
C)
255
D)
252

1.2

The Windows element in Visual FoxPro are:


A)
Application Window
B)
Project Manager Window
C)
Command Window
D)
All of the above

1.3

One of the following is not true for the Status Bar of a Visual FoxPro Window
A)
This bar is placed at the bottom of the application window
B)
It provides the details of the currently open window
C)
An active window will make the colour of the status bar to change to dark
D)
Information like OVR, NUM, Caps etc. is displayed on the Status Bar

1.4

Which one of the following is not true for the Memo data type in Visual FoxPro?
A)
Memo fields act as variable-length character fields.
B)
The limit to the length of the Memo field is 254 characters
C)
Memo data type can hold scanned images and digitized sound
D)
You can manipulate this data type by using any of the functions that manipulate
Character fields

A2-R3

Page 1 of 7

JULY, 2003

1.5

In an Accountants system, collection of all money on temporary and permanent accounts is


maintained in the
A)
Cash journal
B)
General ledger
C)
Accounts payable component
D)
Double entry balance system

1.6

Which one of the following is a valid SQL command:


A)
SELECT Emplist.Iname, Emplist.fname, Wages.date, Wages,wage;
FROM Wages, Emplist;
WHERE Wages.empno = Emplist.empno
B)
SELECT Emplist.Iname, Emplist.fname, Wages.date, Wages.wage
FROM Wages, Emplist
WHERE Wages.empno = Emplist.empno
C)
SELECT Emplist.Iname, Emplist.fname, Wages.date, Wages.wage,
FROM Wages, Emplist,
WHERE Wages.empno = Emplist.empno
D)
SELECT Emplist.Iname Emplist.fname Wages.date Wages.wage,
FROM Wages Emplist;
WHERE Wages.empno = Emplist.empno

1.7

In a program, if you desire to exit unconditionally out of SCAN ENDSCAN loop, you will
use the following command:
A)
RETURN
B)
LOOP
C)
SKIP
D)
EXIT

1.8

Visual FoxPro lets you use floating toolbars to work with Reports. They are:
A)
Report Control toolbar
B)
Layout toolbar
C)
Color Palette
D)
All of the above

1.9

Consider the following expression


A=11/08/03
B=SUBSTR(A,7,2)
?B
What is the value of B?
A)
11/08/
B)
/08/03
C)
03
D)
08

A2-R3

Page 2 of 7

JULY, 2003

1.10

Consider the following code:


Status = IFF(debit>=credit, Amount due, Credit)
The above code is equivalent to:
A)

B)

C)
D)

IF debit>=credit
Status = Amount due
ELSE
Status = Credit
ENDIF
IF debit>=credit
Status = Credit
ELSE
Status = Amount due
ENDIF
Both A) and B) above are correct
There is no equivalence of the code listed in the problem.

2.

Each statement below is either TRUE or FALSE. Choose the most appropriate one and
ENTER in the tear-off sheet attached to the question paper, following instructions
therein.
(1 x 10)

2.1

While deciding on the media for Real Time Systems, you will ensure that it is a magnetic
tape based system.
A suspense account is a one, which are to be used for unforeseen expenses during the
financial year.
In ABC Analysis, we classify items, which are small in numbers but contribute maximally into
C category.
On the liability side of the balance sheet, you will normally keep the Reserves and the
Surpluses.
In a double entry book keeping system, it is not necessary that debits equal credits.
?? will display the contents of a field, memory variable or a result of a mathematical equation
at the beginning of a new line.
UNIQUE command can be used to prevent the display or access of the duplicate records.
You can modify the structure of an existing table using the MODIFY TABLE command.
In Visual FoxPro, indexing can be done on multiple fields of different types.
Balance Sheet shows the companys health at an instant while Profit and Loss Account
shows the companys performance over a period of time.

2.2
2.3
2.4
2.5
2.6
2.7
2.8
2.9
2.10

A2-R3

Page 3 of 7

JULY, 2003

3.

Match words and phrases in column X with the closest related meaning/
word(s)/phrases in column Y. Enter your selection in the tear-off answer sheet
attached to the question paper, following instructions therein.
(1 x 10)

3.1
3.2

X
Inventory valuation
Loan to employees is recorded in

A.
B.

3.3
3.4
3.5
3.6

Skills Inventory
Hash totals
Current assets
Selects a work area

C.
D.
E.
F.

3.7

SET RELATION

G.

3.8
3.9

TRIM( )
UPDATE

H.
I.

Validation
Links the active database file to
another open database file according
to key expression that is common to
both files.

3.10

SET FILTER

J.
K.
L.
M.
N.

LIFO
Random access
Low Inventory Storage
Payroll Systems
SKIP

A2-R3

Page 4 of 7

Y
The SELECT command
Uses data from an existing database
file as the basis for changes to data
records in the active database file
Working capital
Subsidiary Ledger
Personnel Systems
It is used to remove the trailing blanks
from a character string.
Causes an active database file to
appear to contain only the records
meeting the specified condition.

JULY, 2003

4.

A.
C.
E.
G.
I.
K.
M.

Each statement below has blank space to fit one of the word(s) or phrases in the list
below. Enter your choice in the tear-off answer sheet attached to the question
paper, following instructions therein.
(1 x 10)
Record key
Trial balance
Pseudocode
ABC Analysis
Top down
Dummy
Books of accounts

B.
D.
F.
H.
J.
L.
N.

Buffer stocks
Subsidiary ledger
Loop
Utility programs
Testing
Transaction
Balance sheet

4.1

In a _______ approach, the main program is decomposed into progressively lower level
modules.

4.2

At the end of every year the accountant carries the balance of Profit and Loss Account to
_______.

4.3

A(n) _______ is a listing of the ledger of accounts, along with their net dibit or credit
balances.

4.4

The process of executing the developed programs with various data inputs in order to detect
programming errors or an omission is called as _______.

4.5

An unique identifying value that is found in every record in a file is called as a _______.

4.6

Purchases from vendors form part of the _______.

4.7

Variations in demand of a product are taken care by carrying _______.

4.8

_______ is a programming term used to represent a set of instructions in a programme,


which is to be repeated.

4.9

the _______ shows classification of various stock items on the basis of their values.

4.10

A term that describes program segments written in ordinary language, rather than in a
programming language is _______.

A2-R3

Page 5 of 7

JULY, 2003

PART TWO
(Answer ALL questions)
5.
a)
b)
c)
d)
6.
a)

Answer any five of the following in not more than 100 words:
Visual FoxPro permits four different types of indexes. Describe in brief about each one of
them.
Write the steps to the change the structure of an existing table in Visual FoxPro.
Write the steps that you will take to create multiple key index using the Table Designer dialog
box.
Explain with an example the use of a Macro (&) command.
(5 x 3)
Answer any three from the following:
Visual FoxPro has some built in date functions by which you can do any date-oriented tasks.
Describe any five of them in the following tabular format:

Date Function Meaning of the Date Function

b)

c)

The subscribers details of a magazine are maintained in a database. The fields are
Subscriber number, Subscriber name, Address (three fields) and Expiry Date (Month and
Year in the form MM/YY). Write a command module to accept month and year through
terminal and printout names and addresses of all subscribers whose subscriptions are
expiring in the next month. The printing should be done in such a way that the name and
address could be used as an address sticker.
Consider the following library database.
Field Name
TITLE
AUTHOR
CLASS
DETAIL
STOCK
ISSUED

d)

A2-R3

Format in which you will use

Description
Book Name
Name of author
Number of book
Details of the book
Quantity in stock
Quantity issued

Type
Character
Character
Character
Memo
Numeric
Numeric

Width
50
30
10
10
3
3

Write procedures that will handle the following queries on such a database:
i)
A query enquiring whether a particular book is available.
ii)
A query enquiring about the books written by an author.
iii)
A query enquiring about books of the same name but by different authors.
The names of persons are available in a database split into three fields:
FIRSTNAME, MIDNAME AND LASTNAME.
It is desired that names of the persons be printed in alphabetical order of LASTNAME. It is
however found that some records have blanks in the field LASTNAME. In such cases the
MIDNAME should be taken as LASTNAME.
Write a program in Visual FoxPro to print it as directed.
(5 x 3)

Page 6 of 7

JULY, 2003

7.

A credit card company maintains the records of its customers in a table named
CUSTOMER.DBF. The structure of the table is give below:
Field Name
CUST_NO
C_FNAME
C_MNA ME
C_SNAME
C_ADRS
C_PHONE
AMT_DUE
AMT_DEP
AMT_WITH
DATE
D_DATE
M_DATE

Type
Char
Char
Char
Char
Char
Char
Char
Char
Char
Char
Char
Char

Width
5
10
10
10
10
10
9
7
7
8
8
9

Dec

2
2
2

Remarks
Customer Number
Customer's First Name
Customer's Middle Name
Customer's Surname
Customer's Address
Customer's Phone Number
Amount Due
Amount Deposited
Amount Withdrawn
Date of transaction
Due Date
Maturity Date

Write a program in Visual FoxPro for the company to find the information about any existing
customer by entering the customer number with proper windowing facility.
(15)
8.

In a Payroll system, you are provided with Employee number, employee name, Department,
Designation, City which is either a Metro or an Non-Metro and Basic pay. Write a Visual
FoxPro program to read this file, calculate allowances and total salary as follows:

a)

Dearness allowance (DA)


Up to Rs. 3500
Above Rs. 3500

b)
c)
d)
e)

A2-R3

110% of basic pay


90% of basic pay subject to minimum of Rs. 3850 and a maximum of
Rs. 6300

House Rent allowance (HRA) is 15% of the basic pay subject to a maximum of Rs.800.
If City is Metro, City Compensatory Allowance (CCA) = 800 else if it is non-Metro, City
Compensatory Allowance (CCA) = 600
Provident fund PF) is 12% of the basic pay.
Total salary=Basic Pay+Dearness Allowance+House Rent Allowance+CCA PF
Each payslip printed should contain all information of input record, all allowances, deductions
and total salary for each employee.
(15)

Page 7 of 7

JULY, 2003

A2-R3: BUSINESS SYSTEMS


NOTE:
1.
There are TWO PARTS in this Module/paper. PART ONE contains FOUR questions and
PART TWO contains FOUR questions.
2.

PART ONE is to be answered in the TEAR-OFFANSWER SHEET only, attached to the


question paper, as per the instructions contained therein. PART ONE is NOT to be answered
in the answer book.

3.

Maximum time allotted for PART ONE is ONE HOUR. Answer book for PART TWO will be
supplied at the table when the answer sheet for PART ONE is returned. However,
candidates who complete PART ONE earlier than one hour, can collect the answer book for
PART TWO immediately after handing over the answer sheet for PART ONE.
TOTAL TIME: 3 HOURS
TOTAL MARKS: 100
(PART ONE-40; PART TWO 60)
PART ONE
(Answer all the questions)
1.

Each question below gives a multiple choice of answer. Choose the most appropriate
one and enter in the "tear-off" answer sheet attached to the question paper, following
instruction therein.
(1 x 10)

1.1

One of the field names listed below is incorrect. It is


A)
First_Name
B)
FirstName
C)
First Name
D)
Firsrt_Nome

1.2

A sequential file organization is suited for


A)
Examination processing
B)
Airline reservation system
C)
Online trading of shares
D)
Monitoring the movement of a satellite

1.3

In a payroll system, the year-end processing will include


A)
Provident fund contribution statement for the last month
B)
Income Tax statement for the year
C)
Pay slip for the last month
D)
All of the above

1.4

Employee advances are generally


A)
Kept in the subsidiary account
B)
Not incorporated in financial accounts
C)
Are part of the memorandum accounts
D)
None of the above

A2-R3

Page 1 of 6

JANUARY, 2004

1.5

In an accountants system, collection of all temporary and permanent accounts is maintained


in the
A)
Cash journal
B)
General ledger
C)
Accounts payable component
D)
Double entry balance system

1.6

The command DISPLAY STRUCTURE will:


A)
List the structure of the database file in use
B)
List the structure of the index file in use
C)
List the structure of the command file in use
D)
List the structure of all active files in use

1.7

SET UNIQUE command


A)
Used along with the INDEX command to exhibit an ordered listing of unique field
values
B)
Used along with the SORT command to exhibit on ordered listing of unique field
values
C)
Can be used both with INDEX and SORT
D)
Is exclusively used with BROWSE command to edit an ordered listing of unique field
values

1.8

The command SORT ON NAME/D TO TEMP will


A)
Arrange the sorted data in descending order
B)
Delete the unsorted data after arranging it in descending order
C)
Download the sorted names from a web site
D)
None of the above

1.9

? STUFF ("Baba",3,2,"by") returns


A)
baby
B)
Byby
C)
Baby
D)
Babbya

1.10

Consider the following code:


Status = IIF(debit>=credit, "Amount due", "Credit")
The above code is equivalent to:
A)
IF debit>= credit
Status = "Amount due"
ELSE
Status = "Credit"
ENDIF
B)
IF debit>= credit
Status = Credit
ELSE
Status = "Amount due"
ENDIF
C)
Both A) and B) above are correct
D)
There is no equivalence of the code listed in the problem.

A2-R3

Page 2 of 6

JANUARY, 2004

2.

Each statement below is either TRUE or FALSE. Choose the most appropriate one and
ENTER in the "tear-off" sheet attached to the question paper, following instructions
therein.
(1 x 10)

2.1

In a real-time system, all changes are recorded on an online transaction file and the master
file updated for report production when required.
Money withdraw from the bank to make cash payment would result in debiting the bank and
crediting cashbook.
Books of account for a proprietary concern may or may not have subsidiary ledgers.
Reserves and surpluses constitute the liabilities side of the balance sheet.
In a situation of zero lead-time of supplies, we may not need to hold any inventory.
ABS(-20.25) returns 20.25 and ABS(20.25) returns 20.25.
JOIN will create a third database file by combining records and fields from two open
database files when the specified condition is true.
LOCATE FOR UPPER(NAME) = "MANSI" .AND. UPPER(PROFF) = "DOCTOR" .AND.
Y_ENTER >= 2010 .AND. Y_PASS<=2016 is a correct usage.
Consider the following codeM= "Hi Ankita! I am Pooja"
? LEN (M)
Will return the value as 21.
The set of procedures can be kept just after completion of the main program or it can be
saved in another file having the extension as .PRG.

2.2
2.3
2.4
2.5
2.6
2.7
2.8
2.9

2.10
3.

Match words and phrases in column X with the closest related meaning word(s)
phases in column Y. Enter your selection in the "tear-off" answer sheet attached to the
question paper, following instructions therein.
(1 x 10)

3.1
3.2

X
Ageing analysis
Depreciation

A.
B.

3.3
3.4
3.5
3.6

Stock valuation
Contra account
Working capital
INPUT

C.
D.
E.
F.

3.7

ZAP

G.

3.8
3.9
3.10

TRIP( )
UPDATE
SET FILTER

H.
I.
J.
K.
L.

A2-R3

Y
Creates numeric variables
Uses data from an existing database file as the
basis for changes to data records in the active
database file.
Current assets
Expense item in books
LIFO
It is used to remove the trailing blanks from a
character string
Cause an active database file to appear to contain
only the records meeting the specified condition
Always zero
Removes all records
Debtor control.
FIFO
Always on

Page 3 of 6

JANUARY, 2004

4.

Each statement below has a blank space to fit one of the word(s) or phrases in the list
below. Enter your choice in the "tear-off" answer sheet attached to the question paper,
following instructions therein.
(1 x 10)
A.

SET RELATION

B. Top down

C. Subsidiary ledger

D.

testing

E. Financial statements

F. matching

G. Flowchart

H. Annual accounts

I.

J.

K. QPR

L. Skip

P & L statements

4.1

ABC analysis

________ shows that the maximum proportional value of the inventory is made up by a small
number of items.

4.2

The process of executing the developed program with various data inputs in order to detect
programming error or omissions is called_________.

4.3

Purchases from the vendors form part of_________.

4.4

After each year we need to start with the__________ afresh.

4.5

To establish a link between two database files, the________ command can be used.

4.6

Schedules to _________ show detailed information regarding the working of the company.

4.7

The approach towards program design in which main program is decomposed into
progressively lower level modules is called________.

4.8

Debits and credits must be__________ in a double entry book keeping system.

4.9

Detailed design logic of an application, developed using a package, can be represented


by_________.

4.10

_________ allows decision makers to measure, interpret, analyze and communicate


financial information.

A2-R3

Page 4 of 6

JANUARY, 2004

PART TWO
(Answer any FOUR questions)
5.
a)
b)

Answer any three of the following in not more than 100 words:
Describe briefly with an example, the difference between REPLACE and UPDATE.
What is the purpose of DO WHILE command? Explain its two options EXIT and LOOP.
What is the different between DO WHILE .T. and DO WHILE .NOT. EOF()?
Differentiate between Real Time and Online processing. Give one example of each type.
What is the different FIND and SEEK. Give one example of each type.
(5 x3)

c)
d)

6.
a)

Answer any three of the following:


Using Visual FoxPro write a program that will compute rebate and print an output comprising
of three things - Customer Identification number, Purchase Amount and Rebate for each
record. The customer identification number is provided to you along with the Purchase
amount and the slabs of rebate. Use the table listed below:
Amounts of Purchase
>= Rs. 5000
> Rs. 5000 but<= Rs. 10000
> Rs. 10000

Rebates applicable on purchase


amounts
6%
9%
12%

b)

A database table called PAYROLL contains the fields EMPNAME, BASICSAL and
ALLOWANCES. Write a program to print a report with Name and Total salary
(BASICSAL+ALLOWANCES) is more than 20000. At the end of the program you should also
print a total number of employees whose Total salary is more than 20000.

c)

Write a program to calculate the telephone bill. Each time when the program is run, it should
first ask for the program first ask for the number of calls made and then print the amount
payable as per the following rules:
-

d)

First 200 calls are free


Next 100 calls @Rs. 1.80 per call
And the next calls @ Rs. 2.30 per call

Blue chip Company keeps a record of their employees in a table by the name PERS.DBF.
The structure of the table is an under:
Field Name
NAME
ADRS
PAY

A2-R3

Type
Char
Char
Num

Width
30
40
7

Page 5 of 6

Dec

Remarks
Name of the employee
Address
PayAmount

JANUARY, 2004

Write a program in visual FoxPro to:


i)

To print the records from the table either on console or on paper, as per the choice of
the user.

ii)

To append the table for the new records.

iii)

To edit the existing records.

iv)

To delete any records from the table.

v)

To search any data from the table.


(5 x 3)

7.

In a hotel there are 5 floors and on each floor, there are 10 rooms. Write a program in Visual
FoxPro to:

a)

Search the room accommodation position.

b)

Reserve the required room, if it is vacant for the new boarder.


(15)

8.

9.
a)
b)
c)

A2-R3

A bookshop sell three types of books, namely Science subject, Commerce subjects and Arts
subjects. They offer discount @ 2%, 3% and 4% on respective subjects. Besides this the
shop also offers another discount @ 2.5% on Gross Amount of purchase, if it exceeds Rs.
200.00,. Develop a program to calculate the bill amount for the same.
(15)
What are the master and transaction file in inventory control system? Show a typical
structure of these files.
Write an algorithm to list out leap years from 1950 to 2050.
Explain briefly the role of "Trial balance" in accounting system.
(5x3)

Page 6 of 6

JANUARY, 2004

A2-R3: BUSINESS SYSTEMS


NOTE:
1.
There are TWO PARTS in this Module/paper. PART ONE contains FOUR questions and
PART TWO contains FOUR questions.
2.

PART ONE is to be answered in the TEAR-OFFANSWER SHEET only, attached to the


question paper, as per the instructions contained therein. PART ONE is NOT to be answered
in the answer book.

3.

Maximum time allotted for PART ONE is ONE HOUR. Answer book for PART TWO will be
supplied at the table when the answer sheet for PART ONE is returned. However,
candidates who complete PART ONE earlier than one hour, can collect the answer book for
PART TWO immediately after handing over the answer sheet for PART ONE.
TOTAL TIME: 3 HOURS
TOTAL MARKS: 100
(PART ONE-40; PART TWO 60)
PART ONE
(Answer all the questions)
1.

Each question below gives a multiple choice of answers. Choose the most appropriate
one and enter in the tear-off answer sheet attached to the question paper, following
instructions therein.
(1 x 10)

1.1
A)
B)
C)
D)

The objective of maintaining an inventory control operation is


To maximize the money invested
To reduce the cost of storing, handling and insuring a large quantity of goods
To search stock
None of the above

1.2
A)
B)
C)
D)

Which of the following is true about a disk file where WRITE statement will always place a
record in the next physical position?
Sequential file
Relative file
Indexed file
None of the above

1.3
A)
B)
C)
D)

The most efficient and well designed computerized payroll system would be
On-line real time system
Batch processing system
Both A) and B)
None of the above

1.4
A)
B)
C)
D)

Purchases from suppliers is part of


Subsidiary ledger
Payroll transaction file
Balance sheet
Sales register

A2-R3

Page 1 of 6

JULY, 2004

1.5
A)
B)
C)
D)

If AGE and SALARY are numeric fields in a database file, which of the following commands
in incorrect?
REPLACE ALL AGE WITH AGE+1 FOR AGE < 20
REPLACE ALL AGE WITH AGE+1 WHILE AGE > 20
REPLACE AGE WITH AGE+1 WHILE AGE < 20 ALL
All of the above

1.6
A)
B)
C)
D)

The command to create a new database file based on two open database files is
SET RELATION
UPDATE
JOIN
None of the above

1.7
A)
B)
C)
D)

ROUND( ) function is
A numeric function
Used to round a number to a specified number of decimal places
Both A) and B) above are correct
None of the above is correct

1.8
A)
B)
C)
D)

? STUFF (Baby,3, 2,ba) returns


baby
baba
Baba
Bob

1.9
A)
B)
C)
D)

The command WAIT


causes all FoxPro processing to pause until any key is pressed
permits usage of a prompt which must be a character expression
has a default prompt which is Press any key to continue
all of the above

1.10
A)

The command REINDEX will


Rebuild all open index files in the currently selected work area using the key expression
defined by the original INDEX command
Rebuild all the index files on the hard disk
Rebuild all the index files in a particular directory
Both B) and C) above are correct

B)
C)
D)

A2-R3

Page 2 of 6

JULY, 2004

2.

Each statement below is either TRUE or FALSE. Choose the most appropriate one and
ENTER in the tear-off sheet attached to the question paper, following instructions
therein.
(1 x 10)

2.1
2.2
2.3
2.4

Structured programming diminishes the efficiency of coding of programs.


A purchase transaction increases the liability of a company.
Invoice detail file is a master file in a sales invoicing system.
In indexed sequential operation, records are held in sequential order on the disk and the
index is kept permanently on the main storage for fast access.
While creating a report with CREATE REPORT, each record can occupy only one detail line.
SORT ON NAME + AMOUNT TO BANK is a valid command
If a database file contains 5 fields, its structural compound index file can have a maximum of
5 index tags.
ALLTRIM() removes leading blanks from the specified character expression.
Consider the following code:
X=Hello! How are you?
? LEN(X)
It will return the value as 16.
A task started within DO WHILE and ENDDO loop will be continued until the condition is
satisfied.

2.5
2.6
2.7
2.8
2.9

2.10
3.

Match words and phrases in column X with the closest related meaning/
word(s)/phrases in column Y. Enter your selection in the tear-off answer sheet
attached to the question paper, following instructions therein.
(1 x 10)

3.1
3.2
3.3
3.4
3.5
3.6

X
Zero inventory level
pseudocode
Re-order level
???
VAL( )
TRANSFORM( )

3.7
3.8
3.9
3.10

IFF( )
RANGE
ALIAS
SET CARRY ON

A2-R3

A.
B.
C.
D.
E.
F.
G.
H.
I.
J.
K.
L.

Y
programming aid
warning signal
sends to printer
displays in the same line
low inventory storage
it is a numeric function to change character strings to
numeric
provides a picture formatting to the numeric output
results in compactness in the program code
copies the contents of previous record to the text
links the active database file to another database file
alternate name for a database file
restricts entry in a numeric field

Page 3 of 6

JULY, 2004

4.

A.
D.
G.
J.

Each statement below has blank space to fit one of the word(s) or phrases in the list
below. Enter your choice in the tear-off answer sheet attached to the question
paper, following instructions therein.
(1 x 10)
query language
report generator
RETURN
transaction file

4.1

B.
E.
H.
K.

fields
tools
LOCATE
SEEK

C.
F.
I.
L.

data processing
data definition language
data manipulation language
close database/use

__________ is defined as a series of actions of operations, which convert data into useful
information.

4.2

The __________ is used to define the structure of a database.

4.3

The ___________ enables users to define their requirements for extracting the desired
information from the database in the form of queries.

4.4

The ________ enables the users of a database to design the layout of a report in the desired
format.

4.5

A(n) ________ is used to store input data until it can processed.

4.6

________ is the basis of FoxPros indexes.

4.7

To start the Table Wizard, open the ________ option from the system menu and select
Wizards. From the list select the Table Wizard.

4.8

If the table has no appropriate indexes, you have to use ________.

4.9

The ________ command is used to close a database file in use.

4.10

Each function should end with a(n) __________ statement.

A2-R3

Page 4 of 6

JULY, 2004

PART TWO
(Answer any FOUR questions)
5.
a)
b)
c)

6.
a)
b)
7.
a)
b)
c)

What is business data processing?


State some of the advantages and disadvantages of getting the accounting data processed
by a computer.
What are the main problems that can arise in capturing raw data for use within a computer
system?
(5x3)
What is meant by file organization? What are the three commonly used file organizations in
business data processing? How do we decide to use a particular file organization for an
application?
Distinguish between structure programming and modular programming.
(10+5)
How information is stored by FoxPro?
What is a relational database system? Explain with example.
How does indexing works in Database?
(5x3)

8.
a)
b)
c)

Explain the following:


What is the purpose of SET FILTER command? Give an example.
What do you understand by object linking and embedding?
Explain Query designer and Multiple tables.
(5x3)

9.
a)
b)

Explain the IIF( ) function with an example.


In a Payroll system, you are provided with Employee number, Employee name, Department,
Designation, City which is either a Metro or a Non-Metro and Basic pay. Write a FoxPro
program to read this file, calculate allowances, total income and net salary as follows:
i.
ii.
iii.
iv.
v.

Dearness Allowance (DA):


Up to Rs. 8000
60% of basic pay
Above Rs. 8000
50% of basic pay
If city is Metro, House Rent allowance (HRA) is 30% of basic pay else if it is non-metro,
HRA is 15% of basic pay.
City compensatory allowance (CCA) is Rs.300
Provided fund is 6% of the basic pay.
Total income = Basic pay + DA+HRA+CCA and
Net Salary = Total income PF

Each payslip printed should contain the information for each employee as per the sample
payslip output below:

A2-R3

Page 5 of 6

JULY, 2004

PAYSLIP
Employee #
: 7567
Employee Name: RAJ

Department: COMPUTER
Designation: LECTURER

Payslip for the month of: December, 2003


INCOME

Rupees

Basic Pay
6000
Dearness Allowance
3600
HRA
1800
CCA
300
------------------------------------------------------------------------------------------------------------------------------------Total Income
11700
------------------------------------------------------------------------------------------------------------------------------------DEDUCTIONS
------------------------------------------------------------------------------------------------------------------------------------PF
360
------------------------------------------------------------------------------------------------------------------------------------Net Salary
11340
------------------------------------------------------------------------------------------------------------------------------------ACCOUNT OFFICER
(5+10)

A2-R3

Page 6 of 6

JULY, 2004

Das könnte Ihnen auch gefallen