0% found this document useful (0 votes)
30 views3 pages

bsc_computer-science-cs_semester-5_2022_april_web-technologies-i-2019-pattern

This document is an exam paper for a T.Y. B.Sc. Computer Science course on Web Technologies, consisting of 5 questions with varying marks. It includes multiple-choice questions, coding tasks, and theoretical questions related to PHP, HTML, and web protocols. The exam is designed to assess knowledge in web technologies and programming skills within a 2-hour time frame.
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)
30 views3 pages

bsc_computer-science-cs_semester-5_2022_april_web-technologies-i-2019-pattern

This document is an exam paper for a T.Y. B.Sc. Computer Science course on Web Technologies, consisting of 5 questions with varying marks. It includes multiple-choice questions, coding tasks, and theoretical questions related to PHP, HTML, and web protocols. The exam is designed to assess knowledge in web technologies and programming skills within a 2-hour time frame.
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/ 3

Total No. of Questions : 5] SEAT No.

P5151 [Total No. of Pages : 3


[5823]-503
T.Y. B.Sc.
COMPUTER SCIENCE
CS - 353 : Web Technologies - I
(CBCS) (2019 Pattern) (Semester - V)

Time : 2 Hours] [Max. Marks : 35


Instructions to the candidates:
1) All questions are compulsory.
2) Assume suitable data, if necessary.
3) Neat diagrams must be drawn wherever necessary.

Q1) Attempt any eight of the following : [8 × 1 = 8]


a) What is hyperlink?
b) List the advantages of CSS
c) Which tag is used to set the text in superscript format?
d) State the purpose of pathinfo()
e) What is DSN?
f) List any two features of HTTP protocol.
g) State the use of foreach() function.
h) What is web server?
i) Give any two functions of random access of file data.
j) How to delete file in PHP?

Q2) Attempt any four of the following : [4 × 2 = 8]


a) Write any 2 features of PHP & HTML.
b) Write the output of the following PHP Script
<?php
$ age = array("Anna"=>"45", "Julie"=>"38", "Benne"=>"53");
usort($age);
print_r($age);
?>
P.T.O.
c) Write the output of the following script?
<?php
$a='PHP';
$b='$a interpolation ';
echo $b;
?>
d) Write the output of the following PHP Script.
$str=' abc,pqr,lmn,xyz';
$p=explode(',',$str,3);
print_r($p);
e) What is the output of the following?
<?php
$p=array(1,2,3,4,5);
$q=array(1,3,5,7,9);
$s=array_diff($p,$q);
print_r($s);
?>

Q3) Attempt any 2 of the following : [2 × 4 = 8]


a) Design HTML form that will accept user input as first name, middle
name and last name, address, contact number. Provide buttons to submit
the input as well as to refresh form.
b) Explain any two of the following functions with syntax
i) array _ intersect ()
ii) array _ slice ()
iii) shuffle ()
c) Explain how to send email with PHP.

Q4) Attempt any 2 of the following : [2 × 4 = 8]


a) Explain different types of arguments passing to function with example.

[5823]-503 2
b) Write a PHP script to read a file abc.txt where file contains character,
B,C,T,G and space. Count occurrences of each character and write it
to the abccount.txt file.
c) Explain advantages and disadvantages of IMAP4 protocol.

Q5) Attempt any ONE of the following : [1 × 3 = 3]


a) Write a PHP script accept and insert records in employee table.
b) What is associative array? Explain with example how is it different from indexed
array?



[5823]-503 3

You might also like