Mathematics > QUESTIONS & ANSWERS > University of California, Berkeley - CS 70 dis06b-sol. CS 70 Discrete Mathematics and Probability Th (All)
CS 70 Discrete Mathematics and Probability Theory Spring 2019 Course Notes DIS 6B 1 Clothing Argument (a) There are four categories of clothings (shoes, trousers, shirts, hats) and we have ten di... stinct items in each category. How many distinct outfits are there if we wear one item of each category? (b) How many outfits are there if we wanted to wear exactly two categories? (c) How many ways do we have of hanging four of our ten hats in a row on the wall? (Order matters.) (d) We can pack four hats for travels. How many different possibilities for packing four hats are there? Can you express this number in terms of your answer to part (c)? 2 Strings What is the number of strings you can construct given: (a) n ones, and m zeroes? (b) n1 A’s, n2 B’s and n3 C’s? (c) n1;n2;:::;nk respectively of k different letters? CS 70, Spring 2019, DIS 6B 1 3 Bit String How many bit strings of length 10 contain at least five consecutive 0’s? 4 Maze Let’s assume that Tom is located at the bottom left corner of the 9 × 9 maze below, and Jerry is located at the top right corner. Tom of course wants to get to Jerry by the shortest path possible. (a) How many such shortest paths exist? (b) How many shortest paths pass through the edge labeled X? (c) The edge labeled Y? Both the edges X and Y? Neither edge X nor edge Y? (d) How many shortest paths pass through the vertex labeled Z? The vertex labeled W? Both the vertices Z and W? Neither vertex Z nor vertex W? [Show More]
Last updated: 2 years ago
Preview 1 out of 5 pages
Buy this document to get the full access instantly
Instant Download Access after purchase
Buy NowInstant download
We Accept:
Can't find what you want? Try our AI powered Search
Connected school, study & course
About the document
Uploaded On
Mar 09, 2021
Number of pages
5
Written in
This document has been written for:
Uploaded
Mar 09, 2021
Downloads
0
Views
127
In Scholarfriends, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.
We're available through e-mail, Twitter, Facebook, and live chat.
FAQ
Questions? Leave a message!
Copyright © Scholarfriends · High quality services·