Question Bank
246 approved questions from the community
What is the primary difference between a StatelessWidget and a StatefulWidget?
In Flutter, everything on the screen is represented as a widget.
Which programming language is used to develop Flutter apps?
What is Flutter?
How can you prevent a code block in a module from running when the module is imported by another script?
A decorator is a higher-order function that can modify the behavior of another function without changing its source code.
What does the '*args' syntax in a function definition do?
Which of the following describes a key limitation of lambda functions in Python?
According to the LEGB rule, what is the order of variable resolution in Python?
What is the difference between the '==' and 'is' operators?
Which method can be used to merge two lists into a dictionary mapping keys to values?
What is the primary difference in memory behavior between a list and a tuple?
Which block in a try-except statement executes only if no exception was raised in the try block?
In Python, modifying a mutable object (like a list) inside a function will affect the original object outside the function.
Which of these is an example of an immutable data type in Python?
What are the primary mechanisms Python uses for garbage collection?
PEP 8 is the official style guide for Python code that recommends using 4 spaces per indentation level.
How is Python code executed by the CPython interpreter?
What are the key features of Python?
What is the difference between 'mouseenter' and 'mouseover'?