2 Pages

Handout1

Course: CS 381, Fall 2004
School: Cornell
Rating:
 
 
 
 
 

Word Count: 475

Document Preview

381, COMS Summer 2005 Supplementary Handout 1 Nondeterministic Finite Automata and Computation Trees Nondeterministic computation is often thought of as a guess and verify process. For instance, suppose we have a NFA N that is given an input string x. We can think of the computation of N as a two-step process: guess a sequence of transitions that will allow the processing of x by N to end in an accept state of N...

Register Now

Unformatted Document Excerpt

Coursehero >> New York >> Cornell >> CS 381

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.
381, COMS Summer 2005 Supplementary Handout 1 Nondeterministic Finite Automata and Computation Trees Nondeterministic computation is often thought of as a guess and verify process. For instance, suppose we have a NFA N that is given an input string x. We can think of the computation of N as a two-step process: guess a sequence of transitions that will allow the processing of x by N to end in an accept state of N , verify that guess by actually carrying out the transitions and checking that we end up in an accept state. Nondeterminism can also be understood as a situation where there are multiple possible computation paths, which can be carried out in parallel if desired. A nondeterministic computation is accepting if at least one of these possible paths leads to an accepting state. If no such path exists, the computation is rejecting. A standard way of visualizing the multiple possible computation paths for a NFA is a computation tree. Consider the following simple NFA which accepts all strings over {0, 1} having a 1 in the third-to-last position: 0, 1 % 0, 1 k0, 1 k E p 1E q k k Er Es n Consider the computation of the automaton on the string 0101 (which should be accepted). We begin in state p. On the rst 0, we remain in state p. On the next symbol, which is 1, we have a choice - to remain in p state or to move to q. This can be represented as a branch in the following (partial) computation tree: p 0 p 1 c d d p q We can continue in this manner, until we nish processing the string. The full computation tree for 0101 is as follows: 1 p 0 p 1 p 0 p 1 c c d d q r c c p q s Note that one of the paths in the tree leads to s, which is an accepting state. And here is a computation tree for 1000, which is not accepted by the automaton. d d p 1 p 0 p 0 p 0 p Note two things: 1. At the bottom level of the tree, which is four steps below the root, there are no accepting states. Thus 1000 is rejected by our automaton. 2. One branch of the tree represents a computation that got stuck after the transitions p q r s. Although this branch ends in an accept state, i...

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:

