Download attachment for solution file.

]]>

**Questions No 01 10 marks**

For regular expression below, construct an NFA using Thompson’s construction. R.E. = ((v + x)*y) + z

**Questions No 02 10 marks**

Use Subset Construction algorithm to find DFA for the NFA constructed in Task 1.

]]>

Download attachment for solution file.

]]>

jmp start

;ascii code of B is 66

;ascii code of C is 67

VUID: dw 0 ;This is VU id

start: mov si,VUID ; assign

mov word ,66;

mov word ,67

mov word ,1;

mov word ,2

mov word ,3;

mov word ,4

mov word ,5;

mov word ,6;

mov word ,7;

mov word ,8

mov word ,9;

mov ax, 0x4c00 ; terminate program

int 0x21

Download attachment for codes in text file.

Assignment # 1 MTH302 (Fall 2019)

Total Marks: 20 Due Date: November 20, 2019.

**DON’T MISS THESE: Important instructions before attempting the solution of this assignment:**

**To solve this assignment, you should have good command over 01-9 lectures.****Upload assignments properly through LMS, No Assignment will be accepted through email.****Write your ID on the top of your solution file.****Don’t use colorful back grounds in your solution files.****Use Math Type or Equation Editor etc for mathematical symbols if needed.****You should remember that****if we found the solution files of some students are same then we will reward zero marks to all those students.****Make solution by yourself and protect your work from other students, otherwise you and the student who send same solution file as you will be given zero marks.****Also remember that you are supposed to submit your assignment in Word format any other like scan images etc will not be accepted and we will give zero marks correspond to these assignments.**

**Q1:** Payments of $ 670 are being made at the end of each month for 5 years at an interest of 8% compounded monthly. Calculate the Present Value.

**Q2 **: Suppose Mr. Arslan’s basic salary is Rs 12000. Calculate the allowances (House rent, utility bills, conveyance allowance). Also, find the provident fund and gratuity.

Download attachment for solution idea file.

]]>]]>

Mujy b idea dena kesy solve krni hein ?

]]>