It 236 Week 2 Assignment 1

Welcome to CSC236, Introduction to the Theory of Computation. In this course you will augment your intuition as a programmer with analytical skills and proof. You are responsible for making sure you have the necessary prerequisites for this course.

Extra help: Many students find this course challenging, so you are encouraged to make use of lectures, tutorials, office hours, and the DCS Help Centre to help you master course material. Every Monday through Thursday, 4–6 p.m., the CSC Help Centre awaits your questions.

Below you'll find a calendar with entries for all significant course events

Week:MondayTuesdayWednesdayThursdayFriday
Week #1
introduction, simple induction

input:

course notes section 1.2

output:

assignment #1 due Oct 7

Sep 12

Lecture 11:10–noon RW110

Lecture 12:10–1:00 BA1130

Lecture 1:10–2:00 BA1170

Sep 13Sep 14

Lecture 11:10–noon RW110

Lecture noon–1:00 BA1180

Lecture 1:10–2:00 BA1170

Sep 15

Lecture 6:10–8:00 BA1180

no tutorial first week

Sep 16

no tutorial first week

Week #2
complete induction

input:

course notes section 1.3

output:

tutorial handout

Sep 19

Lecture 11:10–noon RW110

Lecture 12:10–1:00 BA1130

Lecture 1:10–2:00 BA1170

Sep 20Sep 21

Lecture 11:10–noon RW110

Lecture noon–1:00 BA1180

Lecture 1:10–2:00 BA1170

Sep 22

Lecture 6:10–8:00 BA1180

Tutorial 8:10–9:00 p.m., handout

Week 2 sample solutions
Sep 23

Tutorial 11:10–noon, handout

Tutorial 12:10–1 p.m., handout

Tutorial 1:10–2 p.m., handout

Week 2 sample solutions
Week #3
well-ordering, structural induction

input:

course notes sections 4.1, 4.2

Rosen's Discrete Mathematics... lots of induction examples in Chapter 5.

output:

tutorial handout

Sep 26

Lecture 11:10–noon RW110

Lecture 12:10–1:00 BA1130

Lecture 1:10–2:00 BA1170

Sep 27Sep 28

Lecture 11:10–noon RW110

Lecture noon–1:00 BA1180

Lecture 1:10–2:00 BA1170

Sep 29

Lecture 6:10–8:00 BA1180

Tutorial 8:10–9:00 p.m., handout

Week 3 sample solutions
Sep 30

Tutorial 11:10–noon, handout

Tutorial 12:10–1 p.m., handout

Tutorial 1:10–2 p.m., handout

Week 3 sample solutions
Week #4
recurrences

input:

course notes section 3.1

output:

tutorial handout

Oct 3

Lecture 11:10–noon RW110

Lecture 12:10–1:00 BA1130

Lecture 1:10–2:00 BA1170

Oct 4Oct 5

Lecture 11:10–noon RW110

Lecture noon–1:00 BA1180

Lecture 1:10–2:00 BA1170

Oct 6

Lecture 6:10–8:00 BA1180

Tutorial 8:10–9:00 p.m., handout

Week 4 sample solutions

Oct 7

Tutorial 11:10–noon, handout

Tutorial 12:10–1 p.m., handout

Tutorial 1:10–2 p.m., handout

Week 4 sample solutions

Assignment 1 sample solution

Assignment #1 due 10 p.m.

LaTeX source for Assignment #1 You are welcome to use any editor or word-processor you like, of course.

Week #5
complexity binary search

input:

course notes section 3.2

2014 test

2012 test

output:

Oct 10

Thanksgiving: university closed

Oct 11Oct 12

Lecture 11:10–noon RW110

Lecture noon–1:00 BA1180

Lecture 1:10–2:00 BA1170

Oct 13

Test #1 (old)

L5101 sample solution

6:10–7 p.m.

surnames A--J: BA2165

surnames K--S: BA2175

surnames T--Z: BA2185

Lecture, 7:15–8 p.m.

Oct 14

Test #1

11:10–noon, regular tutorial rooms

L0101 sample solution

12:10–1 p.m.

A--L, BA1180

M--Z, BF323

L0301 sample solution

1:10–2 p.m., regular tutorial rooms

L0201 sample solution

Week #6
mergesort, divide and conquer, master theorem

input:

