You are on page 1of 2

http://www.rtmnuonline.

com

NRT/KS/19/5532
Bachelor of Commerce (Computer Application) (B.C.C.A.) Semester—IV Examination
PHP AND My SQL
Compulsory Paper—4
Time : Three Hours] [Maximum Marks : 80
N.B. :— (1) All questions are compulsory.
(2) Draw well labelled diagrams wherever necessary.
PART—A
N.B. :— (1) Each question carries 2 marks.
(2) Answer should not be in more than 5 lines.
1. (a) What is server page ?
(b) What is HTTP protocol ?
(c) What is Crypt( ) in PHP ?
(d) What is Ksort( ) in PHP ?
(e) What is Constants ?
(f) What is function call in PHP ?
(g) What is MySQL ?
(h) What is NULL in MySQL ? 8×2=16
PART—B
N.B. :— (1) Each question carries 3 marks.
(2) Answer should not be in more than 10 lines.
2. (a) What is POST method ?
(b) What is PHP parser ?
(c) What is function in PHP ?
(d) What is empty( ) in PHP ?
(e) How to set Cookies in PHP ?
(f) What is isset( ) function ?
(g) What is GRANT command ?
(h) Write down the syntax and example Date( ) function in MySQL. 8×3=24
PART—C
N.B. :— (1) Each question carries 5 or 10 marks.
(2) Answers should not be in more than 400 words for 5 marks questions and 600 words
for 10 marks questions.
EITHER
3. (A) Explain Form Control in detail. 5
(B) Explain Comparison Operators in PHP. 5
OR
(C) What is Validation ? Explain different types of validations in detail. 10

CLS—20022 1 (Contd.)
http://www.rtmnuonline.com http://www.rtmnuonline.com

EITHER
4. (A) Explain for loop with example. 5
(B) Write a short note on switch statement in PHP. 5
OR
(C) Explain foreach loop in detail. 10
EITHER
5. (A) Write note on Cookies in PHP. 5
(B) What is include statement ? Explain with example. 5
OR
(C) What is call by value and call by reference ? Explain with example. 10
EITHER
6. (A) Explain REVOKE command in MySQL. 5
(B) Explain REGEXP in MySQL. 5
OR
(C) Explain any ten data types in MySQL with example. 10

CLS—20022 2 NRT/KS/19/5532

http://www.rtmnuonline.com

You might also like