SlideShare a Scribd company logo
1 of 1
Download to read offline
NATIONAL INSTITUTE OF TECHNOLOGY JAMSHEDPUR
AUTUMN SEMESTER 2016-17
Department of Computer Science and Engineering
End Semester Examination
Course Code: CS704A B.Tech. 7th
Semester Course Title: Web Technology
Date: 05/12/2016 Course Instructor: Ansuman Mahapatra
Duration: 3 Hours Maximum Marks: 40
All Questions are compulsory. Read Q2 completely then write the code..
1. Justify each answer with suitable example. [2×5]
a. What are cookies? How they are different from sessions?
b. How to merge and split a cell in html table?
c. Write a JS code to search a substring “is”, in a sentence and replace it to “are”.
d. Write a CSS code to change text colour of a line when mouse hover.
e. Write a code to sort a XML document containing student information by student name.
2. Use HTML, JavaScript, CSS, PHP, SQL to design the following services. [5+5+5+5+6]
a. Use PHP to create a CSE student database having a table with schema; std (roll_no, name, semester,
sex, grade, reg_status, phone_no, email_id, profile_pic).
b. Design a login page for an administrator. Assume database contains admin’s login data.
c. After login admin may do following operations;
i. Create a HTML form which will take information about a student. It has following form elements;
• Name, Roll, grade, phone number, e-mail id as textboxes
• Male and Female radio buttons
• Semester information can be provided by drop-down list
• Registration status for a semester using radio button
ii. Apply validations on each n each of the above field at client-side before posting it to server.
iii. After posting the form the data will be checked for validation at server-side and then inserted into
the database. Display error or success message to the client after this operation.
iv. Create a search box to search any student from the database based on roll number.
v. Admin can see retrieve the whole database into a php page as tabular format and can delete any
student’s information from the database. Provide checkbox for each record/row to select for
deletion and a delete button. Before deletion ask admin to enter its admin password.
d. Admin wants to perform the following report generation operations;
i. Display the student’s name and roll number who are not yet registered.
ii. Display the student’s name and roll number who aren’t eligible to sit in campus.
e. Create a student login portal. Students may do following operations after login;
i. check their grades
ii. update new phone number and e-mail id
iii. upload a photo to set as their profile picture
3. Assume we have stored the above SQL student database in a XML file. Write a XSLT code to find students
who have not yet registered. [4]
-------------------------------------

More Related Content

What's hot (20)

Learn react-js
Learn react-jsLearn react-js
Learn react-js
 
Ms sql-server
Ms sql-serverMs sql-server
Ms sql-server
 
MYSQL.ppt
MYSQL.pptMYSQL.ppt
MYSQL.ppt
 
Introduction to MERN Stack
Introduction to MERN StackIntroduction to MERN Stack
Introduction to MERN Stack
 
Hibernate Presentation
Hibernate  PresentationHibernate  Presentation
Hibernate Presentation
 
Authentication and Authorization in Asp.Net
Authentication and Authorization in Asp.NetAuthentication and Authorization in Asp.Net
Authentication and Authorization in Asp.Net
 
Object Oriented Programming In JavaScript
Object Oriented Programming In JavaScriptObject Oriented Programming In JavaScript
Object Oriented Programming In JavaScript
 
Introduction to ReactJS
Introduction to ReactJSIntroduction to ReactJS
Introduction to ReactJS
 
JavaScript - Chapter 12 - Document Object Model
  JavaScript - Chapter 12 - Document Object Model  JavaScript - Chapter 12 - Document Object Model
JavaScript - Chapter 12 - Document Object Model
 
WEB DEVELOPMENT USING REACT JS
 WEB DEVELOPMENT USING REACT JS WEB DEVELOPMENT USING REACT JS
WEB DEVELOPMENT USING REACT JS
 
React js
React jsReact js
React js
 
Introduction to React JS
Introduction to React JSIntroduction to React JS
Introduction to React JS
 
ASP.NET Basics
ASP.NET Basics ASP.NET Basics
ASP.NET Basics
 
Nodejs presentation
Nodejs presentationNodejs presentation
Nodejs presentation
 
SQL commands
SQL commandsSQL commands
SQL commands
 
Database design and Development
Database design and DevelopmentDatabase design and Development
Database design and Development
 
