COMP 330 Sample Final, Fall 2016
1. (5 Points) Construct a PDA with the language
cfw_0m 1n | m n 0.
Proof. Informally: While we see zeroes in the input, put zero onto the stack (if the first symbol
is 1 then reject). Once we see a 1, start popping zeros o
COMP 330 - Fall 2016 - Assignment 4
Due 7:00 pm Nov 18, 2016
General rules: In solving these questions you may consult books but you may not consult with each
other. There are in total 105 points, but your grade will be considered out of 100. You should e
COMP 330 - Fall 2016 - Assignment 2
Due 7:00 pm Oct 12, 2016
General rules: In solving these questions you may consult books but you may not consult with each
other. There are in total 110 points, but your grade will be considered out of 100. You should e
COMP 330 - Fall 2016 - Assignment 1
Due 7:00 pm Sept 28, 2016
General rules: In solving these questions you may consult books but you
may not consult with each other. There are in total 110 points, but your
grade will be considered out of 100. You should
COMP 330 - Fall 2016 - Assignment 3
Due 7:00 pm Oct 28, 2016
General rules: In solving these questions you may consult books but you may not consult with each
other. There are in total 110 points, but your grade will be considered out of 100. You should e
COMP 330 - Fall 2016 - Assignment 4
Due 7:00 pm Nov 18, 2016
General rules: In solving these questions you may consult books but you may not consult with each
other. There are in total 105 points, but your grade will be considered out of 100. You should e
COMP 330 - Fall 2016 - Assignment 5
Due 7:00 pm Dec 2, 2016
General rules: In solving these questions you may consult books but you may not consult with each
other. You should either drop your solutions in the assignment drop-off box located in the Trotti
COMP 330 - Fall 2016 - Midterm
Note: There are in total 110 points, but your grade will be considered out of 100. Dont forget to
write your name.
1. (20 points) Construct a DFA for the following language over the alphabet = cfw_0, 1:
L = cfw_w | w contain
COMP 330 Sample Final, Fall 2016
1. (5 Points) Construct a PDA with the language
cfw_0m 1n | m n 0.
2. (10 Points) Let L denote the set of strings that can be obtained by permuting a string in the
language L: For example, cfw_, 112, 123 = cfw_, 112, 121,
COMP 330 - Fall 2016 - Assignment 5
Due 7:00 pm Dec 2, 2016
General rules: In solving these questions you may consult books but you may not consult with each
other. You should either drop your solutions in the assignment drop-off box located in the Trotti
COMP 330 - Fall 2016 - Assignment 2
Due 7:00 pm Oct 12, 2016
General rules: In solving these questions you may consult books but you
may not consult with each other. There are in total 110 points, but your
grade will be considered out of 100. You should e
COMP 330 - Fall 2016 - Assignment 3
Due 7:00 pm Oct 28, 2016
General rules: In solving these questions you may consult books but you
may not consult with each other. There are in total 110 points, but your
grade will be considered out of 100. You should e
CCCS 301 Programming 2
CCCS 301
Centre for Continuing Education
Programming Techniques 2
Objects and Classes
Week 3
Announcements
CCCS 301 Programming 2
Assignment #1 has already been posted,
questions?
This lecture assumes you remember some
of the basic
CCCS 301 Programming 2
CCCS 301
Centre for Continuing Education
Programming Techniques 2
Project and Program Communication
Week 2
Announcements
CCCS 301 Programming 2
Last class was a rapid review of CCCS300
Any other review will be left to you, or
You
CCCS 301 Programming 2
CCCS 301
Centre for Continuing Education
Programming Techniques 2
Inheritance
Week 5
Announcements
CCCS 301 Programming 2
Extra classes:
Midterm exam:
Friday Feb 22 extra class
We need another one when? March.
Either Feb 22nd or 25t
CCCS-301
Programming Techniques 2
Assignment #2
CCCS-301 Assignment #2
Objects and Inheritance
Due Date:
February 20, 2013 at 23:55 on Web CT
Even though this assignment is due on the 20th our midterm exam is on the 18th and you
should know how to do all
CCCS 301 Programming 2
CCCS 301
Centre for Continuing Education
Programming Techniques 2
Polymorphism
Week 7
Announcements
CCCS 301 Programming 2
Extra classes:
Midterm exam:
Friday Feb 22 extra class
March.
Feb 25th in class, 2 hours
th
Assignment #2 due
Course Outline
GENERAL INFORMATION
Programming Techniques 2
Course Title
Course Number
C C C S 3 0 1
Section 7 5 1
Semester
Winter
Year
2013
Course Pre-requisite(s) CCCS 300 Programming Techniques 1
Course Co-Requisite(s)
Course Schedule
Mondays
6:00- 9:0
CCCS-301
Programming Techniques 2
Assignment #1
CCCS-301 Assignment #1
Diagrams and CCCS 300 Review
Due Date:
February 3, 2013 at 23:55 on Web CT
Question 1: Flow Charting (4 points)
Create a flow chart for the following problem.
A scientist wants to ente
CCCS 301 Programming 2
CCCS 301
Centre for Continuing Education
Programming Techniques 2
Objects and Classes
Week 3 and 4
Announcements
CCCS 301 Programming 2
Assignment #1 has already been posted,
questions?
This lecture assumes you remember
some of the
CCCS-301
Programming Techniques 2
Assignment #4
CCCS-301 Assignment #4
Polymorphism, Interfaces and Abstract
Due Date:
April 16, 2013 at 23:55 on My Courses
Question 1: Recursion (5 points)
Write a recursive method called void static ReversePrint(String m
CCCS-301
Programming Techniques 2
Assignment #2
CCCS-301 Assignment #2
Polymorphism, Interfaces and Abstract
Due Date:
March 25, 2013 at 23:55 on Web CT
This assignment is based a single theme, the Container class and the different ways to
implement it gi
MECH 6941 - 2017 Project Compilation
Group #
1
1
1
1
1
First Name
Parth
Ujjwal
Vikas
Kunal
Turku
Last Name
Chandarana
Grover
Kumar
Singh
Tosun
Group #
2
2
First Name
Amritpal Singh
Harmandeep Singh
Last Name
Gill
Gill
2
2
Jagwinder Singh
Dilpreet Singh
Gi