course notes section 3.2

output:

Oct 17

Lecture 11:10–noon RW110

Lecture 12:10–1:00 BA1130

Lecture 1:10–2:00 BA1170

Oct 18Oct 19

Lecture 11:10–noon RW110

Lecture noon–1:00 BA1180

Lecture 1:10–2:00 BA1170

Oct 20

Tutorial 8:10–9:00 p.m., handout

week 6 sample tutorial solutions

Lecture 6:10–8:00 BA1180

Oct 21

Tutorial 11:10–noon, handout

Tutorial 12:10–1 p.m., handout

Tutorial 1:10–2 p.m., handout

week 6 sample tutorial solutions

Week #7
recursive correctness

input:

course notes section 2.7

output:

tutorial handout

Oct 24

Lecture 11:10–noon RW110

Lecture 12:10–1:00 BA1130

Lecture 1:10–2:00 BA1170

Oct 25Oct 26

Lecture 11:10–noon RW110

Lecture noon–1:00 BA1180

Lecture 1:10–2:00 BA1170

Oct 27

Tutorial 8:10–9:00 p.m., handout

week 7 sample tutorial solutions

Lecture 6:10–8:00 BA1180

Oct 28

Tutorial 11:10–noon, handout

Tutorial 12:10–1 p.m., handout

Tutorial 1:10–2 p.m., handout

week 7 sample tutorial solutions
Week #8
iterative correctness

input:

course notes section 2.4, 2.5

output:

tutorial handout

Oct 31

Lecture 11:10–noon RW110

Lecture 12:10–1:00 BA1130

Lecture 1:10–2:00 BA1170

Nov 1Nov 2

Lecture 11:10–noon RW110

Lecture noon–1:00 BA1180

Lecture 1:10–2:00 BA1170

Nov 3

Lecture 6:10–8:00 BA1180

Tutorial 8:10–9:00 p.m., handout

week 8 sample tutorial solutions
Nov 4

Tutorial 11:10–noon, handout

Tutorial 12:10–1 p.m., handout

Tutorial 1:10–2 p.m., handout

week 8 sample tutorial solutions

Assignment 2 handout, due 10 p.m.

Assignment 2 sample solution

Assignment 2 LaTeX source

Week #9
introduce Finite State Automata (FSAs)

input:

course notes section 7.1, 7.2

2014 test #2

2014 test sample solution

2012 test #2

output:

Nov 7

Fall break: no lecture

Nov 8Nov 9

Lecture 11:10–noon RW110

Lecture noon–1:00 BA1180

Lecture 1:10–2:00 BA1170

Nov 10

Test #2

6:10–7 p.m.

surnames A--J: BA2165

surnames K--S: BA2175

surnames T--Z: BA2185

sample test solution

Lecture, 7:15–8 p.m.

Nov 11

Test #2

11:10–noon, regular tutorial rooms

sample test solution

12:10–1 p.m.

A--L, BA1180

M--Z, BF323

sample test solution

1:10–2 p.m., regular tutorial rooms

sample test solution

Week #10
FSAs and regular languages

input:

course notes section 7.3. 7.4

output:

Nov 14

Lecture 11:10–noon RW110

Lecture 12:10–1:00 BA1130

Lecture 1:10–2:00 BA1170

Nov 15Nov 16

Lecture 11:10–noon RW110

Lecture noon–1:00 BA1180

Lecture 1:10–2:00 BA1170

Nov 17

Lecture 6:10–8:00 BA1180

Tutorial 8:10–9:00 p.m., handout

sample tutorial solution

Nov 18

Tutorial 11:10–noon, handout

Tutorial 12:10–1 p.m., handout

Tutorial 1:10–2 p.m., handout

sample tutorial solution

Week #11
properties, equivalence: FSAs/regexes

input:

course notes section 7.5. 7.6

output:

Nov 21

Lecture 11:10–noon RW110

Lecture 12:10–1:00 BA1130

Lecture 1:10–2:00 BA1170

Nov 22Nov 23

Lecture 11:10–noon RW110

Lecture noon–1:00 BA1180

Lecture 1:10–2:00 BA1170

Nov 24

Lecture 6:10–8:00 BA1180

Tutorial 8:10–9:00 p.m., handout

sample tutorial solution

Nov 25

Tutorial 11:10–noon, handout

Tutorial 12:10–1 p.m., handout

Tutorial 1:10–2 p.m., handout

sample tutorial solution

Week #12
regular languages, non-regular languages

input:

course notes section 7.7

output:

Nov 28

Lecture 11:10–noon RW110

Lecture 12:10–1:00 BA1130

Lecture 1:10–2:00 BA1170

Nov 29Nov 30

Lecture 11:10–noon RW110

Lecture noon–1:00 BA1180

Lecture 1:10–2:00 BA1170

Dec 1

Lecture 6:10–8:00 BA1180

Tutorial 8:10–9:00 p.m., handout

sample tutorial solution

Dec 2

Tutorial 11:10–noon, handout

Tutorial 12:10–1 p.m., handout

Tutorial 1:10–2 p.m., handout

sample tutorial solution

Assignment 3 handout, due 10 p.m.

Assignment 3 sample solutions


Quality Design and Control : Week 8 Videos are available !!

Dear Students,

                             Week 8 Videos are available in the COURSE OUTLINE section under Week 8!!


week 6 average assignment score

  • Week 6 Assignment 6: completed 129, average score 46.1

Quality Design and Control : Week 8 Assignment

Dear Students,

                             Week 8 assignment is available in the COURSE OUTLINE section under Week 8!! (Due date: 21.03.2018 till 23:59 PM )


Quality Design and Control :Exam and Certificate Format

The certification exam will be conducted at designated centres in the city chosen by you. You have to register for the exam by filling up the form, paying the exam fee, appear in person and score >= 40% to get the certificate.


Exam registration form closes on March 14, 2018 - 5 pm (Wednesday).

For other details about exam registration, please check our previous announcement.

Type of exam: Computer based exam 

You will have to appear at the allotted exam centre and produce your Hall ticket and Government Photo Identification Card(Example: Driving License,Passport, PAN card, Voter ID, Aadhaar-ID with your Name, date of birth, photograph and signature) for verification and take the exam in person. You can find the allotted exam center details in the hall ticket.

The questions will be on the computer and the answers will have to be entered on the computer; type of questions may include multiple choice questions, fill in the blanks, essay type answers, etc

The hall ticket will be available for download tentatively around 10 - 16th April 2018. We will notify the same through email.

The final score = 25% assignment score + 75% final certification exam score.
The final score will determine if you will/will not receive a certificate.

1. Final score < 40%: NO certificate

2. Final score between 40% -59%: Certificate of type "Successfully completing the course"

3. Final score between 60% -89%: Certificate with tag "Elite" printed at the top

4. Final score of 90% and above: Certificate with "Elite" tag and the gold medal printed on it.

Please click the link here for certificate format: 

Last date for Exam registration extended - Hurry up and register today!!

Last date for exam registration has been extended till March 14, 2018 - 5 pm (Wednesday)
Last date for making the payment individually - March 15, 2018 - 5 PM (Thursday)
The certification exam will be conducted at designated centers in the city chosen by you. You have to register for the exam by filling up the form, paying the exam fee and appear in person to get the certificate.
Hard and soft copy of Certificate will be awarded only to those candidates who register for the exam, attend the certificate examination and whose Final score > 40%
For other details about exam registration, please check our previous announcement.

Quality Design and Control : Week 7 Videos are available !!

Dear Students,

                             Week 7 Videos are available in the COURSE OUTLINE section under Week 7!!


week 5 average assignment score

  • Week 5 Assignment 5: completed 151, average score 42.3

Week 7 Assignment

Dear Students,

                             Week 7 assignment is available in the COURSE OUTLINE section under Week 7!! (Due date: 14.03.2018 till 23:59 PM )


Quality Design and Control : Week 6 Videos are available !!

Dear Students,

                             Week 6 Videos are available in the COURSE OUTLINE section under Week 6!!


Reminder 3:REGISTER TODAY - CERTIFICATION EXAM FORM IS NOW OPEN!

