3 Pages

finalexam

Course: MATH 4160, Fall 2009
School: Maple Springs
Rating:
 
 
 
 
 

Word Count: 1120

Document Preview

HOME TAKE FINAL EXAM - MATH 4160 - APRIL 4, 2003 You may use your book, notes or calculator. Do not discuss this exam with your fellow students. Some notes: This exam is due on Friday April 18, 2003 at 11:30am. This due date is soft in the sense that if you NEED more time due to other constraints I will grant it to you but you must e-mail me before the due time to ask for it (zabrocki@mathstat.yorku.ca). The exam...

Register Now

Unformatted Document Excerpt

Coursehero >> Maryland >> Maple Springs >> MATH 4160

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
HOME TAKE FINAL EXAM - MATH 4160 - APRIL 4, 2003 You may use your book, notes or calculator. Do not discuss this exam with your fellow students. Some notes: This exam is due on Friday April 18, 2003 at 11:30am. This due date is soft in the sense that if you NEED more time due to other constraints I will grant it to you but you must e-mail me before the due time to ask for it (zabrocki@mathstat.yorku.ca). The exam however should take no more than 3 hours if you have prepared for it and so I do not want to extend the due date by more than 3 days. The course you have just completed covered three major areas of combinatorics: basic techniques of counting, generating functions and enumeration of symmetry classes of permutations (P`lya o enumeration). To attain an A in this course you must be able to answer questions in all three areas. Therefore I will break this exam into three smaller exams. Each one should take about an hour to complete (assuming that you are prepared) and each one covers roughly the topics that we discussed in a third of the course. I will be available for office hours during the following times: Monday, April 7, 2003 Tuesday, April 15, 2003 1pm - 3pm 12pm - 2pm If you are unable to make either of these times and you would like to see me to ask questions regarding this exam feel free to e-mail me and we can try to arrange another time or if it is possible to answer your questions by e-mail I will try. Basic Counting Techniques: (1) (7 pts) How many ways are there of coloring n numbered balls with k colors? (2) (7 pts) How many ways are there of coloring n numbered balls using k colors such that each color is used at most once? (3) (7 pts) How many ways are there of coloring n indistinguishable balls using k colors? (4) (7 pts) How many ways are there of coloring n indistinguishable balls with k colors such that each color is used at most once? (5) (7 pts) How many distinct ways are there of rearranging the letters of the word BRIGHT SUNLIGHT (ignore the space)? 1 2 TAKE HOME FINAL EXAM - MATH 4160 - APRIL 4, 2003 (6) (7 pts) How many distinct ways are there of rearranging the letters of the word ELECTRONICALLY such that the vowels are not next to each other? (7) (7 pts) 60 days are chosen at random during the year. What is the probability that there are 5 days chosen from each month (assume non-leap year with 365 days; there are 30 days in September, April, June, and November, 28 in February, and 31 in the other 7 months)? (8) (7 pts) If a 9 digit Social Insurance number is chosen at random what is the probability that at least two digits are the same? (9) (7 pts) There are 50 cards numbered 1 through 50. Two different cards are chosen at random. What is the probability that one number is twice the other number? (10) (8 pts) How many different positive integers can be obtained as a sum of two or more of the numbers 1, 2, 5, 10, 20, 37, 77? (11) (9 pts) How many numbers less than 9500 are not divisible by 5, 7 and 13? (Hint: you will probably need to use Inclusion-Exclusion to solve this problem) (12) (10 pts) How many sequences are there of 26 letters with each of the letters of the alphabet appearing exactly once and that do not contain the sequences of letters ABCD, ZYXW, MNOP, or SNOT? (Hint: you will probably need to use Inclusion-Exclusion to solve this problem) (10 (13) pts) Give a combinatorial proof of the following identity: n+1 k+1 n = =0 +r r n-r- k-r Generating Functions, Partitions and Combinatorial Interpretations: (1) (20 pts) Let ak be the sequence defined by a0 = 1 and an = 2n - an-1 . Give an expression for the generating function A(x) = n0 an xn . Bonus: (10 pts) Find a non-recursive expression for an . (2) (20 pts) Give an expression for the generating function of the number of sequences of a's, b's, and c's such that every c is followed by two a's. (3) (20 pts) Give an expression for the generating function for the number of partitions with only odd parts and parts of size k are repeated less than k times for all k 1. (4) (20 pts) Give an expression for the generating function the number of partitions with the property that every a part of size k either appears 0 or 2 times for all k 1. (e.g. (3, 3, 1, 1), (3, 3), (4, 4, 1, 1), (3, 3, 2, 2, 1, 1) are all partition of this type and (4, 4, 2, 2, 1) is not). (5) (5 pts each) For each of the following expressions give a description of a set combinatorial objects which are enumerated by the formula. (a) 2n n! (b) n + n + n + 0 4 8 (c) p(n) n! where p(n) is the number of partitions of n. (d) n + nk + k n k TAKE HOME FINAL EXAM - MATH 4160 - APRIL 4, 2003 3 Burnside's Theorem and Plya Enumeration: o The first 4 questions below relate to the diagram shown below which is invariant under rotations by 60 and a reflection about the vertical line. These two elements generate a dihedral group of order 12. Let x = rotation by 60 which has has order 6, x6 = e. Let y = reflection about the vertical line which has order 2, y 2 = e. You may verify that xy = yx-1 . (1) (20 pts) Consider the colorings of the 30 regions of the diagram which are distinct when we consider rotations of the diagram only. How many ways are there of coloring the regions with 5 colors? (2) (20 pts) Redo the previous problem considering this time colorings of the diagram with 5 colors which ar...

Textbooks related to the document above:
Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

East Los Angeles College - CS - 2130
CS213 Programming Language ConceptsUnit 5 Synchronisation in Concurrent Programming At the end of the last unit the following question was posed: The run method on page 2 still suffers from a potential race condition, can you spot it? The answer of
East Los Angeles College - CS - 2130
CS2130 Programming Language ConceptsUnit 3 Java Threads A thread in Java is an instance of the standard Thread class (or a class that extends Thread). The Thread class provides methods to create and control a thread and to synchronise its execution.
East Los Angeles College - CS - 2130
CS2130 Programming Language ConceptsUnit 12 addendum - Static and Dynamic Scope In the discussion above we have described static scoping: the visibility of a binding depends only on the physical (or lexical) structure of a program and can be entirel
Maple Springs - MATH - 5020
WORKSHEET VII: COMBINATORIAL IDENTITIES FROM GENERATING FUNCTIONSMARCH 9, 2006When you answer the following questions refer to the handout titled Worksheet IV with a list of useful generating functions. (1) (a) Give a generating function which con
East Los Angeles College - CS - 2130
CS2130 Programming language ConceptsLab Class 1 In this lab class you should (re-)familiarize yourself with how to edit, compile and run Java programs using your preferred Operating System and Java IDE (re-)familiarize yourself with simple use of a
Maple Springs - MATH - 5020
COMBINATORIAL PROBLEMS AND GENERATING FUNCTIONSFEBRUARY 7, 2008In each of the following problems the parameter n will be specied. You should write down a generating function for the number of the specied quantity for all n by translating the follo
East Los Angeles College - CS - 2130
CS2130 Program Language Concepts and ParadigmsLecture 1 - Introduction Module Outline: Credits: 10 LEARNING OUTCOMES Knowledge and understanding of programming paradigms alternative or complementary to the basic sequential imperative paradigm Unders
East Los Angeles College - CS - 2130
CS2130 Programming Language ConceptsLab Class 5 In this lab class you should familiarize yourself with simple use of a Unix-like command window to compile and run C programs from the command-line. Work for this lab: 1. Log onto your preferred operat
Maple Springs - MATH - 4160
HOMEWORK #3 SOLUTIONS - MATH 4160(1) How many paths are there that start at the point (0, 0) and go to the point (2n, 0) by taking steps in a NE or SE direction (i.e. (+1, +1) or (+1, 1)? Solution: Every path that starts at (0, 0) and ends at (2n,
East Los Angeles College - CS - 2130
Ada Case StudyWhat day of the week is it?It is required to write an interactive program which will calculate the day of the week on which a particular date falls. The user is to input a date as three whole number values giving the day, month year
East Los Angeles College - CS - 2130
CS2130 Programming Language ConceptsLab Class 4 In this lab class you should familiarize yourself with simple use of a Unix-like command window to compile and run Ada programs from the command-line. learn how to edit, compile and run Ada programs us
Maple Springs - MATH - 4160
GENERATING FUNCTIONS PRACTICE - MATH 4160Find the generating function for the each of the following sets of partitions described below. (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (11) (12) (13) (14) (15) Partitions with only even parts and the length
East Los Angeles College - CS - 2130
CS2130 Programming Language ConceptsCoursework 2006 Problem 1. A Generic BoundedBuffer (25 marks) Modify the BoundedBuffer class that appeared in unit 6 of the lecture notes so that it is generic (like all the standard collection classes in Java 1.5
East Los Angeles College - CS - 2130
CS2130 Programming Language Concepts and ParadigmsUnit 4 - Addendum and Corrections Correction On page 8 of unit 4 it was stated that "C and C+ do not allow overloading of subprogram or other entities". This is correct for C, but not for C+. In C+ f
East Los Angeles College - CS - 2130
CS2130 Programming Language Concepts and Paradigms1. a) State what is meant by the terms expression and command, bringing out as clearly as possible the distinction between the two terms. Your answer should introduce the concept of program state. (
East Los Angeles College - CS - 2130
CS2130 Programming Language Concepts1. a) State what is meant by the terms expression and command in a programming language, bringing out as clearly as possible the distinction between the two terms. Your answer should introduce the concept of prog
Maple Springs - MATH - 2560
POST TEST TWO PRACTICE QUESTIONS As for the previous tests, I am assigning some questions from the online quizes available. I won't repeat the instructions on how to access these; they're still up with the test one practice questions. Also, my number
East Los Angeles College - CS - 2130
CS2130 Programming Language Concepts and ParadigmsCoursework 2005 Problem 1. A Task Pool In the Ada code overleaf a main task loops repeatedly getting data to process by calling a procedure GetData from a package DataPack. This procedure produces da
East Los Angeles College - CS - 2130
CS2130 Programming Language Concepts and ParadigmsCoursework 2004 1. A Square Matrix Package The specification of an Ada package exporting a type SquareMatrix and operators for performing basic matrix operations on values of this type is given by:P
East Los Angeles College - CS - 2130
CS2130 Programming Language Concepts and ParadigmsReferred Continuous Assessment Exercises 2005 Problem 1. An Improved Implementation of a Mutex Protected Object - (50 marks) The simple implementation of a mutex in Unit 10 of the PLCP notes relies f
East Los Angeles College - CS - 2130
CS126 Mathematics for ComputingMatrix Algebra Matrix algebra occurs in many practical applications in computing (e.g. graphics, error detecting and error correcting codes), in mathematics and physics. An m n matrix is a rectangular array with m row
East Los Angeles College - CS - 2130
7# #/#,#T#,#T#T#-T#-T#-b#.#-#- #- #- #-#-#-#.#x#-p#/0# #/P#/#*#/#-T#/#/h#:#/#/#/# #/#/#/#/ #/#/#CS213 Programming Language Concepts and ParadigmsCoursework 2002 The coursework assignment contributes 25% to the overall assessment of the module. It con
East Los Angeles College - CS - 2130
7#q# %#X#"#T#"#T#T#T#T#b# #c# #w# #U#$#x#%# #%<#%w#*#% #T#% #%T#/#% # %#%# #% #%#%)#% #% ##% #CS2130 Programming Language Concepts and ParadigmsCoursework 2003The coursework assignment contributes 25% to the overall assessment of the module.Modify th
East Los Angeles College - CS - 2130
7#3#H(#1#F#l#F#l#Gl# #Gl#Gl#Gz#Gz#Gz#Gz#G # #G# #G #G #G #G #G# #G#G#G#G#H #G#9#H#H#G#H#H#H#H#H #H$# # # ##CS2130 Programming Language Concepts and ParadigmsCoursework 2005 Problem 1. A Task PoolIn the Ada code overleaf a main task loops repeatedly
CSU Fullerton - SRT - 0901
SRT210Week ThreeWeek OverviewChange Management Revision Control Time ManagementChange management is an organized effort to implement changes to a systemChange ManagementTypically, change management involves the following elements: Th
East Los Angeles College - CS - 2130
CS2130 Programming Language ConceptsUnit 11 More on Function and Procedure Abstractions Defining New Operators Some languages, for example Ada and C+, allow new overloadings of existing operator symbols to be defined. For example in Ada:TYPE Vector
East Los Angeles College - CS - 2130
CS2130 Programming Language ConceptsUnit 14 - Pointer or Access Types Dynamic Storage Allocation The binding of fixed amounts of storage to named variables is inadequate for algorithms that need to store arbitrary amounts of data. For example progra
East Los Angeles College - CS - 2130
CS2130 Programming Language ConceptsUnit 2 Concurrent Programming So far in this degree programme you have mainly considered sequential programs in which statements are obeyed in a single thread of control, that is where only one instruction sequenc
East Los Angeles College - CS - 2130
CS2130 Programming Language ConceptsUnit 16 Encapsulation and Abstraction Client/Server Model Most modern programming languages provide a means of grouping related services together in some program entity. This entity is variously called a package,
East Los Angeles College - CS - 2130
CS2130 Programming Language ConceptsUnit 10 Function and Procedure AbstractionsExpressions & Commands Revisited Recall that an expression is anything that can be evaluated to produce a value whereas a command modifies program state (the internal s
East Los Angeles College - CS - 2130
CS2130 Programming Language ConceptsUnit 12 - Bindings and Scope Binding Each time execution of a program in a high-level programming language such as Ada or Java reaches a declaration that declaration is elaborated which has the effect of binding o
East Los Angeles College - CS - 2130
CS2130 Programming Language ConceptsUnit 15 General Access Types In the last unit access or pointer types were used to provide a means of manipulating objects created by an allocator (i.e. NEW). Such access types are referred to as pool-specific acc
East Los Angeles College - CS - 2130
CS2130 Programming Language ConceptsUnit 8 - Programming Language Concepts Names A name is a string of characters used to identify some entity in a program (such as a variable, type, subprogram etc.) Names are often referred to as identifiers. A num
CSU Fullerton - OPS - 535
1OPS535Advanced TCP/IP Network AdministrationRPC and NFSRaymond Chan Seneca College of Applied Technology2What is RPC?RPC is a programming paradigm (or protocol) Based on work at Xerox PARC in the early 1980s RPC use XDR encoding Used by
CSU Fullerton - OPS - 535
Professor: RaymondChan Email: raymond.chan@senecac.on.caUseemailforallcommunication.Pleaseuse propergrammarandspelling.OnlyemailsfromyourSenecaLearn accountswillbereplied.PleaseaddOPS535asaprefixtothesubject line. Webpage: Myhomepageisathttp:/cs.sene
Air Force Academy - ME - 324
Granta Design, February 2007 Granta Design, February 2007Getting started with CES EduPackThese exercises give an easy way to learn to use the CES EduPack software. The comprehensive Help file and CES InDepth within the software give more detail
Air Force Academy - ME - 492
Air Force Academy - ME - 492
East Los Angeles College - CS - 2130
7#4a#"#A#0#0#1#1#1#1#X#23#23#23#2C# #2S#2o#2o#3a#x#23#3# #3#47#*#4a#1#47#4#&#47#47#4a#47#47#47#47# #47##47#Answer 3 questions.Time allowed: 1.5 hoursDisclaimer:This sample paper gives an indication as to the style of the sort of questions that may ap
Air Force Academy - ME - 492
Air Force Academy - ME - 492
Air Force Academy - ME - 492
Air Force Academy - ME - 229
2009WeekJan. 5 Jan. 9Introduction to Engineering DesignMonday Lab.1B71 2:30-5:20PM Class start Jan 5 Introduction of Faculty and Group Members Introduction to the Design Projects. Prof. Burton Design Process & Designers- Prof. W.Szyszkowski (Co
East Los Angeles College - CS - 2130
CS2130 Programming Language ConceptsUnit 15 addendum Function Pointers in C and C+We can also define function pointers in C or C+. For example to define a pointer type to refer to functions of type double > double we would define#include <math.h>
CSU Fullerton - SRT - 0901
SRT210Week OneWeek OverviewCourse Introduction System Administrators' Role Security Policy Role Types of Security Policies Week One TasksYour ProfessorRaymond Chan Email: raymond.chan@senecac.on.ca Home page: cs.senecac.on.ca/~rchan/ Office
East Los Angeles College - CS - 2130
There is no lab sheet for the labs in the weeks ending Fri 24thFebruary and Friday 3rd March.This is to allow students to work on the PLC coursework assignmentwhich is due in 7th March.There will be a lab sheets for the labs in week 8-11 ( wee
Air Force Academy - ME - 492
East Los Angeles College - CS - 2130
CS2130 Programming Language Concepts and ParadigmsLab Class 4 An On-screen Time Display Program In this example a task is used to manage a clock which displays the time and date at a certain position on the screen; every second the task updates the
Air Force Academy - ME - 492
Air Force Academy - ME - 492
Air Force Academy - ME - 492
Air Force Academy - ME - 492
East Los Angeles College - CS - 2130
CS2130 Programming Language Concepts and ParadigmsUnit 11 More on Synchronisation in Concurrent Ada Programs The Ada Rendezvous Protected objects and protected types largely solve the problem of synchronising task access to shared data structures. P
Air Force Academy - ME - 492
East Los Angeles College - CS - 2130
CS2130 Programming Language Concepts and ParadigmsUnit 16 - More on Object-Oriented Programming in Ada Object-Oriented Features in Standard Ada Libraries The standard Ada libraries use the object-oriented features of Ada to provide a number of power
Air Force Academy - ME - 492
East Los Angeles College - CS - 2130
CS2130 Programming Language Concepts and ParadigmsUnit 13 Encapsulation and Abstraction Client/Server Model A package typically provides a service that is utilised by a client. The interface of a package should provide exactly the information needed
Air Force Academy - ME - 492
East Los Angeles College - CS - 2130
CS2130 Programming Language Concepts and ParadigmsUnit 8 General Access Types In CS1210 (DSA) access or pointer types were used to provide a means of manipulating objects created by an allocator (i.e. NEW). Such access types are referred to as pool-
Air Force Academy - ME - 492
East Los Angeles College - CS - 2130
CS2130 Programming Language Concepts and ParadigmsUnit 4 - Bindings and Scope Binding Each time execution of a program in a high-level programming language such as Ada reaches a declaration that declaration is elaborated which has the effect of bind