Cs-09 Web Programming
Cs-09 Web Programming
Seat No.
_______
JAM010153616
JAM010153616
Faculty Code : 003
Subject Code : 23SI-BCAP-MA-02-04001
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
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.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