Here is the much-awaited announcement on registering for the April 2018 certification exam. The registration for the certification exam is open only to students who have enrolled in the course.
Registration is open from 09th January 2018 (Tuesday) until March 07, 2018 10:00 AM (Wednesday)
(If you want to register for the exam for this course, login here using the same email id used to enroll to the course)
Dates of exam: April 28 and April 29, 2018 
Session: [Afternoon] For this course there is no ”Forenoon” Session.
You can register for a maximum of 4 course exams (same day of exam – 2 sessions. Same center will be allocated for both the sessions).
Exam Session time:Forenoon: 9.00 AM -12.00 PM ; Afternoon: 2.00 PM - 5.00 PM
Examination Cities: The exam is to be conducted in several cities across India whose list is available on the registration form. 
Registration fees: Rs 1100/-
(Students belonging to the SC/ST category can avail a 50% fee waiver - please select Yes for the SC/ST option and upload the correct Community certificate)
Students belonging to the PwD category can avail a 50% fee waiver - please select Yes for the option and upload the relevant Disability certificate.
Mode of payment:  Online payment - debit card/credit card/net banking or via SPOC of college
The hall ticket will be available for download tentatively between 10 - 16th April 2018. We will confirm the same through an announcement once it is published.
Final score on certificate:25% of assignment score + 75% of certification exam score.
Award of certificate:  Hard and soft copy of Certificate will be awarded only to those candidates who register for the exam, attend the certificate examination and whose Final score >= 40%
The final score, assignment score and exam score will be printed on the certificate. The certificate will also have a link to the NPTEL website (http://nptel.ac.in/noc), where on logging in, your scores and e-certificate will be available for verification  (Appropriate announcements will be made). Please do regularly submit assignments to get a good final score.
1) FOR CANDIDATES WHO WOULD LIKE TO WRITE MORE THAN 1 COURSE EXAM:- you can add or delete courses and pay separately – till the date when the exam form closes. No changes will be entertained after that.  
2) FOR CANDIDATES WHO ARE PAYING VIA THE LOCAL CHAPTER OF YOUR COLLEGE:- 

1. In the exam form, you will fill all the details and also upload photo, signature.
2. Ensure that you had selected your college name correctly from the drop-down list in the form.
3. Payment of exam fees - click on the tab - 'PAY VIA SPOC'.
The SPOC has to now confirm to NPTEL that he/she will pay fees on your behalf.
If the SPOC says NO, you will be intimated via email.
Then it becomes your responsibility to come back to the exam form and make the payment.
If you do not pay the exam fees within the prescribed time, you will not be able to write the exam.
Please read the instructions carefully before submitting the form.
In case of any queries please write to us at noc@nptel.iitm.ac.in

week 4 average assignment score

  • Week 4 Assignment 4: completed 166, average score 42.1

Week 6 Assignment

Dear Students,

                             Week 6 assignment is available in the COURSE OUTLINE section under Week 6!! (Due date: 07.03.2018 till 23:59 PM )


Quality Design and Control : Week 5 Videos are available !!

Dear Students,

Week 5 Videos are available in the Course Outline section under Week 5.


week 3 average assignment score

  • Week 3 Assignment 3: completed 192, average score 55.4

Week 5 Assignment

Dear Students,

                             Week 5 assignment is available in the COURSE OUTLINE section under Week 5!! (Due date: 28.2.2018 till 23:59 PM )


week 1 and week 2 average assignment score

  • week 2 Assignment 2: completed 191, average score 60.2
  • Week 1 Assignment 1: completed 236, average score 71.9

WEEK 4 assignment

Dear Students,

                             Week 4  assignment is available in the COURSE OUTLINE section under Week 4!! (Due date: 21.2.2018 till 23:59 PM )


Reminder 2:REGISTER TODAY - CERTIFICATION EXAM FORM IS NOW OPEN!

Here is the much-awaited announcement on registering for the April 2018 certification exam. The registration for the certification exam is open only to students who have enrolled in the course.
Registration is open from 09th January 2018 (Tuesday) until March 07, 2018 10:00 AM (Wednesday)
(If you want to register for the exam for this course, login here using the same email id used to enroll to the course)
Dates of exam: April 28 and April 29, 2018 
Session: [Afternoon] For this course there is no ”Forenoon” Session.
You can register for a maximum of 4 course exams (same day of exam – 2 sessions. Same center will be allocated for both the sessions).
Exam Session time:Forenoon: 9.00 AM -12.00 PM ; Afternoon: 2.00 PM - 5.00 PM
Examination Cities: The exam is to be conducted in several cities across India whose list is available on the registration form. 
Registration fees: Rs 1100/-
(Students belonging to the SC/ST category can avail a 50% fee waiver - please select Yes for the SC/ST option and upload the correct Community certificate)
Students belonging to the PwD category can avail a 50% fee waiver - please select Yes for the option and upload the relevant Disability certificate.
Mode of payment:  Online payment - debit card/credit card/net banking or via SPOC of college
The hall ticket will be available for download tentatively between 10 - 16th April 2018. We will confirm the same through an announcement once it is published.
Final score on certificate:25% of assignment score + 75% of certification exam score.
Award of certificate:  Hard and soft copy of Certificate will be awarded only to those candidates who register for the exam, attend the certificate examination and whose Final score >= 40%
The final score, assignment score and exam score will be printed on the certificate. The certificate will also have a link to the NPTEL website (http://nptel.ac.in/noc), where on logging in, your scores and e-certificate will be available for verification  (Appropriate announcements will be made). Please do regularly submit assignments to get a good final score.
1) FOR CANDIDATES WHO WOULD LIKE TO WRITE MORE THAN 1 COURSE EXAM:- you can add or delete courses and pay separately – till the date when the exam form closes. No changes will be entertained after that.  
2) FOR CANDIDATES WHO ARE PAYING VIA THE LOCAL CHAPTER OF YOUR COLLEGE:- 

1. In the exam form, you will fill all the details and also upload photo, signature.
2. Ensure that you had selected your college name correctly from the drop-down list in the form.
3. Payment of exam fees - click on the tab - 'PAY VIA SPOC'.
The SPOC has to now confirm to NPTEL that he/she will pay fees on your behalf.
If the SPOC says NO, you will be intimated via email.
Then it becomes your responsibility to come back to the exam form and make the payment.
If you do not pay the exam fees within the prescribed time, you will not be able to write the exam.
Please read the instructions carefully before submitting the form.
In case of any queries please write to us at noc@nptel.iitm.ac.in

Quality Design and Control : Week 4 Videos are available !!

Dear Students,

                             Week 4 Videos are available in the COURSE OUTLINE section under Week 4!!


Reminder 1:REGISTER TODAY - CERTIFICATION EXAM FORM IS NOW OPEN!

Here is the much-awaited announcement on registering for the April 2018 certification exam. The registration for the certification exam is open only to students who have enrolled in the course.
Registration is open from 09th January 2018 (Tuesday) until March 07, 2018 10:00 AM (Wednesday)
(If you want to register for the exam for this course, login here using the same email id used to enroll to the course)
Dates of exam: April 28 and April 29, 2018 
Session: [Afternoon] For this course there is no ”Forenoon” Session.
You can register for a maximum of 4 course exams (same day of exam – 2 sessions. Same center will be allocated for both the sessions).
Exam Session time:Forenoon: 9.00 AM -12.00 PM ; Afternoon: 2.00 PM - 5.00 PM
Examination Cities: The exam is to be conducted in several cities across India whose list is available on the registration form. 
Registration fees: Rs 1100/-
(Students belonging to the SC/ST category can avail a 50% fee waiver - please select Yes for the SC/ST option and upload the correct Community certificate)
Students belonging to the PwD category can avail a 50% fee waiver - please select Yes for the option and upload the relevant Disability certificate.
Mode of payment:  Online payment - debit card/credit card/net banking or via SPOC of college
The hall ticket will be available for download tentatively between 10 - 16th April 2018. We will confirm the same through an announcement once it is published.
Final score on certificate:25% of assignment score + 75% of certification exam score.
Award of certificate:  Hard and soft copy of Certificate will be awarded only to those candidates who register for the exam, attend the certificate examination and whose Final score >= 40%
The final score, assignment score and exam score will be printed on the certificate. The certificate will also have a link to the NPTEL website (http://nptel.ac.in/noc), where on logging in, your scores and e-certificate will be available for verification  (Appropriate announcements will be made). Please do regularly submit assignments to get a good final score.
1) FOR CANDIDATES WHO WOULD LIKE TO WRITE MORE THAN 1 COURSE EXAM:- you can add or delete courses and pay separately – till the date when the exam form closes. No changes will be entertained after that.  
2) FOR CANDIDATES WHO ARE PAYING VIA THE LOCAL CHAPTER OF YOUR COLLEGE:- 

