Docsity

eBusiness Infrastructure Examination, Cork Institute of Technology, 2009, Exams of Fundamentals of E-Commerce

Toggle sidebar
bg1
Page 1 of 11
CORK INSTITUTE OF TECHNOLOGY
INSTITIƚID TEICNEOLAƍOCHTA CHORCAƍ
Semester 2 Examinations 2008/09
Module Title: eBusiness Infrastructure
Module Code: COMP7008
School: Computing and Mathematics
Programme Title: BSc in Information Technology
BSc in Software Development
BSc in Software Development and Computer Networking
Programme Code: KITSU_7_Y3
KCOMP_7_Y2
KDNET_8_Y1
KCOMP_7_Y3
External Examiner(s): Mr. Killian Deasy
Internal Examiner(s): Ms. ClĆ­ona McGuane
Instructions: Answer two questions. Each question is worth 50%.
Duration: 2 Hours
Sitting: Summer 2009
Requirements for this examination:
Reference files for PHP, HTML, Javascript and CSS are at the back of this exam paper.
Note to Candidates: Please check the Programme Title and the Module Title to ensure that you have received the
correct examination paper.
If in doubt please contact an Invigilator.
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download eBusiness Infrastructure Examination, Cork Institute of Technology, 2009 and more Exams Fundamentals of E-Commerce in PDF only on Docsity!

CORK INSTITUTE OF TECHNOLOGY

INSTITIƚID TEICNEOLAƍOCHTA CHORCAƍ

Semester 2 Examinations 2008/

Module Title: eBusiness Infrastructure

Module Code: COMP

School: Computing and Mathematics

Programme Title: BSc in Information Technology

BSc in Software Development

BSc in Software Development and Computer Networking

Programme Code: KITSU_7_Y

KCOMP_7_Y

KDNET_8_Y

KCOMP_7_Y

External Examiner(s): Mr. Killian Deasy

Internal Examiner(s): Ms. ClĆ­ona McGuane

Instructions: Answer two questions. Each question is worth 50%.

Duration: 2 Hours

Sitting: Summer 2009

Requirements for this examination:

Reference files for PHP, HTML, Javascript and CSS are at the back of this exam paper.

Note to Candidates: Please check the Programme Title and the Module Title to ensure that you have received the correct examination paper. If in doubt please contact an Invigilator.

Q1. (50 marks)

a) [14 marks]

Describe the architecture of a typical ecommerce system.

Describe a web database transaction based upon this architecture.

b) [12 marks]

Write a cascading style sheet file that defines

Item Details Background

Class called irish Comic Sans MS, 12pt Green

ID selector called body Padding all sides : 10px

Border all sides : solid

Write a segment of HTML that demonstrates how these might be used.

c) [24 marks]

The following HTML listing produces a form for a user to review a hotel. Refer to Figure 1 for

the rendered form. Write the missing validate() function in Javascript to return true if all the

data has been supplied and false if any data is missing. An email of the correct format should be

provided. A review should be provided. The user is required to choose at least one of the star

ratings and at least one of the types of people for whom the hotel is recommended.

Hotel Review EMail:

Review (up to 200 characters)

Stars:




**


Will appeal to:

Q2. (50 marks)

a) [20 marks]

Most online B2C (business to consumer) companies use digital or SSL certificates. What is a

digital certificate? What must a company do obtain a digital certificate?

Why do these same companies not require that their customers offer the same assurances?

b) [10 marks]

When designing a web site you should ensure they work on most browsers. There are many ways

to ensure this, one of which is to use a DOCTYPE (document type).

What is a document type?

How does it contribute to the success of a website?

c) [20 marks]

What is XML? Demonstrate by creating a small XML file.

Describe two ways in which XML is used in eBusiness applications.

Q3. (50 marks)

a) [12 marks]

What is a cookie?

Provide 3 ways a can a cookie be used by ecommerce websites?

b) [13 marks]

What is a scripting language? Compare and contrast a server side scripting language and a client

side scripting language. What are the advantages and disadvantages of each?

c) [25 marks]

Consider the following HTML page that includes a form. You may assume that the form is

validated.

Write addNewsletter.php : this should insert the values entered by the user as a new record in a

database called newsletters (details on next page). The server is localhost and the username

and password are "root".

Newsletter sign-up

First name:

Surname :

EMail:

Format:

Topics of interest

PHP HTML W3C News Javascript

Submit

Figure 2: Form for processing with PHP