0% found this document useful (0 votes)
13 views

Course2Module04AssignmentSelfEvalRubric

The document outlines a self-evaluation rubric for a Module 4 assignment, emphasizing the importance of assessing one's own performance to learn from mistakes. It provides detailed tables for each problem, listing error types and comments to guide learners in correcting their SQL statements and improving their understanding. The document encourages honesty in self-assessment and suggests reworking problems with errors to achieve better results.

Uploaded by

Senti singh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views

Course2Module04AssignmentSelfEvalRubric

The document outlines a self-evaluation rubric for a Module 4 assignment, emphasizing the importance of assessing one's own performance to learn from mistakes. It provides detailed tables for each problem, listing error types and comments to guide learners in correcting their SQL statements and improving their understanding. The document encourages honesty in self-assessment and suggests reworking problems with errors to achieve better results.

Uploaded by

Senti singh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Self-Evaluation Rubric for the Module 4 Assignment

Self-evaluation allows a learner to make an honest assessment of their knowledge and skills
about a module. You should apply the rubric to assess your performance so that you can learn
from your mistakes. An error is an opportunity to correct a misunderstanding of a concept,
problem statement, or software/language feature. Learning from mistakes is an important key to
success. You should consider mistakes as an essential element of your learning process. If you
doubt the importance of learning from mistakes, please search under “learning from mistakes” to
read about the benefits of learning from mistakes.

Before using the grading rubric, each problem should meet basic requirements for valid
syntax and submission artifacts. If a problem has syntax errors, you should correct errors before
beginning the self-evaluation. Use statements shown in the slides and class examples to help
correct your syntax errors. For each statement, submission artifacts are the SQL statement and
snapshot of the statement’s execution showing some rows.

After complying with the basic requirements for each problem, you should apply the
grading rubric in Tables 1 to 12. For each problem, you should note each error following rubric
elements and the solution provided in a separate document. Be honest in your assessment so that
you learn from your mistakes. If you have major errors, you should rework problems with errors
without seeing the solution and then reassess your revised solutions. You should see
improvement on your second attempt along with an understanding of your errors.

Table 1: Rubric for Self-Evaluation of Problem 1

Rubric Element Error Type Comments


Target table Major SSItem table after INTO keyword
Source table Major SSItemChanges1 after USING keyword
ON clause Major Join condition using ItemId from both tables
MATCHED clause Medium UPDATE statement with 4 columns
NOT MATCHED clause Medium INSERT statement with 5 columns
Syntax Major Valid syntax
Formatting Minor Indentation and line breaks to improve
readability
12/10/2022 Self-Evaluation Rubric for the Module 4 Assignment Page 2

Table 2: Rubric for Self-Evaluation of Problem 2

Rubric Element Error Type Comments


Target table Major SSItem table after INTO keyword
Source table Major SSItemChanges2 after USING keyword
ON clause Major Join condition using ItemId from both tables
MATCHED clause Medium UPDATE statement with 4 columns and
DECODE functions
NOT MATCHED clause Medium INSERT statement with 5 columns
Syntax Major Valid syntax
Formatting Minor Indentation and line breaks to improve
readability

Table 3: Rubric for Self-Evaluation of Problem 3

Rubric Element Error Type Comments


First WHEN clause and Major SalesYear = 2018 INTO ProductSales2018 with
INTO clause 4 columns
Second WHEN clause and Major SalesYear = 2019 INTO ProductSales2019 with
INTO clause 4 columns
Third WHEN clause and Major SalesYear = 2020 INTO ProductSales2020 with
INTO clause 4 columns
Fourth WHEN clause and Major SalesYear = 2021 INTO ProductSales2021 with
INTO clause 4 columns
SELECT clause Medium ProductSale1
Syntax Major Valid syntax
Formatting Minor Indentation and line breaks to improve
readability

Table 4: Rubric for Self-Evaluation of Problem 4

Rubric Element Error Type Comments


First WHEN clause and Major SalesYear = 2018 INTO ProductSales2018 with
INTO clause 4 columns
Second WHEN clause and Major SalesYear = 2019 INTO ProductSales2019 with
INTO clause 4 columns
Third WHEN clause and Major SalesYear = 2020 INTO ProductSales2020 with
INTO clause 4 columns
Fourth WHEN clause and Major SalesYear = 2021 INTO ProductSales2021 with
INTO clause 4 columns
SELECT clause Medium ProductSale1
Syntax Major Valid syntax
Formatting Minor Indentation and line breaks to improve
readability
Equivalent rows processed Minor Statement indicating identical as conditions are
mutually exclusive
12/10/2022 Self-Evaluation Rubric for the Module 4 Assignment Page 3

Table 5: Rubric for Self-Evaluation of Problem 5

