Visual Programming MCQs with Answers
Practice important Visual Programming MCQs with answers and explanations.
Multiple Choice Questions
Q51: In the context of event processing, what is the difference between observed events and deduced events?
- A: Observed events are generated by the system, deduced events are inferred by the system.
- B: Observed events require a reaction, deduced events do not.
- C: Observed events are detected directly, deduced events are inferred from observed events.
- D: Observed events are synchronous, deduced events are asynchronous.
View Answer
C
Q52: Which of the following is NOT an example of an event in computing systems as given in the lecture?
- A: Interrupts.
- B: File changes.
- C: Multi-threading conflicts.
- D: Sensor alerts.
View Answer
C
Q53: In the context of the lecture, what does "blocking" mean in event-driven programming?
- A: When an operation prevents further operations from proceeding until it completes.
- B: When an operation runs in a separate thread.
- C: When an operation is scheduled to run after a delay.
- D: When an operation is canceled.
View Answer
A
Q54: What does "event-based architecture" refer to?
- A: An architecture where components are tightly coupled.
- B: An architecture where the flow is controlled by events and their handlers.
- C: An architecture designed for batch processing.
- D: An architecture that ignores user input.
View Answer
B
Q55: What is an example of a probabilistic event mentioned in the lecture?
- A: A mouse click event.
- B: A fraud detection event on a banking transaction.
- C: A file open event.
- D: A network packet received.
View Answer
B
Q56: In event-driven programming, what does "scaling well" refer to?
- A: The application can run on multiple operating systems.
- B: The application can handle an increasing number of events and event sources efficiently.
- C: The application can use multiple programming languages.
- D: The application can be easily translated into other languages.
View Answer
B
Q57: What does the term "busy wait" refer to, as mentioned in the lecture?
- A: Continuously checking for a condition without doing useful work.
- B: Waiting for user input.
- C: Waiting for a network response.
- D: Waiting for a file to be opened.
View Answer
A
Q58: What type of architecture does a web browser typically use?
- A: Event-driven
- B: Request-response
- C: Service-oriented
- D: Peer-to-peer
View Answer
B
Q59: What is the main difference between events and requests in software architecture?
- A: Events ask for something to happen, requests are based on past actions
- B: Events have already happened, requests ask for something to happen
- C: Events are synchronous, requests are asynchronous
- D: Events are service-based, requests are client-based
View Answer
B
Q60: In event-driven architecture, who typically initiates communication?
- A: The server
- B: The client
- C: The event producer
- D: The event consumer
View Answer
C