0% found this document useful (0 votes)
26 views

Web Technology QUESTION BANK _copy

The document outlines the syllabus for a Web Technology course (BCS-403), covering topics such as web development strategies, core Java, web page design using HTML and CSS, scripting with JavaScript, server-side programming with JSP and Servlets, and PHP. It includes course objectives, expected outcomes, suggested reference books, and a model question paper with various types of questions. The course aims to equip students with skills for developing web applications and understanding client-server architecture.

Uploaded by

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

Web Technology QUESTION BANK _copy

The document outlines the syllabus for a Web Technology course (BCS-403), covering topics such as web development strategies, core Java, web page design using HTML and CSS, scripting with JavaScript, server-side programming with JSP and Servlets, and PHP. It includes course objectives, expected outcomes, suggested reference books, and a model question paper with various types of questions. The course aims to equip students with skills for developing web applications and understanding client-server architecture.

Uploaded by

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

BCS-403 Web Technology 3L-T-2P CREDIT -4

SYLLABUS

Unit 1: Introduction:
Introduction and Web Development Strategies, History of Web and Internet, Protocols governing Web,
Writing Web Projects, Connecting to Internet, Introduction to Internet services and tools, Introduction
to client-server computing.
Core Java: Introduction, Operator, Data type, Variable, Arrays, Methods & Classes, Inheritance, Package
and Interface, Exception Handling, Multithread programming, I/O, Java Applet, String handling, Event
handling, Introduction to AWT, AWT controls, Layout managers.

Unit 2: Web Page Designing:


HTML: list, table, images, frames, forms, CSS, Document type definition, XML: DTD, XML schemes, Object
Models, presenting and using XML, Using XML Processors: DOM and SAX, Dynamic HTML.

Unit 3: Scripting:
Java script: Introduction, documents, forms, statements, functions, objects; introduction to AJAX, VB
Script, Introduction to Java Beans, Advantage, Properties, BDK, Introduction to EJB, Java Beans API.

Unit 4: Server Site Programming:


Introduction to active server pages (ASP), Introduction to Java Server Page (JSP), JSP Application Design,
JSP objects, Conditional Processing, Declaring variables and methods, Sharing data between JSP pages,
Sharing Session and Application Data, Database Programming using JDBC, development of java beans in
JSP, Introduction to Servelets, Lifecycle, JSDK, Servlet API, Servlet Packages, Introduction to
COM/DCOM/CORBA

Unit 5: PHP (Hypertext Preprocessor):


Introduction, syntax, variables, strings, operators, if-else, loop, switch, array, function, form, mail, file
upload, session, error, exception, filter, PHP-ODBC,

Objectives of the course:


1. On completion of this course, a student will be familiar with client server architecture .
2. He /she will be able to develop a web application using java technologies. Students will
gain the skills .
3. Will gain project-based experience needed for entry into web application and development
careers.

Suggested reference books:


1. Ramesh Bangia, “Internet and Web Design” , New Age International
2. Ivan Bayross,” HTML, DHTML, Java Script, Perl & CGI”, BPB Publication
3. Deitel, “Java for programmers”, Pearson Education
4. Chris Bates, “Web Programing Building Internet Applications”, 2nd Edition, WILEY, Dreamtech
5. Joel Sklar , “Principal of web Design” Vikash and Thomas Learning.

Model Question Paper

For Undergraduate Programs

Institute of Engineering and Technology, Khandari, Agra

Course Name: Web Technology

Course Code: BCS-403

Branch: CSE 𝟕𝒕𝒉 Semester


Course Outcomes:
Course Outcomes Expected:
CO1: Students are able to develop a dynamic webpage by the use of java script and
DHTML.
CO2 : Students will be able to write a well formed / valid XML document.
CO3 : Students will be able to connect a java program to a DBMS and perform insert,
update and delete operations on DBMS table.
CO4 :Students will be able to write a server side java application called Servlet to catch
form data sent from client, process it and store it on database.
CO5: Students will be able to write a server side java application called JSP to catch form
data sent from client and store it on database.

