๐
Python Programming
Comprehensive Python programming questions covering fundamentals, data structures, and advanced concepts
300 questionsรขโฌยข30 pagesรขโฌยข~450 min
Use this quiz track to strengthen recall, speed, and exam-style decision making. Attempt one page first, review explanations, and then re-attempt incorrect questions without notes.
A good scoring strategy is to mark uncertain questions, finish known ones quickly, and return with elimination logic. This improves accuracy while keeping momentum under time constraints.
Progress: 0 / 3000%
Page 28 of 30 โข Questions 271-280 of 300
Q271medium
Which of these is true about sys.modules?
Q272medium
What's the output?
print({}.keys() & {1,2})Q273easy
Which of these returns line-by-line lazily from file?
Q274hard
What's the output?
def f(a, b= (lambda:[] )() ):
b.append(a)
return b
print(f(1))
print(f(2))Q275easy
Which of these picks a random element from sequence?
Q276easy
What's the output?
print(bool(1 or 0))Q277medium
Which feature enables dataclass-like behavior with runtime validation?
Q278easy
What's the output?
print(str(0x10))Q279medium
Which of these is true about __annotations__?
Q280easy
What's the output?
print([1,2,3].pop() + [4,5].pop())...
Quiz Pages
Navigate directly to paginated quiz sets. These links help you revise by page and make every page discoverable.