CMPUT 404

Web Applications and Architecture

Course Outline Fall 2023


University of Alberta
CMPUT 404 - Web Applications and Architecture
LEC-A1
Fall 2023

eClass Page: https://eclass.srv.ualberta.ca/course/view.php?id=91562

Lecture

Labs

Dr. Hazel Campbell

Course Content

Course Description: This course introduces modern web architecture, ranging from user-facing applications to machine-facing web-services, through project-based learning. Topics include: multi-platform Web application frameworks utilizing SQL and NoSQL storage; HTTP/web architecture and protocols; integration with Web APIs; web data exchange and serialization.

Prerequisites: CMPUT 301, CMPUT 291.

Objectives and Learning Outcomes: The course objective is to gain an overview of web-based technologies, with a software development focus on webservices and web applications.

Course Schedule and Assigned Readings:

The weekly topic schedule is likely to be updated during the term; please see the latest version.

Learning Resources

Textbook: There is no required textbook for this course. Each module will cite online resources as required readings. You will find the links to each topic on the course eClass page.

Recommended or Optional Learning Resources: Additional resources may be provided by links from this site or the course eClass page.

Course Fees: Students will be required to purchase online hosting through Heroku in order to complete the coursework and course project. The expected fees are $14-21 USD, or approximately $30 CAD.

On-Line Homework Disclaimer

On-line homework is a component of this course and is provided by at least one third-party company. However, this company will not have access to any assessment information. They will have access to your homework, but not to your grades, academic performance, or feedback. If you have any concerns about this, please contact the instructor of this course.

  1. Registration in the system and any monetary transactions are of your own accord and not the responsibility of the University.
  2. Students should be mindful of protecting their personal information and should be aware of how their personal information might be used and/or shared.
  3. Students MUST NOT use their @ualberta email address or CCID to register into the system and instead should use a non-identifying email address or account.

Academic Success Centre

The Academic Success Centre provides professional academic support to help students strengthen their academic skills and achieve their academic goals. Individual advising, appointments, and group workshops are available year round in the areas of Accessibility, Communication, Learning, and Writing Resources. Modest fees apply for some services.

Grade Evaluation

All assignments and project parts are due at 16:00 on the due date (usually a Friday). In the labs, the TAs will explain the submission process (typically online). Late submissions will not be accepted.

Although you may program in python at home or outside the lab, your implementations will be scored based on their behavior on the supplied VM. There may be software version and screen size differences. Please make sure you have built and tested your code on the lab machines.

