You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
System Analysis and Design Prof. V.Rajaraman<br />
System Analysis and Design/Documents on Web Learning Objectives<br />
Learning Objectives<br />
Indian Institute of Science Bangalore<br />
The basic technology used to build the internet<br />
How the world wide web uses the internet<br />
How documents are specified using HTML<br />
The distinction between presentation and structure of documents<br />
How documents are specified in XML<br />
V. Rajaraman/IISc. Bangalore //V1/Jan 05/1
System Analysis and Design Prof. V.Rajaraman<br />
System Analysis and Design/Documents on Web Motivation<br />
Motivation<br />
Indian Institute of Science Bangalore<br />
We examined in the last module how documents are formatted and printed using a<br />
computer.<br />
Documents in that context meant results computed by a computer.<br />
In a more general context one should look at also documents which are to be<br />
disseminated via the world wide web.<br />
Besides dissemination one should also consider possibility of reading values from<br />
documents stored in remote computers and processing them for various purposes.<br />
The need to exchange documents electronically and processing them have gained<br />
importance since the emergence of e-commerce.<br />
To understand the need to distribute documents electronically we should first<br />
understand how computers are connected together and communicate in an orderly<br />
fashion among themselves.<br />
Thus we will first examine very briefly the internet and the World Wide Web which<br />
uses the internet infrastructure.<br />
V. Rajaraman/IISc. Bangalore //V1/Jan 05/1
The internet<br />
and<br />
The World Wide Web<br />
V.Rajaraman SAD/M<strong>11</strong>/LU1/V1/2004<br />
1
Computer Networks<br />
Now-a-days no computer has an isolated existence<br />
Computers in an organization are interconnected by local area<br />
networks (LAN)<br />
Home computers are connected to Public Switched Telephone<br />
Network (PSTN) which provide a connection to an Internet<br />
Service Provider (ISP)<br />
LANs of organizations connected to LANs of other<br />
organizations via PSTN using routers<br />
V.Rajaraman SAD/M<strong>11</strong>/LU1/V1/2004<br />
2
Logical Network-internet<br />
• Internet is the network of networks and interconnects millions of<br />
computers all over the world<br />
• Internet is used to exchange electronic mail, exchange files and<br />
log into remote computers<br />
• Common set of rules used by computers connected to the internet<br />
to communicate - called Internet Protocol (IP)<br />
V.Rajaraman SAD/M<strong>11</strong>/LU1/V1/2004<br />
3
Logical Network-internet<br />
• Each computer connected to the<br />
internet has a unique address<br />
called IP address<br />
• IP address is 4 bytes long<br />
• IP addresses are a scarce resource<br />
V.Rajaraman SAD/M<strong>11</strong>/LU1/V1/2004<br />
4
Internet-continued<br />
• IP address converted to strings of characters which are easy to<br />
remember<br />
• Group of characters combined as domains<br />
•Hierarchy of addressing facilitates expansion<br />
V.Rajaraman SAD/M<strong>11</strong>/LU1/V1/2004<br />
5
Internet (Contd)<br />
•Internet breaks up messages sent from source to destination<br />
into a number of packets<br />
•Packet structure :<br />
Control<br />
Bits for<br />
Checking<br />
Serial no<br />
Of the<br />
Packet<br />
Source<br />
Address<br />
Destination<br />
Address<br />
Message<br />
Header (20 bytes) Payload<br />
(upto 1kb)<br />
V.Rajaraman SAD/M<strong>11</strong>/LU1/V1/2004<br />
6
• Packets need not be of fixed length. Maximum<br />
length of a packet is 1 KB<br />
Internet (Contd)<br />
• Message packetised to allow different packets to go<br />
along different paths - called packet switching<br />
V.Rajaraman SAD/M<strong>11</strong>/LU1/V1/2004<br />
7
Packet Switching – Advantages And<br />
Disadvantages<br />
Each packet can pick free (cheapest) path to take<br />
Finally packets reassembled using serial no.<br />
Packet switching less expensive and adaptive as faulty paths can<br />
be avoided<br />
Major disadvantage of packet switching is the difficulty in<br />
predicting time taken by different packets to travel from source to<br />
destination<br />
V.Rajaraman SAD/M<strong>11</strong>/LU1/V1/2004<br />
8
Packet Switching – Advantages And<br />
Disadvantages<br />
Variable packet delivery time does not matter for e-mail and text<br />
files<br />
Speed unpredictability however reduces effectiveness of audio<br />
and video traffic<br />
Major advantage – diverse machines and LAN’s may be<br />
interconnected if they use common protocol called TCP/IP<br />
V.Rajaraman SAD/M<strong>11</strong>/LU1/V1/2004<br />
9
Intranet And Extranet<br />
A network of computers within an organization using TCP/IP<br />
protocol an use all internet facilities such as e-mail, file transfer,<br />
remote login etc –called an intranet or corporate intranet<br />
Two corporate intranets may be interconnected using a leased line<br />
from PSTN – such a network is called an extranet<br />
Extranet between cooperating organizations can provide internet<br />
services such as e-mail,file transfer among them<br />
V.Rajaraman SAD/M<strong>11</strong>/LU1/V1/2004<br />
10
World Wide Web Services<br />
• World Wide Web (WWW) is a world wide multimedia information<br />
service available on the internet<br />
• www contains web pages – created using a language called HTML<br />
(Hyper Text Markup Language)<br />
• HTML has features to embed links within web pages to point to other<br />
pages – we can thus navigate through links and search for required<br />
information<br />
V.Rajaraman SAD/M<strong>11</strong>/LU1/V1/2004<br />
<strong>11</strong>
World Wide Web<br />
• Web page located using a scheme known as Uniform<br />
Resource Locator(URL)<br />
Example of URL<br />
http://www.freesoft.org/connected/index.html<br />
Protocol used<br />
Domain name<br />
Of server<br />
Having web page<br />
Folder with<br />
Required<br />
information<br />
Required document formatted<br />
Using hypertext markup<br />
language<br />
• Web browsers is a program on one’s PC used to search for<br />
required information<br />
V.Rajaraman SAD/M<strong>11</strong>/LU1/V1/2004<br />
12
Search Engines<br />
• Browsers use search engines - that is programs which will navigate<br />
web pages using links<br />
• Navigation based on search terms given by user<br />
• All organizations now maintain web pages t o establish their "web<br />
presence"<br />
• Web presence important to publicize organization for primarily<br />
advertising their services<br />
V.Rajaraman SAD/M<strong>11</strong>/LU1/V1/2004<br />
13
Documents and the<br />
World Wide Web<br />
V.Rajaraman SAD/M<strong>11</strong>/LU2/V1/2004<br />
1
What Is A Document?<br />
A document has three parts<br />
1. Content: The string of characters normally coded in ASCII or<br />
UNICODE<br />
- A document now-a-days also includes, besides text,<br />
pictures, audio and video-all bit strings when digitized.<br />
- We will however be primarily concerned with textual<br />
data in this module.<br />
V.Rajaraman SAD/M<strong>11</strong>/LU2/V1/2004<br />
2
What Is A Document? (contd.)<br />
2. Presentation: How the data looks like to a human userpresentation<br />
may be on a video screen or on paper.<br />
3. Structure: Helps interpretation of data by a computer<br />
Information such as type of data (Numeric,<br />
Alphanumeric) and its nature, for example an invoice,<br />
a purchase order, a recipe etc.<br />
V.Rajaraman SAD/M<strong>11</strong>/LU2/V1/2004<br />
3
How Are Documents Processed By<br />
Computers<br />
Text processors add special annotations primarily to help format<br />
the resulting print outs<br />
Examples are: Paragraphing, Font selection, Placing titles,<br />
pagination,Tabulation etc.<br />
Examples: WORD, TEX etc.<br />
These are primarily presentation aids which take raw content and<br />
transform them to neat looking documents when displayed on<br />
VDU screen or printed on paper.<br />
They have no idea of the type of document and what they mean.<br />
V.Rajaraman SAD/M<strong>11</strong>/LU2/V1/2004<br />
4
Text Processing By Computers<br />
Word processors primarily used for applications such as<br />
-Preparation of manuals<br />
-Preparation of catalogues<br />
-Routine office correspondence<br />
-Desk top publishing<br />
Report Generators (Discussed in <strong>Module</strong>10) are special variety<br />
which use a special language to generate and format reports.<br />
These are primarily for linear texts and not meant for linked text<br />
known as hypertext<br />
V.Rajaraman SAD/M<strong>11</strong>/LU2/V1/2004<br />
5
Documents On World Wide Web<br />
In the world wide web documents located in many computers are<br />
linked<br />
Each document called a web page. Each web page has a unique<br />
path to retrieve it.<br />
Documents to be used in web pages need special annotations or<br />
markups mainly for formatting and for linking them to other<br />
documents in the web<br />
V.Rajaraman SAD/M<strong>11</strong>/LU2/V1/2004<br />
6
Documents On World Wide Web<br />
These annotations are called MARKUPS.<br />
As documents on the world wide web are linked to many<br />
documents they are called hypertext.<br />
The markup used to link documents called Hyperlink.<br />
V.Rajaraman SAD/M<strong>11</strong>/LU2/V1/2004<br />
7
Documents On World Wide Web<br />
• Web pages are retrieved from the host computers where<br />
they are located by a program called web browser<br />
running on a client.<br />
• Clients use a communication protocol called Hyper Text<br />
Transfer Protocol (HTTP) to retrieve web pages<br />
• HTTP recognizes a language called Hyper Text Markup<br />
Language (HTML)<br />
V.Rajaraman SAD/M<strong>11</strong>/LU2/V1/2004<br />
8
Hyper Text Markup Language<br />
An HTML Document has the following general layout<br />
{Version optional}<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
( ! Is symbol used for comments)<br />
V.Rajaraman SAD/M<strong>11</strong>/LU2/V1/2004<br />
9
Example Of An Html Documents<br />
<br />
<br />
Description of a book on Information Technology<br />
<br />
<br />
<br />
Introduction o Information technology <br />
A first level book in I.T <br />
Publisher : Prentice – Hall of India <br />
Year of publication: 2003 <br />
<br />
<br />
V.Rajaraman SAD/M<strong>11</strong>/LU2/V1/2004<br />
10
Display Of Html Document<br />
When the document is viewed using a browser it will appear as shown<br />
below<br />
Introduction to Information technology<br />
A first level book in I.T<br />
Publisher : Prentice – Hall of India<br />
Year of publication: 2003<br />
V.Rajaraman SAD/M<strong>11</strong>/LU2/V1/2004<br />
<strong>11</strong>
Explanation Of Tags In Html<br />
tells it is an HTML document<br />
End of HTML documents is indicated by <br />
version optional<br />
used to identify the document in the browsers title bar<br />
and is stored as the bookmark of this document<br />
, indicate headings. to available H1<br />
highest size bold face and H6 lowest<br />
indicates paragraphing<br />
Italics and bold face font<br />
Linking Documents<br />
HTML can link to documents in other files.For Example to link<br />
an image we use :<br />
<br />
IMG indicates image and src the source (Observe the tag IMG<br />
is standalone and does not have end tag <br />
HTML has feature to list items with serial number or bullets<br />
HTML can also display tables and forms<br />
HTML is as rich as some word processors.<br />
V.Rajaraman SAD/M<strong>11</strong>/LU2/V1/2004<br />
13
Hyperlinking Html Documents<br />
HTML allows a web page to refer to other web pages<br />
When a reference link in the page is clicked the browser switches<br />
to the referenced site.<br />
The specification is<br />
where A is called<br />
anchor tag.<br />
Linking can also be to other files<br />
Automatic conversion of word documents to HTML is possible<br />
using a tool<br />
V.Rajaraman SAD/M<strong>11</strong>/LU2/V1/2004<br />
14
Shortcomings of Html<br />
HTML is the earliest markup language which made it possible to<br />
retrieve documents stored in the world wide web<br />
HTML is primarily to facilitate presentation of contents of a web<br />
page.<br />
HTML does not have any means of specifying what the documents<br />
represents. Is it an invoice? A purchase order, book description etc.<br />
It also has no means of specifying the type of data to allow<br />
manipulation of data by browser.<br />
We thus need a markup language which is richer and is more<br />
descriptive of structure of a document and what it represents<br />
V.Rajaraman SAD/M<strong>11</strong>/LU2/V1/2004<br />
15
EXtensible Markup Language<br />
A document has CONTENT, it has a STRUCTURE and it needs to<br />
be PRESENTED for ease of reading<br />
Word processors and HTML emphasize presentation of content and<br />
have no means of specifying structure (or what the data actually<br />
represents)<br />
XML is a new markup language which is capable of specifying<br />
what a document really represents<br />
XML is a proper subset of an international standard known as<br />
STANDARD GENERALISED MARKUP LANGUAGE (SGML).It<br />
is open standard and not proprietary<br />
V.Rajaraman SAD/M<strong>11</strong>/LU2/V1/2004<br />
16
Parts Of XML System<br />
XML defines the structure of a document<br />
Unlike HTML it has tags which are user defined.This allows easy<br />
understanding of the nature of the document and assists in its<br />
processing.<br />
Formatting and presentation are not part of XML unlike HTML<br />
which has tags for bold face,italics etc.This is delegated to a<br />
companion language called XSL (Extensible Style Language).<br />
Linking documents to create hypertext is also not integrated in<br />
XML unlike HTML where tag is a general purpose linking tag.<br />
Much more powerful linking is enabled by separating it to a<br />
companion language called XLL (Extensible Link Language).<br />
V.Rajaraman SAD/M<strong>11</strong>/LU2/V1/2004<br />
17
Example Of XML Document<br />
• A purchase order is represented in XML as below<br />
< purchase_order ><br />
< order_no > B55567 <br />
< date><br />
< year > 2004 <br />
< month > 10 <br />
< day > 9 <br />
<br />
<br />
ABC Traders <br />
<br />
201 MG Road <br />
Bangalore <br />
560001 <br />
<br />
<br />
V.Rajaraman SAD/M<strong>11</strong>/LU2/V1/2004<br />
18
Example Of XML Document (Contd)<br />
<br />
C Programming <br />
ISBN 81-203-0859-X <br />
50 <br />
<br />
<br />
P-H India <br />
<br />
<br />
V.Rajaraman SAD/M<strong>11</strong>/LU2/V1/2004<br />
19
Example Of XML Document<br />
Observe that the tags used have a syntax similar to HTML. The<br />
tags are, however, meaningful to a human reader<br />
The XML definition clearly brings out the structure of an<br />
invoice.<br />
However to interpret such a document and process it by a<br />
computer a companion document called Document Type<br />
Definition (DTD) is needed.<br />
DTD has its own syntax . We give DTD for this XML document<br />
in the next transparency.<br />
V.Rajaraman SAD/M<strong>11</strong>/LU2/V1/2004<br />
20
Document Type Definition (DTD)<br />
DTD of XML document of <strong>11</strong>.2.15 is given below<br />
DTD Statements<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
V.Rajaraman SAD/M<strong>11</strong>/LU2/V1/2004<br />
21
Explanation Of Document Type Definition<br />
Each statement in DTD declares the elements of XML<br />
program<br />
states that purchase<br />
order is the top level element with one or more entry following<br />
it<br />
2 statements are introduced at the start of XML definition<br />
which specifies the version of XML and the file name of DTD<br />
specification<br />
V.Rajaraman SAD/M<strong>11</strong>/LU2/V1/2004<br />
22
Explanation Of Document Type<br />
Definition (contd.)<br />
• Assuming DTD is in a file purchase_order.dtd<br />
the declarations are<br />
<br />
<br />
• The tags used in XML definition are then<br />
specified.<br />
V.Rajaraman SAD/M<strong>11</strong>/LU2/V1/2004<br />
23
Explanation Of Document Type<br />
Definition<br />
Some Application Of XML<br />
XML’s main use is in creating documents for the World Wide<br />
Web which can be retrieved by browsers at client computers.<br />
User defined tags give several advantages including use in<br />
- Push Technology – In this application time varying data<br />
specified by users e.g. Hourly stock prices of specified shares<br />
are automatically sent to the client’s browser<br />
- Online banking – A standard XML format known as<br />
financial exchange initiative is used to obtain information such<br />
as bank statements.<br />
V.Rajaraman SAD/M<strong>11</strong>/LU2/V1/2004<br />
25
Some Application Of XML<br />
Software and database updates<br />
XML adaptable to many natural languages such as Kannada<br />
as it uses Unicode standard.<br />
Use in Scientific Publications – Markup languages based on<br />
XML have been developed for chemistry – CML (Chemistry<br />
Markup Language) and MML (Mathematical Markup<br />
Language)<br />
V.Rajaraman SAD/M<strong>11</strong>/LU2/V1/2004<br />
26
System Analysis and Design Prof. V.Rajaraman<br />
System Analysis and Design/Documents On Web Multiple Choice Questions<br />
<strong>11</strong>.1 Internet is<br />
Indian Institute of Science Bangalore<br />
a. a local computer network<br />
b. a world wide network of computers<br />
c. an interconnected network of computers<br />
d. a world wide interconnected network of computers which use a common<br />
protocol to communicate with one another<br />
<strong>11</strong>.2 The facilities available in the internet are<br />
a. i, ii<br />
b. i, ii, iii<br />
c. i, ii, iv<br />
d. ii, iii and iv<br />
<strong>11</strong>.3 Internet requires<br />
(i) electronic mail<br />
(ii) remote login<br />
(iii)file transfer<br />
(iv)word processing<br />
a. an international agreement to connect computers<br />
b. a local area network<br />
c. a commonly agreed set of rules to communicate between computers<br />
d. a World Wide Web<br />
<strong>11</strong>.4 Each computer connected to the internet must<br />
a. be an IBM PC<br />
b. have a unique IP address<br />
c. be internet compatible<br />
d. have a modem connection<br />
<strong>11</strong>.5 IP address is currently<br />
a. 4 bytes long<br />
b. available in plenty<br />
V. Rajaraman/IISc. Bangalore M<strong>11</strong>/V1/July 04/1
System Analysis and Design Prof. V.Rajaraman<br />
System Analysis and Design/Documents On Web Multiple Choice Questions<br />
c. 6 bytes long<br />
Indian Institute of Science Bangalore<br />
d. not assigned as it is all used up<br />
<strong>11</strong>.6 IP addresses are converted to<br />
a. a binary string<br />
b. alphanumeric string<br />
c. a hierarchy of domain names<br />
d. a hexadecimal string<br />
<strong>11</strong>.7 Internet addresses must always have at least<br />
a. i, ii, iii<br />
b. ii, iii, iv<br />
c. i, iii<br />
d. ii, iii, iv, v<br />
<strong>11</strong>.8 Internet uses<br />
a. Packet switching<br />
b. Circuit switching<br />
c. Telephone switching<br />
d. Telex switching<br />
(i) a country name or organization type<br />
(ii) internet service provider’s name<br />
(iii) name of organization<br />
(iv) name of individual<br />
(v) type of organization<br />
<strong>11</strong>.9 Internet data is broken up as<br />
a. fixed length packets<br />
b. variable length packets<br />
c. not packetized<br />
d. 64 bytes packets<br />
<strong>11</strong>.10 Internet packet data structure consists of<br />
(i)source address<br />
V. Rajaraman/IISc. Bangalore M<strong>11</strong>/V1/July 04/2
System Analysis and Design Prof. V.Rajaraman<br />
System Analysis and Design/Documents On Web Multiple Choice Questions<br />
a. i, ii, iii<br />
b. i, ii, iii, iv<br />
c. i, ii, iii, iv, v<br />
d. i, ii, iii, iv, v, vi<br />
Indian Institute of Science Bangalore<br />
(ii) destination address<br />
(iii)serial number of packets<br />
(iv)message bytes<br />
(v)Control bits for error checking<br />
(vi) Path identification bits<br />
<strong>11</strong>.<strong>11</strong> The packets of an internet message<br />
a. take a predetermined path<br />
b. take a path based on packet priority<br />
c. go along different paths based on path availability<br />
d. take the shortest path from source to destination<br />
<strong>11</strong>.12 The time taken by internet packets<br />
a. can be predetermined before transmission<br />
b. may be different for different packets<br />
c. is irrelevant for audio packets<br />
<strong>11</strong>.13 By an intranet we mean<br />
a. a LAN of an organization<br />
b. a Wide Area Network connecting all branches of an organization<br />
c. a corporate computer network<br />
d. a network connecting all computers of an organization and using the internet<br />
protocol<br />
<strong>11</strong>.14 By an extranet we mean<br />
a. an extra fast computer network<br />
b. the intranets of two co-operating organizations interconnected via a secure<br />
leased line<br />
V. Rajaraman/IISc. Bangalore M<strong>11</strong>/V1/July 04/3
System Analysis and Design Prof. V.Rajaraman<br />
System Analysis and Design/Documents On Web Multiple Choice Questions<br />
Indian Institute of Science Bangalore<br />
c. an extra network used by an organization for higher reliability<br />
d. an extra connection to internet provided to co-operating organizati<br />
<strong>11</strong>.15 World Wide Web<br />
a. is another name for internet<br />
b. world wide connection for computers<br />
c. a collection of linked information residing on computers connected by the<br />
internet<br />
d. a collection of world wide information<br />
<strong>11</strong>.16 Among services available on the World Wide Web are<br />
a. i and ii<br />
b. ii and iii<br />
c. iii and iv<br />
d. i and iv<br />
(i)Encryption<br />
(ii)HTTP<br />
(iii)HTML<br />
(iv)Firewalls<br />
<strong>11</strong>.17 A world wide web contains web pages<br />
a. residing in many computers<br />
b. created using HTML<br />
c. with links to other web pages<br />
d. residing in many computers linked together using HTML<br />
<strong>11</strong>.18 A web page is located using a<br />
a. Universal Record Linking<br />
b. Uniform Resource Locator<br />
c. Universal Record Locator<br />
d. Uniformly Reachable Links<br />
V. Rajaraman/IISc. Bangalore M<strong>11</strong>/V1/July 04/4
System Analysis and Design Prof. V.Rajaraman<br />
System Analysis and Design/Documents On Web Multiple Choice Questions<br />
Indian Institute of Science Bangalore<br />
<strong>11</strong>.19 A URL specifies the following:<br />
a. i, ii, iii, iv<br />
b. ii, iii, iv, v<br />
c. i, iii, iv<br />
d. i, ii, iii, v<br />
(i) protocol used<br />
(ii) domain name of server hosting web page<br />
(iii) name of folder with required information<br />
(iv) name of document formatted using HTML<br />
(v) the name of ISP<br />
<strong>11</strong>.20 A search engine is a program to search<br />
a. for information<br />
b. web pages<br />
c. web pages for specified index terms<br />
d. web pages for information using specified search terms<br />
<strong>11</strong>.21 HTML stands for<br />
a. Hyper Text Making Links<br />
b. Hyper Text Markup Language<br />
c. Higher Textual Marking of Links<br />
d. Hyper Text Mixer of Links<br />
<strong>11</strong>.22 HTML is similar to a<br />
a. word processing language<br />
b. screen editor<br />
c. scripting language<br />
d. search engine<br />
<strong>11</strong>.23 Desirable properties of a website are<br />
(i)a meaningful address<br />
(ii)Help and search facilities<br />
(iii) Links to related sites<br />
V. Rajaraman/IISc. Bangalore M<strong>11</strong>/V1/July 04/5
System Analysis and Design Prof. V.Rajaraman<br />
System Analysis and Design/Documents On Web Multiple Choice Questions<br />
a. i, ii, iii<br />
b. i, ii, iii, iv<br />
c. i, ii, iii, iv, v<br />
d. i, ii, iii, v<br />
<strong>11</strong>.24 HTML uses<br />
Indian Institute of Science Bangalore<br />
a. pre-specified tags<br />
b. user defined tags<br />
c. tags only for linking<br />
(iv)Features to allow users to give feedback<br />
(v)Hosting on a mainframe<br />
d. fixed tags defined by the language<br />
<strong>11</strong>.25 HTML tags define<br />
a. The data types of elements of document<br />
b. Presentation of specified elements of a document<br />
c. The contents of the document<br />
d. The structure of the document<br />
<strong>11</strong>.26 The tag used in HTML to link it with other URL’s is:<br />
a. <br />
b. <br />
c. <br />
d. <br />
<strong>11</strong>.27 The tags used for specifying fonts in HTML are<br />
(i) <br />
(ii) <br />
(iii) <br />
(iv) <br />
V. Rajaraman/IISc. Bangalore M<strong>11</strong>/V1/July 04/6
System Analysis and Design Prof. V.Rajaraman<br />
System Analysis and Design/Documents On Web Multiple Choice Questions<br />
a. (i) and (ii)<br />
b. (i) and (iii)<br />
c. (ii) and (iv)<br />
Indian Institute of Science Bangalore<br />
d. (i),(ii) and (iii)<br />
<strong>11</strong>.28 It is possible to display pictures (i.e, images) in HTML specification by<br />
using the tag.<br />
a. <br />
b. <br />
c. <br />
d.
System Analysis and Design Prof. V.Rajaraman<br />
System Analysis and Design/Documents On Web Multiple Choice Questions<br />
Indian Institute of Science Bangalore<br />
c. both predefined and user-defined tags<br />
d. Extended tags used in HTML and makes them powerful<br />
<strong>11</strong>.33 In order to interpret XML documents one should<br />
a. Use standardized tags<br />
b. Have a document type definition which defines the tags<br />
c. Define the tags separately<br />
d. Specify tag filename<br />
<strong>11</strong>.34 The advantages of XML over HTML are<br />
(i) It allows processing of data stored in web-pages<br />
(ii) It uses meaningful tags which aids in understanding the nature<br />
of a document<br />
(iii)Is simpler than HTML<br />
(iv)It separates presentation and structure of document<br />
a. (i),(ii) and (iii)<br />
b. (i),(ii) and(iv)<br />
c. (ii),(iii) and (iv)<br />
d. (i),(iii) and (iv)<br />
<strong>11</strong>.35 XSL definition is used along with XML definition to specify<br />
a. The data types of the contents of XML document<br />
b. The presentation of XML document<br />
c. The links with other documents<br />
d. The structure of XML document<br />
<strong>11</strong>.36 XLL definition is used along with XML to specify<br />
a. The data types of the contents of XML document<br />
b. The presentation of XML document<br />
c. The links with other documents<br />
d. The structure of XML document<br />
<strong>11</strong>.37 DTD definition is used along with XML to specify<br />
a. The data types of the contents of XML document<br />
V. Rajaraman/IISc. Bangalore M<strong>11</strong>/V1/July 04/8
System Analysis and Design Prof. V.Rajaraman<br />
System Analysis and Design/Documents On Web Multiple Choice Questions<br />
Indian Institute of Science Bangalore<br />
b. The presentation of XML document<br />
c. The links with other documents<br />
d. The structure of XML document<br />
V. Rajaraman/IISc. Bangalore M<strong>11</strong>/V1/July 04/9
System Analysis and Design Prof. V.Rajaraman<br />
System Analysis and Design/Documents On Web Multiple Choice Questions<br />
Key to Objective Questions<br />
<strong>11</strong>.1 d <strong>11</strong>.2 b <strong>11</strong>.3 c <strong>11</strong>.4 b <strong>11</strong>.5 a <strong>11</strong>.6 c<br />
<strong>11</strong>.7 c <strong>11</strong>.8 a <strong>11</strong>.9 b <strong>11</strong>.10 c <strong>11</strong>.<strong>11</strong> c <strong>11</strong>.12 c<br />
<strong>11</strong>.13 d <strong>11</strong>.14 b <strong>11</strong>.15 c <strong>11</strong>.16 b <strong>11</strong>.17 d <strong>11</strong>.18 b<br />
<strong>11</strong>.19 a <strong>11</strong>.20 d <strong>11</strong>.21 b <strong>11</strong>.22 a <strong>11</strong>.23 b <strong>11</strong>.24 d<br />
<strong>11</strong>.25 b <strong>11</strong>.26 a <strong>11</strong>.27 a <strong>11</strong>.28 c <strong>11</strong>.29 a <strong>11</strong>.30 b<br />
<strong>11</strong>.31 c <strong>11</strong>.32 a <strong>11</strong>.33 b <strong>11</strong>.34 b <strong>11</strong>.35 b <strong>11</strong>.36 c<br />
<strong>11</strong>.37 a<br />
V. Rajaraman/IISc. Bangalore M<strong>11</strong>/V1/July 04/10<br />
Indian Institute of Science Bangalore
System Analysis and Design Prof. V.Rajaraman<br />
Indian Institute of Science Bangalore<br />
SUMMARY of <strong>Module</strong> 12<br />
1. Data may be input to a computer off-line or on-line. In on-line entry a user enters<br />
data interactively via a video terminal connected to the computer. In off-line data<br />
entry data filled in forms are entered by operators in a separate PC or a data entry<br />
machine.<br />
2. Off-line data entry is suitable if the number of records is very large.<br />
3. In off-line data entry, batches of data are formed and entered. They are checked by<br />
a validation program and the corrected records are stored in a file.<br />
4. To reduce errors in input, it is essential to carefully design the forms used for<br />
entering data.<br />
5. Important data elements are coded. Codes are necessary for unique identification,<br />
easily cross-referencing and efficient storage and retrieval.<br />
6. There are many methods for coding. An ideal code must be concise, expandable,<br />
meaningful, comprehensive and precise. It is not possible to incorporate all these<br />
ideal features in a code.<br />
7. Codes are classified as: (i) Serial number codes, (ii) Block codes, (iii) Group<br />
classification codes, and (iv) Significant codes. Group classification codes and<br />
Significant codes are most meaningful, expandable, precise and comprehensive.<br />
They are, however, not concise, Serial and Block number codes are more concise.<br />
They are also precise and expandable but are not meaningful and comprehensive.<br />
8. Any error made in entering important data fields such as account codes and<br />
identification codes must be detected during data entry.<br />
9. The most common errors made during data entry are: a single digit is incorrectly
System Analysis and Design Prof. V.Rajaraman<br />
Indian Institute of Science Bangalore<br />
entered or any two digits in the code are interchanged. These errors are called<br />
respectively single transcription and transposition errors and account for 96% of<br />
all data entry errors.<br />
10. Given a code, the digits in it starting from the last digit are multiplied by weights<br />
2, 3, 4, etc., and the products are added. The sum is divided by <strong>11</strong>. The remainder<br />
is subtracted from <strong>11</strong>. This number (which is called a check digit) is appended as<br />
the last digit of the code. The code constructed in this way is called a midulus-<strong>11</strong><br />
check digit code.<br />
<strong>11</strong>. After data entry the digits in the code starting from the last digit are multiplied by<br />
weights 1, 2, 3, 4, etc., and the products are added. The sum is divided by <strong>11</strong>. If the<br />
remainder is not zero then there is an error in the code.<br />
12. Modulus-<strong>11</strong> check digit code guarantees detection of all single transcription and<br />
transposition errors. It also detects 95% of all other errors.<br />
13. It is essential to design good data validation programs to prevent data entry errors<br />
from corrupting files of input data. Validation programs need information for<br />
detecting errors. This information is provided by controls exercised during data<br />
preparation.<br />
14. Important control mechanisms are; giving unique sequence numbers to each data<br />
record, providing a batch control record containing a count of number of records<br />
and a total of one of the fields..<br />
15. The same data is entered by two different persons and compared to reduce<br />
transcription errors.<br />
16. Besides this, individual data fields are checked using information on their range of
System Analysis and Design Prof. V.Rajaraman<br />
Indian Institute of Science Bangalore<br />
allowed values, range of reasonable values, and relationships between different<br />
fields. Batch control provides information to detect incorrect values entered,<br />
missing records, and data in the wrong sequence.<br />
17. With the advent of Personal Computers, remote terminals connected to a computer<br />
and local computer networks, considerable amount of data is entered in files<br />
interactively.<br />
18. For interactive data input, special screens are designed on video terminals for easy<br />
data entry. Errors in data entry are instantly detected by a validation program<br />
during data entry and can be immediately corrected.<br />
19. Common methods of interactive data input are by use of menus, templates and<br />
interactive commands for data entry.<br />
20. A menu method is used to pick one out of many alternatives, a template method to<br />
enter new data, and a command method to add and delete data.<br />
21. These methods are combined to provide a user the most appropriate technique for<br />
a particular type of interactive data entry.
System Analysis and Design Prof. V.Rajaraman<br />
System Analysis and Design/Documents On Web Worked Out Problems<br />
Worked Examples<br />
<strong>11</strong>.1 What do you understand by an IP address? How is an IP address represented<br />
numerically?<br />
An IP address is an unique address required by a computer interface to access the<br />
internet. Presently an IP address is a 4 byte address and is expressed in what is<br />
known as the dotted decimal format like 144.16.68.201.<br />
<strong>11</strong>.2 What is a domain name? How are e-mail addresses assigned?<br />
Since IP addresses are represented numerically which is difficult to remember, these<br />
addresses are converted into a string of characters for ease of remembering. These<br />
addresses are grouped into domains.<br />
On the Internet, a domain consists of a set of network addresses. This domain is<br />
organized in levels. The top level identifies geographic location or purpose<br />
commonality (for example, .in for India, .com for commerce and .edu for education).<br />
The second level identifies a unique place within the top level domain and is, in fact,<br />
equivalent to a unique address on the Internet (or IP). Lower levels of domain may<br />
also be used.<br />
Domain addresses are assigned by an international authority known as Internet<br />
Corporation for Assigned Names and Numbers (ICANN).<br />
<strong>11</strong>.3 What is packet switching? What are the advantages of packet switching? Why<br />
is packet switching used in internet communication?<br />
Packet switching is the technique in which data are transmitted through<br />
communication links as a set of packets. A message is broken into a number of<br />
packets. The packets are stored in routers along the path and forwarded to other<br />
routers when communication link is free.<br />
Here the message is broken into packets to reduce the transmission cost. The<br />
transmission is faster and fault-tolerant, in the sense that if a line is not working or<br />
free the stored packets can be sent along another line.<br />
<strong>11</strong>.4 What is extranet? Give an example of an extranet<br />
An Extranet is private connection of intranets and leased lines from public<br />
telecommunication system to share part of business’s information or operations with<br />
suppliers, vendors, partners, customers, or other businesses. We can call it as a<br />
“private internet”<br />
Companies can use extranet to:<br />
(a) Exchange large volumes of data using Electronic data Interchange (EDI)<br />
(b) Share product catalogs exclusively with wholesalers or those “in the trade”<br />
(c) Collaborate with other companies on joint development efforts<br />
(d) Jointly develop and use training programs with other companies<br />
An example of extranet is one which connects an automobile manufacturer with<br />
supplies of ancillaries such as batteries, tyres, brakes etc. Another example is bank<br />
net connecting banks.<br />
<strong>11</strong>.5 What is the World Wide Web? In what way is it different from internet?<br />
The World Wide Web is the global multimedia information service available on the<br />
internet. It consists of linked web pages.<br />
The internet helps in facilitating the functionality of www. Internet is a physical network of<br />
computers where www is a service provided using the internet.<br />
V. Rajaraman/IISc. Bangalore M<strong>11</strong>/V1/July 04/1<br />
Indian Institute of Science Bangalore
System Analysis and Design Prof. V.Rajaraman<br />
System Analysis and Design/Documents On Web Worked Out Problems<br />
<strong>11</strong>.6 What is the role of HTML in web page design? Give a HTML code to display<br />
Indian Institute of Science Bangalore<br />
Introduction to e-Commerce<br />
This is a new book<br />
HTML has features to embed with web pages pointing to other web pages. It has<br />
features for adding images, different colors etc. and also you can develop a very<br />
good and attractive web page to attract customers which is the basic need of e-<br />
Commerce. The html code to display the information is given below:<br />
<br />
<br />
<br />
<br />
Introduction to e-Commerce<br />
This is a new book <br />
<br />
<br />
<strong>11</strong>.7 What is a URL? Explain the various parts of an URL?<br />
A URL stands for Uniform Resource Locator. A URL is the address of a (resource)<br />
accessible on the Internet. The type of resource depends on the Internet application<br />
protocol.<br />
In the URL http://www.entertainment.msn.com/movie.html the http stands for<br />
protocol to be used i.e., here hyper text transfer protocol. The www.msn.com<br />
preceded by:// is the address (called domain name) of computer, which is<br />
permanently connected to the internet. The entertainment is one directory. Under<br />
entertainment directory the file for information on movie is movie.html. The protocol<br />
can be http, ftp (file transfer protocol). The com stands for commercial organization.<br />
Similarly there are different domains like edu, net etc., which are universally agreed<br />
as of specific type.<br />
<strong>11</strong>.8 What is a hyperlink? How do you link an image file to a HTML document?<br />
An image or portion of text on a Web page that is linked to another Web page, either<br />
on the same site or in another Web site is an Hyperlink. Clicking on the link will take<br />
the user to another Web page, or to another place on the same page. The<br />
specification for linking an image file to a HTML document is < /A> where is called the anchor tag.<br />
<strong>11</strong>.9 What is XML? In what way is it superior to HTML?<br />
XML or Extended Markup Language a subset of a SGML (Standard Generalized<br />
Markup Language), is a new markup language that is capable of specifying what a<br />
document really represents, unlike HTML which emphasizes on presentation of the<br />
content and no means of specifying structure.<br />
XML uses tags which are user defined, while HTML uses tags which are predefined<br />
by the language.Formatting and presentation are not part of XML unlike HTML<br />
which has tags for bold face, italics etc. This is delegated to a companion language<br />
called XSL (Extensible Style Language) Linking documents to create hypertext is<br />
also not integrated in XML unlike HTML where tag is a general purpose<br />
linking tag. Much more powerful linking is enabled by separating it to a companion<br />
language called XLL (Extensible Link Language).<br />
V. Rajaraman/IISc. Bangalore M<strong>11</strong>/V1/July 04/2
System Analysis and Design Prof. V.Rajaraman<br />
System Analysis and Design/Documents On Web Worked Out Problems<br />
<strong>11</strong>.10 What language do you use to format XML documents?<br />
Formatting is not a part of XML. This is delegated to a companion language called XSL<br />
(Extensible style language)<br />
V. Rajaraman/IISc. Bangalore M<strong>11</strong>/V1/July 04/3<br />
Indian Institute of Science Bangalore
System Analysis and Design Prof. V.Rajaraman<br />
Indian Institute of Science Bangalore<br />
System Analysis and Design/Documents On Web Multiple Choice Questions<br />
<strong>11</strong>.1 Internet is<br />
a. a local computer network<br />
b. a world wide network of computers<br />
c. an interconnected network of computers<br />
d. a world wide interconnected network of computers which use a common<br />
protocol to communicate with one another<br />
<strong>11</strong>.2 The facilities available in the internet are<br />
a. i, ii<br />
b. i, ii, iii<br />
c. i, ii, iv<br />
d. ii, iii and iv<br />
<strong>11</strong>.3 Internet requires<br />
(i) electronic mail<br />
(ii) remote login<br />
(iii)file transfer<br />
(iv)word processing<br />
a. an international agreement to connect computers<br />
b. a local area network<br />
c. a commonly agreed set of rules to communicate between computers<br />
d. a World Wide Web<br />
<strong>11</strong>.4 Each computer connected to the internet must<br />
a. be an IBM PC<br />
b. have a unique IP address<br />
c. be internet compatible<br />
d. have a modem connection<br />
<strong>11</strong>.5 IP address is currently<br />
a. 4 bytes long<br />
V. Rajaraman/IISc. Bangalore M<strong>11</strong>/V1/July 04/1
System Analysis and Design Prof. V.Rajaraman<br />
Indian Institute of Science Bangalore<br />
System Analysis and Design/Documents On Web Multiple Choice Questions<br />
b. available in plenty<br />
c. 6 bytes long<br />
d. not assigned as it is all used up<br />
<strong>11</strong>.6 IP addresses are converted to<br />
a. a binary string<br />
b. alphanumeric string<br />
c. a hierarchy of domain names<br />
d. a hexadecimal string<br />
<strong>11</strong>.7 Internet addresses must always have at least<br />
a. i, ii, iii<br />
b. ii, iii, iv<br />
c. i, iii<br />
d. ii, iii, iv, v<br />
<strong>11</strong>.8 Internet uses<br />
a. Packet switching<br />
b. Circuit switching<br />
c. Telephone switching<br />
d. Telex switching<br />
(i) a country name or organization type<br />
(ii) internet service provider’s name<br />
(iii) name of organization<br />
(iv) name of individual<br />
(v) type of organization<br />
<strong>11</strong>.9 Internet data is broken up as<br />
a. fixed length packets<br />
b. variable length packets<br />
c. not packetized<br />
V. Rajaraman/IISc. Bangalore M<strong>11</strong>/V1/July 04/2
System Analysis and Design Prof. V.Rajaraman<br />
Indian Institute of Science Bangalore<br />
System Analysis and Design/Documents On Web Multiple Choice Questions<br />
d. 64 bytes packets<br />
<strong>11</strong>.10 Internet packet data structure consists of<br />
a. i, ii, iii<br />
b. i, ii, iii, iv<br />
c. i, ii, iii, iv, v<br />
d. i, ii, iii, iv, v, vi<br />
(i)source address<br />
(ii) destination address<br />
(iii)serial number of packets<br />
(iv)message bytes<br />
(v)Control bits for error checking<br />
(vi) Path identification bits<br />
<strong>11</strong>.<strong>11</strong> The packets of an internet message<br />
a. take a predetermined path<br />
b. take a path based on packet priority<br />
c. go along different paths based on path availability<br />
d. take the shortest path from source to destination<br />
<strong>11</strong>.12 The time taken by internet packets<br />
a. can be predetermined before transmission<br />
b. may be different for different packets<br />
c. is irrelevant for audio packets<br />
<strong>11</strong>.13 By an intranet we mean<br />
a. a LAN of an organization<br />
b. a Wide Area Network connecting all branches of an organization<br />
c. a corporate computer network<br />
d. a network connecting all computers of an organization and using the internet<br />
protocol<br />
V. Rajaraman/IISc. Bangalore M<strong>11</strong>/V1/July 04/3
System Analysis and Design Prof. V.Rajaraman<br />
Indian Institute of Science Bangalore<br />
System Analysis and Design/Documents On Web Multiple Choice Questions<br />
<strong>11</strong>.14 By an extranet we mean<br />
a. an extra fast computer network<br />
b. the intranets of two co-operating organizations interconnected via a secure<br />
leased line<br />
c. an extra network used by an organization for higher reliability<br />
d. an extra connection to internet provided to co-operating organizati<br />
<strong>11</strong>.15 World Wide Web<br />
a. is another name for internet<br />
b. world wide connection for computers<br />
c. a collection of linked information residing on computers connected by the<br />
internet<br />
d. a collection of world wide information<br />
<strong>11</strong>.16 Among services available on the World Wide Web are<br />
a. i and ii<br />
b. ii and iii<br />
c. iii and iv<br />
d. i and iv<br />
(i)Encryption<br />
(ii)HTTP<br />
(iii)HTML<br />
(iv)Firewalls<br />
<strong>11</strong>.17 A world wide web contains web pages<br />
a. residing in many computers<br />
b. created using HTML<br />
c. with links to other web pages<br />
d. residing in many computers linked together using HTML<br />
<strong>11</strong>.18 A web page is located using a<br />
V. Rajaraman/IISc. Bangalore M<strong>11</strong>/V1/July 04/4
System Analysis and Design Prof. V.Rajaraman<br />
Indian Institute of Science Bangalore<br />
System Analysis and Design/Documents On Web Multiple Choice Questions<br />
a. Universal Record Linking<br />
b. Uniform Resource Locator<br />
c. Universal Record Locator<br />
d. Uniformly Reachable Links<br />
<strong>11</strong>.19 A URL specifies the following:<br />
a. i, ii, iii, iv<br />
b. ii, iii, iv, v<br />
c. i, iii, iv<br />
d. i, ii, iii, v<br />
(i) protocol used<br />
(ii) domain name of server hosting web page<br />
(iii) name of folder with required information<br />
(iv) name of document formatted using HTML<br />
(v) the name of ISP<br />
<strong>11</strong>.20 A search engine is a program to search<br />
a. for information<br />
b. web pages<br />
c. web pages for specified index terms<br />
d. web pages for information using specified search terms<br />
<strong>11</strong>.21 HTML stands for<br />
a. Hyper Text Making Links<br />
b. Hyper Text Markup Language<br />
c. Higher Textual Marking of Links<br />
d. Hyper Text Mixer of Links<br />
<strong>11</strong>.22 HTML is similar to a<br />
a. word processing language<br />
b. screen editor<br />
V. Rajaraman/IISc. Bangalore M<strong>11</strong>/V1/July 04/5
System Analysis and Design Prof. V.Rajaraman<br />
Indian Institute of Science Bangalore<br />
System Analysis and Design/Documents On Web Multiple Choice Questions<br />
c. scripting language<br />
d. search engine<br />
<strong>11</strong>.23 Desirable properties of a website are<br />
a. i, ii, iii<br />
b. i, ii, iii, iv<br />
c. i, ii, iii, iv, v<br />
d. i, ii, iii, v<br />
<strong>11</strong>.24 HTML uses<br />
a. pre-specified tags<br />
b. user defined tags<br />
c. tags only for linking<br />
(i)a meaningful address<br />
(ii)Help and search facilities<br />
(iii) Links to related sites<br />
(iv)Features to allow users to give feedback<br />
(v)Hosting on a mainframe<br />
d. fixed tags defined by the language<br />
<strong>11</strong>.25 HTML tags define<br />
a. The data types of elements of document<br />
b. Presentation of specified elements of a document<br />
c. The contents of the document<br />
d. The structure of the document<br />
<strong>11</strong>.26 The tag used in HTML to link it with other URL’s is:<br />
a. <br />
b. <br />
c. <br />
d. <br />
V. Rajaraman/IISc. Bangalore M<strong>11</strong>/V1/July 04/6
System Analysis and Design Prof. V.Rajaraman<br />
Indian Institute of Science Bangalore<br />
System Analysis and Design/Documents On Web Multiple Choice Questions<br />
<strong>11</strong>.27 The tags used for specifying fonts in HTML are<br />
a. (i) and (ii)<br />
b. (i) and (iii)<br />
c. (ii) and (iv)<br />
d. (i),(ii) and (iii)<br />
(i) <br />
(ii) <br />
(iii) <br />
(iv) <br />
<strong>11</strong>.28 It is possible to display pictures (i.e, images) in HTML specification by<br />
using the tag.<br />
a. <br />
b. <br />
c. <br />
d.
System Analysis and Design Prof. V.Rajaraman<br />
Indian Institute of Science Bangalore<br />
System Analysis and Design/Documents On Web Multiple Choice Questions<br />
d. Independent of SGML<br />
<strong>11</strong>.31 XML stands for<br />
a. Extra Markup Language<br />
b. Excellent Markup Links<br />
c. Extended Markup Language<br />
d. Extended Marking Links<br />
<strong>11</strong>.32 XML uses<br />
a. user define tags<br />
b. pre-defined tags<br />
c. both predefined and user-defined tags<br />
d. Extended tags used in HTML and makes them powerful<br />
<strong>11</strong>.33 In order to interpret XML documents one should<br />
a. Use standardized tags<br />
b. Have a document type definition which defines the tags<br />
c. Define the tags separately<br />
d. Specify tag filename<br />
<strong>11</strong>.34 The advantages of XML over HTML are<br />
(i) It allows processing of data stored in web-pages<br />
(ii) It uses meaningful tags which aids in understanding the nature<br />
of a document<br />
(iii)Is simpler than HTML<br />
(iv)It separates presentation and structure of document<br />
a. (i),(ii) and (iii)<br />
b. (i),(ii) and(iv)<br />
c. (ii),(iii) and (iv)<br />
d. (i),(iii) and (iv)<br />
<strong>11</strong>.35 XSL definition is used along with XML definition to specify<br />
V. Rajaraman/IISc. Bangalore M<strong>11</strong>/V1/July 04/8
System Analysis and Design Prof. V.Rajaraman<br />
Indian Institute of Science Bangalore<br />
System Analysis and Design/Documents On Web Multiple Choice Questions<br />
a. The data types of the contents of XML document<br />
b. The presentation of XML document<br />
c. The links with other documents<br />
d. The structure of XML document<br />
<strong>11</strong>.36 XLL definition is used along with XML to specify<br />
a. The data types of the contents of XML document<br />
b. The presentation of XML document<br />
c. The links with other documents<br />
d. The structure of XML document<br />
<strong>11</strong>.37 DTD definition is used along with XML to specify<br />
a. The data types of the contents of XML document<br />
b. The presentation of XML document<br />
c. The links with other documents<br />
d. The structure of XML document<br />
V. Rajaraman/IISc. Bangalore M<strong>11</strong>/V1/July 04/9
System Analysis and Design Prof. V.Rajaraman<br />
Indian Institute of Science Bangalore<br />
System Analysis and Design/Documents On Web Multiple Choice Questions<br />
Key to Objective Questions<br />
<strong>11</strong>.1 d <strong>11</strong>.2 b <strong>11</strong>.3 c <strong>11</strong>.4 b <strong>11</strong>.5 a <strong>11</strong>.6 c<br />
<strong>11</strong>.7 c <strong>11</strong>.8 a <strong>11</strong>.9 b <strong>11</strong>.10 c <strong>11</strong>.<strong>11</strong> c <strong>11</strong>.12 c<br />
<strong>11</strong>.13 d <strong>11</strong>.14 b <strong>11</strong>.15 c <strong>11</strong>.16 b <strong>11</strong>.17 d <strong>11</strong>.18 b<br />
<strong>11</strong>.19 a <strong>11</strong>.20 d <strong>11</strong>.21 b <strong>11</strong>.22 a <strong>11</strong>.23 b <strong>11</strong>.24 d<br />
<strong>11</strong>.25 b <strong>11</strong>.26 a <strong>11</strong>.27 a <strong>11</strong>.28 c <strong>11</strong>.29 a <strong>11</strong>.30 b<br />
<strong>11</strong>.31 c <strong>11</strong>.32 a <strong>11</strong>.33 b <strong>11</strong>.34 b <strong>11</strong>.35 b <strong>11</strong>.36 c<br />
<strong>11</strong>.37 a<br />
V. Rajaraman/IISc. Bangalore M<strong>11</strong>/V1/July 04/10
System Analysis and Design Prof. V.Rajaraman<br />
System Analysis and Design/Documents On Web Question Bank<br />
Question Bank<br />
<strong>11</strong>.1 What is the difference between on-line and off-line data entry?<br />
<strong>11</strong>.2 Why are input data records divided into batches for off-line data entry?<br />
<strong>11</strong>.3 What is the purpose of a data validation program?<br />
<strong>11</strong>.4 What are the main principles used in designing forms for data entry?<br />
<strong>11</strong>.5 A good and a bad design for entering date in a form is given in Section <strong>11</strong>.1.<br />
Indian Institute of Science Bangalore<br />
What are the reasons for saying that one of them is good and the other bad?<br />
<strong>11</strong>.6 Design a form to be used by a salesman to report to the office about the sales<br />
executed by him at different customer locations.<br />
<strong>11</strong>.7 Why are data fields coded in an information system?<br />
<strong>11</strong>.8 Can the name of a person be used as a code, for say, his bank account? If not,<br />
why?<br />
<strong>11</strong>.9 What are the requirements of a good coding scheme?<br />
<strong>11</strong>.10 Is a concise code comprehensive? If not, why?<br />
<strong>11</strong>.<strong>11</strong> Is a meaningful code necessarily comprehensive?<br />
<strong>11</strong>.12 Is a comprehensive code necessarily meaningful?<br />
<strong>11</strong>.13 Is a precise code necessarily concise?<br />
<strong>11</strong>.14 What is the advantage of a serial number code? Why is it not normally used?<br />
<strong>11</strong>.15 What is the main advantage of block codes?<br />
<strong>11</strong>.16 Design a group classification code to code (i) motor vehicles,, (ii) music<br />
cassettes, and (iii) books<br />
<strong>11</strong>.17 Is a group classification code meaningful?<br />
<strong>11</strong>.18 Give an example of a significant code. Are significant codes expandable?<br />
<strong>11</strong>.19 Add a Modulus-<strong>11</strong> check digit to the codes (i) 48467, (ii) 96432, and (iii)<br />
V. Rajaraman/IISc. Bangalore M<strong>11</strong>/V1/July 04/1
System Analysis and Design Prof. V.Rajaraman<br />
System Analysis and Design/Documents On Web Question Bank<br />
87646257.<br />
<strong>11</strong>.20 Modulus-37 check is suitable for alphanumeric codes. Add a modulus-37<br />
Indian Institute of Science Bangalore<br />
character to the codes (i) 4AB9W, (ii) XBY483, and (iii) CAZ4642.<br />
<strong>11</strong>.21 The following code was entered by an operator:449632. The last digit is a<br />
modulus-<strong>11</strong> check digit. Is this code correct?<br />
<strong>11</strong>.22 If a code uses hexadecimal digits, what should be N if the modulus-N check digit<br />
system is to be used with such codes? What are the allowable weights if single<br />
transcription and transposition errors are to be detected?<br />
<strong>11</strong>.23 If modulus-<strong>11</strong> check digit system is to generate detection of multiple identical<br />
digit transcription error (i.e., a code such as 45565 is wrongly entered as 48868),<br />
what should be the constraints on the weights?<br />
<strong>11</strong>.24 A see-saw error is one in which one digit of the code is increased by x and<br />
another decreased by x. For example, 486732 becoming 456762. When can<br />
modulus N check detect such errors?<br />
<strong>11</strong>.25 Why is it useful to assign sequence numbers for data records? What are the types<br />
of errors detected by sequence numbering?<br />
<strong>11</strong>.26 What is the purpose of batch control record? What is the type of information<br />
contained in a batch control record?<br />
<strong>11</strong>.27 A set of data records for student examination results has the following format:<br />
Roll no. Name Marks (out of 100)<br />
Paper 1 Paper 2 Paper 3 Paper 4<br />
Design for these records a batch control record and a record control field and any<br />
other appropriate checks for the fields.<br />
<strong>11</strong>.28 Give some example of fields for which a radix error check is appropriate.<br />
V. Rajaraman/IISc. Bangalore M<strong>11</strong>/V1/July 04/2
System Analysis and Design Prof. V.Rajaraman<br />
System Analysis and Design/Documents On Web Question Bank<br />
<strong>11</strong>.29 What is the difference between range check and a radix check?<br />
<strong>11</strong>.30 What are the appropriate range checks for the age of individuals in an employee<br />
Indian Institute of Science Bangalore<br />
file, a high school student file, and height of students in a student file.<br />
<strong>11</strong>.31 Give some examples of fields where reasonableness check would be applicable.<br />
<strong>11</strong>.32 Give some examples of inter-field relationship checks.<br />
<strong>11</strong>.33 What is the main difference between menus, templates and command modes of<br />
interactive data entry? When is each of these modes appropriate?<br />
<strong>11</strong>.34 Design a dialogue hierarchy for entering data on customers (of a manufacturer).<br />
<strong>11</strong>.35 Design a dialogue hierarchy and the screens for a system used to reserve seats in<br />
long distance buses.<br />
V. Rajaraman/IISc. Bangalore M<strong>11</strong>/V1/July 04/3
System Analysis and Design Prof. V.Rajaraman<br />
System Analysis and Design/Documents On Web Pointers<br />
References<br />
1. Most traditional books on Systems Analysis and Design do not discuss HTML and<br />
Indian Institute of Science Bangalore<br />
XML and documents on the web.<br />
2. HTML is discussed in Wall D.A., using world wide web, 2 nd edition, Prentice Hall of<br />
India, New Delhi, 1996.<br />
3. Detailed Presentation of XML may be found in the book by Sean McGrath, “XML<br />
by Example”, Prentice Hall, Inc., N.J., U.S.A., 1998.<br />
4. D.Box, A.Skonnard and J……, “Essential XML”, Pearson Education Asia, New<br />
Delhi 2000.<br />
5. Using HTML.4, XML and JAVA 1.2, Eric Ladd et.al , Prentice Hall of India, New<br />
Delhi, 1999.<br />
6. HTML 4.0 specifications may be found in http://www/w3.org/TR/html40<br />
V. Rajaraman/IISc. Bangalore M<strong>11</strong>/V1/July 04/1