17uca09 Bca 22 06 2021 An

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

S.No.

5614 17UCA09

(For the candidates admitted during the academic year


2017 – 2018)

B.C.A. DEGREE EXAMINATION, APRIL/MAY 2021.

Fifth Semester

WEB TECHNOLOGIES

Time : Three hours Maximum : 75 marks

PART A — (10  2 = 20 marks)

Answer ALL questions.

1. Give the advantages of PHP.

2. How to use here document?

3. List any four numeric functions used in PHP.

4. What is the use of control statements and break


statement?

5. How to store numeric data in an array.

6. Write a function to sort and reverse elements in an


array.

7. Define function.
8. List any two directory functions and its usage in
PHP.

9. List the advantages of MySQL.

10. Write few words about error handling.

PART B — (5  5 = 25 marks)

Answer ALL questions.

11. (a) Write the general structure of PHP. Write a


PHP script to add two numbers and display
its result.

Or
(b) List various types of operators used in PHP.

12. (a) Compare if and case structure with an


example.

Or
(b) Discuss about for loop with an example.

13. (a) Write general syntax of foreach statement


and explain it.

Or
(b) Write short notes on sort functions for arrays
in PHP.

2 S.No. 5614
14. (a) Discuss about the characteristics of OOPs.
Or
(b) Give the various file processing functions
and its usage.
15. (a) Write general structure of create table with
primary key. Give an example.
Or
(b) Write short notes on SQLite extension and
XML.
PART C — (3 × 10 = 30 marks)
Answer any THREE questions.
16. Discuss about the scope of the variables in PHP.
17. Write various formats of if statements with an
example.
18. Discuss about date and time functions. Write a
PHP script to display today's date and time.
19. Explain about the functions with and without
parameters, and how to return function values?

20. (a) Write a note on XML.

(b) Write general syntax of insert data into the


table. Explain with an example.

————————

3 S.No. 5614

You might also like