上海交通大学:并发理论(PPT课件诗篇)Concurrency Theory

Concurrency Theory Xiaoju Dong(董笑菊) Joint course with prof. YUxi Fu(傅育熙) BASICS, Shanghai Jiao Tong University xjdong@sjtu.edu.cn http://basics.sjtu.educn/nxiaoju/concur17
Xiaoju Dong(董笑菊) Joint course with Prof. Yuxi Fu(傅育熙) BASICS, Shanghai Jiao Tong University xjdong@sjtu.edu.cn http://basics.sjtu.edu.cn/~xiaoju/concur17 Concurrency Theory

可题1 公安机关正在调查一宗盗窃案,现获得事实如下 A或B盗窃了文物 若A盗窃了文物,则作案时间不可能在午夜前 若B证词正确,则在午夜前屋里灯光未灭 若B证词不正确,则作案时间发生在午夜前 午夜时屋里灯光灭了 试问谁是盗窃犯? 2021年1月27日星期三 BASICS
问题1 公安机关正在调查一宗盗窃案,现获得事实如下: ◼A或B盗窃了文物 ◼若A盗窃了文物,则作案时间不可能在午夜前 ◼若B证词正确,则在午夜前屋里灯光未灭 ◼若B证词不正确,则作案时间发生在午夜前 ◼午夜时屋里灯光灭了 试问谁是盗窃犯? 2021年1月27日星期三 BASICS 2

可题1 公安机关正在调查一宗盗窃案,现获得事实如下 A或B盗窃了文物 若A盗窃了文物,则作案时间不可能在午夜前 若B证词正确,则在午夜前屋里灯光未灭 若B证词不正确,则作案时间发生在午夜前 午夜时屋里灯光灭了 试问谁是盗窃犯? 命题逻辑 2021年1月27日星期三 BASICS
问题1 公安机关正在调查一宗盗窃案,现获得事实如下: ◼A或B盗窃了文物 ◼若A盗窃了文物,则作案时间不可能在午夜前 ◼若B证词正确,则在午夜前屋里灯光未灭 ◼若B证词不正确,则作案时间发生在午夜前 ◼午夜时屋里灯光灭了 试问谁是盗窃犯? 2021年1月27日星期三 BASICS 3 命题逻辑

问题2 电灯开关 两个开关A、B同时控制一盏灯C (1)只要有一个开关处于开启状态灯就会亮 (2)只有两个开关之一处于开启状态灯才亮 请具体列出灯C在开关A和B处于什么情况 下会亮
问题2 电灯开关 两个开关A、B同时控制一盏灯C, (1) 只要有一个开关处于开启状态灯就会亮 (2) 只有两个开关之一处于开启状态灯才亮 请具体列出灯C在开关A和B处于什么情况 下会亮

问题2 电灯开关 两个开关A、B同时控制一盏灯C (1)只要有一个开关处于开启状态灯就会亮 (2)只有两个开关之一处于开启状态灯才亮 请具体列出灯C在开关A和B处于什么情况 下会亮 数字逻辑
问题2 电灯开关 两个开关A、B同时控制一盏灯C, (1) 只要有一个开关处于开启状态灯就会亮 (2) 只有两个开关之一处于开启状态灯才亮 请具体列出灯C在开关A和B处于什么情况 下会亮 数字逻辑

Formal methods In computer science, specifically software engineering and hardware engineering formal methods are a particular kind of mathematically based techniques for the specification development and verification of software and hardware systems The use of formal methods for software and hardware design is motivated by the expectation that, as in other engineering disciplines performing appropriate mathematical analysis can contribute to the reliability and robustness of a design. 2021年1月27日星期三 BASICS
Formal Methods ◼ In computer science, specifically software engineering and hardware engineering, formal methods are a particular kind of mathematically based techniques for the specification, development and verification of software and hardware systems ◼ The use of formal methods for software and hardware design is motivated by the expectation that, as in other engineering disciplines, performing appropriate mathematical analysis can contribute to the reliability and robustness of a design. 2021年1月27日星期三 BASICS 6

Formal methods Formal methods are best described as the application of a fairly broad variety of theoretical computer science fundamentals, in particular logic calculi, formal languages automata theory, discrete event dynamic system and program semantics but also type systems and algebraic data types to problems in software and hardware specification and veritication 2021年1月27日星期三 BASICS
Formal Methods ◼ Formal methods are best described as the application of a fairly broad variety of theoretical computer science fundamentals, in particular logic calculi, formal languages, automata theory, discrete event dynamic system and program semantics, but also type systems and algebraic data types to problems in software and hardware specification and verification 2021年1月27日星期三 BASICS 7

Concurrency a In computer science concurrency is a property of systems several computations are eXecuting simultaneously and potentially interacting with each other
9 Concurrency ◼ In computer science, concurrency is a property of systems ◼ several computations are executing simultaneously ◼ and potentially interacting with each other

Concurrency Computation any type of calculation use of computer technology in information processing(e.g. query in a database) (electronic)computers, quantum computers, DNA computers molecular computers etc a process following a well-defined model expressed in an algorithm, protocol, etc
10 Concurrency ◼ Computation ◼ any type of calculation ◼ use of computer technology in Information processing (e.g. query in a database) ◼ (electronic)computers, quantum computers, DNA computers, molecular computers, etc. ◼ a process following a well-defined model expressed in an algorithm, protocol, etc

