python_unit2_quiz_full_final_ready
python_unit2_quiz_full_final_ready
• (A) elif
• (B) else
• (C) while
• (D) continue
• (A) True
• (B) False
• (C) Error
• (D) None
• (A) while
• (B) for
• (C) if
• (D) elif
• (A) ==
• (B) !=
• (C) >
• (D) <
• (A) continue
• (B) break
• (C) stop
• (D) exit
Page ______
• (A) Ends the loop
• (B) Skips the current iteration
• (C) Repeats the current iteration
• (D) Breaks loop
• (A) for
• (B) while
• (C) if
• (D) break
• (A) 1
• (B) 2
• (C) 0
• (D) 3
• (A) elif
• (B) else
• (C) continue
• (D) break
• (A) 2
• (B) 3
• (C) 4
• (D) 6
11. How many iterations in nested loops `for i in range(3)` and `for j in range(3)`?
• (A) 3
• (B) 6
• (C) 9
• (D) 12
• (A) and
• (B) or
• (C) not
• (D) break
Page ______
13. Result of `if not (3 > 5): print('Yes') else: print('No')`?
• (A) Yes
• (B) No
• (C) Error
• (D) None
• (A) for
• (B) while
• (C) do-while
• (D) if
• (A) range()
• (B) list()
• (C) dict()
• (D) gen()
• (A) True
• (B) False
• (C) Error
• (D) None
• (A) 1
• (B) 2
Page ______
• (C) 3
• (D) Infinite
• (A) 1 2 3
• (B) 1 2 3 4
• (C) 0 1 2 3
• (D) 1 2 3 4 5
• (A) >
• (B) ==
• (C) !=
• (D) and
• (A) <
• (B) >
• (C) <=
• (D) or
• (A) and
• (B) or
• (C) not
• (D) elif
• (A) elif
• (B) continue
• (C) if
• (D) print
Page ______
• (A) 2 3 4
• (B) 2 3 4 5
• (C) 3 4 5
• (D) 2 4
• (A) if-elif-else
• (B) for-loop
• (C) while-loop
• (D) range()
• (A) Condition
• (B) Counter
• (C) Boolean
• (D) Output
• (A) >=
• (B) <=
• (C) >
• (D) ==
• [ ] ==
• [ ] !=
• []>
• []<
• [ ] and
• [ ] or
• [ ] not
Page ______
• [ ] if
• [ ] break
• [ ] continue
• [ ] exit
• [ ] next
• []0
• []1
• []2
• []5
• [ ] False condition
• [ ] break
• [ ] continue
• [ ] infinite loop
• [ ] range()
• [ ] list()
• [ ] dict()
• [ ] set()
• []5>3
• [ ] 3 == 3
• [ ] 7 != 8
• [ ] 2 and 2
• [ ] for
• [ ] while
• [ ] if
• [ ] break
• [ ] if
Page ______
• [ ] elif
• [ ] else
• [ ] break
• [ ] for
• [ ] while
• [ ] range
• [ ] if
• [ ] if
• [ ] while
• [ ] for
• [ ] print
• [ ] range()
• [ ] list()
• [ ] input()
• [ ] int()
• [ ] 5 and 3
• [ ] 5 or 2
• [ ] not 0
• []5+5
• [ ] continue
• [ ] break
• [ ] if
• [ ] pass
• [ ] continue
• [ ] break
• [ ] if
• [ ] elif
Page ______
46. Which combinations will evaluate to True?
• [ ] ==
• [ ] !=
• []>
• [ ] <=
• [ ] print()
• [ ] range()
• [ ] len()
• [ ] sum()
• [ ] if
• [ ] elif
• [ ] else
• [ ] break
• [ ] True condition
• [ ] Missing break
• [ ] Constant update
• [ ] Decreasing counter
Page ______