Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Sức khỏe - Y tế
Văn bản luật
Nông Lâm Ngư
Kỹ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Giới thiệu
Đăng ký
Đăng nhập
Tìm
Danh mục
Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Y tế sức khỏe
Văn bản luật
Nông lâm ngư
Kĩ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Thông tin
Điều khoản sử dụng
Quy định bảo mật
Quy chế hoạt động
Chính sách bản quyền
Giới thiệu
Đăng ký
Đăng nhập
0
Trang chủ
Công Nghệ Thông Tin
Kỹ thuật lập trình
Lecture Programming languages (2/e): Chapter 16a - Tucker, Noonan
tailieunhanh - Lecture Programming languages (2/e): Chapter 16a - Tucker, Noonan
A conventional model of computation has the program prescribe the exact order of input. This model is supported by the four programming paradigms-imperative, objectoriented, functional, and logic. In this model, the program controls the sequence of steps that occur at run time, and the ordering of input plays a passive role in regulating how those steps are carried out. Moreover, this model supports algorithms that terminate once the input is exhausted. Chapter 16 provides knowledge of event-driven programming. | Programming Languages 2nd edition Tucker and Noonan Chapter 16 Event-Driven Programming Of all men’s miseries the bitterest is this, to know so much and to have control over nothing. Herodotus (484-432 BC) Contents Event-Driven Control Event Handling Three Examples Other Applications A conventional model of computation has the program prescribe the exact order of input. Programs terminate once the input is exhausted. Event-driven programs do not control the sequence in which input events occur. Examples GUI applications: Model-View-Controller design Embedded applications: cell phones car engines airplanes Event-Driven Control Computation as interaction [Stein] Computation is a community of persistent entities coupled together by their ongoing interactive behavior . Beginning and end, when present, are special cases that can often be ignored. Imperative and Event-Driven Paradigms Contrasted Figure Input to an event-driven program comes from autonomous event sources. Eg: human, robot sensors, engine sensors. Properties An event-driven program has no perceived stopping point. The traditional read-eval-print loop does not explicitly appear. An application processes an input and exits. Model-View-Controller (MVC) Model: the object being implemented. Ex: game, calculator. Controller: input mechanisms. Ex: buttons, menus, combo boxes. View: output. Ex: Tic-Tac-Toe Model Whose turn is it? State of the board. Has someone won? Are there no empty squares? Events in Java Subclasses of AWTEvent Event sources in Swing are subclasses of JComponent Program must listen for events Ex: for a JButton b (listener) Java Class AWTEvent and Its Subclasses* Figure Java EventListener Class Interface and Its Subclasses* Figure Widget Listener Interface JButton ActionListener actionPerformed JComboBox ActionListener actionPerformed JLabel JTextArea ActionListener actionPerformed JTextField ActionListener actionPerformed . | Programming Languages 2nd edition Tucker and Noonan Chapter 16 Event-Driven Programming Of all men’s miseries the bitterest is this, to know so much and to have control over nothing. Herodotus (484-432 BC) Contents Event-Driven Control Event Handling Three Examples Other Applications A conventional model of computation has the program prescribe the exact order of input. Programs terminate once the input is exhausted. Event-driven programs do not control the sequence in which input events occur. Examples GUI applications: Model-View-Controller design Embedded applications: cell phones car engines airplanes Event-Driven Control Computation as interaction [Stein] Computation is a community of persistent entities coupled together by their ongoing interactive behavior . Beginning and end, when present, are special cases that can often be ignored. Imperative and Event-Driven Paradigms Contrasted Figure Input to an event-driven program comes from autonomous .
Kiều Dung
88
29
ppt
Báo lỗi
Trùng lắp nội dung
Văn hóa đồi trụy
Phản động
Bản quyền
File lỗi
Khác
Upload
Tải xuống
đang nạp các trang xem trước
Không thể tạo bản xem trước, hãy bấm tải xuống
Tải xuống
TÀI LIỆU LIÊN QUAN
Pro PHP and iQuery
401
104
0
Principles of Programming Languages
166
128
0
Lecture Programming languages (2/e): Chapter 12b - Tucker, Noonan
14
98
0
Discovering Computers - Chapter 13: Programming Languages and Program Development
51
100
0
Beginning Algorithms
591
111
0
PHP Game Programming
377
114
0
LAND OF LISP
508
81
0
Lecture Programming languages (2/e): Chapter 14a - Tucker, Noonan
18
86
0
Lecture Programming languages (2/e): Chapter 15a - Tucker, Noonan
20
86
0
Lecture Programming languages (2/e): Chapter 12d - Tucker, Noonan
38
92
0
TÀI LIỆU XEM NHIỀU
Một Case Về Hematology (1)
8
461914
55
Giới thiệu :Lập trình mã nguồn mở
14
22880
64
Tiểu luận: Tư tưởng Hồ Chí Minh về xây dựng nhà nước trong sạch vững mạnh
13
10958
531
Câu hỏi và đáp án bài tập tình huống Quản trị học
14
10145
450
Phân tích và làm rõ ý kiến sau: “Bài thơ Tự tình II vừa nói lên bi kịch duyên phận vừa cho thấy khát vọng sống, khát vọng hạnh phúc của Hồ Xuân Hương”
3
9557
104
Ebook Facts and Figures – Basic reading practice: Phần 1 – Đặng Tuấn Anh (Dịch)
249
8337
1127
Tiểu luận: Nội dung tư tưởng Hồ Chí Minh về đạo đức
16
8270
423
Mẫu đơn thông tin ứng viên ngân hàng VIB
8
7883
2224
Đề tài: Dự án kinh doanh thời trang quần áo nữ
17
6765
253
Giáo trình Tư tưởng Hồ Chí Minh - Mạch Quang Thắng (Dành cho bậc ĐH - Không chuyên ngành Lý luận chính trị)
152
5958
1440
TỪ KHÓA LIÊN QUAN
Kỹ thuật lập trình
Programming languages
Lecture Programming languages
Ngôn ngữ lập trình
Event driven programming
Event driven control
Event handling
experience in programming
software engineering
programming languages
computer programming
programming tips
programming experience
code programming
design tips
programming documentation
programming skills
the Ruby programming document
methods Ruby programming language
Imperative programming
Imperative languages
Dynamic allocation
Discovering Computers
Program Development
Low Level Languages
Procedural Languages
Object Oriented Programming Languages
java programming language C + +
C programming
computer software
computer engineering
computer programming language PHP
Functional programming
Functional programming models
Lambda calculus
Logic programming
Logic programming in prolog
Prolog program elements
Scripting languages
Lecture Introduction to computing
Bài giảng Nhập môn máy tính
Introduction to computing
Role of programming languages
Android Programming
Java
programming code
Procedural abstraction
Data structures
Matrix multiplication
Object oriented programming
Abstract data types
The object model
Object oriented language
Represent polynomials
Symbolic differentiation
Mixed language
Scripting language
Semantics of clite
List comprehensions
Practical aspects of prolog
Natural language processing
Java applet
Tic Tac Toe
TÀI LIỆU MỚI ĐĂNG
Đánh giá hao mòn và độ tin cậy của chi tiết và kết cấu trên đầu máy diezel part 3
12
320
0
11-05-2024
MySQL Basics for Visual Learners PHẦN 9
15
189
0
11-05-2024
HƯỚNG DẪN SỬ DỤNG PHẦN MỀM CAITA part 9
18
133
0
11-05-2024
Data Structures and Algorithms - Chapter 9: Hashing
54
118
0
11-05-2024
Lãi suất cơ bản, công cụ quan trọng của chính sách tiền tệ
5
117
0
11-05-2024
Fecal Incontinence Diagnosis and Treatment - part 8
35
106
0
11-05-2024
A Practical Guide for Health Researchers - part 7
24
112
0
11-05-2024
Báo cáo nghiên cứu nông nghiệp " Field control of pest fruit flies in Vietnam "
14
121
0
11-05-2024
BÀI GIẢNG Biến Đổi Năng Lượng Điện Cơ - TS. Hồ Phạm Huy
137
104
0
11-05-2024
Ngòi bút hiện thực của Nguyễn Minh Châu trong tác phẩm "Chiếc thuyền ngoài xa"
8
114
0
11-05-2024
TÀI LIỆU HOT
Mẫu đơn thông tin ứng viên ngân hàng VIB
8
7883
2224
Giáo trình Tư tưởng Hồ Chí Minh - Mạch Quang Thắng (Dành cho bậc ĐH - Không chuyên ngành Lý luận chính trị)
152
5958
1440
Ebook Chào con ba mẹ đã sẵn sàng
112
3780
1247
Ebook Tuyển tập đề bài và bài văn nghị luận xã hội: Phần 1
62
5379
1137
Ebook Facts and Figures – Basic reading practice: Phần 1 – Đặng Tuấn Anh (Dịch)
249
8337
1127
Giáo trình Văn hóa kinh doanh - PGS.TS. Dương Thị Liễu
561
3532
651
Tiểu luận: Tư tưởng Hồ Chí Minh về xây dựng nhà nước trong sạch vững mạnh
13
10958
531
Giáo trình Sinh lí học trẻ em: Phần 1 - TS Lê Thanh Vân
122
3723
525
Giáo trình Pháp luật đại cương: Phần 1 - NXB ĐH Sư Phạm
274
4140
522
Bài tập nhóm quản lý dự án: Dự án xây dựng quán cafe
35
4169
481
crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.