Bounded Buffer Problem
Bounded buffer problem, which is also called producer consumer problem, is one of the classic
problems of synchronization.
Problem Statement:
There is a buffer of n slots and ea
lecture 1 announcements ee422c software design and implementation II
(formerly: ee322c data structures)
sarfraz khurshid read syllabus before next class topics for today course/syllabus overview some
Anirudh Pande EE322C- Dr. Y 2/4/09 Quiz #1 Snippet # 1 Guess: 1 # 2 Reality: Error: Possible loss of precision. To fix error, do type conversion
int i1 = (int)5.0 * 2 / 4;
Now, the result is 1 # 2. Re
EE 322C Data Structures Spring 2009
Quiz 5 Instructor: Ramesh Yerraballi Grader: Vinoth Chandar Due : Wednesday 4/29 in class Total : 100 points Student: Anirudh Pande Date: 4/29/09
1) Collections.sor
1/11
EE 322C Practice Problems for First Midterm
Answers are highlighted in grey. Section 1: Expressions, What does this code do The exercises from the first and second quiz provide many practice prob
EE 322C Data Structures Spring 2009
Quiz 5 Instructor: Ramesh Yerraballi Grader: Vinoth Chandar Due : Wednesday 4/29 in class Total : 100 points 1) Collections.sort(List<T>) method takes any list and
EE 322C Data Structures
Spring 2009 Dr. Ramesh Yerraballi
Quiz 4
Points : 100 Due Date: Monday 4/6 In class
NAME (First, Middle, Last):_
Instructions: Please be specific in your answers. If any of the
EE 322C Data Structures
Spring 2009 Dr. Ramesh Yerraballi
Quiz 4
Points : 100 Due Date: ?
NAME (First, Middle, Last):_
Instructions: Please be specific in your answers. If any of the questions is ambi
EE 322C Data Structures
Spring 2009 Dr.Ramesh Yerraballi Quiz 3 Total points: 80 Answers
1. a) 'this' keyword cannot be used inside a static method. static members are common to all the instances of a
EE 322C Data Structures
Spring 2009 Dr. Ramesh Yerraballi Quiz 2
Due: Wednesday 2/18 in class Name(First,Middle,Last): Instructions:
Total points: 60
Type in the answers to the questions in the spac
1/7
EE 322C Fall 2008 Second Mid-Term Solution
Dr. Ramesh Yerraballi
MW Class
Full Name: Solver King
Duration: 75 minutes
Note: To earn partial credit you have to provide your work and not just give t
1/6
EE 322C Fall 2008 Second Mid-Term
Dr. Ramesh Yerraballi
MW Class
Full Name:
Duration: 75 minutes
Note: To earn partial credit you have to provide your work and not just give the final answer 1. [2
1/5
EE 322C Spring 2009 First Mid-Term
Dr. Ramesh Yerraballi You may use the back of the sheets from scratch work. Full Name: 1. [20 points] Answer the following i. [8 points] Given the following meth
1/7
EE 322C Fall 2008 First Mid-Term
Dr. Ramesh Yerraballi Full Name: Quiz Duration: 75 minutes
1. [20 points] Answer the following i. [4 points] In the method below, which statement about the possibl
1/7
EE 322C Fall 2008 First Mid-Term
Dr. Ramesh Yerraballi Full Name: Quiz Duration: 75 minutes
1. [20 points] Answer the following i. [4 points] In the method below, which statement about the possibl
Mathematical Induction
We use Mathematical Induction to prove the truth of a statement. It can be used to prove simple mathematical identities like N (N +1) N i=1 i = 2 to statements like the A polygo
Lecture 2 Announcements EE422C Data Structures
Topics software engineering and where data structures fit introduction to Java and Eclipse Next time problem solving junit and basic concepts in testing
Lecture 3 Announcements EE422C Data Structures
Topics so far course intro software engineering and where data structures fit Java and Eclipse intro Today more on basics of Java and Eclipse Next time f
Activity on Node
Prepared by KH Navoda
How to Find Critical Path
In Activity on Node
Notations
ES
Duration
EF
Activity
LS
Slack
LF
ES Early Start
EF Early Finish
LS Late Start
LF Late Finish
Activity
Assignment Two
Software Engineering (E151041116)
1. List main responsibilities of a project manager:
a.
b.
c.
d.
e.
f.
g.
h.
i.
j.
k.
Managing and Leading the project team.
Recruiting project staff an
Project management for construction is essential for the effective and efficient
progression of any major project. The project manager is ultimately responsible for
ensuring the project is completed o
Assignment 02
ITE2106-Software Engineering
PAGN.KUMARA
Admission Number: E151041051
(a).
Main responsibilities of a project manager.
The project managers responsibility is to ensure the customer is sa
ITE 2105 - Data Structures and Algorithms
Assignment 01
PAGN.KUMARA
Admission Number: E151041051
Question 1
i.
features of a stack data structure
Stores a set of elements in ordered list with similar
ITE 2105 - Data Structures and Algorithms
Assignment 02
PAGN.KUMARA
Admission Number: E151041051
Q1.
1.1 basic steps in quick sort algorithm
Step1- pick one element to use as pivot.
This can determin
Basic Idea of QuickSort
1. Pick an element in the array as the pivot element.
2. Make a pass to the array, called the PARTITION step, which rearranges the
elements in the array:
a. The pivot element i