Báo cáo tài liệu vi phạm
Giới thiệu
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
THỊ TRƯỜNG NGÀNH HÀNG
NÔNG NGHIỆP, THỰC PHẨM
Gạo
Rau hoa quả
Nông sản khác
Sữa và sản phẩm
Thịt và sản phẩm
Dầu thực vật
Thủy sản
Thức ăn chăn nuôi, vật tư nông nghiệp
CÔNG NGHIỆP
Dệt may
Dược phẩm, Thiết bị y tế
Máy móc, thiết bị, phụ tùng
Nhựa - Hóa chất
Phân bón
Sản phẩm gỗ, Hàng thủ công mỹ nghệ
Sắt, thép
Ô tô và linh kiện
Xăng dầu
DỊCH VỤ
Logistics
Tài chính-Ngân hàng
NGHIÊN CỨU THỊ TRƯỜNG
Hoa Kỳ
Nhật Bản
Trung Quốc
Hàn Quốc
Châu Âu
ASEAN
BẢN TIN
Bản tin Thị trường hàng ngày
Bản tin Thị trường và dự báo tháng
Bản tin Thị trường giá cả vật tư
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
NGÀNH HÀNG
NÔNG NGHIỆP, THỰC PHẨM
Gạo
Rau hoa quả
Nông sản khác
Sữa và sản phẩm
Thịt và sản phẩm
Dầu thực vật
Thủy sản
Thức ăn chăn nuôi, vật tư nông nghiệp
CÔNG NGHIỆP
Dệt may
Dược phẩm, Thiết bị y tế
Máy móc, thiết bị, phụ tùng
Nhựa - Hóa chất
Phân bón
Sản phẩm gỗ, Hàng thủ công mỹ nghệ
Sắt, thép
Ô tô và linh kiện
Xăng dầu
DỊCH VỤ
Logistics
Tài chính-Ngân hàng
NGHIÊN CỨU THỊ TRƯỜNG
Hoa Kỳ
Nhật Bản
Trung Quốc
Hàn Quốc
Châu Âu
ASEAN
BẢN TIN
Bản tin Thị trường hàng ngày
Bản tin Thị trường và dự báo tháng
Bản tin Thị trường giá cả vật tư
Thông tin
Tài liệu Xanh là gì
Điều khoản sử dụng
Chính sách bảo mật
0
Trang chủ
Công Nghệ Thông Tin
Kỹ thuật lập trình
Lecture Programming languages (2/e): Chapter 13a - Tucker, Noonan
Đang chuẩn bị liên kết để tải về tài liệu:
Lecture Programming languages (2/e): Chapter 13a - Tucker, Noonan
Ðức Giang
72
52
ppt
Không đóng trình duyệt đến khi xuất hiện nút TẢI XUỐNG
Tải xuống
Chapter 13 - Object-oriented programming. In this chapter we present the object-oriented programming paradigm, including its history and impact, its design issues, and examples of its use. We first desctibe the idea of abstract data types, an idea that predated and greatly influenced the idea of object-miented programming. Next, we describe the object-oriented paradigm as an extension of data abstraction. | Programming Languages 2nd edition Tucker and Noonan Chapter 13 Object-Oriented Programming I am surprised that ancient and Modern writers have not attributed greater importance to the laws of inheritance . Alexis de Tocqueville Contents 13.1 Prelude: Abstract Data Types 13.2 The Object Model 13.3 Smalltalk 13.4 Java 13.5 Python Ask not what you can do for your classes, Ask what your classes can do for you. Owen Astrachan 13.1 Prelude: Abstract Data Types Imperative programming paradigm Algorithms + Data Structures = Programs [Wirth] Produce a program by functional decomposition Start with function to be computed Systematically decompose function into more primitive functions Stop when all functions map to program statements Procedural Abstraction Concerned mainly with interface Function What it computes Ignore details of how Example: sort(list, length); Data Abstraction Or: abstract data types Extend procedural abstraction to include data Example: type float Extend imperative notion of type by: Providing encapsulation of data/functions Example: stack of int's Separation of interface from implementation Defn: Encapsulation is a mechanism which allows logically related constants, types, variables, methods, and so on, to be grouped into a new entity. Examples: Procedures Packages Classes A Simple Stack in C Figure 13.1 A Stack Type in C Figure 13.2 Implementation of Stack Type in C Figure 13.3 Goal of Data Abstraction Package Data type Functions Into a module so that functions provide: public interface defines type generic type element is private; package stack_pck is type stack is private; procedure push (in out s : stack; i : element); procedure pop (in out s : stack) return element; procedure isempty(in s : stack) return boolean; procedure top(in s : stack) return element; private type node; type stack is access node; type node is record val : element; next : stack; end record; end stack_pck; package body stack_pck is procedure push (in out s : stack; i : . | Programming Languages 2nd edition Tucker and Noonan Chapter 13 Object-Oriented Programming I am surprised that ancient and Modern writers have not attributed greater importance to the laws of inheritance . Alexis de Tocqueville Contents 13.1 Prelude: Abstract Data Types 13.2 The Object Model 13.3 Smalltalk 13.4 Java 13.5 Python Ask not what you can do for your classes, Ask what your classes can do for you. Owen Astrachan 13.1 Prelude: Abstract Data Types Imperative programming paradigm Algorithms + Data Structures = Programs [Wirth] Produce a program by functional decomposition Start with function to be computed Systematically decompose function into more primitive functions Stop when all functions map to program statements Procedural Abstraction Concerned mainly with interface Function What it computes Ignore details of how Example: sort(list, length); Data Abstraction Or: abstract data types Extend procedural abstraction to include data Example: type float Extend imperative notion
TÀI LIỆU LIÊN QUAN
Lecture Programming languages (2/e): Chapter 12b - Tucker, Noonan
Lecture Programming languages (2/e): Chapter 14a - Tucker, Noonan
Lecture Programming languages (2/e): Chapter 15a - Tucker, Noonan
Lecture Programming languages (2/e): Chapter 12d - Tucker, Noonan
Lecture Introduction to computing - Lesson 19: Programming languages
Lecture Programming languages (2/e): Chapter 12a - Tucker, Noonan
Lecture Programming languages (2/e): Chapter 12c - Tucker, Noonan
Lecture Programming languages (2/e): Chapter 13a - Tucker, Noonan
Lecture Programming languages (2/e): Chapter 13b - Tucker, Noonan
Lecture Programming languages (2/e): Chapter 13c - Tucker, Noonan
Đã 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.