Software Engineering of Web Systems

Software Engineering of Web Systems

PhiladelphiaUniversity

Lecturer:Dr. Samer Hanna

Internal Examiner: Dr. MouradMaouche

Coordinator: Dr. Samer Hanna

Software Engineering of Web Systems

(0721422) Section1 First Exam Second Semester of 2016/2017

Date: Monday, April3rd, 2017------Time: 50 min.

Information for Candidates

  1. This examination paper contains 5questions totaling 20marks.
  2. The marks for parts of questions are shown in round brackets.

Advice to Candidates

1. You should attempt all questions.

Basic Notions

Objectives. The aim of the questions in this part is to evaluate that you have the required minimal knowledge and skills. Answers in the pass category represent the minimum acceptable standard.

Q1) (4 marks)

1)Define the term “Web Engineering” in details (2 marks)

2)Web applications have many features that do not exist in other applications, discuss four of these features in details. (2 marks)

Familiar Problems Solving

Objectives. The aim of the questions in this part is to evaluate that you have some basic knowledge of the key aspects of the lecture material and can attempt to solve familiar problems.

Q2) (5 marks)

Suppose that you are working as a Web developer for Philadelphia University and that your boss asked you to develop the below form that enables a student at Philadelphia to insert his/her name, email, age and faculty. (note that faculty is selected from a list of Philadelphia faculties).

  1. Write the code of the above form in HTML. (3 marks)
  2. Write the needed design to this form in order to make its width 400 pixels and to make it displayed in the middle of a browser. (2 marks)

Q3) (4 marks)

Suppose that your boss asked you to use JavaScript to code the following client side validationsto the form you just built in Q2.

  1. The name of a student is not allowed to be empty, if the student name is empty then an error message should be printed. (1 mark)
  2. The inserted age of a student must be between 15 and 80; if an input is not in this interval then a proper error message should be printed.
  3. The inserted email should contain the “@” symbol and should finish with the “.” symbol followed by characters (such as ), in case of an email that does not follow these constraints also a proper message should be printed.

Q4) (4 marks)

Repeat the same validations you did in Q3 however this time using ASP.NET validation controls.

Unfamiliar Problems Solving

Objectives. The aim of the questions in this part is to evaluate that you can solve familiar problems with ease and can make progress towards the solution of unfamiliar problems, and can set out reasoning and explanation in a clear and coherent manner

Q5) (3 marks)

  1. Suppose that your boss asked you this time to add a server side validation in C# to the form in Q2 however only student’s age should be validated to make sure it is between 15 and 80. Write the needed validation code (1 mark)
  2. Compare between the client-side validations in Q3 and Q4 and the server-side validations in this question according to performance and security. (2 marks)

Good Luck

1