1. In the exam form, you will fill all the details and also upload photo, signature.
2. Ensure that you had selected your college name correctly from the drop-down list in the form.
3. Payment of exam fees - click on the tab - 'PAY VIA SPOC'.
The SPOC has to now confirm to NPTEL that he/she will pay fees on your behalf.
If the SPOC says NO, you will be intimated via email.
Then it becomes your responsibility to come back to the exam form and make the payment.
If you do not pay the exam fees within the prescribed time, you will not be able to write the exam.
Please read the instructions carefully before submitting the form.
In case of any queries please write to us at noc@nptel.iitm.ac.in

Quality Design and Control : Week 3 Videos are available now !!

Dear Students,

                             Week 3 Videos are available in the COURSE OUTLINE section under Week 3 !!


Quality Design and Control : Week 3 Videos are available now !!

Dear Students,

                             Week 3 Videos are available in the COURSE OUTLINE section under Week 3 !!


Feedback link for week 1 and week 2 is now available!!

Feedback link for week 1 and week 2 is now available in the portal under Week 1 and Week 2 section. Please Click here give feedback.

REGISTER TODAY - CERTIFICATION EXAM FORM IS NOW OPEN!

Here is the much-awaited announcement on registering for the April 2018 certification exam. The registration for the certification exam is open only to students who have enrolled in the course.
Registration is open from 09th January 2018 (Tuesday) until March 07, 2018 10:00 AM (Wednesday)
(If you want to register for the exam for this course, login here using the same email id used to enroll to the course)
Dates of exam: April 28 and April 29, 2018 
Session: [Afternoon] For this course there is no ”Forenoon” Session.
You can register for a maximum of 4 course exams (same day of exam – 2 sessions. Same center will be allocated for both the sessions).
Exam Session time:Forenoon: 9.00 AM -12.00 PM ; Afternoon: 2.00 PM - 5.00 PM
Examination Cities: The exam is to be conducted in several cities across India whose list is available on the registration form. 
Registration fees: Rs 1100/-
(Students belonging to the SC/ST category can avail a 50% fee waiver - please select Yes for the SC/ST option and upload the correct Community certificate)
Students belonging to the PwD category can avail a 50% fee waiver - please select Yes for the option and upload the relevant Disability certificate.
Mode of payment:  Online payment - debit card/credit card/net banking or via SPOC of college
The hall ticket will be available for download tentatively between 10 - 16th April 2018. We will confirm the same through an announcement once it is published.
Final score on certificate:25% of assignment score + 75% of certification exam score.
Award of certificate:  Hard and soft copy of Certificate will be awarded only to those candidates who register for the exam, attend the certificate examination and whose Final score >= 40%
The final score, assignment score and exam score will be printed on the certificate. The certificate will also have a link to the NPTEL website (http://nptel.ac.in/noc), where on logging in, your scores and e-certificate will be available for verification  (Appropriate announcements will be made). Please do regularly submit assignments to get a good final score.
1) FOR CANDIDATES WHO WOULD LIKE TO WRITE MORE THAN 1 COURSE EXAM:- you can add or delete courses and pay separately – till the date when the exam form closes. No changes will be entertained after that.  
2) FOR CANDIDATES WHO ARE PAYING VIA THE LOCAL CHAPTER OF YOUR COLLEGE:- 

1. In the exam form, you will fill all the details and also upload photo, signature.
2. Ensure that you had selected your college name correctly from the drop-down list in the form.
3. Payment of exam fees - click on the tab - 'PAY VIA SPOC'.
The SPOC has to now confirm to NPTEL that he/she will pay fees on your behalf.
If the SPOC says NO, you will be intimated via email.
Then it becomes your responsibility to come back to the exam form and make the payment.
If you do not pay the exam fees within the prescribed time, you will not be able to write the exam.
Please read the instructions carefully before submitting the form.
In case of any queries please write to us at noc@nptel.iitm.ac.in

Quality Design and Control : Week 1 Videos are available now !!

Dear Students,

Week 1 Videos are available in the COURSE OUTLINE section under Week 1 !!


Welcome to NPTEL Online Course: Quality Design and Control

0 Replies to “It 236 Week 2 Assignment 1”

Lascia un Commento

L'indirizzo email non verrà pubblicato. I campi obbligatori sono contrassegnati *