4 Pages

final

Course: CS 450, Fall 2009
School: Cal Poly Pomona
Rating:
 
 
 
 
 

Word Count: 191

Document Preview

Exam CS Final 450 Fall 1989 Craig A. Rich Name: In problems 16, prove the given theorem. 1 Theorem. L1 m L2 L2 m L3 = L1 m L3 . 2 Theorem. L is RE-complete = L m Lu . 3 Theorem. The following decision problem is not recursive: input: question: A DTM M . Is L(M ) regular? 4 Theorem. L1 is RE-complete L1 m L2 = L2 is RE-hard. 5 Theorem. RE L RE = L is RE-complete. Hint: Consider the role of Lu in the...

Register Now

Unformatted Document Excerpt

Coursehero >> California >> Cal Poly Pomona >> CS 450

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.
Exam CS Final 450 Fall 1989 Craig A. Rich Name: In problems 16, prove the given theorem. 1 Theorem. L1 m L2 L2 m L3 = L1 m L3 . 2 Theorem. L is RE-complete = L m Lu . 3 Theorem. The following decision problem is not recursive: input: question: A DTM M . Is L(M ) regular? 4 Theorem. L1 is RE-complete L1 m L2 = L2 is RE-hard. 5 Theorem. RE L RE = L is RE-complete. Hint: Consider the role of Lu in the proof of Rices theorem, then use the theorem in problem 4. 6 Theorem. The following decision problem is RE-complete: input: question: Hint: the Use theorem in problem 5. A DTM M . Is L(M )? 7 In each of the following, answer true (T) or false (F): a) m is transitive, reexive, and symmetric. b) m is transitive, reexive, and symmetric. c) REC is closed under m . d) EVENS, PRIMES, Lu , Ld , and PCP are R.E. languages. e) Rices theorem implies that it is impossib...

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:

