It's UWAweek 47

help1402

This forum is provided to promote discussion amongst students enrolled in CITS1402 Relational Database Management Systems.

Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.

How do I ask a good question?
104 articles posted by this person
Showing 104 of 684 articles.
Currently 33 other people reading this forum.


 UWA week 43 (2nd semester, study break) ↓
SVG not supported
Exam SQL 👍x1  (both)
3:04pm Sun 27th Oct, Mehwish N.

No marks will be deducted for minor spelling mistakes or missing semicolons. Minor errors in opening closing brackets single double quotes will be ignored if the rest of the query is correct. Please make sure the order of statements is correct. For i...


SVG not supported 2:54pm Sun 27th Oct, Mehwish N.

1. Someone also asked this question on the email. Since all books can be up for sale and loan, you do not need to include a flag. However, if you include a flag, that is also fine. 2. No, you do not need to define alternate keys (recall the lecture)....


SVG not supported 2:49pm Sun 27th Oct, Mehwish N.

Hi, I do not agree with your observation. The first question about multiplicities is from conceptual modeling that was covered before the mid-term. Also, the first few questions in SQL are from topics that were covered before the mid-term. Cheers


SVG not supported 2:47pm Sun 27th Oct, Mehwish N.

No, alternate keys are not important, but you need to include primary keys and foreign keys in the logical model.


SVG not supported 2:46pm Sun 27th Oct, Mehwish N.

Hi I have added a clean copy without solutions. Cheers


SVG not supported 2:39pm Sun 27th Oct, Mehwish N.

I went through the recording and that is all you need for implementing views in sqlite. Hence I made the note under sql videos that the recording is under the lecture recording.


SVG not supported 3:26am Wed 23rd Oct, Mehwish N.

Hi, Students were called in for the interview on 10th October. If you were not called in via email, you do not need to worry about it. Cheers


SVG not supported 3:25am Wed 23rd Oct, Mehwish N.

Wednesday 1630 hrs. Microsoft Teams Need help? Join the meeting now https teams.microsoft.com l meetup-join 19 3ameeting ZmVkYmFmNTUtNmVjYS00OGRjLTk2NDQtYjVhZGY4MjFiMzc2 40thread.v2 0?context 7b 22Tid 22 3a 2205894af0-cb28-46d8-8716-74cdb46e2226 2...


SVG not supported 3:21am Wed 23rd Oct, Mehwish N.

The marks will be available on this thursday on csmarks, i.e., on 24 Oct 2024.


SVG not supported 3:18am Wed 23rd Oct, Mehwish N.

If you are preparing for SQL, you are following the rules of relational algebra. Yes, it is included, but I cannot give away the final exam )


 UWA week 42 (2nd semester, week 12) ↓
SVG not supported 1:59pm Wed 16th Oct, Mehwish N.

Hi, It is there now ) In fact you can also find it under the solution for practice exam. The solution was discussed in 07 and 09 Oct lectures. Cheers


SVG not supported 1:58pm Wed 16th Oct, Mehwish N.

Hi, Please check now. Also note if you need to see how we arrived at the solution, you can watch the recording from 7th and 9th Oct.


 UWA week 41 (2nd semester, week 11) ↓
SVG not supported 10:42pm Mon 7th Oct, Mehwish N.

In the afternoon, when we made it two attempts, the penalties were removed.


SVG not supported 10:41pm Mon 7th Oct, Mehwish N.

Thank you. We will check that.


SVG not supported 10:00pm Mon 7th Oct, Mehwish N.

It was deliberate not to post the schema, so that people do not put it in AI and generate the answers. I also categorically discussed and mentioned in announcements that you were not supposed to discuss the test anywhere. It comes under academic misc...


SVG not supported 9:53pm Mon 7th Oct, Mehwish N.

I am aware of this. We are going to ignore that question.


SVG not supported 9:50pm Mon 7th Oct, Mehwish N.

We have provided the table names that you are supposed to use. They match with the ERD. Any bridging tables have also been named along with PKs.


SVG not supported 9:49pm Mon 7th Oct, Mehwish N.

This is what I have mentioned in the instructions "Please use the case study and ERD provided to you to answer this part."


SVG not supported 9:46pm Mon 7th Oct, Mehwish N.

Except for any general comments, you are not allowed to discuss the test with each other or on the forums. I made that clear. If you have queries, you should email them to the teaching team.


SVG not supported 9:44pm Mon 7th Oct, Mehwish N.

