# data[].attributes.headline
Yazan Alkhalil:                                                     Basic Geometry Shapes Practice                     WR#2                        

# data[].attributes.subject
Yazan Alkhalil:                                                     Basic Geometry Shapes Practice                     WR#2                        

# data[].attributes.body
This section will be looped 5 times.

if the break statement is removed, the question about the area will be asked endlessly.

(by the way ostaz, some lines are very long and cant be included with one screenshot, also I cant even fit ONE entire function with the screenshot 😭)

# data[].attributes.headline
The loop iterates through the list of breakfasts and prints out the elements of the list. One way we can turn this into an infinite loop is adding a while loop. While true (indenting “print(item)” ) print out the elements of the list. This will infinitely print out all the elements causing an infinite loop.

# data[].attributes.subject
The loop iterates through the list of breakfasts and prints out the elements of the list. One way we can turn this into an infinite loop is adding a while loop. While true (indenting “print(item)” ) print out the elements of the list. This will infinitely print out all the elements causing an infinite loop.

# data[].attributes.body
Sama

# data[].attributes.body
Q2)

In my ask_question procedure, the count variable is present in the for loop and the count variable is initiated at 4 which is the number of choices that the MCQ shows printing out the options ( a) , b) , c) , d) ) and the answers for each choice. So the number of times the for loop is going to be executed is 4 times.

To create an infinite Loop in my procedure, we need to introduce A while True loop under the global user_score and intend all the under code from line 53 to line 67 under the while True, and also we must delete return user_score, so no score can show up, and the exam keeps on repeating for an infinite amount of time

# data[].attributes.body
Q1)The program iteration time can be decided by its user who is the teacher, the code askes for the num of students and num of subjects so the number of loops is the num of students times the number of subjects.

Q2) To make an infinite loop in program we need to change the for loop used to fill students name and then their marks into a while loop while will ask you for the num of students and don't use the number of students but will ask you to fill info to an infinite number of students

# data[].attributes.body
The number of times the body of iteration statement that is a for loop will execute depends on the num_of_burgers or num_of_pizzas or num_of_steaks the customer inputs. An infinite loop can occur when a (While True:) loop is added between lines 40 and 41 after line 40 we add a while true loop and inside it we add the rest of the lines from 41 to 52. This will cause the question asking for how many burgers or steaks or pizzas depending on the customers first option to continuously be displayed, creating an infinite loop.

# data[].attributes.body
submitted

# data[].attributes.body
the iteration in the code is while I<2 and this condition will keep executing until I is equal to 2 or greater than 2

a condition that would cause the code to enter an infinite loop is by changing the condition in the while loop I<2 to I>2 and this condition will not execute because I=1 and by changing the condition, this means that the condition will be false and will not execute.

# data[].attributes.headline
Mahdi Abu Awad (Will Be Submitted After Class)

# data[].attributes.subject
Mahdi Abu Awad (Will Be Submitted After Class)

# data[].attributes.body
mohammad al kurdi

# data[].attributes.body
Maryam

# data[].attributes.body
The program iterates 8 times through the input list. An infinite loop would occur if the variable 'i' isn't incremented. For instance, if we set 'i' to 1 and didn't change it, an infinite loop would happen because the program uses a while loop. If 'i' remains unchanged, the loop will continue endlessly.

# data[].attributes.body
I submitted

# data[].attributes.body
Basic Geometry Shapes Practice

Not submitted

WR1:

An expected user is a middle school student that wants to practice his shapes for a geometry exam.

He can practice his knowledge of the basic shapes that are Rectangle, Circle, and Triangle. Upon choosing the shape he wants, the program will ask him 10 questions about the area and perimeter of the shape he picked with randomized numbers that are tailored for the multiplication knowledge of the average middle schooler. After completing the quiz, the program will give him his percentage of questions solved correctly so that the student can track his progress.

# data[].attributes.body
Submitted!

WR2: The body of the iteration statement will keep running until the user inputs 3 into the choices which causes the iteration statement to terminate.

To cause an error that would cause an infinite loop is to remove the break statement that runs after the user inputs 3 into the menu choices. This will cause the goodbye message to print WITHOUT the break statement that will exit the iteration statement, causing an infinite loop to occur that causes the body of the iteration statement to run infinite amount of times.

# data[].attributes.body
I submitted

# data[].attributes.custom_properties.NjnaAVQY
WR1: An expected user someone who wants to make a train reservation and he or she cane choose a seat class (Economy or Business).                   WR2: it meets the needs of the traveller who want reserve a train and it gave you features  like Panorama car, Dining car in Economy and Window Seat, Adjoining seats for Business