Concurrency Interaction(or communication) Hand-shaking(synchronization) Value-passing Name-passing Process-passing 11
11 Concurrency ◼ Interaction (or communication) ◼ Hand-shaking (synchronization) ◼ Value-passing ◼ Name-passing ◼ Process-passing ◼ ……
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
- 《UNIX操作系统基础》课程教学资源(PPT课件讲稿)第三章 UNIX的文件与目录.ppt
- 《计算机网络 Computer Networking》课程教学资源(PPT课件讲稿)Chapter 6 无线和移动网络 Wireless and Mobile Networks.ppt
- 中国科学技术大学:《信号与图像处理基础 Signal and Image Processing》课程教学资源(PPT课件讲稿)小波分析 Wavelet Analysis(主讲:曹洋).pptx
- 《知识发现和数据挖掘 Knowledge Discovery and Data Mining》课程教学课件(PPT讲稿)Chapter 10. Cluster Analysis:Basic Concepts and Methods.pptx
- 《人工智能原理及应用》课程教学大纲 Artificial Intelligence Principles and Applications.doc
- 西安电子科技大学:《接入网技术及其应用》课程教学资源(PPT课件讲稿)第6章 接入网应用(徐展琦).ppt
- 《管理信息系统原理及开发》课程教学资源(PPT课件讲稿)第3、4讲 管理信息系统的系统设计.ppsx
- 西安电子科技大学:《现代密码学》课程教学资源(PPT课件讲稿)第四章 公钥密码(主讲:董庆宽).pptx
- 河南中医药大学(河南中医学院):《计算机文化》课程教学资源(PPT课件讲稿)第二章 计算机的前世今生(主讲:许成刚).ppt
- 《计算机软件及应用》课程教学资源(PPT课件讲稿)第2章 Photoshop CS入门基础.ppt
- 《大型机高级系统管理技术》课程教学资源(PPT课件讲稿)第4章 作业控制子系统.ppt
- 上海交通大学:《软件工程 Software Engineering》课程教学资源(PPT课件讲稿)软件开发过程 Software Development Processes.pptx
- 中国水利水电出版社:《计算机组装与维护实训教程》课程教学资源(PPT课件讲稿,共九章).ppt
- 《大学生计算机基础》课程教学资源(PPT讲稿)第三章 字处理软件(Word 2003).ppt
- 北京大学:《高级软件工程》课程教学资源(PPT课件讲稿)第六讲 网络环境中的软件质量.ppt
- 《计算机数据恢复技术》课程教学资源(PPT课件讲稿)第1章 数据恢复技术概述.ppt
- 中国科学技术大学:《现代密码学理论与实践》课程教学资源(PPT课件讲稿)第2章 传统加密技术 Classical Encryption Techniques.ppt
- 《计算机系统安全》课程教学资源(PPT课件讲稿)第六章 访问控制 Access Control.ppt
- 陕西师范大学:Neural Networks and Fuzzy Systems(PPT讲稿)Chapter 3 NEURONAL DYNAMICS II:ACTIVATION MODELS.ppt
- 中国铁道出版社:《局域网技术与组网工程》课程教学资源(PPT课件讲稿)第5章 Linux网络工程.ppt
- 南京大学:《Java语言程序设计》课程教学资源(PPT课件讲稿)第2章 Java语言语法基础.ppt
- 南京大学:使用失效数据来引导决定(PPT讲稿,计算机系:赵建华).ppt
- 南京航空航天大学:《C++》课程电子教案(PPT课件讲稿)第3章 类的基础部分(主讲:陈哲).ppt
- 《软件工程导论》课程教学资源(PPT课件讲稿)第9章 面向对象方法学.ppt
- 河南中医药大学(河南中医学院):《计算机文化》课程教学资源(PPT课件讲稿)第一章 计算机网络概述(主讲:阮晓龙).pptx
- 《数据库原理》课程教学资源(PPT课件讲稿)第三章 关系数据库标准查询语言SQL.pps
- Excel 2010高级使用技巧(PPT讲稿).ppt
- 电子工业出版社:《计算机网络》课程教学资源(第五版,PPT课件讲稿)第二章 物理层.ppt
- 中国科学技术大学:《网络安全协议》课程教学资源(PPT课件讲稿)第一章 网络安全综述 Network Security Protocols(薛开平).ppt
- Adaptive Dynamic Bipartite Graph Matching:A Reinforcement Learning Approach.pptx
- 厦门大学:《大数据技术原理与应用》课程教学资源(PPT课件讲稿,2016)第8章 流计算.ppt
- 四川大学:《Java面向对象编程》课程PPT教学课件(Object-Oriented Programming - Java)Unit 1.1 Java Applications 1.1.1 Applications in Java(熊运余).ppt
- 四川大学:《计算机操作系统 Operating System Principles》课程教学资源(PPT课件讲稿)第5章 死锁.ppt
- 数据结构与算法(PPT课件讲稿)Data Structures and Algorithms.pptx
- 《单片机原理与应用》课程教学资源(PPT课件讲稿)第7章 显示与开关/键盘输入及微型打印机接口设计.ppt
- 曙光:并行程序设计简介(PPT讲座).ppt
- 安徽工贸职业技术学院:《计算机组装与维护》课程教学资源(PPT课件讲稿)项目五 微型计算机维护.ppt
- 白城师范学院:《数据库系统概论 An Introduction to Database System》课程教学资源(PPT课件讲稿)第二章 关系数据库(2.4 关系代数 2.5 关系演算 2.6 小结).ppt
- 《程序设计基础》课程教学资源:实验教学大纲.pdf
- 同济大学:《大数据分析与数据挖掘 Big Data Analysis and Mining》课程教学资源(PPT课件讲稿)关联规则 Association Rule.pptx