What I learned from the quiz:
What I learned from this quiz is that I am not as proficient in boolean expressions and if statements as I previously thought and I worked on improving my knowledge on it.
My wrong answers with:
The correct answer is (C) Value is: 2 because integer division is used (x / y), and since both x and y are integers, the decimal part is truncated, resulting in 7 / 3 = 2.
The correct answer is (C) because the method iterates in reverse and moves elements starting with "b" to the front of the list while maintaining their relative order, resulting in the transformation observed in the given list.
The correct answer is (B) 7, 9, 11 because it tests all three conditions: odd numbers (x % 2 != 0), numbers greater than 9 (x > 9), and numbers not greater than 9 or even (else condition).
What I learned from the quiz: What I learned from this quiz is that I am not as proficient in boolean expressions and if statements as I previously thought and I worked on improving my knowledge on it. My wrong answers with: