S10400 HW1.pdf ghCo og QQApCQ.. .Q-.. @Internal Revenue Ser.. HOMEWORK1 Due Date
ID: 641360 • Letter: S
Question
S10400 HW1.pdf ghCo og QQApCQ.. .Q-.. @Internal Revenue Ser.. HOMEWORK1 Due Date: 02/20/2015 1. (9 points) Programming Kingdom has three cities: Java, Perl and Python. A phone number in Programming Kingdom consists of 10 digits. The first three digits are the area code follwed by seven digits local number. The area code is "128 for Java, "256" for Perl, and #550 for Python. For example, 1280123456" is a phone number in Java city, in which "128" is the area code, and "0123456" is the local number. How many different phone mumbers can we have if (a) there is no restriction on local numbers? (b) there is no repetition in local numbers (however, a digit appearing in the local number can appear in the area code)? ) the first digit of the local number in Java city must be an odd mumber the third digit and the fourth digit of the local number in Perl city must be same; and all digits of the local number in Python city cannot appear in the area code? 2. (6 points) Tom has 10 distinet hooks. Three of then are English books, five of them are French books, and two of them are Italian books. How many ways can Tom pui these book on a shelf if (a) there is no restriction? (b) the books in the same language must be put next to each other? (16 points) draExplanation / Answer
answer to 4th and 5th parts.. :
https://fbcdn-sphotos-h-a.akamaihd.net/hphotos-ak-xpf1/v/t34.0-12/11004165_393437160817903_2034476141_n.jpg?oh=dec50be8c804a6414f5c2bc1fb99268c&oe=54E88BDD&__gda__=1424527821_c516943dd5cec187dd464fc7cffaf31d
https://fbcdn-sphotos-h-a.akamaihd.net/hphotos-ak-xpf1/v/t34.0-12/11005909_393437150817904_1225871029_n.jpg?oh=a1922b4af64b841191b82817bef8fea2&oe=54E9AA8A&__gda__=1424603226_765d673d903329effc0dfc3f48ad3ab3
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.