Computer Science and Entrepreneurship Python Programming Control Structures Medium Q1. Which keyword is used for an alternative condition in Python? else if elseif elif ifelse
Computer Science and Entrepreneurship Python Programming Control Structures Medium Q2. What is the purpose of the if statement? Looping Decision making Function creation Exception handling
Computer Science and Entrepreneurship Python Programming Control Structures Medium Q3. Which of the following is a control structure in Python? if for while All of the above
Computer Science and Entrepreneurship Python Programming Operators and Expressions Medium Q4. Which operator is used for exponentiation in Python? * ** // /
Computer Science and Entrepreneurship Python Programming Operators and Expressions Medium Q5. What is an expression? A variable A value Combination of values and operators A loop
Computer Science and Entrepreneurship Python Programming Operators and Expressions Medium Q6. If x = 7, what is x //= 2? 3 3.5 4 2
Computer Science and Entrepreneurship Python Programming Operators and Expressions Medium Q7. If x = 2, what is x = 2 * x? 6 4 9 5
Computer Science and Entrepreneurship Python Programming Operators and Expressions Medium Q8. If x = 8, what is x /= 2? 4 4 2 8
Computer Science and Entrepreneurship Python Programming Operators and Expressions Medium Q9. If x = 4, what is x = 2 * x? 6 8 2 4
Computer Science and Entrepreneurship Python Programming Operators and Expressions Medium Q10. If x = 10, what is x -= 3? 13 7 10 3