0% found this document useful (0 votes)
15 views

Cs-09 Web Programming

The document is an examination paper for the Bachelor of Computer Application (BCA) Semester - 2, focusing on Web Programming (CS-09) for June 2024. It contains various questions related to PHP, AJAX, MySQL, jQuery, and Object-Oriented Programming, including short answer questions, explanations, and coding tasks. The total marks for the exam are 50, and it is structured with multiple sections for different topics.

Uploaded by

jatinchauhan6560
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views

Cs-09 Web Programming

The document is an examination paper for the Bachelor of Computer Application (BCA) Semester - 2, focusing on Web Programming (CS-09) for June 2024. It contains various questions related to PHP, AJAX, MySQL, jQuery, and Object-Oriented Programming, including short answer questions, explanations, and coding tasks. The total marks for the exam are 50, and it is structured with multiple sections for different topics.

Uploaded by

jatinchauhan6560
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

23SI-BCAP-MA-02-04001

Seat No.
_______

BACHELOR OF COMPUTER APPLICATION Examination


BCA Semester - 2 JUNE 2024 ( NEP ) JUNE - 2024
CS-09: WEB PROGRAMMING
JAM010153616

JAM010153616

JAM010153616
Faculty Code : 003
Subject Code : 23SI-BCAP-MA-02-04001

Time : 2 Hours] [Total Marks : 50

Q.1 (A) Answer the following questions: (Three short questions, each one mark) 3
(1) Which loop is used exclusively with arrays?
(2) Array with a numeric index is called an ________
(3) _______ Returns the number of arguments passed to the function.
JAM010153616

JAM010153616

JAM010153616
Q.1 (B) Write Differences between constants and variables in php. 2
Q.1 (C) Explain String Functions 5
OR
Q.1 (A) A) Answer the following questions: (Three short questions, each one mark) 3
(1) Which Function will find the position of first occurrence of the character in the
string?
(2) ______ optionally accepts a time stamp and returns an associative array
containing information about the date.
(3) Which Function reads the contents of the file character by character.
Q.1 (B) How to define User Defined Functions in php? 2
Q.1 (C) Explain File handling Functions. 5

Q.2 (A) Answer the following questions: (Three short questions, each one mark) 3
JAM010153616

JAM010153616

JAM010153616

(1) To destroy the session the which function is to be used?


(2) The area where the shapes are to be drawn is known as?
(3) Which function is used to draw line on the canvas?
Q.2 (B) What is Cookies? 2
Q.2 (C) Explain PHP with AJAX. 5
OR

Q.2 (A) Answer the following questions: (Three short questions, each one mark) 3
(1) The function ereg is abbreviated as _____
(2) AJAX Stands for?
(3) Which event is triggered every time the readyState changes.
Q.2 (B) Explain Server variables in php. 2
Q.2 (C) Explain MySql with AJAX. 5

Q.3 (A) Answer the following questions: (Three short questions, each one mark) 3
(1) Which statement is used to change values that are already in a table?

1
(2) Which Function is used to Get number of affected rows in previous MySQL
operation?
(3) Which Function is used to Get the ID generated from the previous INSERT
operation?
Q.3 (B) Explain mysqli_fetch_assoc 2
Q.3 (C) Write a Code to performview Data in tabluar format from Below Table. 5
Database Name : varmora_tiles
JAM010153616

JAM010153616

JAM010153616
Table Name : tiles_master
FiledName : tiles_id , tiles_name, batch_no , price , size
OR
Q.3 (A) Answer the following questions: (Three short questions, each one mark) 3
(1) Which Function is used to open a connection to a MYSQL Server?
(2) DML Stands for?
(3) Which Function is used to Fetch a result row as an associative array, a numeric
array, or both?
Q.3 (B) Explain mysqli_data_seek. 2
Q.3 (C) Write a Code to performInsert Data operation in Below Table. 5
Database Name : varmora_tiles
Table Name : tiles_master
FiledName : tiles_id , tiles_name, batch_no , price , size
JAM010153616

JAM010153616

JAM010153616
Q.4 (A) Answer the following questions: (Three short questions, each one mark) 3
(1) A ________ sign to define/access jQuery.
(2) Which event occurs when the user navigates away from the page?
(3) Which event occurs when the browser window changes size?
Q.4 (B) Explain jQuery Syntax. 2
Q.4 (C) Explain jQuery Methods. 5
OR
Q.4 (A) Answer the following questions: (Three short questions, each one mark) 3
(1) Which event occurs when an element loses focus?
(2) Which event occurs when the user scrolls in the specified element?
(3) Which event occurs when an element gets focus?
JAM010153616

JAM010153616

JAM010153616

Q.4 (B) Explain jQuery Selectors. 2


Q.4 (C) Explain jQuery Events 5

Q.5 (A) Answer the following questions: (Three short questions, each one mark) 3
(1) Which version of PHP introduced the advanced concepts of OOP?
(2) Who developed object-oriented programming?
(3) Which feature of OOPS derives the class from another class?
Q.5 (B) Explain Constructor 2
Q.5 (C) Write a Code to performview Data in tabluar format from Below Table. 5
Database Name : varmora_tiles
Table Name : tiles_master
FiledName : tiles_id , tiles_name, batch_no , price , size
OR
Q.5 (A) Answer the following questions: (Three short questions, each one mark) 3
(1) What is the use of Scope Resolution Operator (::)?
2
(2) What is Class in OOP?
(3) What is Object?
Q.5 (B) Explain Autoloading Classes. 2
Q.5 (C) Write a Code to performInsert Data operation in Below Table using oop. 5
Database Name : varmora_tiles
Table Name : tiles_master
FiledName : tiles_id , tiles_name, batch_no , price , size
JAM010153616

JAM010153616

JAM010153616
JAM010153616

JAM010153616

JAM010153616
JAM010153616

JAM010153616

JAM010153616

You might also like