If you remember in the class we had discussions on whether you can create unique PKs or not. A number of students did that and some did not. Hence, where we felt necessary, we have provided some key attributes and PKs.


SVG not supported 9:42pm Mon 7th Oct, Mehwish N.

Hi, You had to derive that schema from the ERD provided to you. Where we felt necessary, we have provided some key attributes.


SVG not supported 9:42pm Mon 7th Oct, Mehwish N.

Please follow the ERD model that was provided. In case there are PKs that are not specified, we have mentioned them under various questions.


SVG not supported 10:10am Mon 7th Oct, Mehwish N.

Hi, No you do not need to use the average in Q7. Can you please post the actual question here, because i feel you may be referring to a different question.


SVG not supported 10:08am Mon 7th Oct, Mehwish N.

Hi, No issues. I also mentioned in an announcement that it is expected that your understanding about the project would improve during the take home test, so please attempt the questions even if you did not implement certain tecnhiques in the project ...


 UWA week 40 (2nd semester, week 10) ↓
SVG not supported 7:29pm Sun 6th Oct, Mehwish N.

Hi, Multiple ways to address this. Either you put a null, or you populate it correctly with the return depot (that's what happens in real life , one chooses the return depot when they make the booking). Cheers


SVG not supported 7:27pm Sun 6th Oct, Mehwish N.

Hi, The examples that you have mentioned are going to work in sqlite (see the code below). However, this is not going to work with other dilects of SQL. You can use it in sqlite if you want to. In the exam, if you have written a query that either work...


SVG not supported 7:13pm Sun 6th Oct, Mehwish N.

Hi, Your submission is in the draft format. You did not submit it. You can submit it under late submissions links. There is no penalty. Cheers


SVG not supported 7:11pm Sun 6th Oct, Mehwish N.

That's okay as long as you know what's going on cheers


SVG not supported 9:14pm Sat 5th Oct, Mehwish N.

Just 3-4 records for each table are sufficient. You will be questioned on your attempt and your understanding. Dummy data would not matter


SVG not supported 9:03pm Sat 5th Oct, Mehwish N.

Yes, after the take home test


SVG not supported 9:02pm Sat 5th Oct, Mehwish N.

Hi, Forget what the class mates are saying, look at the unit outline (what does it say?) "submitted via Moodle-Assessed via a take home test" Also look at the project question sheet (what does that say?). " Following the submission of both parts ...


SVG not supported 8:56pm Sat 5th Oct, Mehwish N.

Hi Can you please email me your first solution? I can see that right now you have submitted the intended solution. Cheers


SVG not supported 8:43pm Sat 5th Oct, Mehwish N.

If you have already submitted it then do not submit again. If you have not submitted it then please submit by clicking the late submission links.


SVG not supported 8:42pm Sat 5th Oct, Mehwish N.

If you have already submitted it then do not submit again.


SVG not supported 1:24am Thu 3rd Oct, Mehwish N.

Test will have 28-30 theory based MCQs and 10 SQL based questions. If we decide to interview you, it is expected that your code is running and you are able to explain your work.


SVG not supported 12:05am Thu 3rd Oct, Mehwish N.

Sure Please make individual submissions (though they will be similar). Also attempt the test individually. Cheers


SVG not supported 12:03am Thu 3rd Oct, Mehwish N.

- Same street address can be in different postcodes so a street address is not determined by postcode (nor vice versa). E.g., 1 Other street Nedlands 6009 and 1 Other street Perth 6000. - Phone numbers Email Follow the rules from the lecture )


SVG not supported 11:56pm Wed 2nd Oct, Mehwish N.

Hi, This was likely a glitch. You can access it now


SVG not supported 11:53pm Wed 2nd Oct, Mehwish N.

Thanks Mia.


SVG not supported 11:52pm Wed 2nd Oct, Mehwish N.

I delved into that particular part in the video, because it was going to be in the mid-term. That video was released before the mid-term.


SVG not supported 11:50pm Wed 2nd Oct, Mehwish N.

At the beginning you can include DROP statements for all the tables in your database. This to ensure that when I am going to run your database, I do not have any existing tables with the same name Cheers


SVG not supported 11:50pm Wed 2nd Oct, Mehwish N.

Hi, If the vehicles were picked and dropped at the same location, there was no need for two relationships. In reality, one can pick and drop the vehicles to separate depots. Also, this sample ERD is one way of solving the project. Students can offer ...


SVG not supported 11:42pm Wed 2nd Oct, Mehwish N.

