Loyola College U.G. Computer Science April 2006 Basic Question Paper PDF Download

             LOYOLA COLLEGE (AUTONOMOUS), CHENNAI – 600 034

U.G. DEGREE EXAMINATION

AC 54

FOURTH SEMESTER – APRIL 2006

                                                                          S 431 – BASIC

 

 

 

Date & Time : 27-04-2006/9.00-12.00         Dept. No.                                                       Max. : 100 Marks

SECTION A

 

Answer ALL questions                                                                          [10´2 =20]

  1. Define a Compiler and give an example
  2. Draw a flowchart to find the area of a rectangle
  3. Write the importance of  STOP statement
  4. Convert the following binary number to decimal : 100001
  5. Convert the following decimal to binary number : 110000
  6. Define an array and give an example
  7. Give the output of the following program:

10 LET A= 2

20 LET A = A*5/2

30 PRINT A

40 END

  1. State the purpose of control  statements.
  2. What is the use of LEN( ) function?
  3. Define a RECORD

SECTION B

 Answer any FIVE questions                                                 [5´8 =40]

  1. Distinguish between GOTO and ON… GOTO statements.
  2. Write a program to find the Compound interest.
  3. Write a program to find sum of n numbers.
  4. Explain a] READ…DATA b] INPUT statements
  5. Write a BASIC program to print first 10 multiplication tables.
  6. Explain the different types of expressions.
  7. What are string handling functions? Why do we need such functions? Explain.
  8. Why do weed data files? Explain, how we could organize them in BASIC.

SECTION C

Answer any TWO questions                                                        [2 ´ 20 =40]

  1. a] Write a BASIC program which arranges n-given numbers in ascending order.

b]  Explain any five built-in-functions with at least an example.

  1. Explain the following control statements with appropriate syntax and suitable examples: i] IF                  ii] FOR
  2. Write a program to read the values of matrices viz. Amxn and B mxn . Compute         the sum  of the matrices  A and B and store the results in the matrix Cmxn.
  3. Write a program to create a data file by name “SCORES.DAT to store the following      data  for   each  record :DEPTNO, SUB1,SUB2,SUB3. Also, write  another program which reads SUB1,SUB2,SUB3 from the data file  SCORES.DAT and hence  compute AVERAGE for each student.  Finally  print  DEPTNO and AVERAGE.

 

 

Go To Main page

Latest Govt Job & Exam Updates:

View Full List ...

© Copyright Entrance India - Engineering and Medical Entrance Exams in India | Website Maintained by Firewall Firm - IT Monteur