We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

www.vustudents.ning.com

# CS606 Assignment No.1 Due date 30 Nov 2018

 Assignment No.  1 Semester: Fall 2018 CS606 – Compiler Construction Total Marks: 20   Due Date: November 30, 2018 Instructions Please read the following instructions carefully before submitting assignment: It should be clear that your assignment will not get any credit if:   o        Assignment is submitted after due date. o        Submitted assignment does not open or file is corrupt. o        Assignment is copied (From internet/ to from students).   Software (s) Used to develop Assignment -          MS Word -          MS Paint   Assignment Submission Instructions Microsoft Word file is required to submit on LMS. Assignment Marks 20 Task 1: Given that binary number strings are read with the most significant bit first and may have leading zeroes, construct DFAs for each of the following languages:   a.      Binary number strings that represent numbers that are multiples of 4, e.g., 0, 100 and 10100. (5 Marks) b.     Binary number strings that represent numbers that are multiples of 5, e.g., 0, 101, 10100 and 11001. (10 Marks)           Hint: Make a state for each possible remainder after division by 5 and then add a state to           avoid accepting the empty string.   Task 2: Construct a DFA that recognizes balanced sequences of parenthesis with a maximal nesting depth of 3, e.g., e, ()(), (()(())) or (()())()() but not (((()))) or (()(()(()))). (5 Marks) Deadline: Your assignment must be uploaded on or before the due date. We shall not accept your solution through email after the due date.

..How to Join Subject Study Groups & Get Helping Material?..

Views: 847

.

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

Attachments:

### Replies to This Discussion

koi to idea solution share kro kl last date ha

thanks Shabir

Welcome!! It's a CS606 I mention CS602 by mistake

Agr ap m sy ksi ny CS602 solve kr li ho tu share kr dy please

Although If you want to share the youtube video, then paste the embed codes here of the youtube video. Otherwise your comment / reply will be deleted. As well as your account will be deleted from the site. Thanks for understanding.

Our main purpose here discussion not just Solution

We are here with you hands in hands to facilitate your learning and do not appreciate the idea of copying or replicating solutions. Read More>>

Discussed & be touched with this discussion. After discussion a perfect solution will come in a result at the end.

Note:-

For Important Helping Material related to this subject (Solved MCQs, Short Notes, Solved past Papers, E-Books, FAQ,Short Questions Answers & more). You must view all the featured Discussion in this subject group.

For how you can view all the Featured discussions click on the Back to Subject Name Discussions link below the title of this Discussion & then under featured Discussion corner click on the view all link.

&

.... How to Find Your Subject Study Group & Join ....

P.S:    Please always try to add the discussion in proper format title like “CS101 Assignment / GDB No 01 Solution & Discussion Due Date: ___________”

## Latest Activity

sidi left a comment for mahnoor
11 minutes ago
Ibrahim, BBC, Noman Altaf and 10 more joined Virtual University of Pakistan
11 minutes ago
Shabbir Ahmed joined + M.Tariq Malik's group

### FIN630 Investment Analysis & Portfolio Management

17 minutes ago
Shabbir Ahmed joined + M.Tariq Malik's group

### FIN622 Corporate Finance

17 minutes ago
Shabbir Ahmed joined + M.Tariq Malik's group

18 minutes ago

1

2

3