Hi, The standard approach has been discussed in the lecture under logical modeling. However, it is also possible to deviate from the standard approach. You need to look at the connections between the subclasses superclass with rest of the ER model. I...


SVG not supported 11:39pm Wed 2nd Oct, Mehwish N.

Time duration Some students made a valid argument about issues with the internet during this week and were wondering if the situation continues next week, then that may impact their performance. Just to put everyone at ease, I have extended window f...


SVG not supported 11:39pm Wed 2nd Oct, Mehwish N.

Time duration Some students made a valid argument about issues with the internet during this week and were wondering if the situation continues next week, then that may impact their performance. Just to put everyone at ease, I have extended window f...


SVG not supported 11:39pm Wed 2nd Oct, Mehwish N.

Hi, Yes triggers and views are included. You need them for the project so please practice them. Cheers


SVG not supported 12:20pm Tue 1st Oct, Mehwish N.

Hi, I followed up on the form. The answer for Q7 is c. You have been given a mark for that. For Q18, the answers were either A or E. That was not a guess game. As far writing the correct answer on question paper is concerned, it will not be accepted ...


SVG not supported 12:10pm Tue 1st Oct, Mehwish N.

ANONYMOUS wrote Sorry, it is off by 60 seconds. It is 03 Oct 11 59 pm. If you want, you can put a screenshot, but it is not required. No videos please ). We are going to invite about 10 students for an interview. If you have a thorough submission, ...


SVG not supported 12:01pm Tue 1st Oct, Mehwish N.

Hi, You cannot submit a .db file because in a .db file we cannot see your code. Please create either a .sql or a .txt file to run your queries. Eventually, the final submission will be in .txt file. You can simple rename your .sql file. Cheers


SVG not supported 3:25pm Mon 30th Sep, Mehwish N.

Date and ClientID, together may work, but you can also create a new ID attribute.


SVG not supported 3:24pm Mon 30th Sep, Mehwish N.

Please follow the instructions mentioned in the title for that recording.


 UWA week 39 (2nd semester, week 9) ↓
SVG not supported 12:18pm Thu 26th Sep, Mehwish N.

Thanks for pointing out the issues. Let me answer these one by one. This was a human error. I missed it, however, just follow what is there in the ERD. You can use any data type. Yes, there is an extra tab. I'll update that in a while. Sure. You can ...


SVG not supported 11:58am Thu 26th Sep, Mehwish N.

Why are you lobbying for Q18? Those who selected A, did so because they saw a missing semi-colon in iii. Those who selected E, they looked at the query in whole (iii), which was syntactically correct, except for a missing semi-colon. That is why both ...


SVG not supported 10:43am Thu 26th Sep, Mehwish N.

Hi, Yes please practice some views and triggers on your data. In the take home test there will be at least one question on each of these. We are going to study these topics on Monday 30th Sept. Cheers


SVG not supported 10:41am Thu 26th Sep, Mehwish N.

Hi, It was a public holiday. Some videos have been provided in the Lecture notes section.


SVG not supported 10:41am Thu 26th Sep, Mehwish N.

Please check your marks now. cheers


SVG not supported 10:40am Thu 26th Sep, Mehwish N.

c is the right answer


SVG not supported 10:40am Thu 26th Sep, Mehwish N.

Hi, It was a public holiday. Some videos have been provided in the Lecture notes section.


SVG not supported 1:40am Tue 24th Sep, Mehwish N.

Imagine a database and I ask you to find information on room "1234" in the past two years. That room is supposed to be on multiple lease documents in the database to get information about who leased that room. This is the same as leasing a house. A h...


SVG not supported 1:35am Tue 24th Sep, Mehwish N.

Hi, Yes as discussed in the logical modeling, you may need to create new relations. Cheers


SVG not supported 1:33am Tue 24th Sep, Mehwish N.

Further to my last reply, I request students not to run their imaginations wild while trying to guess the answers they filled-in during the exam D The scanners are pretty good at UWA. There could be other issues, such as the scanner not recognizing ...


SVG not supported 12:11am Tue 24th Sep, Mehwish N.

Thanks for letting me know. Can you please fill out the form? Please mention in the description what you have mentioned here. cheers Mehwish


 UWA week 38 (2nd semester, week 8) ↓
SVG not supported 3:56pm Thu 19th Sep, Mehwish N.

Hi, I did put those attributes under Vehicle type. No you should not need the capitalisation. Cheers


