- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Counting Internet Addresses.ppt
Counting Internet Addresses In IPv4 (Version 4 of the Internet Protocol) an address is a string of 32 bits: network number (netid) + host number (hostid). Three forms of addresses: Class A: 0 + 7-bit netid + 24-bit hostid (largest network). Class B: 10 +14-bit netid + 16-bit hostid (medium-sized network). Class C: 110 +21-bit netid + 8-bit hostid (small network). 1111111 is not available as netid of a class A network. No hostids with all 0s or all 1s. How many different IPv4 addresses are available? Problem How many positive integers between 100 and 999 inclusive are divisible by 7? are odd? have the same three decimal digits? are not divisible by 4? are divisible by 3 or 4 are not divisible by either 3 or 4 are divisible by 3 but not by 4? are divisible by 3 and 4? Problem How many functions are there from the set { 1, 2, . . ., n }, where n is a positive integer to the set { 0, 1 } -- that are one-to-one? that assign 0 to both 1 and n? that assign 1 to exactly one of the positive integers less than n? Problem A Palindrome is a string whose reversal is identical to itself (e.g., madam, tenet) How many bit strings of length n are palindromes? Example (Application of pigeonhole principle) Announcement 5.3 Permutations and Combinations 5.3 Permutations and Combinations 5.3 Permutations and Combinations 5.3 Permutations and Combinations 5.3 Permutations and Combinations 5.3 Permutations and Combinations 5.3 Permutations and Combinations Theorem: P(n, r) = n *(n-1)*(n-2) …. (n-r+1). Corollary 1: P(n, r) = n! / (n-r)!. Problem: How many ways are there to select a first-prize winner, a second-prize winner and a third-prize winner from 100 different people who have entered a contest? Problem: How many permutations of the letters ABCDEFGH contain the string ABC? r-combination (of a set of n distinct elements) is an unordered selection of r elements from the set. (The number of all r-combinations is denoted as C(n, r).) The set (of 6 elements) 3 different 3-pe
您可能关注的文档
- Chapter 19 Issues in International Accounting.ppt
- CHAPTER 19 Narcotic Analgesics.ppt
- Chapter 19 The Elbow, Forearm, Wrist and Hand.ppt
- Chapter 19 Vibrations and Waves.ppt
- Chapter 19, part 1.ppt
- Chapter 19.ppt
- Chapter 19Consumer Choice.ppt
- Chapter 19Designing AccurateData-Entry Procedures.ppt
- Chapter 19Discharge of Contracts.ppt
- Chapter 19Enolates and Enamines.ppt
- Countries of Southeast Asia.ppt
- Course Wrap-Up.ppt
- Covance Asia Job Opportunities.ppt
- Credit Builders Alliance (CBA).ppt
- Cryptography and Network SecurityChapter 11.ppt
- CS61C - Machine StructuresLecture 17 - Caches, Part I.ppt
- CSCE 612 VLSI System Design.ppt
- Cultural Capital and Social Stratification in Britain.ppt
- Current Trends in Glass Recycling.ppt
- cōnɡ聪明.ppt
最近下载
- Photoshop2020平面设计实例教程全套完整教学课件.pptx
- 2025年重庆市中考语文试卷真题(含标准答案) 原卷.pdf
- 30题保险理赔岗位常见面试问题含HR问题考察点及参考回答.docx VIP
- 2023年成人高考高起专《数学》(理科)真题及答案.pdf VIP
- 2025年中国红十字会救护员培训理论考试试题及答案.docx VIP
- 苏教版九年级数学上册《一元二次方程的解法(2)》课件.ppt VIP
- 航空煤油安全技术说明书.pdf VIP
- 四年级上册数学人教版预习卡.pdf VIP
- 第一单元 传统工艺制作---劳动预备 课件(共两课时40张PPT).pptx VIP
- 2025年秋人教版英语八年级上册Unit 1 Happy Holiday 教案教学设计.docx VIP
文档评论(0)