M275 Web Development Using PHP and MySQL Tutor Marked Assignment – Spring Semester 2017/2018 Cut-Off Date: TBA Total Marks: 100 Question-1 [20 marks] XAMPP and WAMP servers are installed by using third-party installation packages: a- What is meant by t

اذهب الى الأسفل

M275 Web Development Using PHP and MySQL Tutor Marked Assignment – Spring Semester 2017/2018 Cut-Off Date: TBA Total Marks: 100 Question-1 [20 marks] XAMPP and WAMP servers are installed by using third-party installation packages: a- What is meant by t

مُساهمة  whatsapp::00966542495275 في السبت أبريل 07, 2018 5:37 am



M275 Web Development Using PHP and MySQL
Tutor Marked Assignment – Spring Semester 2017/2018
Cut-Off Date: TBA Total Marks: 100

Question-1 [20 marks]
XAMPP and WAMP servers are installed by using third-party installation packages:
a- What is meant by third-party installation package? [2 marks]
b- What does XAMPP stand for? [5 marks]
c- What does WAMP stand for? [4 marks]
d- List three differences between XAMPP and WAMP? [9 marks]

Question-2 [50 marks]
In this question you are required to implement a simple tran** calculator by applying HTML tags and PHP codes. The calculator final code with 2 snapshots should be provided in your answer sheet.
This calculator has the following specifications:
1- The user changes the initial marks of some or all courses, and then presses the button 'Calculate the Total and Average', to find out the total, average, result and the grade of the entered marks.
2- It is assumed that the initial mark of all courses is zero, the initial result value is empty string and the initial grade value is empty string.
3- The result value is 'PASS' if the average greater than or equal to 50, otherwise it is 'FAIL'. The grade value is determined according to the scale below:
A Average ≥ 90
B 80 ≤ Average < 90
C 70 ≤ Average < 80
D 50 ≤ Average < 70
F Average < 50
4- The web page of this calculator, as shown in figure-1, has the following specifications:
a- 'PHP Simple Tran** Calculator' as the title of this web page.
b- 'Simple Tran** Calculator' as the main header of this web page.

Figure-1: Simple Tran** Calculator with Initial Values
c- M105, M129, M130, M131, M132, Total, Average, Result and Grade as labels.
d- M105, M129, M130, M131, M132, Total, Average, Result and Grade as textboxes.
e- 'Calculate the Total and Average' as button name.
f- Courses' labels and their textboxes are located in a separate field set, and the others are located in a different field set.

Figure-2: Simple Tran** Calculator with Some Values

Figure-3: Simple Tran** Calculator with Some Values
Question-3 [30 marks]
'driver', 'car', 'accident' and 'report' are names of some tables in the insurance database system. These tables were created by executing the following SQL creation statements.
CREATE TABLE driver(
driverID INT NOT NULL PRIMARY KEY,
name VARCHAR(30) NOT NULL,
cityAddress VARCHAR(25)
);
CREATE TABLE car(
plateID INT NOT NULL PRIMARY KEY,
model VARCHAR(20) NOT NULL,
year YEAR(4) NOT NULL
);
CREATE TABLE accident(
reportNumber INT NOT NULL PRIMARY KEY,
date Date NOT NULL,
location VARCHAR(20) NOT NULL
);
CREATE TABLE report(
reportNumber INT NOT NULL,
plateID INT NOT NULL,
driverID INT NOT NULL,
damageAmount DOUBLE
);


Based on the previous SQL creation statements, you are required to write each of the following queries in SQL.
1- List the names of all drivers who live outside neither 'Amman' nor 'Madaba'. [6 marks]
2- List the models of all cars that have even number plateIDs. [6 marks]
3- List the locations of all accidents that happened after December 10, 2015. [6 marks]
4- List the models of all cars which were not involved in any accident. [6 marks]
5- List the names and addresses of all drivers who were not involved in any accident. [6 marks]
The End

_________________
الإجــابة النمــوذجية
----------------------

[عزيزي الزائر يتوجب عليك التسجيل لمشاهدة الإجابة النموذجية ، للتسجيل اضغط هنا] || الكاتب: [عزيزي الزائر يتوجب عليك التسجيل لمشاهدة الإجابة النموذجية ، للتسجيل اضغط هنا] || المصدر: [عزيزي الزائر يتوجب عليك التسجيل لمشاهدة الإجابة النموذجية ، للتسجيل اضغط هنا]




خدمات مجانية – حلول واجبات الجامعة العربية المفتوحة
لجميع تخصصات الجامعة ولجميع فروع الجامعة
حلول واجبات – مشاريع تخرج – ملخصات هامة
http://tarbawy.123.st/
Mobile: 00966542495275  or 0542495275
Watsapp: 00966542495275


smsm.hamdy66@yahoo.com
حلول مضمونة لجميع واجبات الجامعة العربية المفتوحة
KSA-Kuwait-Bahrain-Oman-Jordon-Lebanon-Egypt
http://tarbawy.123.st/
راسلنا للحصول على حل الواجب  

00966542495275  




whatsapp::00966542495275
Admin

عدد المساهمات : 2587
نقاط : 3983521
تاريخ التسجيل : 30/10/2011
الموقع : http://tarbawy.123.st/

http://tarbawy.123.st

الرجوع الى أعلى الصفحة اذهب الى الأسفل

الرجوع الى أعلى الصفحة

- مواضيع مماثلة

 
صلاحيات هذا المنتدى:
لاتستطيع الرد على المواضيع في هذا المنتدى