Total No. of Questions : 5] SEAT No.
:
P1302
38
[Total No. of Pages : 2
[6055]-303
ic-
T.Y.B.Sc. (Computer Science)
tat
CS - 353 : WEB TECHNOLOGIES - I
2s
(2019 Pattern) (Semester - V)
0:4
31 1
1
0:3
Time : 2 Hours] [Max. Marks : 35
6/2 02
Instructions to the candidates:
1
1) All questions are compulsory.
02
8 1 P0
2) Figures to the right indicate full marks.
A
7/0
8.7 CA
Q1) Attempt any EIGHT of the following (out of TEN). [8 × 1 = 8]
38
7.3
a) What are compound data types in PHP?
ic-
b) Write syntax to define a constant in PHP.
tat
c) What is use of CSS selectors?
2s
.24
d) What is Lambda function?
0:4
49
11
e) Which function read the data from files with the assumption that it is
0:3
properly formatted in CSV and puts data into an array?
02
31
f) Write a name of function that enables you to print the contents of a file
01
without even having to call fopen ().
02
g) What is use of SMTP component, Mail Transfer Agent?
6/2
AP
h) What is use of Post Office Protocol 3?
7/0
i) What is use array_flip () function?
CA
81
j) Which function is use to reposition the file pointer to the beginning of the
38
7.3
file?
-
tic
8.7
sta
Q2) Attempt any FOUR of the following (out of FIVE). [4 × 2 = 8]
.24
:42
a) Explain List in HTML.
49
11
b) What is Casting of operators?
:30
c) Find the Output.
02
10
<?php
23
1
$subjects = array ('physics', 'chem', 'math', 'bio', 'cs', 'drama');
8 1 P0
/20
$ rl = array _ splice ($subjects, 2, 3);
06
A
print_r($subjects);
7/
CA
?>
d) Explain following functions.
7.3
i) var_dump()
8.7
ii) Trim ()
e) Define the types of web pages?
.24
49
P.T.O.
Q3) Attempt any TWO of the following (out of THREE). [2 × 4 = 8]
38
a) Explain features of PHP.
ic-
b) Explain any two control statements with syntax and example.
tat
c) Explain the following functions with example.
2s
i) explode (),
0:4
31 1
ii) implode ()
1
0:3
6/2 02
Q4) Attempt any TWO of the following (out of THREE).
1 [2 × 4 = 8]
a) Program to check whether the enter number is Palindrome or not
02
8 1 P0
(Accept number from user).
A
b) Write a PHP program to sort array on marks (Array contains names and
7/0
8.7 CA
marks).
c) Consider the following relational database: Movie (Movie_no,
38
7.3
Movie_name, ryear).
ic-
Write a PHP script which displays all movies name released in the year
tat
2010.
2s
.24
0:4
49
11
Q5) Attempt any ONE of the following (out of TWO). [1 × 3 = 3]
0:3
a) Explain with example PEAR DB basics.
02
31
b) Explain mail() function with syntax.
01
02
6/2
AP
7/0
CA
81
38
7.3
-
tic
8.7
sta
.24
:42
49
11
:30
02
10
23
1
8 1 P0
/20
06
A
7/
CA
7.3
8.7
.24
49
[6055]-303 2