SVG not supported 3:54pm Thu 19th Sep, Mehwish N.

Hi, Subclass is actually a special type of the superclasse. Whereas, a weak entity may be dependent for its existance on another entity, it may still be identified as an entity on its own, in combination of the attributes of another entity.


SVG not supported
Ans of midt erm 👍x3  (all 3)
3:50pm Thu 19th Sep, Mehwish N.

That's a good idea. I'll post the answers this week and then in the class we can discuss each question )


SVG not supported 3:15pm Thu 19th Sep, Mehwish N.

There was no lecture on Monday. The time-table shows that the lecture was on 18th september. You should be able to find the recording now. Cheers


 UWA week 37 (2nd semester, week 7) ↓
SVG not supported 12:06pm Fri 13th Sep, Mehwish N.

We resolve many to many relationships usually by create a new relation (table). However, that is part of the logical modeling.


SVG not supported 10:12am Fri 13th Sep, Mehwish N.

The first part of the unit outline show indicative weights that are in the handbook and do not change. From semester to semester, we change the weights slightly depending upon various factors (student feedback, performance of students, chatGPT etc.)....


SVG not supported 10:50am Wed 11th Sep, Mehwish N.

Hi, As we discussed in the lecture that you can do the project all by yourself. Please start asap as this is not a project that you can do at the last minute. Cheers


SVG not supported 10:49am Wed 11th Sep, Mehwish N.

Just replied in that thread.


SVG not supported 10:49am Wed 11th Sep, Mehwish N.

Hi James, Sorry that we missed this. In the first part of the project, we are focusing on the conceptual design. Now that you have started logical modeling, we are going to create a new table where we see a relationship. While dealing with concept...


SVG not supported 10:43am Wed 11th Sep, Mehwish N.

It was a server issue. Please check now. Cheers Mehwish


SVG not supported 10:43am Wed 11th Sep, Mehwish N.

Ideally you should get the notification for both as that is what I have set in the system. Please try to submit again, and if you do not get the notification then let us know here. Cheers


SVG not supported 10:20am Tue 10th Sep, Mehwish N.

Yes, that is a very good point Though you do not have to include invoice right now, in the second part, I'll show that business requirements can change and suddenly the client realises that they have missed some requirements. Invoice is coming in pa...


 UWA week 36 (2nd semester, mid-semester break) ↓
SVG not supported 10:00am Thu 5th Sep, Mehwish N.

If I have understood your question correctly, then I am afraid your interpretation is not correct. Multiplicity means how many times an entity can participate in a relationship. In the class we did an example on newspapers and propertyForRent as two ...


SVG not supported 9:57am Thu 5th Sep, Mehwish N.

Hi, Please check now. Cheers


SVG not supported 1:11pm Mon 2nd Sep, Mehwish N.

No, please do not mention foreign keys in the data dictionaries. Basically what you are going to write in the data dicitionaries will be carried to your ERD. Cheers


SVG not supported 1:10pm Mon 2nd Sep, Mehwish N.

"has" can be a relationship name.


SVG not supported 1:09pm Mon 2nd Sep, Mehwish N.

No not an issue since it was school administered test. Cheers


SVG not supported 1:09pm Mon 2nd Sep, Mehwish N.

Final exam will be closed book. Cheers


 UWA week 35 (2nd semester, week 6) ↓
SVG not supported 2:40pm Thu 29th Aug, Mehwish N.

It is called UML (unified modeling language). Yes a ternary relationship is represented by a diamond. However, entities are represented by rectangles. Please also make sure you know how multiplicities are represented. Cheers. ANONYMOUS wrote


SVG not supported 11:49am Thu 29th Aug, Mehwish N.

Hi, First of all I did not create this question, but let's try to solve it together. Please see slides 33 if the lecture. The number of tuples in the resulting relation (after cartesian product is applied) are number of tuples in the first relation t...


SVG not supported 11:28am Thu 29th Aug, Mehwish N.

You can check now under week 6. Cheers


SVG not supported 9:50am Thu 29th Aug, Mehwish N.

Hi, 1. While using sqlite, boolean datatypes are converted to integers. For this question you could have instead used an integer. 2. Pi underscore (column names), indicates which columns to display. Just writing the name of the relation without Pi mea...


SVG not supported 9:31am Wed 28th Aug, Mehwish N.

Hi Tim, Please check your mailbox. An email was sent to you. Regards Mehwish


SVG not supported 6:53pm Tue 27th Aug, Mehwish N.