UNIT -I
Q.NO Mcq Type question Marks CO BL PO
1 co1 L1 1,5,
1. W3C stands for
a) World Wide Web Consortium
b) World Wide Web
Collaboration
c) World Wide Web Community
d) None of the mentioned
2 co1 L1 1,5,10
2. Which program is used by
web clients to view the
web pages?
a) Web browser
b) Protocol
c) W eb server
Search Engine

3 3. World Wide Web co1 L1 1,3,5


a) is another name for internet
b) world wide connection for
computers
c) a collection of linked
information residing on
computers connected by the
internet
d) a collection of world wide
information

4 4. A search engine is a program to co1 L1 1,5


search
a) for information
b) web pages
c) web pages for specified index
terms
d) web pages for information
using specified search terms

5 co1 L1 1,5,9
5. Correct HTML tag for largest

heading is:
a) Head
b) h6
c) heading
d) h1

TRUE /FALSE Questions


6. Web-based systems are often Co1 L1 1,5,9
document-oriented containing
static or dynamic content.
a) True
b) False

7 The Internet and the World Co1 L1 1,10


Wide Web are essentially
the same thing.

a) True
b) False

8 HTML5 is more strict about syntax Co1 L1 1,5


details than earlier versions of
HTML.

a) True
b) False
9 E-mail is still the most Co1 L1 1,3
popular online
communication technology.

a) True
b) False

10 Co1 L1 1,5
speed, consistency,
effectiveness, efficiency, and
reliability are all benefits of
information technology.

a) True
b) False

Short answer Type questions


Q.NO Type questions Marks CO BL PO
11 Differentiate between web browser and Co1 L2 1,5,10,11
web server.

12 Describe the various layers with Co1 L4 1,5


functions in TCP/IP model.

13 What are cyber laws? Why are cyber Co1 L2 1,5,10,11


laws required?
14 Explain WWW Co1 L2 1,5,9,10

15 What is the OSI model ? Co1 L2 1,9,10

Long Answer Type Questions


16 What are protocols? Explain the Co1 L2 1,5,10,11
protocols which governs web.

17 Define the following with suitable examples: Co1 L1 1,5,10

I ) Web applications

II ) Target users

III) Web team

IV) Domain Name System (DNS).

18 Explain the 7 Layers of OSI model Co1 L2 1,5,10,

19 Explain the following terms Co1 L3 1,5,9,10

i) www
ii) protocol
iii) reliability

20 Explain the client-server architecture. Co1 L2 1,5,9,10

Unit –II
Q.NO Mcq Type question Marks CO BL PO
21 What does XML stand for? Co2 L1 1,3,9
A. eXtra Modern Link
B. eXtensible Markup Language
C. Example Markup Language
D. X-Markup Language
22 What is the correct syntax of the declaration Co2 L1 1,3,5,9
which defines the XML version?:
A. <xml version="A.0" />
B. <?xml version="A.0"?>
C. <?xml version="A.0" />
D. None of the above

23 The attribute of <form > tag Co2 L1 1,5,6

A. Method
B. Action
C. Both (A) & (B)
D. None of these

24 Markup tags tell the web browser Co2 L1 1,5,6

A. How to organise the page


B. How to display the page
C. How to display message box on page
D. None of these

25 HTML is a subset of Co2 L1 1,5,

A. SGMT
B. SGML
C. SGMD
D. None of thses
TRUE /FALSE Questions
26 We can frame our own XML tags. Co2 L1 1,5
A. True
B. False
27 XML is designed to self-destructive. Co2 L1 1,5
A. True
B. False
28 Hyperlinks can be used in text and images both. Co2 L1 1,5
A. True
B. False
29 Padding can be negative Co2 L1 1,5,6
A. True
B. False
30 By default, properties in CSS are inherited from Co2 L1 1,5,6
parent element to child element.
A. True
B. False

