0% found this document useful (0 votes)
40 views2 pages

WT 2

The document is an examination paper for the S.Y. B.C.A. (Science) course on Web Technology, consisting of four questions with various parts. It includes multiple-choice questions, short answer questions, and detailed questions requiring explanations and coding examples. The exam is designed to assess knowledge on topics such as PHP, AJAX, XML, and database interactions.

Uploaded by

mota bhai
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
40 views2 pages

WT 2

The document is an examination paper for the S.Y. B.C.A. (Science) course on Web Technology, consisting of four questions with various parts. It includes multiple-choice questions, short answer questions, and detailed questions requiring explanations and coding examples. The exam is designed to assess knowledge on topics such as PHP, AJAX, XML, and database interactions.

Uploaded by

mota bhai
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Total No. of Questions : 4] SEAT No.

PC-1636 [Total No. of Pages : 2


[6331]-42
S.Y. B.C.A. (Science)
BCA-242 : WEB TECHNOLOGY
(2019 Pattern) (Semester IV)
Time : 3 Hours] [Max. Marks : 70
Instructions to the candidates:
1) All questions are compulsory.
2) Figures to the right indicate full marks.
3) Draw neat diagram whenever necessary.

Q1) A) Choose the correct option : [5 × 1 = 5]


i) As compared to associative arrays index arrays are much ________.
a) Faster b) Slower
c) Stable d) Complex
ii) Prepare ( ) method is used to _______ the query.
a) debug b) run
c) compile d) fetch
iii) AJAX is based on _________.
a) JavaScript and XML b) Vbscript and XML
c) JavaScript and Java d) JSP and Java
iv) Which one of the following function is used to start a session?
a) begin_session( ) b) session_begin( )
c) session_start( ) d) start_session( )
v) PHP supported variable usage without declaring its ________.
a) data type b) object type
c) Name d) reference

B) Answer the following: [5 × 1 = 5]


a) What is the purpose of $ this variable?
b) What is Web server?
c) What is sticky form?
d) Write any two applications of XML.
e) Which function is used to execute a query?

P.T.O.
Q2) Answer the following (any five) : [5 × 3 = 15]
a) Explain the concept of serialization.
b) Describe passing parameters by value with example.
c) Compare between GET method and post method.
d) Write PHP script to calculate factorial of given number using function.
e) What are the differences between AJAX and JavaScript?
f) What is Interface? Give its Syntax.

Q3) Answer the following (Any Five) : [5 × 4 = 20]


a) Explain the function for making connection and executing a query
using PEAR DB.
b) Define constructor. Explain it with the example.
c) Explain Anonymous function with the example.
d) Write short note on cookies.
e) What are the advantages and disadvantages of using database extension
to get connected to the database?
f) Explain rules to write XML elements and attributes.
g) Write a PHP program to accept student rno, name on first .php and
marks of three subjects on second .php and display students all
information on third .php.

Q4) Answer the following (Any Five) : [5 × 5 = 25]


a) Explain different iterator function with example.
b) What is self - processing form? Explain with the help of example.
c) Define an Interface which has methods area( ), volume( ), define
constant PI. Create a class cylinder which implements this interface
and calculate area and volume.
d) Write a php script which implements AJAX for addition of two
numbers.
e) What is introspection? Explain any four introspective functions provided
by PHP.
f) What is DOM? How does it relate to XML?
g) Consider the following relational database student
(seat-no, name, class, P-group_no)
Project (P_group_no, P_title)
Student : project shares many : one relationship.
Write a PHP script to accept project title and display list of students
those who are working in the particular project.



[6331]-42 2

You might also like