Database performance tuning and query optimization
Database performance tuning and query optimizationDatabase performance tuning and query optimization
Database performance tuning and query optimization
 
JSON: The Basics
JSON: The BasicsJSON: The Basics
JSON: The Basics
 
Dbms lab questions
Dbms lab questionsDbms lab questions
Dbms lab questions
 
Stored procedure
Stored procedureStored procedure
Stored procedure
 

Similar to Web Technology End semester Examination Questions

MICROPROJECT_CSS resume.pdf client side scripting
MICROPROJECT_CSS resume.pdf client side scriptingMICROPROJECT_CSS resume.pdf client side scripting
MICROPROJECT_CSS resume.pdf client side scriptingvaijenathphad15
 
2. DD-sample.docx
2. DD-sample.docx2. DD-sample.docx
2. DD-sample.docxdpgdpg
 
Project Management (Practical Qustion Paper) [CBSGS - 75:25 Pattern] {April -...
Project Management (Practical Qustion Paper) [CBSGS - 75:25 Pattern] {April -...Project Management (Practical Qustion Paper) [CBSGS - 75:25 Pattern] {April -...
Project Management (Practical Qustion Paper) [CBSGS - 75:25 Pattern] {April -...Mumbai B.Sc.IT Study
 
student application form Java Netbeans
student application form Java Netbeansstudent application form Java Netbeans
student application form Java Netbeansreshmajohney
 
Project Management (2017) slip question (MUM University)
Project Management (2017) slip question (MUM University)Project Management (2017) slip question (MUM University)
Project Management (2017) slip question (MUM University)Satyendra Singh
 
Amit Resume DOT-NET
Amit Resume DOT-NETAmit Resume DOT-NET
Amit Resume DOT-NETAmit Kumar
 
Amit Resume DOT-NET
Amit Resume DOT-NETAmit Resume DOT-NET
Amit Resume DOT-NETAmit Kumar
 
Presentation of database management system
Presentation of database management systemPresentation of database management system
Presentation of database management systemMd. Touhidur Rahman
 
SwatiNaikResumeAug2016
SwatiNaikResumeAug2016SwatiNaikResumeAug2016
SwatiNaikResumeAug2016swati Naik
 
GTU IT Sem4 Internet Techology 3341604
GTU IT Sem4 Internet Techology 3341604GTU IT Sem4 Internet Techology 3341604
GTU IT Sem4 Internet Techology 3341604Sanjay Mate
 
Assessment
AssessmentAssessment
Assessmentlnowak
 
Assessment Lite
Assessment LiteAssessment Lite
Assessment Litelnowak
 
BISH CS Modle Exit Exam.doc
BISH CS Modle Exit Exam.docBISH CS Modle Exit Exam.doc
BISH CS Modle Exit Exam.docAnimutGeremew3
 
Mc0081 .(dot)net technologies
Mc0081  .(dot)net technologiesMc0081  .(dot)net technologies
Mc0081 .(dot)net technologiessmumbahelp
 

Similar to Web Technology End semester Examination Questions (20)

MICROPROJECT_CSS resume.pdf client side scripting
MICROPROJECT_CSS resume.pdf client side scriptingMICROPROJECT_CSS resume.pdf client side scripting
MICROPROJECT_CSS resume.pdf client side scripting
 
YC
YCYC
YC
 
Mcs 014 solved assignment 2015-16
Mcs 014 solved assignment 2015-16Mcs 014 solved assignment 2015-16
Mcs 014 solved assignment 2015-16
 
2. DD-sample.docx
2. DD-sample.docx2. DD-sample.docx
2. DD-sample.docx
 
CURRICULUM VITAE new
CURRICULUM VITAE newCURRICULUM VITAE new
CURRICULUM VITAE new
 
Project Management (Practical Qustion Paper) [CBSGS - 75:25 Pattern] {April -...
Project Management (Practical Qustion Paper) [CBSGS - 75:25 Pattern] {April -...Project Management (Practical Qustion Paper) [CBSGS - 75:25 Pattern] {April -...
Project Management (Practical Qustion Paper) [CBSGS - 75:25 Pattern] {April -...
 
student application form Java Netbeans
student application form Java Netbeansstudent application form Java Netbeans
student application form Java Netbeans
 
OCSS_PPT.ppt
OCSS_PPT.pptOCSS_PPT.ppt
OCSS_PPT.ppt
 
Project Management (2017) slip question (MUM University)
Project Management (2017) slip question (MUM University)Project Management (2017) slip question (MUM University)
Project Management (2017) slip question (MUM University)
 
Amit Resume DOT-NET
Amit Resume DOT-NETAmit Resume DOT-NET
Amit Resume DOT-NET
 
Amit Resume DOT-NET
Amit Resume DOT-NETAmit Resume DOT-NET
Amit Resume DOT-NET
 
Presentation of database management system
Presentation of database management systemPresentation of database management system
Presentation of database management system
 
Mmt 001
Mmt 001Mmt 001
Mmt 001
 
SwatiNaikResumeAug2016
SwatiNaikResumeAug2016SwatiNaikResumeAug2016
SwatiNaikResumeAug2016
 
Rohini_2.7 Exp
Rohini_2.7 ExpRohini_2.7 Exp
Rohini_2.7 Exp
 
GTU IT Sem4 Internet Techology 3341604
GTU IT Sem4 Internet Techology 3341604GTU IT Sem4 Internet Techology 3341604
GTU IT Sem4 Internet Techology 3341604
 
Assessment
AssessmentAssessment
Assessment
 
Assessment Lite
Assessment LiteAssessment Lite
Assessment Lite
 
BISH CS Modle Exit Exam.doc
BISH CS Modle Exit Exam.docBISH CS Modle Exit Exam.doc
BISH CS Modle Exit Exam.doc
 
Mc0081 .(dot)net technologies
Mc0081  .(dot)net technologiesMc0081  .(dot)net technologies
Mc0081 .(dot)net technologies
 

Recently uploaded

PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptxPoojaSen20
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersChitralekhaTherkar
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 

Recently uploaded (20)

PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptx
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of Powders
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 

Web Technology End semester Examination Questions

  • 1. NATIONAL INSTITUTE OF TECHNOLOGY JAMSHEDPUR AUTUMN SEMESTER 2016-17 Department of Computer Science and Engineering End Semester Examination Course Code: CS704A B.Tech. 7th Semester Course Title: Web Technology Date: 05/12/2016 Course Instructor: Ansuman Mahapatra Duration: 3 Hours Maximum Marks: 40 All Questions are compulsory. Read Q2 completely then write the code.. 1. Justify each answer with suitable example. [2×5] a. What are cookies? How they are different from sessions? b. How to merge and split a cell in html table? c. Write a JS code to search a substring “is”, in a sentence and replace it to “are”. d. Write a CSS code to change text colour of a line when mouse hover. e. Write a code to sort a XML document containing student information by student name. 2. Use HTML, JavaScript, CSS, PHP, SQL to design the following services. [5+5+5+5+6] a. Use PHP to create a CSE student database having a table with schema; std (roll_no, name, semester, sex, grade, reg_status, phone_no, email_id, profile_pic). b. Design a login page for an administrator. Assume database contains admin’s login data. c. After login admin may do following operations; i. Create a HTML form which will take information about a student. It has following form elements; • Name, Roll, grade, phone number, e-mail id as textboxes • Male and Female radio buttons • Semester information can be provided by drop-down list • Registration status for a semester using radio button ii. Apply validations on each n each of the above field at client-side before posting it to server. iii. After posting the form the data will be checked for validation at server-side and then inserted into the database. Display error or success message to the client after this operation. iv. Create a search box to search any student from the database based on roll number. v. Admin can see retrieve the whole database into a php page as tabular format and can delete any student’s information from the database. Provide checkbox for each record/row to select for deletion and a delete button. Before deletion ask admin to enter its admin password. d. Admin wants to perform the following report generation operations; i. Display the student’s name and roll number who are not yet registered. ii. Display the student’s name and roll number who aren’t eligible to sit in campus. e. Create a student login portal. Students may do following operations after login; i. check their grades ii. update new phone number and e-mail id iii. upload a photo to set as their profile picture 3. Assume we have stored the above SQL student database in a XML file. Write a XSLT code to find students who have not yet registered. [4] -------------------------------------