LOYOLA COLLEGE (AUTONOMOUS), CHENNAI – 600 034

advertisement
LOYOLA COLLEGE (AUTONOMOUS), CHENNAI – 600 034
M.C.A. DEGREE EXAMINATION - COMPUTER APP.
FIRST SEMESTER – NOVEMBER 2012
CA 1806 - FREE AND OPEN SOURCE SOFTWARE DEVELOPMENT
Date : 06/11/2012
Time : 1:00 - 4:00
Dept. No.
Max. : 100 Marks
PART A
Answer ALL Questions:
1.
(10 X 2 = 20 Marks)
The developer of Linux is _____________ and the Linux project was started in the year _______
2. Name any four FOSS software licenses.
3. How a variable is formed in PHP? Give example.
4. What is loosely typed language?
5. Mention any four mathematical functions with example in PHP.
6. What are static and global variables?
7. How connection is established between PHP and MySQL?
8. Which operator helps to search the records in MySQL?
9. What are three levels of Cascade Style Sheets(CSS)?
10. What is the advantage of using Ajax?
PART B
Answer ALL Questions:
(5 X 8 = 40 Marks)
11a. Describe the methodology of FOSS development
(or)
11b. What features are common to all FOSS licenses? Explain.
12a. What are arithmetic and comparison operators in PHP? Explain
(or).
12b. Write a PHP program to display the current consumption and the amount to pay for 5 customers
of different slabs by accepting current reading and initial previous reading. The slab is given as
follows:
Slab(Units)
Unit Cost (Rs.)
1-100
1
101-300
2
301-500
3
Above 500
5
13a. Briefly explain the following terms in PHP: i. Cookies ii. Session
(or)
13b. What is SuperGlobal Array? Explain.
14a. Write a PHP program to display the records of the fields student_id, name, FOSS_mark,
DBMS_mark which is stored in student table in MySQL.
(or)
14b. Write short notes, in MySQL, on the following: i. Date functions ii. Mathematical functions.
15a. Write a HTML program applying CSS to display the text
‘Loyola College produced National Leaders’
for the following specifications i. italics ii. 12 points iii. Underlined.
(or)
15b. Describe various selectors in CSS with an example
PART C
Answer any TWO Questions:
(2 x 20 = 40 Marks)
16a. How Linux operating systems is evolved? Explain.
16b. Discuss conditional control statements in PHP.
17a. How arrays are handled in PHP?
17b. Describe any five form controls in HTML.
18b. Discuss string functions in MySQL.
18b. How font properties are set CSS? Explain.
********
Download