Short answer Type questions


Q.NO Type question Marks CO BL PO
31 What are Attributes in HTML? Co2 L1 1,5

32 Define the HTML Layout. Co2 L2 1,5,6

33 How to use CSS selectors? Co2 L2 1,5

34 What is difference between padding and Co2 L2 1,5,6,9


margin?
35 What are the feature of xml ? Co2 L1 1,5,6,9,10

Long answer Type questions


Q.NO Type question Marks CO BL PO
36 What is the difference between HTML and Co2
XLM? , and what are the benefits of XML ?
37 What are two types of Web Storage in Co2
HTML5? Explain each.
38 What are style sheets? , How to insert an Co2
external CSS file into web page?
39 How do you create links to sections within Co2
the same page?
40 What are some of the common lists that Co2
can be used when designing a page?

UNIT-III
Q.NO Type question Marks CO BL PO
41 Which type of JavaScript language is ______ Marks Co3 L3 1,5,9,11
A. Object-Oriented
B. Object-Based
C. Assembly-language
D. High-level

42 Which one of the following also known as Co3 L3 1,5,9,11


Conditional Expresion:
A. Alternative to if-else
B. Switch statement
C. If-then-else statement
D. Immediate if
43 The “function” and “var” are known as : Co3 L3 1,5,9,11
A. Keywords
B. Data types
C. Declaration statements
D. prototypes
44 Which one of the following is the L3 1,5,9,
correct way far calling the JavaScript
code?

A. Preprocessor
B. Triggering Event
C. RMI
D. Function/Method

45 Which of the following type of a variable is Co3 L1 1,5,9,11


volatile?
A. Mutable variable
B. Dynamic variable
C. Volatile variable
D. Immutable variable

TRUE /FALSE Questions


46 JavaScript is an object-oriented language Co3 L1 1,5,9,
A. True
B. False
47 Division by zero is not considered as error in Co3 L1 1,5,9
JavaScript
A. True
B. False

48 valueOf function returns the value of the Co3 L1 1,5,9


number?
A. True
B. False
49 Co3 L1 1,5,9,
Function calling is used for the calling the
function definition expression:
A. True
B. False
50 Co3 L1 1,5,9,
Invocation expression is used for the calling
or a method in the JavaScript:

A. True
B. False

Short answer Type Questions


Q.NO Type question Marks CO BL PO
51 Marks Co3 L4 1,5,9,
What are the different data types
present in javascript?

52 Co3 L2 1,5,9,10,11
How can the style/class of an element be
changed ?

53 Difference between "==" and "==="? Co3 L2 1,5,9,

54. What do you mean by NULL in Javascript? Co3 L2 1,5,9,


55 What are all the types of Pop up boxes Co3 L3 1,5,9,10,11
available in JavaScript?
Long Answer Type Questions
56 What are the different types of errors in Co3 L4 1,5,9
JavaScript?
57 What is namespacing in JavaScript, and Co3 L2 1,5,9,10,11
how is it used?
58 How to use Loop in JavaScript? Co3 L3 1,5,9,10,11
59 What are the important JavaScript Array Co3 L3 1,5,9,10,11
Method explain with example?
60 What is DOM in JavaScript? How to use Co3 L3 1,5,9,10,11
DOM and Events?

UNIT –IV
Q.N Mcq Type question Marks CO BL PO
O
61 Which of the following protocol is used for Marks Co4 L1 1,5,9,10
web page browsing ?

A. https
B. http
C. ftp
D. none of these
62 Which html tag can be used to send Co4 L1 1,5,9,10,11
the request to servlet?

A. <action>
B. <form>
C. <input>
D. All of these

63 which method doesn’t exists in Co4 L1 1,5,9,10


HttpsServlet class?
A. service
B. init
C. doGet
D. doPost
64 Which life-cycle method makes the servlet for Co4 L1 1,5,9,10,11
garbage collection?
A. init
B. service
C. system.gc
D. destroy

