WT COURSE FILE 2021-2022 WITHOUT NOTES
WT COURSE FILE 2021-2022 WITHOUT NOTES
WT COURSE FILE 2021-2022 WITHOUT NOTES
reports and design documentation, make effective presentations, and give and receive clear
instructions.
PO11. Project management and finance: Demonstrate knowledge and understanding of the
engineering and management principles and apply these to one’s own work, as a member and
leader in a team, to manage projects and in multidisciplinary environments.
PO12. Life-Long learning: Recognize the need for, and have the preparation and able to engage
in independent and life-long learning in the broadest context of technological change.
KOMMURI PRATAP REDDY INSTITUTE OF TECHNOLOGY
Course Outcomes
C314.1: gain knowledge of client-side scripting, validation of forms and AJAX programming
C314.3: understand what XML is and how to parse and use XML Data with Java
Faculty
KOMMURI PRATAP REDDY INSTITUTE OF TECHNOLOGY
Faculty
KOMMURI PRATAP REDDY INSTITUTE OF TECHNOLOGY
PO11 Students can manage the projects and demonstrate knowledge on ajax programming
PO12 Students can able to lean the new programms in the technological change
C314.3: understand what XML is and how to parse and use XML Data with Java [Analyze& Apply]
Justification
PO1 Student gain knowledge of XML
PO2 Student can able to analyze the parse and use xml data with java
PO3 Students can able to design the xml forms
PO4 Students can able to solve the programs xml with java
PO5 Students are able to apply knowledge to implement the xml programs
PO6 Students are able to apply knowledge on programming at professional practice
PO9 Students able to do the programs individual and team work
PO10 Students are able to give effective presentation on xml data with java
PO11 Students can manage the projects and demonstrate knowledge on xml programming
PO12 Students can able to lean the new programs in the technological change
C314.4: To introduce Server-side programming with Java Servlets and JSP [Analyse & Apply]
Justification
PO1 Student gain knowledge of server side programming
PO2 Student can able to analyze the java servlets and jsp
PO3 Students can able to design the java servlets programs
PO4 Students can able to solve the programs with java servlets and jsp
PO5 Students are able to apply the techniques for the server-side programs
PO6 Students are able to apply knowledge on programming at professional practice
PO9 Students able to do the programs individual and team work
PO10 Students are able to give effective presentation on java servlets and jsp
PO11 Students can manage the projects and demonstrate knowledge on java servlets and jsp
programming
PO12 Students can able to lean the new programs in the technological change
KOMMURI PRATAP REDDY INSTITUTE OF TECHNOLOGY
C314.3: understand what XML is and how to parse and use XML Data with Java [Analyse & Apply]
Justification
PSO1 Student can able to do the implement XML programs in the area of web design
PSO2 Students gain ability to solving the problems for xml with java in project development
PSO3 Students are able to employ modern computer languages
C314.4: To introduce Server-side programming with Java Servlets and JSP [Analyse & Apply]
Justification
PSO1 Student can able to do the implement computer programs in the area of web design
PSO2 Students gain ability to solving the problems in project development using with java
servlets and jsp
PSO3 Students are able to employ modern computer languages
KOMMURI PRATAP REDDY INSTITUTE OF TECHNOLOGY
Course Outcomes
1. gain knowledge of client-side scripting, validation of forms and AJAX programming
2. understand server-side scripting with PHP language
3. understand what is XML and how to parse and use XML Data with Java
4. To introduce Server-side programming with Java Servlets and JSP
UNIT- I
Introduction to PHP: Declaring variables, data types, arrays, strings, operators, expressions, control
structures, functions, Reading data from web form controls like text boxes, radio buttons, lists etc.,
Handling File Uploads. Connecting to database (MySQL as reference), executing simple queries,
handling results, Handling sessions and cookies
File Handling in PHP: File operations like opening, closing, reading, writing, appending, deleting etc.
on text and binary files, listing directories.
UNIT- II
HTML Common tags- List, Tables, images, forms, Frames; Cascading Style sheets;
XML: Introduction to XML, Defining XML tags, their attributes and values, Document Type Definition,
XML Schemes, Document Object Model, XHTML Parsing XML Data – DOM and SAX Parsers in java.
UNIT - III
Introduction to Servlets: Common Gateway Interface (CGt), Life cycle of a Servlet, deploying a
servlet, The Servlet API, Reading Servlet parameters, Reading Initialization parameters, Handling Http
Request & Responses, Using Cookies and Sessions, connecting to a database using JDBC.
UNIT - IV
Introduction to JSP: The Anatomy of a JSP Page, JSP Processing, Declarations, Directives,
Expressions, Code Snippets, implicit objects, Using Beans in JSP Pages, Using Cookies and session
for session tracking, connecting to database in JSP.
UNIT - V
Client-side Scripting: Introduction to Javascript, Javascript language – declaring variables, scope of
variables, functions. event handlers (onclick, onsubmit etc.), Document Object Model, Form validation.
TEXT BOOKS:
1. Web Technologies, Uttam K Roy, Oxford University Press
2. The Complete Reference PHP — Steven Holzner, Tata McGraw-Hill
REFERENCE BOOKS
1. Web Programming, building internet applications, Chris Bates 2″ edition, Wiley Dreamtech
KOMMURI PRATAP REDDY INSTITUTE OF TECHNOLOGY
Faculty Name: Mrs.M. Aparna Year / Sem: III/I Academic Year: 2021-22
w.e.f. 06-Sep-2021
L. No Name of the Topic Plan Date Actual Date Remarks
1 Unit 2: HTML Common Tags- 06-09-21 07-09-21
Introduction
2 List 07-09-21 07-09-21
28
File Handling in PHP:
File operations like opening, closing,
reading, writing, appending, deleting etc 23-11-21 22-11-21
on text and binary files, Listing
Directories
Text Books:
KOMMURI PRATAP REDDY INSTITUTE OF TECHNOLOGY
DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING
Reference Book:
1. Web Programming, building internet applications, Chris Bates 2 edition, Wiley Dreamtech
2. Java Server Pages – Hans Bergsten, SPD O’Reilly
3. Java Script, D. Flanagan
4. Beginning Web Programming – Jon Duckett WROX.
Web references:
1. https://www.geeksforgeeks.org/html-tutorials/
2. https://www.geeksforgeeks.org/php-tutorials/
3. https://www.tutorialspoint.com/jsp/index.htm
4. https://www.javatpoint.com/servlet-tutorial
5. https://www.javatpoint.com/javascript-tutorial
Idea:
To make students discuss a given topic.
Implementation:
PPT Presentation
Slides Prepared for the selected topics in subject
Diagrammatical explanation given with the PPT
Select topic
Students are divided into three groups.
Each group is assigned a name based on topic selected.
Students are asked to give their views on the concept.
They are asked to prepare and give seminars on the given topics.
Outcome:
Active participation of students.
Assignment-I
Given Date: 02-11-2021 Submission Date: 08-11-2021
R A A 0
Objective Exam
Answer All Questions. All Questions Carry Equal Marks. Time: 20 Min. Marks: 10.
A. Drek Kolkevi
B. List Barely
C. Rasmus Lerdorf
A. create cookie()
B. set cookie()
C. make cookie()
3.Which of the following is the correct way to open the file “sample.txt” as readable?
( )
A. fopen(“sample.txt”,”r”);
B. fopen(“sample.txt”,”r+”);
KOMMURI PRATAP REDDY INSTITUTE OF TECHNOLOGY
C. fopen(“sample.txt”,”read”);
D. fopen(“sample.txt”);
<?php
$a;
if($a)
{
echo “hi”;
}
else
{
echo “How are you”;
}?>
C. hi
A. $season = array[“summer”,”winter”,”spring”,”autumn”];
B. $season = array(“summer”,”winter”,”spring”,”autumn”);
C. $season = “summer”,”winter”,”spring”,”autumn”;
A. Head,Title,HTML,body
B. HTML,Body,Title,Head
C. HTML,Head,Body,Title
D. HTML,Head,Title,Body
7. <input> is ____________. ( )
A. a format tag
B. an empty tag
A. ATLIST
B.?ATLIST
C. !ATLIST
D. #ATLIST
A. XMLNS
B. XmlNameSpace
C. Xmlns
D. XmlNs
A. \
B. !
C. /
D. .
3. What is datatype________________________.
-oOo-
KOMMURI PRATAP REDDY INSTITUTE OF TECHNOLOGY
R A A 0
Code No: CS504PC
KOMMURI PRATAP REDDY INSTITUTE OF TECHNOLOGY-GHATKESAR
III B.Tech I Sem. II Mid-Term Examinations, February-2022
Objective Exam
1. All jsp pages are required to be mapped and configured in web xml ( )
A. True
B. False
2. Which of the following is a server side technology? ( )
A. HTML
B. JSP
C. JAVASCRIPT
D. CSS
3. Which one of the following is the correct way for calling the javascript code ( )
A. preprocessor
B. triggering event
C. RMI
D. function / method
4. If JSP is to generate a xml page what attribute of page directive it should use ( )
A. content XML
B. generate XML
C. type XML
D. content Type
5. Which type of javascript language is______ ( )
A. Object-oriented
B. Object-based
C. Assembly language
D. High level language
6. Which of the following is the correct o/p for the following javascript code ( )
var x=5, y=1
KOMMURI PRATAP REDDY INSTITUTE OF TECHNOLOGY
var obj={x:10}
with(obj)
{
alert(y)
}
A. 1
B. error
C. 10
D. 5
Cont…..2
9. Which of the following way can be used to keep track of previous client request ( )
A. using cookies
B. using hidden form fields
C. using URL rewriting
D. all of the above
-oOo-
KOMMURI PRATAP REDDY INSTITUTE OF TECHNOLOGY