Hi, In principle the AND and OR should not give the same result, however, given the tiny amount of data the sample file has, it may give you the same result. You can add more test data to test your queries on your own computer. The where clause will ...


SVG not supported 6:48pm Tue 27th Aug, Mehwish N.

)


SVG not supported 2:44pm Tue 27th Aug, Mehwish N.

Already answered on forums Content - Theory Everything that we will cover till the Lecture in week 6 (26 Aug 2024). Topics include Introduction to Databases Relational Model Relational Algebra ER Modeling (Wk 4) Enhanced ER Modeling (Wk 5-6) - SQL Eve...


SVG not supported 2:43pm Tue 27th Aug, Mehwish N.

Did I not emphasize enough yesterday that logical or physical database design was not part of the exam? We did not study anything related to those phases. We just did an intro. Mehwish


SVG not supported 1:59pm Mon 26th Aug, Mehwish N.

Try not to add extra columns or attributes. Only do that if there is no other way out.


 UWA week 34 (2nd semester, week 5) ↓
SVG not supported 7:03pm Sun 25th Aug, Mehwish N.

Yes, we'll discuss them in the class tomorrow. I'll also upload the solution before the class. The solutions for the first two worksheets are uploaded (ref left pane). Cheers


SVG not supported 6:55pm Sun 25th Aug, Mehwish N.

Hi, We are going to do a case study on Monday 26th August, please watch that. In short description is a summary about entity attribute relationship. Occurrence is an example (a hypothetical one). Aliases It is alternative-name for entity attribute r...


SVG not supported 6:49pm Sun 25th Aug, Mehwish N.

Yes, there's no penalty on multiple attempts. This is to encourage students to try the solution without worrying about losing marks.


SVG not supported 9:31pm Wed 21st Aug, Mehwish N.

Hi, I have opened the registration. You can still attempt lab 2 and 3. Cheers


SVG not supported 9:31pm Wed 21st Aug, Mehwish N.

Hi, Did you try to find a project partner in the lecture hall? I am sure there are many other students who are looking for project partners. Cheers Mehwish


 UWA week 32 (2nd semester, week 3) ↓
SVG not supported 9:03pm Sun 11th Aug, Mehwish N.

Hi, Thanks for pointing out the two typos. Moodle does not normally allows to correct the typos once the quiz is released. But we will try to fix it. I have updated the description of the lab, just in case we cannot update the text of the original qu...


SVG not supported 8:48pm Sun 11th Aug, Mehwish N.

Very good suggestion ) I have upload a file on moodle as well as one under week 4. You need to create all your tables first before you attempt to load data. Once you have created the tables, use the following command to load the data .read printing...


SVG not supported 11:37am Fri 9th Aug, Mehwish N.

Hi, Format MCQs (I will guide you in the lecture how to fill an MCQs sheet). There will NOT be any short-answer long answer questions. Content - Theory Everything that we will cover till the Lecture in week 6 (26 Aug 2024). Topics include Introdu...


SVG not supported 10:20pm Wed 7th Aug, Mehwish N.

May be )


SVG not supported 10:18pm Wed 7th Aug, Mehwish N.

Hi James, Thanks for the document. We are taking a top-down approach in this unit and the topic of functional dependencies will come a bit later in the unit, around week 8 when we are going to study normalisation. However, I am impressed that you are...


 UWA week 31 (2nd semester, week 2) ↓
SVG not supported 9:38pm Sun 4th Aug, Mehwish N.

Hi, The highest grade will be counted. Cheers Mehwish


 UWA week 30 (2nd semester, week 1) ↓
SVG not supported 11:05pm Sun 28th Jul, Mehwish N.

Hi, The project is scoped in a way that it can be done individually as well. However, besides technical skills, I would like to teach our students some soft skills that have proven to improve critical thinking. Working in a team is therefore useful. ...


SVG not supported 3:57pm Wed 24th Jul, Mehwish N.

Hi, Had you watched Monday's lecture, you would have never looked for Wednesday's lecture ) There is only one lecture i.e., on Monday. Please refer to unit outline and welcome page. However, on 16th Sept (Monday) the lecture hall is not available, h...


SVG not supported
Welcome 👍x4
2:54pm Mon 22nd Jul, Mehwish N.

Welcome to CITS1402. Please note, the key for enrolling to the moodle server (https quiz.jinhong.org ) should work now. cheers Mehwish

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  8:08AM Aug 25 2024
Privacy policy