Rubric Element Error Type Comments


First WHEN clause and Major (Qtr1+Qtr2+Qtr3+Qtr4 < 4000) INTO
INTO clause YEAR_LOW_SALES with 3 columns
Second WHEN clause and Major (Qtr1+Qtr2+Qtr3+Qtr4 >= 4000 AND
INTO clause Qtr1+Qtr2+Qtr3+Qtr4 < 7000) INTO
YEAR_MID_SALES with 3 columns
Third WHEN clause and Major ELSE INTO YEAR_MID_SALES with 3
INTO clause columns
SELECT clause Medium ProductSale2
Syntax Major Valid syntax
Formatting Minor Indentation and line breaks to improve
readability

Table 6: Rubric for Self-Evaluation of Problem 6

Rubric Element Error Type Comments


First WHEN clause and Major (Qtr1+Qtr2+Qtr3+Qtr4 < 4000) INTO
INTO clause YEAR_LOW_SALES with 3 columns
Second WHEN clause and Major (Qtr1+Qtr2+Qtr3+Qtr4 >= 4000 AND
INTO clause Qtr1+Qtr2+Qtr3+Qtr4 < 7000) INTO
YEAR_MID_SALES with 3 columns
Third WHEN clause and Major ELSE INTO YEAR_MID_SALES with 3
INTO clause columns
SELECT clause Medium ProductSale2
Syntax Major Valid syntax
Formatting Minor Indentation and line breaks to improve
readability
Equivalent rows processed Minor Statement indicating identical as conditions are
mutually exclusive

Table 7: Rubric for Self-Evaluation of Problem 7

Rubric Element Error Type Comments


Target table Major Mobile_Bill table after INTO keyword
Source table Major Mobile_Usage after USING keyword
ON clause Major (Mobile_Bill.CustID = Mobile_Usage.CustID)
MATCHED clause Medium UPDATE statement with 2 columns
NOT MATCHED clause Medium INSERT statement with 3 columns
Syntax Major Valid syntax
Formatting Minor Indentation and line breaks to improve
readability
12/10/2022 Self-Evaluation Rubric for the Module 4 Assignment Page 4

Table 8: Rubric for Self-Evaluation of Problem 8

Rubric Element Error Type Comments


First WHEN clause and Major (CurrentAmt >= 150 INTO Mobile_Gold with 5
INTO clause columns
Second WHEN clause and Major (CurrentAmt >= 100 INTO Mobile_Silver with 5
INTO clause columns
Third WHEN clause and Major ELSE INTO Mobile_Bronze with 3 columns
INTO clause
SELECT clause Medium Mobile_Customer
Syntax Major Valid syntax
Formatting Minor Indentation and line breaks to improve
readability

Table 9: Rubric for Self-Evaluation of Problem 9

Rubric Element Error Type Comments


First WHEN clause and Major (CurrentAmt >= 150 INTO Mobile_Gold with 5
INTO clause columns
Second WHEN clause and Major (CurrentAmt >= 100 INTO Mobile_Silver with 5
INTO clause columns
Third WHEN clause and Major ELSE INTO Mobile_Bronze with 3 columns
INTO clause
SELECT clause Medium Mobile_Customer
Syntax Major Valid syntax
Formatting Minor Indentation and line breaks to improve
readability
Additional rows processed Minor Statement indicating additional rows as
conditions are not mutually exclusive

Table 10: Rubric for Self-Evaluation of Problem 10

Rubric Element Error Type Comments


INSERT INTO clause Major SSItem table with 5 columns
SELECT clause Major SSItemChanges1 with 5 columns
ON CONFLICT clause Major ItemId
DO UPDATE clause Medium SET keyword with 4 columns
Syntax Major Valid syntax
Formatting Minor Indentation and line breaks to improve
readability
12/10/2022 Self-Evaluation Rubric for the Module 4 Assignment Page 5

Table 11: Rubric for Self-Evaluation of Problem 11

Rubric Element Error Type Comments


INSERT INTO clause Major SSItem table with 5 columns
SELECT clause Major SSItemChanges1 with 5 columns
ON CONFLICT clause Major ItemId
DO UPDATE clause Medium SET keyword with 4 columns using CASE
functions with NOT NULL conditions
Syntax Major Valid syntax
Formatting Minor Indentation and line breaks to improve
readability

Table 12: Rubric for Self-Evaluation of Problem 12

Rubric Element Error Type Comments


INSERT INTO clause Major SSItem table with 5 columns
SELECT clause Major SSItemChanges1 with 5 columns
ON CONFLICT clause Major ItemId
DO UPDATE clause Medium SET keyword with 4 columns using CASE
functions with conditions on default values
Syntax Major Valid syntax
Formatting Minor Indentation and line breaks to improve
readability

You might also like