Note the last column, it shows collaboration models for each unit of work. These styles are better described on the (CS course policy page)[https://www.cs.ualberta.ca/resources-services/policy-information/department-course-policies].

What Weight Collaboration
Assignment 1 5% Consultation
Assignment 2 5% Consultation
Assignment 3 5% Consultation
Assignment 4 5% Consultation
Assignment 5 5% Consultation
Participation 10% Consultation
Labs 10% Solo Effort
Project Part 0 1% Teamwork
Project Part 1 10% Teamwork
Project Part 2 4% Teamwork
Project Part 3 20% Teamwork
Final Exam 20% Solo Effort

Grades are unofficial until approved by the Department and/or Faculty offering the course.

Participation

Most participation marks will be in class during class. You can participate over Zoom or in-person. To participate in-person please bring a working cellphone, tablet, or laptop. There may be other participation marks from time to time. See Missed Term Work: Participation below.

Letter Grades

There is no fixed formula for translating your composite marks into a final grade. The final letter grade will be assigned based on how your course percentage represents mastery of the course material according to the University of Alberta grading system guidelines. The guidelines state that "Grades reflect judgements of student achievement made by instructors and must correspond to the associated descriptor. These judgements are based on a combination of absolute achievement and relative performance in a class. " This quote and further information about the grading system including the descriptors can be found in the University Calendar. The CS Department policies about grading also apply.

How many % do I need in the course to get an A? To get a B? To get a C? We do not use pre-defined percentages of your final mark to compute your final grade, but instead use our judgement of how your final percentage indicates the level of mastery in the table above for an A, B, C, D+. This is done at the end of the semester. A 50% or better final grade usually earns at least a D.

This is the standard system in use by most Computing Science courses at the University of Alberta. However, it may not be what you are used to from other institutions. The department of Computing Science believes this produces a fair evaluation and our extensive experience supports this.

Letter Descriptor Interpretation
A Excellent Consistently original thinking that extends the material, demonstrated depth and breadth in the material, ability to integrate material with other subjects, ability to analyze and synthesize material at various levels of abstraction.
B Good Like an A, but not consistent over time, or weak in a specific area.
C Satisfactory Understand the core material but not its subtleties, can apply it to simple situations on own and to more complex situations with hints, evidence that the material has changed the way of thinking.
D+ Poor Understand some of the core material but not its subtleties, can apply it to simple situations but often needs assistance, evidence that the material has had some change on the way of thinking.
D Minimal Pass Shows some understanding of parts of the material, cannot apply it without some direction, little evidence that the material has changed the way of thinking
F Failure Little evidence of understanding of even the surface issues, poor analysis and synthesis, inability to apply the material.

Every semester contains different material, since every semester we try to improve the course, and we also need to constantly create new questions and assignments to mitigate cheating. Thus, the breakpoints change from semester to semester. However, these changes do not depend on the class average, they depend on the percentage that demonstrates different levels in the table above!

For more information, see the "Percentages and Letter Grades" document on eClass.

Statement of Expectations for AI Use

You MUST not submit work by Chat GPT as your own, that is plagiarism. This also applies to other "AI" and Generative Models: Lex.page, DALL-E2, Google BARD, Microsoft Bing, and others. If you use ChatGPT you must cite it. This includes the Entity, Resource, Subject, and Date. For example:

// The following function from Microsoft, Bing, "How do I write a merge sort in JavaScript?", 2023-08-31
function mergeSort(array) {

If you use ChatGPT you must cite it, but it's probably better to Google what it tells you and find a real citation because:

ChatGPT is wrong a lot. It does not understand computer science. It understands how to form sentences and paragraphs well enough to be convincing, but it doesn't actually understand what anything it is saying means. When it has the choice between two sentences, with opposite meanings, it will pick the sentence that looks more like English it has seen, it does not pick the one that is most correct. This means you need to double-check that what it tells you is actually correct.

Stackoverflow is always a better resource than Large Language Models such as ChatGPT, but of course if you use code from Stackoverflow or any other website, you must cite it.

ChatGPT and similar services are recording everything you tell it, and tracking you. Using ChatGPT/Bing/Bard etc. they are recording everything you say and how the LLM responds to you. There is no privacy.

Re-Evaluation of Term Work

Re-Evaluation of Term Work follows the Computing Science department course policies. Any questions or concerns about marks on a particular assignment must be brought to the attention of the instructor (not a TA) within 10 days of its return date. After that, we will not consider remarking or re-evaluating the work. So do not expect anyone to re-evaluate all the work you did all term long in the hopes of getting a higher final grade. However, clerical errors such as incorrectly computing or recording a mark may be raised at any time prior to 2 working days following the final exam. It is the student's responsibility to confirm that their term work has been recorded properly.

Re-examination

There is no possibility of a re-examination in this course.

Past or Representative evaluative Material

Will be posted on eClass.

Policies for Late and Missed Work

Late Policy: Absolutely no late work will be accepted.

Missed Term Work or Final Exam Due to Non-medical Protected Grounds (e.g., religious beliefs): When a term assessment or final exam presents a conflict based on non-medical protected grounds, students must apply to the Academic Success Centre for accommodations via their Register for Accommodations website. Students can review their eligibility and choose the application process specific for Accommodations Based on Non-medical Protected Grounds.

It is imperative that students review the dates of all course assessments upon receipt of the course outline, and apply AS SOON AS POSSIBLE to ensure the timely application of the accommodation. Students who apply later in the term may experience unavoidable delays in the processing of the application, which can affect the accommodation.

Missed Term Work: Assignments, Labs, Projects, Midterm Exams: A student who cannot complete a course component (except the final exam, see the next section) due to incapacitating illness, severe domestic affliction or other compelling reasons must contact the instructor within two working days of missing the assessment, or as soon as possible, to request an excused absence. If an excused absence is granted, then weight will be transferred to other course components. An excused absence is a privilege and not a right. There is no guarantee that an absence will be excused. Misrepresentation of facts to gain an excused absence is a serious breach of the Code of Student Behaviour. In all cases, instructors may request adequate documentation to substantiate the reason for the absence at their discretion.

Missed Term Work: Participation: Half of the lowest marks for participation will be dropped when calculating the course mark. No late participation will be accepted. Failure to participate on time for any reason will result in a mark of zero. Please note that you can miss half of the participation opportunities without penalty.

Deferred Final Examination: A student who cannot write the final examination due to incapacitating illness, severe domestic affliction or other compelling reasons can apply for a deferred final examination. Such an application must be made to the student’s Faculty office within two working days of the missed examination and must be supported by appropriate documentation or a Statutory Declaration (see calendar on Attendance). Deferred examinations are a privilege and not a right; there is no guarantee that a deferred examination will be granted. The Faculty may deny deferral requests in cases where less than 50% of term work has been completed. Misrepresentation of facts to gain a deferred examination is a serious breach of the Code of Student Behaviour.

Remote Delivery Considerations

Unless otherwise instructed by an instructor, this course requires attendance in-person or via Zoom during the scheduled lectures and labs. Some lectures or labs require in-person attendance, like the last lab for presentations, and for exams.

Recordings of Synchronous Activities: Please note that class times for this course will be recorded. Recordings of this course will be used for the purposes of allowing students who missed class due to illness to review missed lectures, for review before the final exam, and will be disclosed to other students enrolled in this section of the class, all instructors and teaching assistants. Students have the right to not participate in the recording and are advised to turn off their cameras and audio prior to recording; they can still participate through text-based chat. It is recommended that students remove all identifiable and personal belongings from the space in which they will be participating. Recordings will be made available until Dec. 31, 2023, etc. and accessible by eClass, Google Drive, or Zoom Cloud Storage. Please direct any questions about this collection to the instructor of this course.

However, in the case that some parts of the class are moved on-line, for example due to an emergency the following will apply:

Technology for Remote Learning: To successfully participate in remote learning in this course, it is recommended that students have access to a computer with an internet connection that can support the tools and technologies the University uses to deliver content, engage with instructors, TAs, and fellow students, and facilitate assessment and examinations. Please refer to Technology for Remote Learning - For Students for details. If you encounter difficulty meeting the technology recommendations, please email the Dean of Students Office (dosdean@ualberta.ca) directly to explore options and support.

Please contact the instructor by the add/drop deadline if you do not have access to the minimum technology recommended. The instructor will make arrangements for accommodating students who contact the instructor before this date. Failure to do so may result in a zero in any assessment that depends on the minimum technology.

Remote Proctoring Consideration: We may use a remote proctoring service for exams. Your computer and environment may be monitored during exams. You should arrange for a place to write timed exams without interruption. Tablets and mobile devices are incompatible with remote proctoring services.

Home-Based Lab Activities: As part of the learning experience in this course, you will be required to undertake certain activities in or around your place of residence. To ensure that you undertake the activity safely and fully informed of the risks, please review the University of Alberta’s Remote Learning Lab-Based Assignment Information Advisory. If you have questions or concerns, contact your instructor.

Student Resources for Remote Learning: Online learning may be new to you. Check out tips for success and find out more about online learning on the Campus Life page, and specifically on the Academic Skills Online & Remote Delivery Resources page.

Student Responsibilities

Academic Integrity and Student Conduct: The University of Alberta is committed to the highest standards of academic integrity and honesty, as well as maintaining a learning environment that fosters the safety, security, and the inherent dignity of each member of the community, ensuring students conduct themselves accordingly. Students are expected to be familiar with the standards of academic honesty and appropriate student conduct, and to uphold the policies of the University in this respect. Students are particularly urged to familiarize themselves with the provisions of the Code of Student Behaviour and the Student Conduct Policy, and avoid any behaviour that could potentially result in suspicions of academic misconduct (e.g., cheating, plagiarism, misrepresentation of facts) and non-academic misconduct (e.g., discrimination, harassment, physical assault). Academic and non-academic misconduct are taken very seriously and can result in suspension or expulsion from the University.

All students are expected to consult the Academic Integrity website for clarification on the various academic offences. All forms of academic dishonesty are unacceptable at the University. Any suspected academic offence in this course will be reported to the College of Natural and Applied Sciences. Suspected cases of non-academic misconduct will be reported to the Dean of Students. The College, the Faculty of Science, and the Dean of Students are committed to student rights and responsibilities, and adhere to due process and administrative fairness, as outlined in the Code of Student Behaviour and the Student Conduct Policy. Anyone who is found in violation is likely to receive a sanction. Typical sanctions for academic misconduct include conduct probation, a mark reduction or a mark of 0 on an assessment, a grade reduction or a grade of F in a course, a remark on the transcript, and a recommendation for suspension or expulsion. Sanctions for non-academic misconduct include conduct conditions, fines, suspension of essential or non-essential University services and resources, and suspension or expulsion from the University.

Appropriate Collaboration: Exams

Exams are confidential. No discussion of the contents of the exam is permitted except with instructors.

Appropriate Collaboration: Labs & Assignments

Students are not permitted to copy solutions on homework assignments. Here are some tips to avoid copying on assignments:

  1. Do not write down something that you cannot explain to your instructor.
  2. When you are helping other students, avoid showing them your work directly. Instead, explain your solution verbally. Students whose work is copied also receive academic sanctions.
  3. If you find yourself reading another student's solution, do not write anything down. Once you understand how to solve the problem, remove the other person's work from your sight and then write up the solution to the question yourself. Looking back and forth between someone else's paper and your own paper is almost certainly copying and will result in academic sanctions for both you and your fellow student.
  4. If the instructor or TA writes down part of a solution in order to help explain it to you or the class, you cannot copy it and hand it in for credit. Treat it the same way you would treat another student's work with respect to copying, that is, remove the explanation from your sight and then write up the solution yourself.
  5. There is often more than one way to solve a problem. Choose the method that makes the most sense to you rather than the method that other students happen to use. If none of the ideas in your solution are your own, there is a good chance it will be flagged as copying.

Appropriate Collaboration: Group Projects

As long as you are a part of a group, you are responsible for everything in the group project, whether or not you participated in every component.

More information about appropriate collaboration.

Exam Conduct:

Cell Phones: Cell phones are to be turned off during lectures, labs and seminars.

In accordance with the University of Alberta’s Discrimination, Harassment, and Duty to Accommodate policy, accommodation support is available to eligible students who encounter limitations or restrictions to their ability to perform the daily activities necessary to pursue studies at a post-secondary level due to medical conditions and/or non-medical protected grounds. Accommodations are coordinated through the Academic Success Centre, and students can learn more about eligibility on the Register for Accommodations website.

It is recommended that students apply as early as possible in order to ensure sufficient time to complete accommodation registration and coordination. Students are advised to review and adhere to published deadlines for accommodation approval and for specific accommodation requests (e.g., exam registration submission deadlines). Students who request accommodations less than a month in advance of the academic term for which they require accommodations may experience unavoidable delays or consequences in their academic programs, and may need to consider alternative academic schedules.

Recording and/or Distribution of Course Materials

Audio or video recording, digital or otherwise, of lectures, labs, seminars or any other teaching environment by students is allowed only with the prior written consent of the instructor or as a part of an approved accommodation plan. Student or instructor content, digital or otherwise, created and/or used within the context of the course is to be used solely for personal study, and is not to be used or distributed for any other purpose without prior written consent from the content author(s).

Learning and Working Environment

The Faculty of Science is committed to ensuring that all students, faculty and staff are able to work and study in an environment that is safe and free from discrimination, harassment, and violence of any kind. It does not tolerate behaviour that undermines that environment. This includes virtual environments and platforms.

If you are experiencing harassment, discrimination, fraud, theft or any other issue and would like to get confidential advice, please contact any of these campus services:

Feeling Stressed, Anxious, or Upset?

It's normal for us to have different mental health experiences throughout the year. Know that there are people who want to help. You can reach out to your friends and access a variety of supports available on and off campus at the Need Help Now webpage or by calling the 24-hour Distress Line: 780-482-4357 (HELP).

Student Self-Care Guide: This Self-Care Guide, originally designed by the Faculty of Native Studies, has broader application for use during students’ learning. It provides some ideas and strategies to consider that can help navigate emotionally challenging or triggering material.

Additional Information

Policy about course outlines can be found in Course Requirements, Evaluations Procedures and Grading of the University Calendar.

Land Acknowledgement: The University of Alberta respectfully acknowledges that we are situated on Treaty 6 territory, traditional lands of First Nations and Métis people.

To learn more about the significance of this land acknowledgement, please read this useful article and associated links to more information.

Disclaimer: Any typographical errors in this Course Outline are subject to change and will be announced in class. The date of the final examination is set by the Registrar and takes precedence over the final examination date reported in this syllabus.

Copyright: Dr. Hazel Campbell, Department of Computing Science, Faculty of Science, University of Alberta (2023). Dr. Abram Hindle, Department of Computing Science, Faculty of Science, University of Alberta (2023).

Update History

2023-08-31 - Draft 2023-09-01 - Draft 2023-09-06 - D02 Lab Room Updated