LOYOLA COLLEGE (AUTONOMOUS), CHENNAI – 600 034
B.A. DEGREE EXAMINATION – APRIL 2006
|
SIXTH SEMESTER – APRIL 2006
S 672 – COMPUTER APPLICATIONS FOR ECONOMISTS
Date & Time : 02-05-2006/1.00–4.00 P.M. Dept. No. Max. : 100 Marks
SECTION A
Answer ALL questions [10×2 =20]
- What does the acronym ‘ BASIC’ stand for?
- Define Source Program and give an example
- Draw a flowchart to find the area of a square
- Convert the following binary number to decimal : 1010
- Write the binary equivalent of the decimal number : 1010
- Define user defined function and give an example
- Give the output : 10 LET X= 2^5+5^2
20 PRINT X
8.State the advantages of ARRAY and give an example for one-dimensional array
- What is the use of LEN( ) function?
- Define RECORD in data file and give an example
SECTION B
Answer any FIVE questions [5×8 =40]
- Distinguish between READ…DATA and INPUT statements.
- Write a program to find the biggest of three numbers A, B and C
- Write a BASIC program to find mean of n numbers.
- Explain different relational operators with illustration
- Write a BASIC program to find the sum of digits of the number N.
- Explain the different formats of PRINT statement
- Explain any TWO string-handling functions with the syntax and examples
- Write a short note on a] data file creation b] Data retrieval
SECTION C
Answer any TWO questions [2 x 20 =40]
- The sales turnover of 50 sales persons are stored in the array SALES[50] and their IDs are stored in another array viz. EMPID[50]. Write a BASIC program which identifies the maximum-sales. Also, Identify the employee one who made maximum-sales.
- Write a program in BASIC to determine the roots of a quadratic equation.
- Explain the following control statements with appropriate syntax and illustration
a] IF …THEN …ELSE b] FOR …NEXT [10+10]
- A leading supermarket in Chennai has two branches. The weekly(6-workdays)
sales(in Rs. Lakhs) of each of the two braches on 20 products are stored in the
tables BRANCH1[6,20] and BRANCH2[6,20] respectively. Write an appropriate
BASIC program which computes the sum of the weekly sales product-wise.
Latest Govt Job & Exam Updates: