0% found this document useful (0 votes)
32 views7 pages

2023 Webtech Bca

Good for students and knowageble

Uploaded by

Chandra shekhar
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)
32 views7 pages

2023 Webtech Bca

Good for students and knowageble

Uploaded by

Chandra shekhar
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/ 7

Roll No. …………………..

BCA–C302

B. C. A. (Third Semester)
EXAMINATION, 2022-23
WEB TECHNOLOGIES

Time : 2 21 Hours

Maximum Marks : 60
Note : Question paper has two Sections. Read carefully
instruction for each Section.
Section—A

1. Choose the correct option : 1 each


(a) Choose the correct HTML tag for the large
heading : (CO2, BL-1)
(i) <h1>
(ii) <h2>
(iii) <h6>
(iv) <h3>

P. T. O.
[2] BCA–C302

(b) Choose the correct HTML tag to make a text


bold : (CO2, BL-1)
(i) <bd>
(ii) <bold>
(iii) <bl>
(iv) <b>
(c) Which tag adds a paragraph break after the text ?
(CO2, BL-1)
(i) <br>
(ii) <p>
(iii) <strong>
(iv) <hr>
(d) Which of the following is underline tag ?
(CO2, BL-1)
(i) <line_under>
(ii) <uline>
(iii) <u>
(iv) <ul>
(e) HTML files have a default file extension
of ................ . (CO1, BL-1)
(i) .html
(ii) xml
(iii) .php
(iv) .ph
[3] BCA–C302

(f) What will be the output of the following code ?


(CO3, BL-3)
<?php
$fruits = array("apple", "orange", array ("pear",
"mango"), "banana");
echo (count($fruits, 1));
?>
(i) 3
(ii) 4
(iii) 5
(iv) 6
(g) What will be the output of the following code ?
(CO5, BL-3)
<?php
$a = 5;
$b = 5;
echo ($a = = = $b);
?>
(i) 5= = =5
(ii) error
(iii) 1
(iv) false

P. T. O.
[4] BCA–C302

(h) What will be the output of the following PHP


code ? (CO4, BL-3)
<?php
$num = 10;
echo ‘What is her age?\n She is $num years old’;
?>
(i) What is her age?\n She is $num year old
(ii) What is her age?
She is $num year old
(iii) What is her age? She is 10 year old
(iv) What is her age?
She is 10 year old
(i) PHP was developed by : (CO4, BL-1)
(i) Rasmus Lerdorf
(ii) Robert Zend
(iii) Zeev Suraski
(iv) Andy Gutamen
(j) To create a bullet list we use : (CO2, BL-2)
(i) <ol>
(ii) <ul>
(iii) <li>
(iv) None of the above
[5] BCA–C302

(k) Which tag will add rows to your table ?


(CO2, BL-1)
(i) <tr> and </tr>
(ii) <th> and </th>
(iii) <td> and </td>
(iv) None of the above
(l) What will be output of the following PHP
code ? (CO4, BL-3)
<?php
$fruits – array ("apple", "orange", "banana");
echo (next($fruits));
echo (next($fruits));
?>
(i) orangebanana
(ii) appleorange
(iii) orangeorange
(iv) appleapple
2. Write short notes on any four of the following : 3 each
(a) Explain External CSS. (CO3, BL-1)
(b) Explain DOM. (CO4, BL-1)
(c) Create a cod e to explain for each loop in PHP.
(CO4, BL-6)
(d) Create a code for Session in PHP. (CO4, BL-6)
(e) Explain Internal CSS. (CO3, BL-1)

P. T. O.
[6] BCA–C302

Section—B

3. Attempt any two of the following : 6 each


(a) What is WWW ? Explain different types of list
tag in HTML with example. (CO1, BL-2)
(b) Create a code in HTML to design the following
table : (CO2, BL-6)

By Gender
All
CI Males Females
Genders
9125604 4512358

Rural 6521458 4215389 4152348

(c) Create a code in HTML to design the following


frame : (CO2, BL-6)

Page 3
Page 1
Page 4

Page 2 Page 5

4. Attempt any two of the following : : 6 each


(a) What is JavaScropt ? Create a code to validate the
text box so that it can take only numeric value.
(CO3, BL-6)
[7] BCA–C302

(b) Explain the different types of event in JavaScript


with a proper example. (CO3, BL-3)
(c) Create a code to execute different types of array
in PHP. (CO4, BL-6)

5. Attempt any two of the following : 6 each


(a) Illustrate what is PHP ? Compare and contrast
between the different versions of PHP ?
(CO4, BL-3)
(b) Create a code in HTML to design student
registration form with the following attributes
(Emp No, Name, Branch, Salary) connected the
form with a database save the data in a database
using PHP. (CO5, BL-6)
(c) Apply the concept of polymorphism in PHP and
explain with example. (CO5, BL-3)

BCA–C302 130

P. T. O.

You might also like