Académique Documents
Professionnel Documents
Culture Documents
08
Java and CGI Programming
4 a. Write a pragrum to read ft number 234 from keyboard. Reverse it i.e.(432) and add (234 +
432). Then print the result. (10 Marks)
b. Give syntax for various applet tags. (05 Marks)
c. With example explain grid layout. (05 Marks)
f.
v a. Write a CGI program to print system date using here document. (06 Marks)
b. Discuss types of information received by the CGI program. (09 Marks)
c. Give any five form widget methods. (05 Marks)
'7
I a. What is SSI? What are two lines in the apache configuration file, to be uncommented?
(06 Marks)
b. \\i hat are two types of arrays in pup? Explain with an example. (06 Marks)
c. Write a program in pup:
i) To display numbers from an array using for each loop
ii) Reverse the numbers in an array using build in function.
8 a. Enlist string functions in php. Explain each with example, (08 Marks)
b. \Vrite a php program to accept the name, age and address from HTML page using post
method, and insert into the database. Display to the browser "inserted". Otherwise display
not inserted. (12 Marks)