65 Which method is called when client request Co4 L1 1,5,10,


come?
A. get()
B. post()
C. init()
D. service()
True/False Questions
66 Web server serves only static page Co4 L1 1,5
A. True
B. False
67 A JSP page process HTML FORM data Co4 L1 1,5,10
A. True
B. False
68 All servlet classes are required to be mapped Co4 L1 1,5
and configured in web.xml
A. True
B. False
69  What is the default value of isScriptingEnabled Co4 L1 1,5,10,11
attribute?
A. True
B. False
70 What is the default value of autoFlush in JSp? Co4 L1 1,5,10,11
A. True
B. False

Short answer Type questions


Q.NO Type qestion Marks CO BL PO
71 What are the JSP implicit objects? Marks Co4 L2 1,5

72 How can we handle the exceptions in JSP? Co4 L2 1,9,10

73 What is the life-cycle of a servlet? Co4 L4 1,5,9,10

74 Who is the responsible to create the object of Co4 L2 1,5,9,11


servlet?
75 What is the session trackning? Co4 L2 1,5,10,11

Long Answer Type Questions


76 What are the life-cycle methods for a Co4 L3 1,5,9,10,11
servlet?
77 Explain the type of JDBC drivers. Co4 L3 1,5,9,10,11

78 Explain Java Beans API and Servlet API. Co4 L2 1,5,10

79 What are Cookies? , what is difference Co4 L3 1,5,9,10,11


cookies and HttpSession?

80 What is EJB? Explain the architecture of Co4 L2 1,5,9,10,11


EJB.
Unit-V

Q.N Mcq Type qestion Marks CO BL PO


O
81 PHP is a ______ language? Marks Co5 L1 1,5
A. User-side scripting
B. Client-side scripting
C. Server-side scripting
D. Both B and C

82 The term PHP is an acronym for PHP: Co5 L1 1,5


______________.
A. Hypertext Preprocessor
B. Hypertext Multiprocessor
C. Hypertext markup Preprocessor
D. Hypertune Preprocessor

83 PHP files have a default file extension of Co5 L1 1,5,9


______.
A. .html
B. .xml
C. .php
D. .hphp

84 Which of the following is the correct syntax of Co5 L1 1,5,10,11


php?
A. <?php>
B. <php>
C. ?php?
D. <?php?>
85 Any variables declared in PHP must being Co5 L1 1,5,9,10
with a _____ ?
A. .
B. #
C. &
D. $
TRUE /FALSE Questions
86 PHP variables are case-sensitive? Co5 L1 1,5
A. True
B. False
87 PHP is an open source software Co5 L1 1,9
A. True
B. false
88 In PHP , a class can be inherited from one base Co5 L1 1,5
class and with multiple base classes.
A. True
B. False
89 To create instance of class “new” keyword is Co5 L1 1,5,9,
not required
A. True
B. False
90 $this is a reference to the calling object Co5 L1 1,5,11
A. True
B. False

Short Answer Type questions


Q.NO Type question Marks CO BL PO
91 Which programming language does PHP Marks Co5 L2 1,5,9
resemble?
92 How can PHP and HTML interact? Co5 L2 1,5

93 What is the main difference between Co5 L2 1,10,11


require() and require_once()?
94 How can I display text with a PHP script? Co5 L2 1,5,9
95 How can we connect to a MySQL database Co5 L2 1,5,9,10,11
from a PHP script?
Long Answer Type Questions
96 How is it possible to cast types in PHP? Co5 L4 1,5,9,10,1
1,
97 What does $_FILES means? , What is Co5 L4 1,5,9
the difference between
$_FILES['userfile']['name'] and
$_FILES['userfile']['tmp_name']?
98 what is the difference between for and Co5 L2 1,5,10
foreach?
99 What is the difference between $ var and $$ Co5 L2 1,5,10
var?
100 What are the differences between GET and Co5 L2 1,5,10,11
Post methods

You might also like