owned this note
owned this note
Published
Linked with GitHub
### Version 1
You have a vast experience spanning over 10+ years in content development in the field of programming.
### Task:
You are tasked with crafting a set of ten multiple-choice questions based on the important question below. Each question should belong to a specific category, as listed, and assess the same learning outcome as the important question. Clearly indicate the correct answer for each question. Adhere to the Remembering, Understanding, and Applying levels of the Revised Bloom's taxonomy while creating these MCQs.
### Important Question:
**Learning Outcome**
Understanding the "KEYWORD ARGUMENTS" in function arguments
**Question Text**
What will be the output of the given Python code?
**CODE**
def add(arg_1, arg_2):
result = arg_1 + int(arg_2)
return result
a = 10
b = 2.8
result = add(arg_1=b, arg_2=a)
print(result)
**Options:**
A. 12
B. 2.8
C. 10
D. 12.8
**Answer:**
D. 12.8
### MCQ Categories:
1. True/False
2. Single correct answer
3. Multiple correct answers
4. Match the following
5. Assertion-Reason
6. Best completes the sentence
7. Best exemplifies the situation described
8. Requires calculating to find the answer
9. Based on a passage or image (provide a brief passage or describe an image as the base for the question).
10. Fill in the blanks.
11. Cloze test (create a cloze test reflecting the key concepts and information presented in the content).
#### Ensure each question utilizes one of the following templates:
- "Considering the given code, which of the following?"
- "Considering the given code, what is the?"
- "Fill in the blank space(s) with the appropriate method to"
- "Which of the following is the correct syntax?"
- "Which of the following methods is used to?"
- "Is this a valid HTML code?"
- "What is the output of the given Python code?"
### Learning objectives for MCQs:
- Help learners better understand the concepts in the important question.
- Help learners revise the concepts learned in the given important question.
- Encourage self-paced learning: Allow learners to learn at their own pace and develop their understanding further.
- Your ultimate goal is to provide helpful, engaging and high-quality MCQs for the learner.
### Learner Persona:
- The learners have previously engaged with the concepts in the central question and are now looking to test their understanding through these variant questions.
- The learners have limited English proficiency, coming from non-English medium backgrounds.
### Instructions: {
"question_type": "MULTIPLE_CHOICE",
"question_id": "e1ecd1f7-42f5-43b1-a1bc-547c5fad0fb3",
"question": {
"content": "Which of the following is *incorrect* about the ALTER TABLE statement?\n\n",
"short_text": "",
"multimedia": [],
"content_type": "MARKDOWN",
"difficulty": "MEDIUM",
"metadata": null
},
"question_asked_by_companies": [],
"selected_language": "en",
"available_languages": [
"en"
],
"options": [
{
"option_id": "d6fa0878-6144-4adf-9af0-a22094a0e974",
"content": "ALTER is used to add a new row.",
"order": 1,
"multimedia": [],
"content_type": "MARKDOWN",
"metadata": null,
"is_correct": true
},
{
"option_id": "1ab1c2dd-c4a5-47b8-a0ef-b2b28e99199d",
"content": "ALTER is used to add a new column.",
"order": 2,
"multimedia": [],
"content_type": "MARKDOWN",
"metadata": null,
"is_correct": false
},
{
"option_id": "0fb63801-6eb3-46a8-808f-0708e872676a",
"content": "ALTER is used to rename a column.",
"order": 3,
"multimedia": [],
"content_type": "MARKDOWN",
"metadata": null,
"is_correct": false
}
]
},
1. Adherence to Templates: Use the provided question phrases strictly.
2. Scope: Limited to the Important Question and Article: Create questions based on the important question provided. Refer to the attached article only to ensure the wrong options remain within the relevant context, and do not introduce any concepts from outside the article. Do not generate new questions based on the article; it is a reference to keep the scope intact while creating variant questions.
3. Review: Ensure each variant meets the standards of scope, learning outcomes, and templates.
### Note:
- Maintain clarity and avoid introducing new concepts.
- While creating MCQ variants, avoid introducing similar words or unrelated concepts that can confuse learners. Ensure every question directly relates to the main objectives of the original important question to facilitate clear and focused learning.
### Output Template:
@QUESTION_ID: "Insert a new UUID here"
@QUESTION_TYPE: CODE_ANALYSIS_MULTIPLE_CHOICE
@QUESTION:
(Insert your question here following the question templates mentioned)
@QUESTION_CONTENT_TYPE: MARKDOWN
@CODE:
(Insert the Python code snippet or relevant code here)
@OPTION1: (Option 1)
@OPTION2: (Option 2)
@OPTION3: (Option 3)
@OPTION4: (Option 4)
@CORRECT_OPTIONS: (Correct option identifier such as OPTION1, OPTION2 etc.)
@TAG_NAMES: Leave this field empty
@SKILLS: Leave this field empty
@EXPLANATION: Leave this field empty
---END
@QUESTION_ID: "Insert a new UUID here"
@QUESTION_TYPE: MULTIPLE_CHOICE
@QUESTION:
(Insert your question here following the question templates mentioned)
@QUESTION_CONTENT_TYPE: MARKDOWN
@CODE:
(You can ignore this code, if you don't have code to insert here)
@OPTION1: (Option 1)
@OPTION2: (Option 2)
@OPTION3: (Option 3)
@OPTION4: (Option 4)
@CORRECT_OPTIONS: (Correct option identifier such as OPTION1, OPTION2 etc.)
@TAG_NAMES: Leave this field empty
@SKILLS: Leave this field empty
@EXPLANATION: Leave this field empty
---END
## Version 2
You have vast experience spanning over 10+ years in content development in the field of programming.
### Task:
Your task is to create a set of ten variant questions based on the question below. Each question should belong to a specific category, as listed, and assess the same learning outcome as the question below. Clearly indicate the correct answer for each question. Adhere to the Remembering, Understanding, and Applying levels of the Revised Bloom's taxonomy while creating these MCQs.
### Question:
**Question Learning Outcome**
Understanding the "DURABILITY" in function arguments
**Question Context**
Durability ensures that once a transaction has been successfully completed, the changes made during that transaction are permanent, even in the event of a system crash. For example, consider David with an initial balance of 10,000 units. If David receives a credit of 5k units, his new balance becomes 15,000 units. Even if there is a system failure after this transaction, when the system is restored, David's balance will remain at 15,000 units. This property guarantees that data remains consistent and safe from unexpected interruptions or crashes.
**Question Text**
Which of the following describes *durability* property of a transaction?
**CODE**
NA
**Options:**
A. Changes of a successful transaction persist even after a system crash
B. Transactions always leave the database in a consistent state
C. Either all SQL statements or none are applied to the database
D. Multiple transactions can occur at the same time without adversely affecting the other
**Answer:**
A. Changes of a successful transaction persist even after a system crash
### MCQ Categories:
1. True/False.
2. Multiple choice question.
3. Multi correct multiple choice question.
4. Textual.
5. Match the following.
6. Choose the correct statements.
7. Real-time scenario-based question.
8. Code analysis True/False
9. Code analysis multiple choice question.
10. Code analysis multi-correct multiple choice question.
11. Code analysis Textual.
12. Code analysis matches the following
13. Code analysis choose the correct statements.
14. Code analysis Real-time scenario-based question.
15. Fill in the blanks Textual
16. Fill in the blanks Coding
#### Ensure each question utilizes one of the following question text templates:
- "Considering the given code, which of the following....?"
- "Considering the given code, what is the....?"
- "Fill in the blank space(s) with the appropriate method to...."
- "Which of the following is the correct syntax....?"
- "Which of the following methods is used to....?"
- "Is this a valid HTML code....?"
- "What is the output of the given code....?"
### Learning objectives for MCQs:
- Help learners better understand the concepts in the question.
- Help learners revise the concepts learned in the given question.
- Encourage self-paced learning: Allow learners to learn at their own pace and develop their understanding further.
- Your ultimate goal is to provide helpful, engaging, high-quality MCQs for the learner.
### Learner Persona:
- The learners have previously engaged with the concepts in the central question and are now looking to test their understanding through these variant questions.
- The learners have limited English proficiency, coming from non-English medium backgrounds.
### Instructions:
1. Adherence to Templates: Use the provided question phrases strictly.
2. Review: Ensure each variant meets the standards of scope, learning outcomes, and templates.
3. Each question should focus on a single concept. Avoid combining or mixing multiple concepts in one question for clarity and precision.
4. Don't deviate from the question context
### Note:
- Maintain clarity and avoid introducing new concepts.
- If there are any words which are creating any memory interference in a single question, avoid them with combat interference from super memo 20 rules of formatting knowledge.
- Fill-in-the-blanks which follows the cloze deletion principle from super memo 20 rules of formatting knowledge.
### Output Template:
@QUESTION_ID: "Insert a new UUID here"
@QUESTION_TYPE: CODE_ANALYSIS_MULTIPLE_CHOICE
@QUESTION:
(Insert your question here following the question templates mentioned)
@QUESTION_CONTENT_TYPE: MARKDOWN
@CODE:
(Insert the relevant code snippet here)
@OPTION1: (Option 1)
@OPTION2: (Option 2)
@OPTION3: (Option 3)
@OPTION4: (Option 4)
@CORRECT_OPTIONS: (Correct option identifier such as OPTION1, OPTION2 etc.)
@TAG_NAMES: Leave this field empty
@SKILLS: Leave this field empty
@EXPLANATION: Leave this field empty
@QUESTION_LEVEL: ( Remembering, Understanding, Applying and Real-time based scenarios )
---END
@QUESTION_ID: "Insert a new UUID here"
@QUESTION_TYPE: MULTIPLE_CHOICE
@QUESTION:
(Insert your question here following the question templates mentioned)
@QUESTION_CONTENT_TYPE: MARKDOWN
@CODE:
(You can ignore this code if you don't have code to insert here)
@OPTION1: (Option 1)
@OPTION2: (Option 2)
@OPTION3: (Option 3)
@OPTION4: (Option 4)
@CORRECT_OPTIONS: (Correct option identifier such as OPTION1, OPTION2 etc.)
@TAG_NAMES: Leave this field empty
@SKILLS: Leave this field empty
@EXPLANATION: Leave this field empty
@QUESTION_LEVEL: ( Remembering, Understanding, Applying and Real-time based scenarios )
---END