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

WP Question Bank

Uploaded by

christyportf
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views3 pages

WP Question Bank

Uploaded by

christyportf
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

KRUPANIDHI COLLEGE OF COMMERCE AND MANAGEMENT

AFFILIATED TO BENGALURU CITY UNIVERSITY


KORAMANGALA – BENGALURU-34
I.Each question carries Two marks

1. Define WWW or The Web.


2. Whát is MIME?
3. What do you mean by absolute positining of an element?
4. What is XML Schema? What are the differences between DTD and Schema?
5. Mention the difference between echo and print commands.
6. How to define a function in PHP?
7. Mention any two date functions in PHP.
8. What is the use of global keyword in PHP?
9. What is Web Server?
10. What is a DTD? Why DTD is required?
11. Whatany two keyboard events.
12. What do you meanby relative positining of an element?
13. What is Web Browser? Mention any two web browsers.
14. List any twO mouse events.
15. What is an Event and Event Handler?
16. What is XML? What is the difference between XML and HTML?
17. What is Variable Typing in PHP? Give an example.
18. Write any two array functions with examples.
19.What is the difference between WWW and Interne
20.What is Navigator Object?
21.What is XSLT style sheet?
22.What is window.alert 0?
23. Explain the types of comments in PHP.
24.How to merge two arrays in PHP? Give an example.
25.What is DOM?
26.What is Web Browser ?
27.Differentiate between HTML and XML.
28.What are dynamic documents in Web development ?
29.Which data types are supported in PHP?
30.What is function ? How to define it in PHP ?

II.Each question carries Five marks


1. What is Web Server? Explain the Functions of Web Server.
2. What is Event Propagation? Explain the Types of Event Propagation in DOM 2 Event
Model.
3. Explain SAX and DOM Parsers. What are the main differences of SAX and DOM?
4. Explain Variable Typing (Dynamic Type Casting in PHP) with examples.
5. Explain call by value and call by reference in PHP with examples.
6. Explain the purpose of array_push ), array_pop), array_merge ), array_ keys) and
array_values) in PHP.
7. What are the different ways of Registering an Event Handler?
8. Describe the steps involved in defining and calling a function in PHP.
9. Explain Internal and External DTD.
10. What is Internet Security ? Explain Common Internet Security Issues.
11. Discuss the features of PHP.
12. IIlustrate the use of various array functions in PHP with examples.
13. Explain how to return a value and return an array from a PHP function with
examples.
14. Explain Multiline Commands in PHP with examples.
15. Explain foreach Loop Statement in iterating PHP arrays with examples.
16. How to access form Elements using getElementByld) method? Explain with an
example.
17. What are the different parts of URL? Example with an example.
18. How to display XML documents with CSS? Explain with example.
19. What are Web Services?. How Webservices Work?
20. Explain Variable Scope in PHP. Discuss the types of Variable Scope with examples.
21. Explain Handling Events from Button Elements with an example.
22. Describe the format specifiers used in the date) function in PHP
23. Discuss the use of default arguments in functions with examples.
24. How to add Dynamic Content to the HTML? Explain with an example.
25. What are events and how are they handled in JavaScript ?
26. Design an HTML formm to accept username and password and perform.validation
using JavaScript.
27. ) Discuss the role of XSLT style sheets in displaying and transforming xml
documents.
28. Explain various looping statements in PHP with an example.
29. What are cookies ? How to create and delete a cookie in PHP ?
30. List and explain all types of date and time function in PHP.

III.Each question carries Eight marks


1. Explain DOM2 Event Model. Mention Key Features of the DOM 2 Event Model.
2. Explain Simple types and Complex types of XML Schema with examples
3. Explain conditional statements in PHP including if, if-else, elseif, nested if, and switch
4. Explain Operators in PHP with examples.
5. Explain the creation and manipulation of numerically indexed arrays in PHP with
examples.
6. Explain the process of reading from and writing to files in PHP with an example code.
7. Explain how associative arrays are created and accessed in PHP with examples
8. What is Web Service? Explain how it works?
9. What are Stacking Elements ? What 1s the use of Z-index property? Explain with an
example
10. Describe the procedures for copying, moving, and deleting files in PHP with an
example code.
11. What are Predefined Constants in PHP? Explain the types of Predefined Constants
12. Elaborate on the different looping structures in PHP, including while, do-while, for
and foreach loop
13. Explain the concept of exception handling in PHP, including the use of try-catch
blocks and custom exceptions.
14. Explain the different ways of variable assignment in PHP.
15. Write a PHP script to find sum of all even numbers from 1 to N.
16. L3. What is Position Property? Explain the types of Positioning.
17. Explain Operator Precedence and Associativity in PHP.
18. Explain the creation and manipulation of multidimensional arrays in PHP with
examples.
19. Elaborate on the process of performing database operations in PHP, incuding
querying, inserting, updating, and deleting records.
20. 18. Write a PHP program to find the sum, subtraction, multiplication, and division of
two numbers
21. Explain file read and file write methods with examples.
22. Explain the basic syntax of XML. What are the XML syntax rules? What is the
difference between well formed and valid XML documents?
23. Write program to Demonstrate mousedown and mouseup events.
24. Explain Handling Events from Text box and Password Elements with an example.
25. Write a php program to find the sum, subtration, multiplication, and division of two
numbers using switch statements
26. Explain the method and properties used for DOM tree traverse and modify using
JavaScript.
27. What are the various methods to access the HTML form elements using JavaScript ?
28. Write a short note on
a) DTD
b) XML Schema.

29. a) Compare the uses of echo and print commands in PHP.


b) Differentiate between constant and variable in PHP.

30. A) Outline the steps involved in connecting to a database using PHP.


B) Explain in detail different types of arrays in PHP with examples.

You might also like