Cal Poly Pomona - CS - 200001
Homework 2CS 460 Winter 2000 Craig A. RichIn problems 12, perform a cryptanalysis of the given ciphertext Y produced by a secret-key cryptosystem, and answer the following questions: a) Find the plaintext X. b) Describe the secret key Z which was
Cal Poly Pomona - CS - 460
Homework 2CS 460 Winter 2000 Craig A. RichIn problems 12, perform a cryptanalysis of the given ciphertext Y produced by a secret-key cryptosystem, and answer the following questions: a) Find the plaintext X. b) Describe the secret key Z which was
Cal Poly Pomona - CS - 450
Final ExamCS 450 Spring 2003 Craig A. RichIn problems 17, prove the given Theorems. Recall that Ld = { M | M doesn't accept M }, Lu = { M w | M accepts w }.1Theorem. Ld m Ld .2Theorem. Lu RE.3 Let Primes be the set of binary strings th
Cal Poly Pomona - CS - 450
Final ExamCS 450 Fall 2004 Craig A. RichIn problems 17, prove the given Theorems. 1 2 3 Theorem. { x {0, 1} | x represents a number that is not prime } REC. Theorem. { M | L(M) = } RE. Theorem. Lu RE. /4 Recall the following decision probl
Cal Poly Pomona - CS - 130
MidtermCS 130 Fall 2006 Craig A. RichSolve problems 17 (note: problems 57 are on the back of this page). 1 a) Give the fully-parenthesized propositional wff that is identical to the following propositional wff (by adding an explicit pair of paren
Cal Poly Pomona - CS - 200604
MidtermCS 130 Fall 2006 Craig A. RichSolve problems 17 (note: problems 57 are on the back of this page). 1 a) Give the fully-parenthesized propositional wff that is identical to the following propositional wff (by adding an explicit pair of paren
Cal Poly Pomona - MAT - 325
Presentation ProblemsMath 325 Winter 20091. (Rebecca) Assume m, n, and j are in Z. If m|n and n|j, then m|j. Proof: Let m|n, n|j and m, n, j Z. So there is k Z s.t. n = mk. And there is h Z s.t. j = nh. Then j = nh = (km)h = m(kh) where hk Z. Thus
Cal Poly Pomona - CS - 310
Final ExamCS 310 Winter 2004 Craig A. Rich1 Give a regular expression e such that Le = { x {a, b} | x does not contain ab }. 2 Consider the following lexicon E : a 1(01)* b (101)* c (0+)1 a) Give the lexical NFA N (E ) constructed from E . b)
Cal Poly Pomona - CS - 200001
Final ExamCS 440 Winter 2000 Craig A. Rich1 Give a leftmost derivation of the sentence (a;a) of the following CFG G: S A B C (A) CB ;A | a|S2 Consider the following CFG G: S A B C D ABD | CD Aa | a Ba | Ac | Bc d | dDa) Compute the
Cal Poly Pomona - CS - 440
Final ExamCS 440 Winter 2000 Craig A. Rich1 Give a leftmost derivation of the sentence (a;a) of the following CFG G: S A B C (A) CB ;A | a|S2 Consider the following CFG G: S A B C D ABD | CD Aa | a Ba | Ac | Bc d | dDa) Compute the
Cal Poly Pomona - CS - 540
Final ExamCS 540 Fall 2008 Craig A. Rich1 Give examples of flow graphs G = (V, E) such that {B1, B2, B3} V and a) B1 dom B2 dom B3. b) B1 dom B2, B1 dom B3, B2 dom B3, B3 dom B2. c) B1 dom B2, B1 dom B3, B3 dom B1, B2 dom B3, B3 dom B2. d) B1 do
Cal Poly Pomona - CS - 460
MidtermCS 460 Fall 2002 Craig A. Rich1 Give the plaintext X from which the following ciphertext Y was produced by a single substitution cipher: nz eph ibt gmfbt2 Consider the following joint probability distribution: Y y4 01 8y1 x1 X x21 8
Cal Poly Pomona - CS - 200502
MidtermCS 431 Spring 2005 Craig A. Rich1 Give two advantages of using direct memory access (DMA) instead of an I/O port.2 What hardware and software interrupts occur during a single asynchronous I/O transfer (see notes page 5).3 Give the most
Cal Poly Pomona - CS - 431
MidtermCS 431 Spring 2005 Craig A. Rich1 Give two advantages of using direct memory access (DMA) instead of an I/O port.2 What hardware and software interrupts occur during a single asynchronous I/O transfer (see notes page 5).3 Give the most
Cal Poly Pomona - CS - 435
Final ExamCS 435 Spring 2004 Craig A. Rich1 Consider the following database scheme: OCCUPANTS (SSN, Room#) PHONEJACKS (Jack#, Room#) WIREDPHONES (Jack#, Phone#) CELLPHONES (SSN, Phone#) Write relational expressions that retrieve the following: a)
Cal Poly Pomona - CS - 130
Homework 4CS 130 Fall 2006 Craig A. RichThe following problems are taken from exercises at the end of section 2.4 in Gersting. 1 (Exercise 2.4, Problem 8) Give the rst ve values in the sequence dened recursively by D(1) = 3 D(2) = 5 D(n) = (n 1)
Cal Poly Pomona - CS - 200604
Homework 4CS 130 Fall 2006 Craig A. RichThe following problems are taken from exercises at the end of section 2.4 in Gersting. 1 (Exercise 2.4, Problem 8) Give the rst ve values in the sequence dened recursively by D(1) = 3 D(2) = 5 D(n) = (n 1)
Cal Poly Pomona - CS - 210
Final ExamCS 210 Winter 2006 Craig A. RichSolve the following problems. Show all work. 1 Prove that the following equation is true: (w z ) + (x + y ) = (w + x + y + z)(w + x + y + z)(w + x + y + z)2 Let e = (2, 4, 5, 6, 7, 9, 10, 12, 14
TCNJ - ANSWE - 06
Music 2006-2007 One Question Student Learning Outcomes Assessment Answer Introduction: In assessing our music students ability in the formal analysis of music, we have focused on the four course sequence of Musicianship( I-IV). The subjects for this
Cal Poly Pomona - BIO - 577
CALIFORNIA STATE POLYTECHNIC UNIVERSITY, POMONA BIO 577: Transmission Electron Microscopy Techniques Fall Quarter, 2001 Course Information Sheet (Syllabus) CRN# Subj Crse Sect Course title Units Days Time Bldg Rm Instructor 45630 BIO 577 01 TEM Techn
Cal Poly Pomona - BIO - 110
CALIFORNIA STATE POLYTECHNIC UNIVERSITY, POMONA BIO 110: Life Science Summer Quarter, 2001 Course Information Sheet (Syllabus)CRN# 30163 Subj Crse Sect Course title BIO 110 03 Life Science Units 3.0 Days Time Bldg 3 Rm Instructor MW 12:00-1:15 215 D
Cal Poly Pomona - BIO - 303
BIO 303: Genetics Course Information Sheet (Syllabus)CRN# 11527 Subj Crse Sect Course title BIO 303 01 Genetics Units 4.0 Days Time Bldg 3Winter Quarter, 2003Rm 120 Instructor Dr. Glenn Kageyama MTWR 11:00-11:50 a.m.MW 2:00-3:50Professor:Dr
Cal Poly Pomona - BIO - 490
Bio 490: Scientific Communication II Requirements SEMINAR The seminar will consist of an oral presentation 13 to 15 minutes in length, followed by a 5 minute question-and-answer period. Your oral presentation must flow logically. The following is a s
Cal Poly Pomona - BIO - 301
CaliforniaStatePolytechnicUniversity,PomonaInstructor: Judi Bogdanoff-Lord E-mail: judithb@csupomona.edu Office hours: MW F at 9:00 am TTh at 5:00 pm Required text: Human Sexuality In a World of Diversity, 6 th ed., Rathus, et al. Class hom
Cal Poly Pomona - BIO - 110
CaliforniaStatePolytechnicUniversity,PomonaInstructor: Judi Bogdanoff-Lord E-mail: judithb@csupomona.edu Office hours: MWF at 9:00 am TTh at 5:00 pm Required Text: Course homepage:Office: 8-134 Phone: 909-869-3463 Campus ext.: 3463Johns
TCNJ - CSC - 460
CSC460Name: _Exercise B2, 2/15/05 Part 1: DiagonalizationToday, we discussed that for countably-many TMs, there are uncountably-many languages. Thus, no matter how hard we try, there wont be enough TMs to cover all of the languages. This immedia
Cal Poly Pomona - HC - 2010
Headquarters Healthy Campus 2010U.S. Air ForceHow Three Campuses are Making It HappenMichelle Burcin, MPHUniversity of South CarolinaI n t e g r i t y S e r v i c e E x c e l l e n c eJo Ann Dawson, MDUCLALaurie Dusselier, MSIowa
Cal Poly Pomona - CS - 199301
Program 2CS 241 Winter 1993 Craig A. RichConsider the le [cs.carich]program_2.dat, which is a le having sequential organization and xed-length records containing elds dened by the Ada record type STUDENT:subtype TEST_SCORE is NATURAL range 0.100
Cal Poly Pomona - CS - 241
Program 2CS 241 Winter 1993 Craig A. RichConsider the le [cs.carich]program_2.dat, which is a le having sequential organization and xed-length records containing elds dened by the Ada record type STUDENT:subtype TEST_SCORE is NATURAL range 0.100
Cal Poly Pomona - CS - 141
Program 6CS 141 Winter 1991 Craig A. RichConsider a binary search tree whose elements are of type ELEMENT: NAME_CAPACITY: constant := 40; type ELEMENT is record PIN: NATURAL range 0.999_999; NAME: STRING(1.NAME_CAPACITY); NAME_LENGTH: NATURAL ran
Cal Poly Pomona - CS - 199101
Program 6CS 141 Winter 1991 Craig A. RichConsider a binary search tree whose elements are of type ELEMENT: NAME_CAPACITY: constant := 40; type ELEMENT is record PIN: NATURAL range 0.999_999; NAME: STRING(1.NAME_CAPACITY); NAME_LENGTH: NATURAL ran
Cal Poly Pomona - CS - 200302
Final ExamCS 435 Spring 2003 Craig A. Rich1 Consider a database scheme containing information about recipes and their ingredients: RECIPES (Recipe#, Name, Instructions, Category) INGREDIENTS (Recipe#, Ingredient, Quantity) KITCHEN (Ingredient, Lo
Cal Poly Pomona - CS - 435
Final ExamCS 435 Spring 2003 Craig A. Rich1 Consider a database scheme containing information about recipes and their ingredients: RECIPES (Recipe#, Name, Instructions, Category) INGREDIENTS (Recipe#, Ingredient, Quantity) KITCHEN (Ingredient, Lo
Cal Poly Pomona - CS - 210
Laboratory 2CS 210 Winter 2006 Craig A. RichConsider the Boolean expression e = (x + z) + (x + y) z + xy z. 1 Produce the Boolean expression equivalent to e in canonical sum of minterms form. 2 Give a Karnaugh map for e and show the minimal se
Cal Poly Pomona - CS - 441
MidtermCS 441 Winter 1994 Craig A. Rich1 Consider the following CFG G: S | AbS A | Aa a) Give a parse tree and a rightmost derivation of the sentence aabab. Put a box around the handle of each right sentential form in the derivation. b) Const
Cal Poly Pomona - CS - 441
Homework 1CS 441 Winter 1991 Craig A. RichConsider the following CFG: sexpr atom | list atom id | T | NIL list ( sexprlist ) | ( QUOTE sexpr ) | ( CAR sexpr ) | ( CDR sexpr ) | ( CONS sexpr sexpr ) | ( EQ sexpr sexpr ) | ( ATOM sexpr ) | ( CON
Cal Poly Pomona - CS - 199301
Homework 1CS 440 Winter 1993 Craig A. RichConsider the following regular denition over the ASCII alphabet, in which eot, ht, and cr are standard names for the control characters end of text, horizontal tab, and carriage return; and char is any ch
Cal Poly Pomona - CS - 440
Homework 1CS 440 Winter 1993 Craig A. RichConsider the following regular denition over the ASCII alphabet, in which eot, ht, and cr are standard names for the control characters end of text, horizontal tab, and carriage return; and char is any ch
Cal Poly Pomona - CS - 440
Homework 1CS 440 Fall 1993 Craig A. RichConsider the following regular denition over the Ascii alphabet which uses regular expression ei to dene the lexemes L(ei ) associated with terminal ai , for i = 1, . . . , 10.1) literal 2) relop 3) addop
Cal Poly Pomona - CS - 199001
Homework 3CS 440 Winter 1990 Craig A. Rich1 Consider the NFA N = (S, , , s0 , F ) represented by the following transition graph:a) Dene the mathematical components S, , , s0 and F which comprise N . b) Compute closure ({2, 5}), (0, ab), ({0,
Cal Poly Pomona - CS - 440
Homework 3CS 440 Winter 1990 Craig A. Rich1 Consider the NFA N = (S, , , s0 , F ) represented by the following transition graph:a) Dene the mathematical components S, , , s0 and F which comprise N . b) Compute closure ({2, 5}), (0, ab), ({0,
Cal Poly Pomona - CS - 440
Quiz 1CS 440 Fall 2000 Craig A. RichConsider the following regular denition over the alphabet = {0, 1} which uses regular expression ei to dene the words L(ei ) associated with terminal ai , for i = 1, . . . , 3. 1) A 0 | 1 2) B 1(01)+ 3) C (
Cal Poly Pomona - CS - 200502
Homework 3CS 431 Spring 2005 Craig A. RichConsider processes arriving at a ready queue,pid arrival time (ms) burst duration (ms)1 2 3 4 5 6 7 8 9 10 110 10 15 20 20 40 70 80 80 80 10030 25 10 20 50 15 20 30 30 10 10dispatched to a single
Cal Poly Pomona - CS - 431
Homework 3CS 431 Spring 2005 Craig A. RichConsider processes arriving at a ready queue,pid arrival time (ms) burst duration (ms)1 2 3 4 5 6 7 8 9 10 110 10 15 20 20 40 70 80 80 80 10030 25 10 20 50 15 20 30 30 10 10dispatched to a single
Cal Poly Pomona - GBA - 591
SYLLABUS: GBA 591/592 Taxes and Business Strategy Professor John E. Karayan, JD PhD Spring 2006All Required Class Sessions are On-line This is an entirely on-line course. The idea is for students to communicate as much as possible using technology,
Cal Poly Pomona - WEB - 116
MAT 116-05 Analytic Geometry and Calculus IIITuTh 10:00am-11:50am 5-136Instructor: Brent Deschamp Email: bjdeschamp@csupomona.edu Website: http:/www.csupomona.edu/bjdeschamp Oce Hours:Oce: 8-154 Phone: 909-869-3485Monday 2-3pm Tuesday 3-4pm We
Cal Poly Pomona - WEB - 315
MAT 315-01 Intermediate Analysis II Exam #2 Review Exam: June 4, 3:50pm-5:50pm.Denitions Know the denition and be able to provide an example of each of the following: Partition Renement Riemann Integration Lower Sum, L(f, P ) Upper Sum
Cal Poly Pomona - WEB - 114
MAT 114-01 Analytic Geometry & Caluclus ITu-Th 1:00pm-2:50pm 8-246Instructor: Brent Deschamp Email: bjdeschamp@csupomona.edu Website: http:/www.csupomona.edu/bjdeschamp Monday Tuesday Wednesday ThursdayOce: 8-154 Phone: 909-869-3485Oce Hours:
Cal Poly Pomona - WEB - 470
MAT 470-01 Combinatorics Homework # 8 Assigned: November 15, 2007 Due: November 29, 20071. Suppose G(x) is the ordinary generating function for a sequence (ak ). Find ak if G(x) = x . x2 5x + 62. Derive the formula for the k-th Fibonacci number
Cal Poly Pomona - ENGLISH - 430
Assignment Schedule Narrative in Film and Fiction Maitino, Spring 2001Directions: Readings, films, assignments, and exams are listed. Several important points: 1). Bring all journal response entries each class period enclosed in English & Foreign La
Cal Poly Pomona - ENGLISH - 465
English 465 Assessment Seminar Winter 2002Dr. John R. Maitino Cal Poly Pomona English & Foreign Languages Department Office: #217, BLDG. 24 Phone: (909-869-3826 office); Email: <jrmaitino@csupomona.edu> Course Hours and Location: 10-11:50 AM, T & TH
Cal Poly Pomona - ENGLISH - 430
Spring, 2001Cal Poly Pomona English & Foreign Languages Department Dr. John R. Maitino Office: #217, BLDG. 24 Phone & Email: 909-869-3826 & <jrmaitino@csupomona.edu> Course Hours and Room: 2-3:50 PM, M & W, Bldg. 5, Room 244 Office Hours: 11-Noon &
Cal Poly Pomona - ENGLISH - 465
FIELD EXPERIENCE ASSIGNMENTDIRECTIONS: You will complete thirty hours of participation at a selected public school, to include 15 hours of observation of one or two language arts teachers, 4 hours of preparation/teaching of a 1/2 to 1 hour lesson in
Cal Poly Pomona - ENGLISH - 465
FIELD EXPERIENCE CHECKLIST AND ASSESSMENT FORM Cal Poly Pomona English & Foreign Languages Department (return to John R. Maitino)CHECKLIST (Instructor should initial each area as it is completed and comment, if necessary. Alternative Area may be use
Cal Poly Pomona - ENGLISH - 430
JOURNAL RESPONSE ENTRIESNarrative in Fiction and Film English 430 Your journal response entry should be 250-300 words typed, titled, dated, with film or literary or critical text indicated, in a manila folder with other entries (for easy and light c
Cal Poly Pomona - EC - 201
Imperfect Competition OligopolyChapter 16 Imperfect competition refers to those market structures that fall between perfect competition and pure monopoly.Imperfect CompetitionImperfect competition includes industries in which firms have competito
Cal Poly Pomona - EC - 201
WelfareWelfareOverview: In this lecture, we talk about the consequences for social welfare of using the market to allocate resources. The central theme is that in many instances the market will maximize social welfare when we use particular qua
Cal Poly Pomona - EC - 201
Monopolistic Competition Imperfect competition refers to those market structures that fall between perfect competition and pure monopoly.Monopolistic Competition17Copyright2004 South- estern W Copyright 2004 South-WesternThe Four Types of M
Cal Poly Pomona - EC - 201
The best things in life are free. . . Free goods provide a special challenge for economic analysis. Most goods in our economy are allocated in marketsPublic Goods and Common Resource11Copyright 2004 South-WesternThe best things in life are
Cal Poly Pomona - ME - 330
ENGINEERING NUMERICAL COMPUTATIONS ME 330 Winter 2001 (Sec 01, CRN 12535, MWF 8:00-9:05 AM, Rm. 9-255) COURSE OUTLINE: Numerical methods applied to the solution of problems in engineering. Roots of equations, matrix methods, curve fitting, numerical
Cal Poly Pomona - KRANDERSON - 1
MECHANICAL ENGINEERINGMASTER OF SCIENCE IN MECHANICAL ENGINEERING In the Department of Mechanical Engineering, College of Engineering www.csupomona.edu/me Michael T. Shelton, Chair Kevin R. Anderson, Graduate Coordinator The practice-oriented Master