0% found this document useful (0 votes)
10 views5 pages

IT Question Bank

The document outlines a comprehensive curriculum covering PHP, JavaScript, XML, AJAX, Servlets, and JSP, structured into four units with various question types. Each unit includes multiple parts with questions categorized by marks, focusing on definitions, explanations, applications, and examples related to web development technologies. The content emphasizes understanding, application, and analysis of programming concepts and practices in web development.

Uploaded by

archuniki2005
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)
10 views5 pages

IT Question Bank

The document outlines a comprehensive curriculum covering PHP, JavaScript, XML, AJAX, Servlets, and JSP, structured into four units with various question types. Each unit includes multiple parts with questions categorized by marks, focusing on definitions, explanations, applications, and examples related to web development technologies. The content emphasizes understanding, application, and analysis of programming concepts and practices in web development.

Uploaded by

archuniki2005
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/ 5

UNIT – I: Introduction to PHP

PART A – (2 Marks Each)

1. Define a variable in PHP and explain its scope. (CO1/PO1/Remembering)


2. What are the different data types in PHP? (CO1/PO1/Remembering)
3. Define the two output functions of PHP (CO1/PO1/Remembering)
4. Interpret the scope of a variable in PHP and state any two rules for naming a variable.
(CO1/PO1/ Evaluating)
5. Outline the concept of a cookie and demonstrate how to set its value
(CO1/PO1/ Understand)

6. Write a PHP script to demonstrate the use of arrays. (CO1/PO2/Understanding)


7. Explain different string operations in PHP. (CO1/PO2/Understanding)
8. What is the use of the ‘isset()’ function in PHP? (CO1/PO1/Remembering)
9. List any two file operations in PHP. (CO1/PO2/Understanding)
10. How do you read data from a radio button in PHP? (CO1/PO3/Applying)
11. What is the significance of sessions in PHP? (CO1/PO3/Applying)
12. How do you connect PHP to MySQL? (CO1/PO3/Applying)
13. Differentiate between GET and POST methods. (CO1/PO2/Understanding)
14. Identify the difference between $_GET and $_POST. (CO1/PO1/Applying)

PART B – (6 Marks Each)

11. Explain various control structures available in PHP with examples.


(CO2/PO2/Understanding)
12. Write a PHP script to upload a file and display its properties. (CO2/PO3/Applying)
13. Describe the importance of cookies in PHP with an example. (CO2/PO3/Applying)
14. Classify the different Data types in PHP with the example. (CO1/PO1/ Understand)
15. Summarize the different Control structures in PHP (CO1/PO1/ Understand)
16. Categorize the different web form controls in HTML (CO1/PO1/ Analysing)
17. How do you handle errors in PHP? Explain with an example. (CO2/PO3/Applying)
18. Discuss different string functions in PHP with examples. (CO2/PO2/Understanding)
19. How do you list directories and files in PHP? Provide an example. (CO2/PO3/Applying)
20. Explain the process of executing SQL queries in PHP with an example.

(CO2/PO3/Applying)
PART C – (10 Marks Each)

18. Develop a PHP application that takes user input from a form, stores it in a database, and
retrieves it. (CO3/PO3/Applying)
19. Explain the process of handling sessions in PHP with an example application.
(CO3/PO3/Applying)
20. Develop a user interface to register the user and to store the registration details in
database table. (CO2/PO2/ Applying)
21. Discuss file handling in PHP with suitable examples. (CO3/PO2/Understanding)
22. Write a PHP script that reads a text file, counts the number of words, and displays the
result. (CO3/PO4/Analyzing)
23. Explain the step-by-step process of connecting PHP with MySQL and executing queries.
(CO3/PO3/Applying)

UNIT – II: Client-side Scripting


PART A – (2 Marks Each)

1. Define JavaScript and its importance in web development. (CO1/PO1/Remembering)


2. What is the scope of a variable in JavaScript? (CO1/PO1/Remembering)
3. Analyse the Connection object and examine its components. (CO2/PO2/Analysing)
4. Summarize the key aspects of JavaScript and illustrate any two of its features.
(CO2/PO2/ Understand)
5. Relate onload() and onsubmit() events in Java Script (CO2/PO2/Remembering)
6. How do you declare a function in JavaScript? (CO1/PO2/Understanding)
7. What is the role of event handlers in JavaScript? (CO1/PO2/Understanding)
8. Explain the concept of form validation in JavaScript. (CO1/PO3/Applying)
9. What is the Document Object Model (DOM)? (CO1/PO2/Understanding)
10. How do you handle the 'onclick' event in JavaScript? (CO1/PO3/Applying)
11. Differentiate between ‘let’, ‘var’, and ‘const’ in JavaScript. (CO1/PO2/Understanding)
12. What are JavaScript objects? Give an example. (CO1/PO3/Applying)
13. How do you perform form validation for an email field in JavaScript?

(CO1/PO3/Applying)
14. Distinguish between var, let and const keywords in Java Script

(CO2/PO2/Analysing)

PART B – (6 Marks Each)

11. Explain different data types in JavaScript with examples. (CO2/PO2/Understanding)


12. Write a JavaScript function to validate a registration form. (CO2/PO3/Applying)
13. Describe different event handlers in JavaScript with examples.
(CO2/PO2/Understanding)

