Título: Programming Logic and Languages: event-driven programming
Descripción automática: In this video, the speaker discusses control flow structures in programming. The initial focus is on sequential programming structures, including sequences of statements, decision-making with if-else conditions, case statements, and loops. The video explains that 'for' loops are used when the number of iterations is known, while 'while' loops depend on a Boolean expression to continue execution.
The video transitions to event-driven programming, differentiating it from sequential programming. Here, the program flow is influenced by events, which are signals indicating that something has occurred, necessitating a response by the program. User actions, like clicks or keystrokes, and sensor outputs in embedded systems, such as those used in robotics, are cited as examples of events that trigger responses.
Event-driven programming is further explained through the concept of event handlers, which are blocks of code designed to address specific events. These handlers execute in response to an event and provide feedback to the user, creating an interactive loop of user actions and program responses. The video concludes by emphasizing event-driven programming as an alternative approach to defining control flow within software, summing up the discussion on programming logic and languages.
Autor/a: Vos Tanja Ernestina
Universitat Politècnica de València UPV: https://www.upv.es
Más vídeos en: / valenciaupv
Accede a nuestros MOOC: https://upvx.es
#event-driven programming # computer science
На этой странице сайта вы можете посмотреть видео онлайн Programming Logic and Languages: event-driven programming | | UPV длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Universitat Politècnica de València - UPV 20 Март 2018, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 232 раз и оно понравилось 5 зрителям. Приятного просмотра!