Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Implement Sudoku in prolog (sudoku solution)(25P) 2. Clojure: Add, sub, mult, lth(less than), sort, count(also count inner lists) operations on two list like this.

image text in transcribed

1. Implement Sudoku in prolog (sudoku solution)(25P) 2. Clojure: Add, sub, mult, lth(less than), sort, count(also count inner lists) operations on two list like this. You can only user standart list operations and +,, arithmetic operations. (20P) (addlist [list1 list2] ... some magic here...) (sublist [list1 list2] ...some magic here...) (multist [list1 list2] ...some magic here...) Output: (1,0,0)+(1,0)=(1,1,0) 3. CFG question which was have 6-7 rules. (2OP) Is it valid according to CFG? (23x)5+ 4. DFA Question. (15P) a. Is aabc substring available in (a,b,c,d) b. If one letter repeat even numbers, draw a dfa which accept this strings. aabbcc, aaaabbcc 5. Parse tree. There was some rules. You have to implement parse tree. (10) a. Ex: ((23x)(52+)+). Draw parse tree of this statement b. This part related with 3rd question. Find missing part of 3 rd question and implement parse tree

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems Design Implementation And Management

Authors: Peter Robb,Carlos Coronel

5th Edition

061906269X, 9780619062699

More Books

Students also viewed these Databases questions