14. Illustrate DOM and write a Program to demonstrate html DOM.


(CO2/PO2/
Understand)
15. Describe the different Popup Boxes in Java Script (CO2/PO2/ Understand)
16. How do you manipulate the DOM using JavaScript? (CO2/PO3/Applying)
17. Explain the use of loops in JavaScript with examples. (CO2/PO2/Understanding)
18. Discuss the role of JavaScript in client-side scripting. (CO2/PO3/Applying)
19. Write a JavaScript program that dynamically changes the background color of a
webpage. (CO2/PO3/Applying)

PART C – (10 Marks Each)

18. Develop a JavaScript application for validating a login form. (CO3/PO3/Applying)


19. Explain how JavaScript interacts with HTML and CSS for dynamic web pages.
(CO3/PO2/Understanding)
20. Analyse how event handlers work in JavaScript and explain how they help make web
pages interactive. Give an example. (CO1/PO1/ Analysing)
21. Describe the role of the DOM in JavaScript and provide an example of DOM
manipulation. (CO3/PO3/Applying)
22. Write a JavaScript program to create a countdown timer. (CO3/PO4/Analyzing)
23. Develop a client-side form validation application using JavaScript. (CO3/PO3/Applying)

UNIT – III: XML and AJAX Applications

2 Marks Questions

24. What is XML? (CO1/PO1/Remembering)


25. Define XML tags and their purpose. (CO1/PO1/Understanding)
26. What are XML attributes? (CO1/PO1/Remembering)
27. List the advantages of using XML. (CO1/PO1/Understanding)
28. What is Document Type Definition (DTD)? (CO1/PO1/Remembering)
29. Define XML Schema. (CO1/PO1/Remembering)
30. What is the Document Object Model (DOM)? (CO1/PO1/Remembering)
31. Differentiate between DOM and SAX parsers. (CO1/PO1/Analyzing)
32. What is XHTML? (CO1/PO1/Remembering)
33. Define AJAX and its use in web applications. (CO1/PO1/Understanding)

6 Marks Questions

34. Explain the structure of an XML document with an example. (CO1/PO1/Understanding)


35. How are XML tags defined and what are their attributes? (CO1/PO1/Understanding)
36. Explain the significance of Document Type Definition in XML.
(CO1/PO1/Understanding)
37. Describe the role of XML Schemas in validating XML data. (CO1/PO1/Understanding)
38. Explain the functioning of DOM parser with an example in Java.
(CO1/PO1/Understanding)
39. Describe the SAX parser and its use case in parsing XML data.
(CO1/PO1/Understanding)
40. How can AJAX be used to create dynamic web applications? Provide an example.
(CO1/PO1/Applying)

10 Marks Questions

41. Explain in detail the different components of XML and their purposes with examples.
(CO1/PO1/Understanding)
42. Compare and contrast DTD and XML Schema with suitable examples.
(CO1/PO1/Analyzing)
43. Discuss the Document Object Model (DOM) and its application in XML parsing. Provide
a code example in Java. (CO1/PO1/Applying)
44. Explain the working of DOM and SAX parsers with examples in Java.
(CO1/PO1/Applying)
45. Develop a simple AJAX application that fetches and displays XML data.
(CO1/PO1/Creating)

UNIT – IV: Servlets and JSP

2 Marks Questions

46. What is a Servlet? (CO2/PO1/Remembering)


47. Define Common Gateway Interface (CGI). (CO2/PO1/Remembering)
48. What is the lifecycle of a Servlet? (CO2/PO1/Remembering)
49. What are initialization parameters in Servlets? (CO2/PO1/Understanding)
50. Define Http Request and Http Response. (CO2/PO1/Remembering)
51. What is the use of Cookies in web applications? (CO2/PO1/Understanding)
52. What is JDBC? (CO2/PO1/Remembering)
53. What are implicit objects in JSP? (CO2/PO1/Remembering)
54. Define session tracking in JSP. (CO2/PO1/Understanding)
55. What are Beans in JSP? (CO2/PO1/Remembering)

6 Marks Questions

56. Explain the lifecycle of a Servlet with suitable diagrams. (CO2/PO1/Understanding)


57. Describe the process of deploying a Servlet in a web server. (CO2/PO1/Applying)
58. How are Http Requests and Responses handled in Servlets? (CO2/PO1/Understanding)
59. Explain the concept of session tracking using Cookies in Servlets.
(CO2/PO1/Understanding)
60. Describe the process of connecting to a database using JDBC in Servlets.
(CO2/PO1/Applying)
61. Explain the anatomy of a JSP Page with an example. (CO2/PO1/Understanding)
62. How can Beans be used in JSP Pages? Provide an example. (CO2/PO1/Applying)

10 Marks Questions

63. Discuss the differences between CGI and Servlets. Provide examples to illustrate.
(CO2/PO1/Analyzing)
64. Explain the Servlet API with examples of commonly used methods.
(CO2/PO1/Understanding)
65. How are Cookies and sessions used for maintaining state in Servlets and JSP?
(CO2/PO1/Applying)
66. Illustrate with examples how to connect a JSP page to a database using JDBC.
(CO2/PO1/Applying)
67. Develop a JSP application that demonstrates the use of Beans, Cookies, and session
tracking. (CO2/PO1/Creating)

You might also like