Stanford - CS - 428
Sensors Network SoftwareQing Fang Stanford UniversitySensing NetworkingComputationCS428OutlineWhy is writing software for sensornet so hard? Programming platformsTinyOS (Berkeley) in details Em* (UCLA) very briefDiscussionNetworking ab
Stanford - TMTV - 1017
ffitiitNALr-'.) LL ; C~EIglGq - :I k-15'LERACH C4UGHLIN STOIA GELLER RUDMAN & ROBBINS LLP 2 1 WILLIAM S . LERACH 685$1) HELEN J. HEDGES (13 674) 3 DANIEL S . DROSMAN 200643 ELLEN GUSIKOFF STE A.RT 144892 4 401 B Street Suite 170020San Die
Stanford - CHRI - 1032
UNITED STATES DISTRICT COURT MIDDLE DISTRICT OF FLORIDA ORLANDO DIVISIO NIn re CNL HOTELS & RESORTS, INC Securities LitigationCase No . 6 :04-cv-1231-Orl-31 KR S(Consolidated with 6 :04-cv-1341-Or1-19JGG )ORDER GRANTING PRELIMINARY APPROVAL O
Purdue - ECE - 438
Purdue University: ECE438 - Digital Signal Processing with Applications1ECE438 - Laboratory 3: Frequency AnalysisOctober 9, 20081IntroductionIn this experiment, we will use Fourier series and Fourier transforms to analyze continuoustime an
Purdue - ECE - 438
Purdue University: ECE438 - Digital Signal Processing with Applications1ECE438 - Laboratory 1: Discrete and Continuous-Time SignalsSeptember 23, 20081IntroductionThe purpose of this lab is to illustrate the properties of continuous and dis
Purdue - ECE - 438
Purdue University: ECE438 - Digital Signal Processing with Applications1ECE438 - Laboratory 4: Sampling and Reconstruction of Continuous-Time SignalsOctober 9, 20081IntroductionIt is often desired to analyze and process continuous-time sig
Purdue - ECE - 438
Purdue University: ECE438 - Digital Signal Processing with Applications1ECE438 - Laboratory 2: Discrete-Time SystemsOctober 9, 20081IntroductionA discrete-time system is anything that takes a discrete-time signal as input and generates a d
Purdue - ECE - 438
Purdue University: ECE438 - Digital Signal Processing with Applications1ECE438 - Laboratory 8: Number Representation and Waveform QuantizationOctober 9, 20081IntroductionThis lab presents two important concepts for working with digital sig
Purdue - ECE - 438
Purdue University: ECE438 - Digital Signal Processing with Applications11Matlab ReviewAll lab tasks in the ECE438 lab will be performed in Matlab. Matlab (matrix laboratory) is a technical computing environment for numerical analysis, matrix
Stanford - MSANDE - 271
Web 2.0 Marketing Assignment Customer: Stanford Statement of Need: Stanford has recognized that its own marketing efforts could benefit from todays new, community-based tools, especially when one considers the target audience it is trying to reach. T
Cornell - CS - 100
CS100M Section - Week 6March 8, 9 2005Vectors, vectorized code, and matrices 1 New vectors from old onesWrite a function interleave that receives as input two vectors v and w of the same length and returns a new vector interleaved consisting of
Stanford - PVN - 1021
Case 3:01-cv-03952-CRBDocument 169-1Filed 04/16/2002Page 1 of 591 2 3 4 5 6CHITWOOD & HARLEY MARTIN D. CHITWOOD LAUREN E. WAGNER DAVID A. BAIN M. KRISSI TEMPLE 1230 Peachtree Street, N.E., Ste. 2900 Atlanta, Georgia 30309 Telephone: 404/873
Stanford - CS - 240
Stanford University Computer Science Department CS 240 Quiz 1 Spring 2006 May 12, 2006This is an open-book exam. You have 50 minutes to answer eight out of ten questions. Write all of your answers directly on the paper. Make your answers as concise
Stanford - ME - 382
ME 382 Modeling and Simulation of Human Movement May 29, 2001 Tracking Human Movement Clay Anderson & Darryl ThelenModeling the bodyObservables KinematicsExternal Forces EMGjoints, anthropometrySkeletal DynamicsUnderlying Structuresstreng
Maryland - PLSC - 100
I+vo,d?f\:+~o~k"-t: 0) Y)t\o-t-+-I-+-2f- Ff'.' IfO/f/\/bp~uvJfl~ l'V {ft> ~071/0-pCl/S V?Sop~9nrr-I-0l.fr -~V9-0-'0 : oodffOJ~-r>fIJWJ IA'V-'/lo/Q)CJ:o fV 0,4-:n7 O/y~ov 'p~j\ \ O,Nd''r 1f'JO_4-,~fVlJ~N,JYtJ-
Maryland - PLSC - 100
End of Semester Discussion meets this week California Agriculture readings on genetic info from crops escaping into the environment Chapter 14 was posted on the website Other info to follow this week Chapter 15 Last two lecturesGenetically Mod
Maryland - PLSC - 400
Growth and Development of Tissues (parts of Chapters 1, 15 and 16) Growth change in mass (size) Development change in state (juvenile, vegetative, reproductive, etc) G and D is due to: 1) division followed by 2) expansion and then 3) differentiatio
Stanford - AGIX - 1033
Purdue - ME - 274
ME 274: BASIC MECHANICS II SPRING 2009School of Mechanical Engineering Purdue University, West LafayetteME 274 is a fundamental course in the subject of dynamics. The historical trend in mechanical engineering design has always been to move toward
Purdue - ME - 274
Statistics for Fundamentals ExamME 274 - Spring 2009Prob 1 2 3 4 5 6 7 8 9 10 11 12 13 14 TOTALAve (%) 48.2 85.1 53.2 38.1 83.1 85.1 91.9 38.9 79.7 91 89.7 81.6 81.6 71.4 70100 75 50 25 1 2 3 4 5 6 7 8 09 10 11 12 13 14
Penn State - AIK - 5011
BYU - TTE - 276
Sc. Ed. 276R: Exploration of Secondary Teaching Fall 2008 8:00am 11:00am, TTH Dr. Geoffrey A. Wright 230 G SNLB geoffwright@byu.edu 422-7804 Office Hours: MW 12:00 1:00 Course Description: This course is a field-based, initial teaching experience d
BYU - GAW - 276
Sc. Ed. 276R: Exploration of Secondary Teaching Fall 2008 8:00am 11:00am, TTH Dr. Geoffrey A. Wright 230 G SNLB geoffwright@byu.edu 422-7804 Office Hours: MW 12:00 1:00 Course Description: This course is a field-based, initial teaching experience d
Stanford - STAT - 190
Stat 190, S. C. Kou, Stanford University Case Study 3. Association and Causation Purpose: Understand the relationship between association and causation Example 1. Education and Unemployment. In the Great Depression (19291933), better-educated people
Stanford - TAG - 1035
US District Court Civil Docket as of 10/17/2006 Retrieved from the court on Tuesday, November 21, 2006U.S. District Court CENTRAL DISTRICT OF CALIFORNIA (Western Division - Los Angeles) CIVIL DOCKET FOR CASE #: 2:05-cv-07352-R-ESeth Huberman v. T
Penn State - CSE - 471
6. Determine the primitive flow table of a D flipflop (a fundamentalmode sequential circuit with D and C inputs). (20pt) Also show a typical timing chart for a D flipflop. Make your primitive flow table as small as possible without the state table mi
Penn State - CMPEN - 297
Vocabulary:1. Minterm (standard product) 2. Maxterm (standard sum) 3. Sum of minterms (sum of products, SOP) 4. Product of maxterms (product of sums, POS) 5. Canonical form 6. minterm list, maxterm list, truth table, 7. 7 Boolean equation (expressio
Penn State - CMPEN - 297
CMPEN297BPenn State University2/13/2008Kyusun ChoiDigital Logic Design ToolsThe commercial CAD tool used for CMPEN 297B is ISE WebPACK. The tool is available free from Xilinx. One may download the tools from the following Xilinx web page: ht
Maryland - CMSC - 828
Virginia Tech - MATH - 1206
Homework 7 Answers 1.Answer: A only 2.Answer: A and BEvaluate the following integrals. 2 1 6 3. x 6 6 + dx 1 x x 4. 5. 6.(22.108) (6.3555) (1.5) (1.51085)10e y + e2 y + 2 y dy 310sin t cos(3t) + sect tan t dt02 2 + d
Stanford - FM - 102
- Begin cfg_file: ./src/ciFit_option.xml -> <?xml version="1.0" ?>> <!- Little test ifile ->> > <!DOCTYPE ifile SYSTEM "$(XMLBASEROOT)/xml/ifile.dtd" >> > <ifile cvs_Header="$Header: /nfs/slac/g/glast/ground/cvs/calibGenCAL/src/ciFit_option_bad
Stanford - FM - 104
calibGenCAL CVS Tag: $Name: v3r6p4 $- Begin cfg_file: ./src/MuTrigEff_option_FM104.xml -> <?xml version="1.0" ?>> <!- Little test ifile ->> > <!DOCTYPE ifile SYSTEM "$(XMLBASEROOT)/xml/ifile.dtd" >> > <ifile cvs_Header="$Header: /nfs/slac/g/g
Stanford - FM - 102
0 0 0.380817 0.0292407 0 1 0.38528 0.0277729 0 2 0.387711 0.0290558 0 3 0.391093 0.0273236 0 4 0.38807 0.0263393 0 5 0.369506 0.029665 0 6 0.369919 0.0269086 0 7 0.378147 0.0277609 0 8 0.372213 0.0260974 0 9 0.376605 0.0267981 0 10 0.39042
Penn State - MRM - 5082
Mallory Mayer October 9, 2007 MIS 204 1. Biometric devices translate a personal characteristic into a digital code that is compared with a digital code stored in the computer. If the digital code happens to not match the personal characteristics code
Purdue - ME - 365
Purdue - ME - 365
Noise & Noise Rejection NoiseSources CharacterizingNoise SignaltoNoiseRatio(SNR,S/N) PowerSpectralDensity ModesofInterference NoiseRejection: Filtering Modulation Shielding&Grounding DifferentialAmplifier AveragingPeter H. Meckl Purdue U
Stanford - SEP - 107
Chapter 1 Choice of regularization and numerical resultsThis chapter addresses the problem of choosing appropriate regularization and preconditioning operators. Such a choice plays a crucially important role in iterative data regularization. I discu
Grinnell - CS - 152
CSC152 2005F, Class 30: Arrays and Applications ThereofAdmin:* No readings. Sorry.* New homework strategy: Daily "small" assignments due before next class.Overview:* Array basics.* An example: Sum* More about main* Another example: Fibon
Stanford - MCK - 1004
BERNSTEIN LITOWITZ BERGER & GROSSMANN LLP DAVID R. STICKNEY (Bar No. 188574) TIMOTHY A. DeLANGE (Bar No. 190768) BENJAMIN GALDSTON (Bar No. 211114) 12481 High Bluff Drive, Suite 300 San Diego , CA 92130 Tel: (858 ) 793-0070 Fax: (858 ) 793-0323 -andM
Stanford - HLIT - 1014
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16LERACH COUGHLIN STOIA GELLER RUDMAN & ROBBINS LLP SHAWN A. WILLIAMS (213113) JASON C. DAVIS (pro hac vice) 100 Pine Street, Suite 2600 San Francisco, CA 94111 Telephone: 415/288-4545 415/288-4534 (fax) BARRACK,
Stanford - MWD - 1033
vLE D1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 Defendants . 20 21 22 23 24 25 26 27 28V. MORGAN STANLEY, INC ., a Delaware Corporation, and MORGAN STANLEY DW INC ., a wholly-owned subsidiary of Morgan Stanley . Inc .FINKELSTEIN & KRINSK L
Stanford - NSPR - 1013
.7U .S . DISTRICT COURT NORTHERN DISTRICT OF TEXA SORI GI NALUNITED STATES DISTRICT COUR NORTHERN DISTRICT OF TEXA S FORT WORTH DIVISIO NFILED MAR 9 20( -CLERK, U .S . DISTRICT COURT ByDeput ySOUTHLAND SECURITIES CORPORATION, et al ., On
Stanford - MER - 1033
.01 2 3 4 5 6 7 8 9 10 11 12 13 14 15FINKELSTEIN & KRINSK LLP ,Jeffrey R . Krinsk, Esq .Mark L . Knutson , Esq. Amy J . Lepine Esq . `~ 501 West Broadway, Suite 125 0 San Diego , CA 9210 1 Tel : 619/238-1333FlLGFax: 6191238-542 5OUN 2
Virginia Tech - FIW - 4614
Stanford - CS - 193
CS193i, Stanford University Spring, 2004Handout #22 Ron B. YehHTTP Part 6Persistent Connections HTTP 1.0In HTTP 1.0, connections close by default. With HTTP 1.0 we can get away without sending content-length, since the EOF will mark the end of
Stanford - BIGT - 1017
Pi t- E D tUNITED STATES DISTRICT COURT MIDDLE DISTRICT OF FLORIDA TAMPA DIVISION 7 IN RE PINNACLE HOLDINGS CORP . No . 8:01-CV-624-T-27-MSS SECURITIES LITIGATION03 F-s9 2'ORDER AND FINAL JUDGMENT On the 17th day of January, 2003, a hearing ha
Stanford - MATH - 220
Math 220B - Summer 2003 Homework 5 Due Thursday, July 31, 20031. Let = (0, k)(0, l). Use separation of variables to solve the following boundary-value problem for Laplaces equation on a square, (x, y) u = 0 u(0, y) = 0, ux (k, y) = (y) 0<y<l u
Virginia Tech - CS - 1054
Purvi SaraiyaExam Scoring Program854913695 86.00 B358517304 62.00 D-274728519 53.00 F962304840 95.00 A513545321 73.00 C283177110 79.00 C+158268739 85.00 B448908949 46.00 F178318304 60.00 D-490083954 5
Virginia Tech - CS - 1054
an elephant sat on me.zm vovkszmg hzg lm blf.
Grinnell - CSC - 201
CSC201Assignment 5Spring 2009Due: Wednesday, March 4 at 8:00 am. Submission instructions: Please submit your les (source code and test cases) by sending them as email attachments to: submit201@cs.grinnell.edu. PART I: (programming) For this ass
Grinnell - CS - 302
CSC302 2007S, Class 35: SQL (1): The Relational ModelAdmin:* EC for tomorrow's convo* EC for tomorrow's CS extra* I really don't like having to record zeros for reading responses. + Even when the reading is hard to grok.Overview:* Context.
Stanford - CS - 374
CS 374: Algorithms in Biology (Fall 2006)Chuan Sheng FooPaper reference Zhi,D., Raphael,B., Price,A., Tang,H. and Pevzner,P: Identifying repeat domains in large genomes. Genome Biology 2006, 7, R7. Abstract This paper presents a novel approach fo
Stanford - CS - 157
Computational LogicLecture 8Relational ProofsMichael GeneserethAutumn 2007Logical EntailmentA set of premises logically entails a conclusion if and only if every interpretation that satisfies the premises also satisfies the conclusion.2
Stanford - CS - 157
Computational LogicLecture 9Resolution PreliminariesMichael GeneserethAutumn 2007Resolution PrincipleThe Resolution Principle is a rule of inference. Using the Resolution Principle alone (without axiom schemata or other rules of inference)
Bucknell - CS - 203
CSCI 203Project #5 (Due 2002-10-30)Fall 2002ObjectivePractice selection and repetition.IntroductionThis project is an extension of Project 4; you will make use of the class DividendAccount (as you modied it last week) but to solve a new pro
Bucknell - CS - 363
Ethernet and Wireless LAN04/19/09CSCI 363 Computer Networks1Last time: Reliable TransmissionGoal: Create a mechanism at the data-link layer that is capable of recognizing when an error has occurred on a point-to-point link (corrupted frame o
Bucknell - CS - 363
Textbook: Computer Networks, A Systems Approachby Larry Peterson and Bruce DavieWhat is this systems approach? Start with first principles and walk through the thought process that let to todays networks. Bottom-up look at the protocol stack fro
Bucknell - CSCI - 204
Professor WittieCSCI 204 Introduction to Computer Science IISpring 2009Copy Constructors1 Why do we need copy constructors?Suppose we have an instance of a Snowman and we want to duplicate it. The Snowmans member data are references to its ha
Bucknell - CSCI - 204
Professor WittieCSCI 204 Introduction to Computer Science IISpring 2009MemoryPractice with MemoryDraw appropriate memory pictures for each of these code blocks. Show any changes and cross out old data or memory. Answer any questions. Make sur
Bucknell - CSCI - 204
CSCI 204 Study Guide for Final ExamProf. Xiannong Meng Spring 2007The nal exam will take place on Monday, May 7th at 11:45 am in Breakiron 065. The exam is comprehensive with emphasis on the part that has not been tested. Ofcially the exam could t
Bucknell - EG - 100
LEARN TO PROGRAM WITH ALICEXiannong Meng Computer Science Department Bucknell University1Lecture EightRecursion2What is RecursionRecursion is a form of repetition in which a method (or a question) calls itself A very powerful problem solvi