WE Question Bank
WE Question Bank
IV SEMESTER
Regulation – 2023
Prepared by
Ms.S.Sandhya, Assistant Professor (Sr.G), IT
SEM / YEAR : IV / II
1 (16)
Organize in detail about Internet and World Wide Web. BTL3 Applying
2 Analyze the difference between LAN, WAN, and MAN with (16)
BTL4 Creating
suitable example.
3 Describe the TCP/IP model. Identify the layers and their primary (16)
BTL3 Analyzing
functions?
4 Examine the functionalities of web protocols. (16) BTL4 Analyzing
13 Organize how to create multi-column layouts for text and (16) BTL3 Applying
images.
14 Select the principles of user interface design, including (16) BTL3 Applying
usability and accessibility.
15 Dissect the use of CSS to create visually appealing and user- (16) BTL4 Analyzing
friendly interfaces.
16 Evaluate different media query types and their syntax. (16) BTL5 Evaluating
17 Elaborate border styles, widths, colors, and rounded corners. (16) BTL6 Creating
UNIT III - CLIENT-SIDE PROCESSING AND SCRIPTING
JavaScript Introduction – Variables and Data Types-Statements – Operators – Literals-Functions Objects-
Arrays-Built-in Objects- Regular Expression, Exceptions, Event handling, Validation – JavaScript
Debuggers.
PART-A
PART-B
1 Design a simple HTML form and accept the user name and (16) BTL5 Evaluating
display the name through PHP echo statement.
2 Examine the following:
(i) Scope of the variables. (5)
(ii) Parameters. (5) BTL4 Analyzing
(iii) Function dealing with array. (6)
3 (i) Why we move to scripting languages. (8)
BTL3 Applying
(ii) List the types of scripting languages and explain it. (8)
4 (i) List and explain the data types of PHP. (8)
BTL3 Applying
(ii) Describe about Arithmetic operators and its operations. (8)
5 Discuss the various operators used in PHP with an example. (16) BTL3 Applying
6 Explain the various functions methods in PHP with an (16) BTL4 Analyzing
example.
7 Explain about Cookies about the following
a) Create. (4)
b) Delete. (4)
c) Retrive. (3) BTL4 Analyzing
d) Setting. (3)
e) Access. (2)
8 Create a form containing information Sl.No,title of the book,
publishers, quantity, price,read the data from the form and (16) BTL3 Applying
display it using PHP Script.
9 (i) Write and inspect the PHP script to display Fibonacci (8)
of length 10.
(ii) Write and inspect PHP script to compute the sum of BTL3 Applying
(8)
positive integer up to 30 using do – while statement.
10 (i) Write PHP program to greatest among three numbers. (5)
(ii) Write a PHP script to compute sum and average of N (5)
numbers. BTL3 Applying
(iii) Write PHP programs to print whether current year is (6)
leap year or not.
11 (i) Examine the PHP script to compute factorial of ‘n’ using (8)
while or for loop construct.
BTL4 Analyzing
(ii) Write a PHP program to read a text file line by line and
(8)
display it on screen.
12 Analyze the File handling methods and explain with example. (16) BTL4 Analyzing
13 Evaluate how we use cookies and also show usage of PHP
to solve by checking the image extension before uploading a (16) BTL5 Evaluating
image.
14 Construct a PHP script to compute the Square root, Square, (16) BTL6 Creating
Cube and Quad of 10 numbers.
15 (i) Write PHP Program to print whether given number is (8)
odd or even.
BTL5 Evaluating
(ii) Discuss the various modes of operation in file handling. (8)
16 Explain the various control and looping statements in (16) BTL3 Applying
PHP with examples.
17 Summarize in brief about arrays in PHP with suitable examples. (16) BTL4 Analyzing
13 Write a simple Servlet program to print the contents of HTML. BTL2 Understanding
Formulate the three methods that are central to the life cycle of the BTL1 Remembering
14
servlet.
Do cookies have the capability to store login credentials? Consider BTL2 Understanding
15
security implications in your response.
16 How dynamic content generation can be accomplished using servlets? BTL2 Understanding
PART-B
(i) Integrate how servlets work and its lifecycle. (8) BTL3 Applying
1
(ii) Identify and develop the Servlet API. (8)
2 Model a servlet to illustrate the principle of Cookies and explain. (16) BTL3 Applying
Analyze the Servlet architecture and explain its working (16) BTL4 Analyzing
3 principle.
Consider a database that has a table Employee with two columns (16) BTL3 Applying
Employee Id and Name. Assume that the administrator user id and
password to access to access the database table are Scott and
4
Tiger. Write a JDBC program that can query and print all entries
in the table employee. Make the database using type 2 driver
database.
5 Explain in detail the session handling in server side programming. (16) BTL5 Evaluating
Explain the use of cookies for tracking for tracking requests with a (16) BTL5 Evaluating
6
program.
Design a Servlet program to display the waiting list status, given (16) BTL6 Creating
7 the PNR number of a train. Create a JSP to display the information
at the client end.
Formulate a Java Servlet to display net salary of employee, use (16) BTL6 Creating
8
JDBCconnectivity to get employee details from database.
Explain the ways of storing and accessing information using (16) BTL5 Evaluating
9 cookiesand handling associated issues.
Give a sample Java servlet program that demonstrates handling (16) BTL3 Applying
10
form submissions using both GET and POST methods.
11 Examine the steps involved in developing a dynamic website. (16) BTL4 Analyzing
Explain the way of accessing database with JDBC with an (16) BTL5 Evaluating
12
example.
(i) Explain the steps for using JDBC to access a database. (8) BTL5 Evaluating
(ii) Write a Java program to access the details of patients (8)
13
stored in a file. Display the contents of the records of the
patient based on treatment on the screen.
How can you run servlet with database connectivity? Examine (16) BTL4 Analyzing
14
with suitable example.
Inspect JDBC with employee salary processing system as (16) BTL4 Analyzing
15
example.
Write a Java program that queries for student information from a (16) BTL6 Creating
16 database. The program must also facilitates insertion, deletion
and updation of student details into the database.
(i) Analyze what is batch processing and how to perform (10) BTL4 Analyzing
17 batch processing in JDBC?
(ii) Write a short note on catching database result. (6)