Beruflich Dokumente
Kultur Dokumente
NOTE:
1.
There are TWO PARTS in this Module/paper. PART ONE contains FOUR questions and
PART TWO contains FOUR questions.
2.
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
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
1.6
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
A2-R3
Page 2 of 7
JULY, 2003
1.10
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
4.7
4.8
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:
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
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)
b)
c)
d)
e)
A2-R3
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
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
1.2
1.3
1.4
A2-R3
Page 1 of 6
JANUARY, 2004
1.5
1.6
1.7
1.8
1.9
1.10
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
4.4
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
4.10
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)
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)
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
To print the records from the table either on console or on paper, as per the choice of
the user.
ii)
iii)
iv)
v)
7.
In a hotel there are 5 floors and on each floor, there are 10 rooms. Write a program in Visual
FoxPro to:
a)
b)
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
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)
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)
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)
1.9
A)
B)
C)
D)
1.10
A)
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
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
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
4.6
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
4.9
4.10
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)
8.
a)
b)
c)
9.
a)
b)
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
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