CS322D Tutorials.

Slides:



Advertisements
Similar presentations
Browse the codebook - to see the list of variables on which you can do statistics select the “Browse codebook in this window” option and then click “Start”
Advertisements

UI Story Board CIS78 Group Project Created by: Aliese Zacharias.
Course Form In the main window (cf. Figure 2), click on Forms, then double-click on Create form by using wizard. Follow the sequence of actions below.
Solving Equations Numerically Figure 4.1a Rename the independent variable x if necessary. For Figure 4.1a, Set up the table. Set up the first column for.
Creating a Form on a Web Page
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 3 1 Microsoft Office Access 2003 Tutorial 3 – Querying a Database.
Macros Tutorial Week 20. Objectives By the end of this tutorial you should understand how to: Create macros Assign macros to events Associate macros with.
Tracking progress on tasks and assignments TUTORIAL # 3.
Find and enter a chat room Use Lync search to find rooms that you have access to. 1.In the Lync main window, click the Chat Rooms tab. 2.In the search.
HTML Concepts and Techniques Fourth Edition Project 6 Using Frames in a Web Site.
HTML Concepts and Techniques Fourth Edition Project 7 Creating a Form on a Web Page.
XP New Perspectives on Microsoft Access 2002 Tutorial 1 1 Microsoft Access 2002 Tutorial 1 – Introduction To Microsoft Access 2002.
 Decide on the information needed, and create column headings. (See picture below.)
Spreadsheet Data Tables Data Table 1 allows you to change one input variable’s value at a time and record the impact that the input assumption has on several.
Mobile Magic INSURANCE CALCULATORS Step By Step Tutorial.
Using Frames in a Web Site Project 6. Project Objectives Project 6: Using Frames in a Web Site 2 Define terms related to frames Describe the steps used.
1 Scatter Plots on the Graphing Calculator. 12/16/ Setting Up Press the Y= key. Be sure there are no equations entered. If there are any equations,
XP New Perspectives on Microsoft Access 2002 Tutorial 31 Microsoft Access 2002 Tutorial 3 – Querying a Database.
Entering and Paying Bills Lesson 8. 2 Lesson objectives  To discuss the different ways you can handle bills in QuickBooks  To learn how to enter a bill.
EZRA STATISTICS & GCFA CHURCH USER GUIDE. LOGGING IN The first time you log in to the program, you will be led through initial steps to set up your account.
This is how you invoke the Microsoft Visual Studio 2010 Software. All Programs >> Microsoft Visual Studio 2010.
Read through the following slides and fill out your study guide.
Extracting Information from an Excel List The purpose of creating a database, or list in Excel, is to be able to manipulate the data elements in ways that.
COMPREHENSIVE Access Tutorial 1 Creating a Database.
Operator precedence parser Lecturer: Noor Dhia
This screen may be skipped altogether if the user chooses a report from the server and clicks Ad Hoc or Edit or whatever. Also, the next screen would ordinarily.
Entering and Paying Bills Lesson 8. 2 Lesson objectives  To discuss the different ways you can handle bills in QuickBooks  To learn how to enter a bill.
Describing Syntax and Semantics Chapter 3: Describing Syntax and Semantics Lectures # 6.
Access Tutorial 2 Building a Database and Defining Table Relationships
How To Call Phones From Gmail Go to the chat on left side of the Gmail screen.
Instructor: Laura Kallmeyer
Parsing Bottom Up CMPS 450 J. Moloney CMPS 450.
Persistent Chat Create Topic Feeds to track activity
WORD Training #1 Continues!
3. Click at the point in your document where you’d like to
Click on the button Start.
Current outstanding balance
Matrix Equations Step 1: Write the system as a matrix equation. A three-equation system is shown below. First matrix are the coefficients of all the.
Chapter 4 MS ACCESS DATABASE.
In the below tutorial, you can find the different methods to Boot Windows 10 in Safe Mode : Open System Configuration in Windows 10 is using the Run.
Context Free Languages
Regular Grammar - Finite Automaton
Microsoft Office Access 2003
Wyndor Example; Enter data
Tutorial 3 – Querying a Database
An Interactive Approach to Formal Languages and Automata with JFLAP
Examples of Slide show navigation
Chapter 1 Minitab Recipe Card
Scatter Plots on the Graphing Calculator
Microsoft Office Access 2003
CS322D Tutorials.
The starting point for all activity Click your mouse to continue!
Decidable Problems of Regular Languages
Enter the name of Website and press enter key
In this chapter, you will learn the following:
Blended Image Tutorial
Binary Numbers The Binary number system is derived from Base 2. In base 2 there are only 2 numerical options 0 and 1. The computer sees these as Off.
Two methods to observe tutorial
Two methods to observe tutorial
Linear Programming Excel Solver.
Scatter Plots on the Graphing Calculator
Bottom-up parsing is also known as shift-reduce parsing
Two methods to observe tutorial
Applications of Regular Closure
Programming with Microsoft Visual Basic 2008 Fourth Edition
 .
A drag and drop exercise can be created using Word quite easily using tables, text boxes and ensuring the document is saved properly.
Persistent Chat Create Topic Feeds to track activity
New Perspectives on Microsoft
Browse the codebook - to see the list of variables on which you can do statistics select the “Browse codebook in this window” option and then click “Start”
Presentation transcript:

CS322D Tutorials

Q1. The following is an example of a context-free grammar, called G1: E E+T |T T T ×F | F F (E) |a

Give parse trees and derivations for each string from the following: a a+a a+a+a ((a))

First sting is: a Derivation : ETFa Parse Tree : E T F a

Second string is: a+a Derivation : EE+TT+TF+Fa+a Parse Tree :

Third string a+a+a Derivation : Parse Tree :

Fourth string: ((a)) Derivation : Parse Tree :

By using JFLAB 1.Enter grammar G1. 2.Check whether string “a+a” is accepted by the grammar G1 or not. 3.See how can derive the string “a+a” using G1 rules(productions). 4.View the Derivation Table that show how the string “a+a” derived by the grammar G1.

Enter a Grammar To start a new grammar, start JFLAP and click the Grammar option from the menu, as shown below:

Variable should be entered on the LHS column Right side of the production on the RHS column Click on Input, followed by Brute Force Parse. You can enter your start variable and its production on the first row.

After clicking Brute Force Parse, you should see a window similar to this.

Now you can input a string and check whether it is accepted Now you can input a string and check whether it is accepted. Enter the string “a+a” in the input text field. Then either click Start or press Enter key. Brute Force Parser notifies you that the string you entered is accepted.

This message tells us about the last production that was applied. Now, we can click on the Step button to see how we can derive that string using our productions. After clicking the Step button 6 times, your window should look like this. This message tells us about the last production that was applied.

To change to Derivation Table mode, click on Noninverted Tree and select Derivation Table.  Productions that are applied Result of applying productions