Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
59 views4 pages

Web Technology IMP Questions

Download as pdf or txt
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 4

Web Technology IMP Questions

a) For what purpose table Info () method is used?


b) State True/False PHP $–GET[] is super global array in PHP.
c) How static method is invoked?
d) What is the use of array-slice function?
a) Differentiate between anonymous function and normal function.
b) What is Introspection. Explain any two functions with example.
c) Explain SSL.
d) List the steps to write ajax code to retrieve. information from XML file
using PHP.
e) Write a PHP program to display the total no. of rows returned by a query
containing students studying in SYBCA class.
a) Explain the following PEAR DB to get information about result object
with example.
i) numrows ()
ii) numcols ()
b) Explain (Define) cookies. Give syntax for set cookie and explain the
cookie attributes in detail with example.
c) What are the differences between AJAX and JAVA script.
d) Compare between for and for each loop.
e) Write a program in PHP to find the size of array using count and size of ()
function.
f) Explain what is HTTP authentication?
g) What are the placeholders in query? Explain in detail with example.
a) Explain self processing pages concepts in detail with example.
b) Explain Encapsulation with its advantages .

c) Consider tables: Plant (Plant-id, plant-name, plant-type, price)


Write a PHP script to accept-plant-type. The script schould display the
information of plants belonging to the plant-type entered by user.

d) Create an application that reads Book. XML file into simple XML object.
Display attributes and elements (Hint : use simple-XML-load-file())

e) Explain the following array function, with example.


i) arr-pad ( )

ii) array-values ( )

iii) range ( )
f) What is Sticky form? Explain with example.
g) Explain prepare and excecute functions with suitable example.
h) Write a PHP program to calculate area of triangle with base = 3, height = 4.
i) What is multidimensional array? How to access elements from
multidimensional array?
j) Write characteristics of an interface.
k) What is sticky form? Explain.
l) What are transactions? State the methods provided by PEAR DB for
dealing with it.
m) What are the advantages of AJAX?
n) Explain the processing of result set in database specific method.
o) Write a PHP script to display the empbyee whose salary is greater than
or equal to average salary. Consider the following tables
dept (deptno, deptname, location)
emp (empno, empname, after, phno, sal, teptno)
p) Write a PHP script to create session.
q) Differentiate between GET and POST method.
r) Define the terms :
i) Constructor
ii) Abstract class
iii) Inheritance
iv) Destructor
s) Write a PHP script to illustrate the concept of interface.
t) Write a PHP script to define a class Employee with emp-code, emp-
name and emp-designation as data members.

a) Differentiate between for loop and For each loop.


b) Write a PHP script to define an interface which has methods area( ),
volume ( ). Define constant PI. Create a class cylinder which implements
interface methods and calculate area and volume. Also declare array of
objects and call member functions area ( ) and volume ( ).
c) Consider a table marklist (seat-no, sub-code, marks). Write a PHP script
which will accept seat-no, sub-code and updated marks from user and
modify the marks of the student to changed marks.
(use PEAR DB method).
d) Write a PHP program to demonstrate DOM document.
e) What are the differences between AJAX and Java Script?
f) Write the syntax and purpose of the following functions :
in-array ( ), array-search ( ), array-reduce ( ), array-walk ( ), array-reverse ( )
g) What is XML parser? What are different types of it?

You might also like