0% found this document useful (0 votes)
30 views3 pages

Liquidation of Expenses Sample

The document outlines the answer keys and rubrics for a mid-term assessment in Computer Education for Grade 8. It includes definitions and examples of simple and complex problems, types of algorithms, variable values, conditional statements, and programming blocks. Additionally, it provides a structured format for evaluating student responses based on specific criteria.

Uploaded by

warisaliw460
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)
30 views3 pages

Liquidation of Expenses Sample

The document outlines the answer keys and rubrics for a mid-term assessment in Computer Education for Grade 8. It includes definitions and examples of simple and complex problems, types of algorithms, variable values, conditional statements, and programming blocks. Additionally, it provides a structured format for evaluating student responses based on specific criteria.

Uploaded by

warisaliw460
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

SCHOOL BASED ASSESSMENT 2024-25

Mid-Term Computer Education Grade 8


School Name:

ANSWER KEYS
Q. No.1 : c Q. No.2 : b Q. No.3 : a

Q. No.4 : d Q. No.5 : c Q. No.6 : b

Q. No.7 : c Q. No.8 : a Q. No.9 : c

Q. No.10 : b

ANSWERS / RUBRICS
Question No: 11

11‫الربمن‬

‫وس‬
a ) Define simple problem with one example. (3 Marks)
)‫ربمن‬3(‫اکیاثملےکاسھتلپمسرپاملبیکواضتحرکںی۔‬
Award Two Marks for correct definition of simple problem
Award One Mark for correct example
Acceptable Answer:
Simple problem:
A simple problem is one with a certain source and a certain
outcome that is simple to locate and resolve.
Example:
Let's say you place food in an oven, but you do not remember to
set the timer. When left unattended for too long, it burns. Burnt
food is the result, and you need to eat something else for supper.
Elaborate complex problem with one example.(3 Marks)

)‫ربمن‬3(‫اثملےکاسھتسکیلپمکرپاملبیکواضتحرکںی۔‬
Award Two Marks for correct definition of complex problem
AwardTwo Marks for correct examples
Acceptable Answer:
A complex problem has various root causes. While some of these
factors could be clear,others might be difficult to find.
Example:
Rising a child
Identify the type of problem for each scenario given below. (4 Marks)
1. An algorithm for picnic
2. An algorithm for up bringing of child
3. An algorithm for making the tea
4. An algorithm to convert a decimal to binary number
‫ےئی‬
)‫ربمن‬4(‫ذلیںیمد ےئگرہایبنےکےیلرپاملبیکمسقیکانشتخرکںی۔‬
‫کنکپےکےیلاوگلرمھت‬.1
‫ےچبیکرپورشےکےیلاوگلرمھت‬.2
‫اچےئانبےنےکےیلاوگلرمھت‬.3
‫یس‬
‫ڈ یملوکابرنئیربمنںیمدبتلیرکےنےکےیلاوگلرمھت‬.4
Award One Mark for each correct problem type.
Acceptable Answer:
1. An algorithm for picnic (Simple Problem)
2. An algorithm for up bringing of child (Complex Problem)
3. An algorithm for making the tea (Simple Problem)
4. An algorithm to convert a decimal to binary number (Complex
Problem)
Question No: 12

12‫وسالربمن‬

a ) How many values a variable can hold at a time? Write two examples. (2 Marks)
)‫ربمن‬2(‫ورییالبیںیماکیوتقںیمینتکدقمارںیآیتکسںیہ؟دواثمںیلںیھکل۔‬
Item Rubric (English) :
Award One Mark for the correct number of values in a variable.
Award Half (0.5) Mark for each correct example of a variable.
Acceptable Answer:
A variable can hold only one value at a time.
Examples
Name, Roll_No, Class and Gender etc.

Differentiate between if and if-then-else conditions with an examples. (3 Marks)


)‫ربمن‬3(‫ ڈنکزنشیںیماثمولںےکاسھترفقاتبںیئ۔‬if-then-else‫ اور‬if
Item Rubric (English) :
Award One Mark for each correct definition of if and if-then-else conditions.
Award Half (0.5) Mark for each correct example of if and if-then-else.
Acceptable Answer:
If Condition:
A statement or block of statements that are only executed if a specific condition is true.
If-then-else Condition:
A statement or block of statements that are only executed if a specific condition is true otherwise it goes to the else statement or block of
statements to execute.
Examples:
1. If it is cold outside; we would take tea. Or any other related example.
2. If it is cold outside; we would take tea, otherwise we enjoy ice cream.
Or any other related example.

Write an algorithm that prints even numbers from 2 to 100. (5 Marks)


)‫ربمن‬5(‫کتتفجادعادرپٹنرکواےئ۔‬100‫ےس‬2‫اوگلرمھتںیھکلوج‬
Item Rubric (English) :
Award One Mark for each correct step of the algorithm that prints even numbers.
Acceptable Answer:
Step 1: Start
Step 2: Declare the value 2 to Num
Step 3: Print the value Num
Step 4: Add 2 to num
Step 5: if the Value of Num < 100, repeat steps 3 and 4
Step 6: Stop
Question No: 13

13‫وسالربمن‬

a ) Write a short note on forever block. (5 Marks)


)‫ربمن‬5(‫ البکرپرصتخمونٹںیھکل۔‬Forever
Item Rubric (English) :
Award Five Marks for correct short note on forever block.
Acceptable Answer:
Forever Block:
Forever block is used to execute any command written within this block. If the project is running and stop button is not pushed, the instructions
contained in the forever block continue to be executed forever. This is very helpful for things like making background music or others actions that
don’t need to stop.

Write difference between repeat and repeat until. (5 Marks)


)‫ربمن‬5(‫ ںیمرفقایبنرکںی۔‬Repeat‫ اور‬Repeat Until
Item Rubric (English) :
Award Five Marks for correct difference between Repeat and Repeat Until.
Acceptable Answer:
Difference between Repeat and Repeat Until:
Repeat Repeat Until
Repeat Block is used to play a loop a specific Repeat Until Block allows to play a loop until
number of times. This block helps to control some condition is true. A loop and a condition
the loop function using some condition. For are combined in repeat until block. The block
example, if user enter repeat block in code determines whether the condition is true or
and enter repeat condition for 5 times. It false. For example, if repeat until assigned as
means the loop function will run 5 times and x>5, then block will determine whether
then stop. condition is true or false. If the condition is
true the loop will stopped.

Write a short note on Repeat block in Scratch programming. Explain with an example. (5 Marks)
)‫ربمن‬5(‫ البکرپونٹںیھکلاوراثملےسواضتحرکںی۔‬Repeat‫رکسچیرپورگاگنمںیمدےیئےئگ‬
Item Rubric (English) :
Award Three Marks for correct explanation of Repeat Block.
Award Two Mark for correct example of Repeat Block.
Acceptable Answer:
Repeat Block:
Repeat Block is used to play a loop a specific number of times. This block helps to control the loop function using some condition.
Example:
If user enter repeat block in code and enter repeat condition for 5 times. It means the loop function will run 5 times and then stop.

Common questions

Powered by AI

Explaining programming concepts with examples enhances learning by providing contextual understanding. 'Repeat Until' allows students to grasp conditional logic through real-life conditions, like stopping when a threshold is reached, whereas 'Forever Block' showcases infinite processes, aiding in comprehending continuous operation, fostering deeper comprehension and retention .

Simple problems have a definite source and a predictable outcome, making them easy to identify and resolve. An example is forgetting to set a timer while cooking, leading to burnt food. Complex problems involve multiple, often interrelated root causes, making them harder to diagnose and solve. Raising a child exemplifies a complex problem, where numerous factors like environment, education, and individual traits interplay .

The 'Forever Block' is crucial for continuous processes as it repeatedly executes contained commands until the stop button is pressed. It's essential for tasks that require ongoing actions, like playing background music or executing animations indefinitely, ensuring seamless operation without program interruption .

Differentiating problem types enables tailored problem-solving strategies, sharpening skills by matching algorithms to problem complexity. For example, recognizing an algorithmic task as complex allows for developing detailed recursive methods, while simple problems use basic conditional logic, enhancing learners' adaptability in applying suitable solutions .

The 'Repeat' block executes a loop a specified number of times, suitable for predetermined iterations, such as five repetitions. The 'Repeat Until' block continues execution until a condition becomes true, ideal for loops with conditions like x > 5, stopping once the condition is satisfied. These blocks offer control over loop limits and conditions, impacting flow execution .

The 'if' condition executes a block of statements if a specific condition is true. An example is 'If it is cold outside, we take tea.' The 'if-then-else' condition executes one block if the condition is true and another if it is false. An example is 'If it is cold outside, we take tea; otherwise, we enjoy ice cream' .

The algorithm efficiently uses control structures by initializing a number to 2 and iteratively printing it while adding 2 each time. It incorporates a conditional check to continue looping until the number exceeds 100, demonstrating effective use of loops and conditions to automate repetitive tasks .

Loops in Scratch facilitate repetitive task execution, crucial for tasks requiring repeated actions. For instance, the 'Repeat' block can loop a sprite's movement across the screen five times, simplifying code management and enhancing program efficiency by automating repetitions instead of manual coding .

Simple problem-solving approaches focus on direct solutions, often with straightforward teaching methods, leading to quick outcomes like correcting a student's misunderstanding. Complex problem-solving requires analyzing multiple variables and critical thinking, fostering skills like analysis and synthesis, particularly in projects or group discussions that mirror real-world scenarios .

Understanding variable capacity is crucial for efficient memory use and preventing errors like overflows or unintended data overwrites. A variable can hold one value at a time, e.g., a name or a roll number, learning this concept fosters precise data handling, critical for robust software development and avoiding logical errors .

You might also like