Essay Help Services

COSC2626/2640 | Cloud Computing Assignment 1 | Cloud Computing

Home Recent Questions COSC2626/2640 | Cloud Computing Assignment 1 | Cloud Computing

Task-1 [3 marks]

Make necessary modifications in the code of Lab 2 so that your Guestbook application the Greeting data structure also contain a Subject attribute (type String). Your webpage also should contain a new textbox for providing subject which should be stored in DataStore along with author and content.

Rubric

1. Adding subject to HTML view 1 mark

2. Adding and storing subject in DataStore 1 mark

3. A fully functional working code 1 mark


Task-2 [7 marks]

Create a Google app using your knowledge in Google app engine for PHP in Lab 3 which will have following components and functions:

4. login.php 3 marks

   • A login page that contains a user name field, a password field, a “Log in” button, and a “Register” hyperlink. 0.5 mark

   • When user clicks the “Log in” button, it will validate if the user credential matches with the information stored in the users.txt file. 1 mark

   • If the user credential is invalid, the login page will display “User name or password is invalid”. 0.5 mark

   • If the user credential is valid, it will be redirected to a main page. 0.5 mark

   • If user clicks the “Register” hyperlink on the login page, it will be redirected to the register page. 0.5 mark

5. main.php 1 mark

   • The main page contains the login user name and a “Log out” hyperlink in the left top corner. 0.5 mark

   • If user clicks the “Log out” hyperlink, it will be redirected to the login page. 0.5 mark

6. register.php 2.5 marks

   • The register page contains a username field, a password field, and a “Register” button. 0.5 mark

   • If a user clicks the “Register” button, it will validate whether the user name and password fields are empty. 0.5 mark

   • If the user name field or the password field is empty, it will display “User name or password cannot be empty”. 0.5 mark

   • If the user name and password fields are not empty, it will add the user name and the password into users.txt and then be redirected the logon page. 1 mark

7. users.txt 0.5 mark

• The user name and password information are stored in the users.txt file. 0.5 mark

 

Task-3 [3 marks]

This task is based on the Google Big Query that we covered in Lab 3.

Using the baby_names dataset you created in Lab 3 write some queries (using BigQuery browser tool) to identify the following information (Each correct query 1 mark)

8. Find a list of all female babies born after 2008 with frequency count between 7000 and 17000. 1 mark

9. Find the total number of male babies born before 2011 with name starts with ‘T’. 1 mark

10. Find top 20 baby names based on frequency after the year 2006. 1 mark


Task-4 [2 marks]

Assignment 2 will ask you to work on cloud computing-related individual projects. In view to get you started with thinking of what could possibly be done, please, reply to the following questions.

Please, reply to these questions with a short (2 or 3 lines) answer:

11. Give a couple of examples of principles/applications which are possible/especially efficient because using the cloud-based services? 1 mark

12. What kind of application you would like to work on for the Assignment-2? Provide a short description. 1 mark

Search Here

Latest Reviews

Facebook

Payments And Security