Friday, 31 May 2013

TNDTE Diploma Results April 2013

TNDTE Diploma April 2013 Result announcing date :

Many of the students are telling TNDTE Diploma Results April 2013 will be published om 31-05-2013.But there is very less chance to publish TNDTE Diploma April 2013 results on 31st may 2013.

The students who wrote TNDTE Diploma exams can get your results in this website.Mostly TNDTE Diploma Results will be announced in the first week of June 2013.If the TNDTE Diploma Results announced you can see your Diploma April 2013 results by clicking the links provides below.

Hope all the students will get good marks.The final year students who wrote diploma exams are eagerly waiting for their results than lower year students because many of the students was paid fees in many engineering college for admission.But no problem You will get pass mark.Pray well students.All the Best by Students Blog100


Popular Searches:
  • TamilNadu Diploma results 2013
  • TN Diplamo april 2013 result
  • l scheme diploma result
  • k scheme diplomo result 2013

TamilNadu SSLC 10th Standard 2013 State First,Second,Third and Toppers List

TamilNadu 10th Standard 2013 Results was announced today(31st may).Lacks of students wrote 10 std exams among that pass percentage is 89.All the details are given below.

Total Pass percentage : 89 %
Boys : 83. 4 %
Girls : 92 %

State 1st Rank :
Nine Students got the State First Mark
Mark : 498
1.Anushka
Place : Erode
School Name :Kongu vellalar school.

2.Soniya
Place : Tirunelveli
School Name : Jayachitra School.

3.Charumathi
Place : Thiruppathur
School Name : Srishti School.

4.Vinushiya
Place : Thiruppathur.

5.Dhipiti
Place : Madurai.

6.Gayathri
Place :Tiruchi

7.Narsiya
Place : Tiruchi.

8.Sri durga
Place : Chidambaram
School Name : Venus Mat School.

State 2nd Rank :
Mark : 497
57 Students got State Second.

State 3rd Rank :
Mark : 496
137 Students got the State Third.

Centum in Each Subject
Maths : 29,905 Students
Science : 38,154  Students
Social Science : 19,680  Students

Language Subjects :
Tamil : 8 Students got 99 Marks.
French : 5 Students got 1st Mark.

Other information :
Hamsika
Mark : 499
Language Subject :Sanskrit
Place : Pondicherry

Pass Percentage,District Wise :
Kanyakumari : 97.29 (First)
Thoothukudi : 95.42
Erode : 95.36
Thiruchi : 95.14
Virudhunagar : 95.08
Chennai : 94.61
Puthukottai : 94.45
Coimbatore : 94.14
Madurai : 93.44
Namakkal : 93.22

Popular Searches:
  • 10th std state first 2013
  • 10th std2013 state first details
  • State board 10th std 2013 toppers
  • 10th std results
  • Tamil Nadu 10th Std first Mark
  • TamilNadu 10th Std results without Date of birth
  • TamilNadu 10th Results Toppers List

Thursday, 30 May 2013

Anna University May/June 2013 Exam Internal Marks and results

Anna University May/June/July 2013 Exam Internal Marks are available in one of the Anna university official website.Enter your Hall Ticket number and answer the security question to login your account.After that you can see your profile.If you are not logged in refresh the page and once again enter all the details and See your may/June/July internal marks provided by your college staff.

Click the link provided below to view your internal marks:

Internal Assesment marks and Attandance DetailsClick Here
Final Internal mark CalculationClick Here
Anna University ResultsClick Here
Like Us on
Facebook to 
receive all Anna university Just out Updates

Wednesday, 29 May 2013

Anna University may/June 2nd 4th 6th 8th semester results 2013

Anna University may/June 2nd 4th 6th 8th semester results 2013.Anna university 1st 2nd 3rd 4th 5th 6th 7th 8th semester results announcing date and publishing Websites links are given below.

Anna university results announcing date also included in the below given link.Click the below given link to get sufficient details about Anna university first semester second semester third semester fourth semester fifth semester sixth semester seventh semester eighth semester results 2013.

This results page contain results only for Anna university first semester second semester third semester fourth semester fifth semester sixth semester seventh semester eighth semester may/June/July 2013 results.

ANNA UNIVERSITY MAY/JUNE/JULY 2013 EXAM RESULTS ANNOUNCING DATE :


Anna university 2nd, 4th, 6th, 8th semester may/June/July 2013 results are expected to announce in the month of August 2013 or July last week.

Anna University May/June/July Even Semester Results --> Click Here To View

Like us on Facebook to get the just out result updates in your Facebook.

Related Tags:
  • Anna University 1st 2nd 3rd 4th 5th 6th 7th 8th Semester results 2013
  • Anna University eighth semester results may 2013
  • Anna university May/June 2013 results 2013
  • Anna University Chennai Results 2013
  • Anna University thirunelveli Results 2013 
  • Anna University coimbatore Results 2013  
Anna university semester exam results-Anna university chennai results 2013-Anna univ coimbatore results-Anna university may/June/July 2013 1st semester results - Anna university may/June/July 2013 2nd semester results-  Anna university may/June/July 2013 3rd semester results -  Anna university may/June/July 2013 4th semester results -  Anna university may/June/July 2013 5th semester results -  Anna university may/June/July 2013 6th semester results -   Anna university may/June/July 2013 7th semester results -  Anna university may/June/July 2013 8th semester results - Without arrears -Arrear results 2013 - AU chennai results 2013

Tuesday, 28 May 2013

CHSE Orissa Result 2013 - Orissa Class 12 Results - Orissa Class XII 12th Results 2013

CHSE Orissa Plus Two Examination Results 2013-BSE Orissa HSC Class 10th Results 2013 CHSE Orissa Result 2013 - Orissa Class 12 Results - Orissa Class XII 12th Results 2013.

Orissa Class 12 Results is to announce on may 29th 2013.So students from orissa can see your results in studentsblog100 website.


CHSE Orissa Result 2013 announcing date :


Orissa Class XII 12th Result 2013 is expected to announce on  29-05-2013.

Below link has the orissa 12th and 10th std results.Click and see your orissa chse and hsc results 2013.


Saturday, 25 May 2013

Anna University Results | Timetable | Syllabus | Important Updates for affilated colleges | Distance Education | Revaluation

Anna University 1st 2nd 3rd 4th 5th 6th 7th 8th semester Results | Timetable | Syllabus | Important Updates for affiliated colleges | Distance Education | Revaluation Results.


Anna University Affiliated colleges TimeTable & Important Updates


============================================================================
Related Tags:
  • Anna University Affiliated colleges important updates
  • Anna University Distance Education important updates
  • Anna University Affiliated colleges Results
  • Anna University Distance Education Results
  • Anna University Affiliated colleges Syllabus
  • Anna University Affiliated colleges Chennai,Coimbatore,Madurai,Thirunelveli 
  • Anna University Affiliated colleges Semester exam timetable for all departments
  • Anna University Affiliated First second third fourth fifth sixth seventh eighth semester results 
  • Anna university results
  • Anna university May/June/July results
  • Anna university Nov/Dec/Jan results
  • Anna university 1st 2nd 3rd 4th 5th 6th 7th 8th semester May/June/July results
  • Anna university 1st 2nd 3rd 4th 5th 6th 7th 8th semesterNov/Dec/Jan results

Thursday, 23 May 2013

Anna University IT CSE ECE EEE MECH CIVIL all semesters Question Bank | Anna University Question Bank and Important questions

Like Us on Facebook to get all Anna University Updates
This Webpage contain ECE EEE Mech Civil CSE IT 1st 2nd 3rd 4th 5th 6th 7th 8th semester question banks and important questions.The students who need question banks to study no need to search in all websites.Simply search that Anna university first second third fourth fifth sixth seventh or eighth semester ECE EEE IT CSE Mech or Civil Question Banks Or important questions.
Anna University IT CSE ECE EEE MECH CIVIL all semesters Question Bank | Anna University Question Bank and Important questions
This Question may or may not come for university examinations...But these question are important questions.So study this questions first and next study the remaining questions.

Useful Tips to Face Anna University Examinations --> Click here

Incoming Searches:
  • Anna University Important Questions for EEE 1st 2nd 3rd 4th 5th 6th 7th 8th Semesters
  • Anna University Important Questions for ECE 1st 2nd 3rd 4th 5th 6th 7th 8th Semesters
  • Anna University Important Questions for IT 1st 2nd 3rd 4th 5th 6th 7th 8th Semesters
  • Anna University Important Questions for CSE 1st 2nd 3rd 4th 5th 6th 7th 8th Semesters
  • Anna University Important Questions for MECH 1st 2nd 3rd 4th 5th 6th 7th 8th Semesters
  • Anna University Important Questions for CIVIL 1st 2nd 3rd 4th 5th 6th 7th 8th Semesters
  • Anna University Question Bank for all departments and for all semesters

Meghalaya 12th std Results 2013 - MBOSE HSSLC (Arts) and SSLC Results 2013 - Meghalaya state Board SSLC Results 2013

Meghalaya 12th std Results 2013 - MBOSE HSSLC (Arts) and SSLC Results 2013 - Meghalaya state Board SSLC Results 2013

Meghalaya 12th standard results was announced for HSSLC vocational,HSSLC Science,HSSLC Commerce.


Now today that is 23-05-2013 the HSSLC meghalaya MBOSE SSLC results and MBOSE HSSLC arts results will be announced.

You can get your results in StudentsBlog100 Website.

Click the official link gven below to get you meghalaya 2013 Class 10th rrresults and MBOSE HSSLC arts 2013 results.


Wednesday, 22 May 2013

Anna University May/June 2013 Results | Annauniv.edu may/june 2nd 4th 6th 8th Sem Results 2013

LAST YEAR RESULT ANNOUNCEMENT TIMINGS:
Anna university Nov/Dec 2012 Semester exam results was announced in StudentsBlog100 website on 06-03-2013 at 1:35 am.The students who stayed live in this website was viewed their results at 1.35 am itself.When the Anna University results announced you cant get your results in Anna University official website because many of the students will view their results in Anna university official website.
Anna University Jan 2013 first semester results was announced on 23-03-2013 at 12.40 am.Anna University Nov/Dec 2013 revaluation results are also announced in this website on 14-04-2013.And finally Anna university First semester Jan 2013 revaluation results are also announced.
ANNA UNIVERSITY CHENNAI RESULTS 2013
ANNA UNIVERSITY 2ND 4TH 6TH 8TH SEMESTER 2013 RESULTS 
ANNA UNIVERSITY UG/PG RESULTS 2013
Anna University Results

ANNA UNIVERSITY MAY/JUNE 2013 RESULTS ANNOUNCED:

To see the Results --> Click Here

EXAM QUESTIONS-REG:
Anna University May/June 2013 Semester examination questions are very tough when compared to previous semester questions.Many officials told that lacks of Anna university students have no jobs even though they are cleared all their papers.So Anna university planned to reduce the pass percentage by strict valuation.The aim of Anna university is to deliver the Quality Engineers not the Quantity.

RESULT PUBLICATION TIME:
Last time also Anna University results got delayed and this time we can expect the announcement of May/June 2013 results earlier than the previous semester results.

ABOUT 8TH SEMESTER RESULTS:
Now the latest news is Anna University 8th semester results will be announced by the second or third week of June 2013.The paper valuation for eighth semester was started by today that is 25-05-2013.The paper valuation was expected to complete before the end of this may month.The students who have arrears in lower semesters that is in First/second/third/fourth/fifth/sixth/seventh semesters you can't get your results along with June 2013 8th sem results.Your results will be published along with the Anna University May/June/July 2013 results.

ABOUT 2ND SEMESTER RESULT:
Anna university June 2013 second semester results are expected to announce along with higher semester results.That is second semester results to be announced along with Anna university May/June/July Even semester results.

Anna University May/June 2013 1st,2nd,3rd,4th,5th,6th,7th,8th Semester results are expected to announce in the month of August 2013.And the students of Anna university can view your May/June 2013 results in this StudentsBlog100 website.

ANNA UNIVERSITY MAY/JUNE/JULY 2013 SEMESTER EXAM RESULTS PUBLISHED:




Paper valuation Reports:
Many officials were said that this time Anna university Paper valuations was little bit strict than previous semester paper valuations.
We didn't get any grace mark reports.If we get any informations about this we will inform through this May/June/July 2013 Anna university result StudentsBlog100 page.

Results are expected to publish very soon..Stay tuned in this site..We will post result in this website.To Bookmark this page Press Ctrl+D in your Computer keyboard.

Like us on Facebook to get the just out result updates in your Facebook.


Incoming Searches:
  • Anna University May/June 2013 Results 2013
  • Anna University Chennai Results 2013
  • Anna University may/june 3rd 4th 5th 6th 7th 8th semester results 2013
  • Anna Univ may/june third fourth fifth sixth seventh eighth sem exam results 2013
  • Anna university 2013 may/june current semester exam results
  • Anna university even semester exam results may/june 2013
  • When will the anna university may/june 2013 results will be announced or published ?
  • Result announcement date for anna university 2013 may/june 2013 Examinations.
  • When will be anna university may/june 2013 eighth 8th semester results will be announced ?
  • Anna University Chennai 2nd 4th 6th 8th Semester may/June/Junly Results 2013
  • Anna University Madurai 2nd 4th 6th 8th Semester may/June/Junly Results 2013
  • Anna University Coimbatore 2nd 4th 6th 8th Semester may/June/July Results 2013
  • Anna University Trichy 2nd 4th 6th 8th Semester may/June/Junly Results 2013
  • Anna University Tirunelveli 2nd 4th 6th 8th Semester may/June/Junly Results 2013
  • Anna University 8th semester results for arrear students 2012
Anna University May/June/July 2013 Results-Annauniv.edu may/june/july 2nd 4th 6th 8th Sem Results 2013-Anna univ 2nd 4th 6th 8th sem results - AU chennai results -Anna University may/june results 2013 -Anna university may /june/july results - Anna university 2013 results announcing date -Anna university may/june results publishing date - results -2nd semester results -4th semester results -6th semester results -8th semester results -Anna university 2013 results -Anna univ 2013 results for 2nd 4th 6th 8th semesters-Anna university second semester results -Anna university fourth semester results 2013 -Anna university sixth semester results 2013-Anna univ eighth sem results 2013-Anna university BE results-Anna University B.Tech 2013 results-Anna Univ BE exam results-Anna University be results-Anna university may/june 2013 results


If you have any doubts regarding this comment Below

Monday, 20 May 2013

Nagaland class 10th 12th std results 2013 | Nagaland board exam results

Nagaland NBSE class 10th 12th std results 2013 | Nagaland board exam results

Nagaland 10 standard results 2013 and nagaland 12th standard results 2013 are expected to announce on 20-05-2013 at 12 pm.If not nagaland 12th and 10th std results will announce i=on 21-05-2013 morning.

Anyway nagaland HSLC, HSSLC 2013 will be announce before 21-05-2013.

If the results announced you can get your results in StudentsBlog100 Website.

The official link of result publication website is given below.
Incoming Searches:
  • NBSE 2013 results
  • 2013 Nagaland results
  • Nagaland class 10th std results 2013
  • Nagaland class 12th std results 2013
  • Nagaland NBSE results 2013
  • Nagaland 10th 12th board exam results



Saturday, 18 May 2013

TAMILNADU 10TH STD RESULT 2013 | TN SSLC RESULT | TN PUBLIC EXAM RESULT | SAMACHEERKALVI CLASS 10TH RESULTS 2013

TAMILNADU 10TH STD RESULT 2013 | TN SSLC RESULT | TN PUBLIC EXAM RESULT | SAMACHEERKALVI CLASS 10TH RESULTS 2013

TamilNadu 10th standard result publishing date was announced by the TamilNadu government along with the 12th standard result publication date.That is 12th standard results is to announce by 9-05-2013 and 10th standard samacheerkalvi results is to publish on 31-05-2013,May last week and last day.


This time TN class 10th examination questions was very easy when compared to previous year exam question.Lot of students will get pass mark in this 2013 year.In previous 10th standard syllabus the subject science was very tough but in samacheerkalvi science was very easy to get pass mark and science have practical exams too.

TamilNadu 10th standard public exam results will be published only in government websites.We will update the links of those websites,so you can get your results in StudentsBlog100 Website also.

Before seeing the result keep ready with your hall ticket number and your Date of Birth.Without knowing your date of birth you cant view your results.




Some other result announcing Website:


Incomming Search Words
  • Samacheerkalvi 10th standard results
  • TamilNadu 10th std results 2013
  • TN 10th standard results 31-05-2013
  • When will be TamilNadu 10th std results announced
  • 10th std state board exam results
  • SSLC 10th exam results 2013
  • TN 10th results
  • TamilNadu class 10th results 2013

Friday, 17 May 2013

CS2251 Design and Analysis of Algorithms Important 16marks Questions


16 MARKS
UNIT-I
1) What are the important problem types focused by the researchers? Explain all the
types with example
2) What is empirical analysis of an algorithm? Discuss its strength and weakness.
3) Discuss the fundamentals of analysis framework.
4) Explain the various asymptotic notations used in algorithm techniques.
5) Describe briefly the notions of complexity of algorithm.
6) What is pseudo code? Explain with an example.
7) Explain various criteria used for analyzing algorithms.
8) Discuss briefly the sequence of steps in designing and analyzing algorithm
9) Explain the general framework for analyzing the efficiency of algorithm
10) Explain the fundamentals of algorithmic problem solving with algorithm design
and analysis process diagram
11) Explain simple factoring algorithm with example
12) Explain the Euclid’s algorithm with example
UNIT-II
1) Discuss the general plan for analyzing the efficiency of non recursive algorithms
2) Write an algorithm for a given numbers to n generate the nth number of the
Fibonacci sequences.
3) Explain the necessary steps for analyzing the efficiency of recursive algorithms.
4) Write short notes on algorithm visualization
5) Design a recursive algorithm to compute the factorial function F(n) =n! for an
arbitrary non negative integer n also derive the recurrence relation.
6) Explain the general plan for mathematical analysis of recursive algorithms with
example.
7) Explain algorithm visualization with examples.
8) Write an algorithm to find the number of binary digits in the binary representation
of a positive decimal integer and analyze its efficiency
9) Write an algorithm for finding of the largest element in a list of n numbers
10) Differentiate mathematical analysis of algorithm and empirical analysis of
algorithm
11) Explain static algorithm visualization and dynamic algorithm visualization with
example
12) Explain algorithm animation with example
UNIT-III
1) Explain Brute force method with proper example
2) Explain selection sort and bubble sort algorithm with proper example
3) Explain sequential searching algorithm with example
4) Explain brute force string matching algorithm with example
5) Explain the divide and conquer algorithms with example
6) Explain merge sort algorithm with example
7) Explain quick sort algorithm with example
8) Explain binary search algorithm with example
9) Explain binary tree traversals and related properties with example
10) Explain insertion sort with example
11) Explain Depth First Search and Breadth First Search
12) Write an algorithm to sort a set of N numbers using insertion sort
13) Trace the algorithm for the following set of number 20, 35, 18, 8 14, 41, 3, 39
14) Mention any three search algorithms which is preferred in general? why?
UNIT-IV
1) Explain Transform and conquer techniques with example
2) Explain pre sorting
3) Explain balanced search tree with example
4) Explain Binary Search Tree with example
5) Explain AVL Trees with example
6) Explain Warshall’s algorithm with example
7) Explain Floyd’s algorithm with example
8) Explain Optimal Binary search trees with example
9) Explain Prim’s algorithm with example
10) Explain Kruskal’s Algorithm
11) Explain Dijkstra’s Algorithm
12) Explain Huffman Trees
13) Explain the method of finding the minimum spanning tree for connected graph
using prim’;s algorithm
14) How will you find the shortest path between two given vertices using Dijkkstra’s
Algorithm? Explain
UNIT-V
1) Explain backtracking with example
2) Explain n-Queen’s problem with example
3) Explain Hamiltonian circuit problem with proper example
4) Explain subset problem with proper example
5) Explain Branch and bound Techniques with proper example
6) Explain Knapsack problem with example
7) Explain travelling salesman problem with example
8) Explain strassen’s matrix multiplication problem with example
9) Discuss the features of travelling salesman problem
10) Given a graph G={V,E,W} shown in the figure where vertices refer to cities,
edges refer to connection between cities, weight associated with each edge
represents the cost. Find out the minimum cost for the salesman
11) Discuss NP completeness in Knapsack problem with justification
12) Apply backtracking technique to solve the following instance of the subset sum
problem S={1,3,4,5} and d=11
13) Explain subset problem and discuss the possible solution strategies using
backtracking

DESIGN AND ANALYSIS OF ALGORITHMS IMPORTANT TWO MARK QUESTIONS WITH ANSWERS

Subject : DAA

Semester : 4th

Department : CSE

Content : DAA IMPORTANT TWO MARK QUESTIONS WITH ANSWERS



DESIGN AND ANALYSIS OF ALGORITHMS

UNIT I INTRODUCTION

Definition and properties of an algorithm- Analysis of algorithms. Divide
and Conquer -The general method- Binary search- Finding maximum and
minimum element- Analysis of Merge sort- Analysis of Quick sort- Analysis
of Selection sort- Analysis of Heap sort


1. What is an algorithm?
An algorithm is a sequence of unambiguous instructions for solving a problem.
i.e., for obtaining a required output for any legitimate input in a finite amount of time

2. What do you mean by Amortized Analysis?
Amortized analysis finds the average running time per operation over a worst case
sequence of operations. Amortized analysis differs from average-case performance in that
probability is not involved; amortized analysis guarantees the time per operation over
worst-case performance.

3. What are important problem types? (or) Enumerate some important types of
problems.

1. Sorting 2. Searching
3. Numerical problems 4. Geometric problems
5. Combinatorial Problems 6. Graph Problems
7. String processing Problems
4. Name some basic Efficiency classes
1. Constant 2. Logarithmic 3. Linear 4. nlogn
5. Quadratic 6. Cubic 7. Exponential 8. Factorial

5. What are algorithm design techniques?
Algorithm design techniques ( or strategies or paradigms) are general approaches
to solving problems algorithmatically, applicable to a variety of problems from different
areas of computing. General design techniques are:
(i) Brute force (ii) divide and conquer
(iii) decrease and conquer (iv) transform and concquer
(v) greedy technique (vi) dynamic programming
(vii) backtracking (viii) branch and bound

6. How is an algorithm’s time efficiency measured?
Time efficiency indicates how fast the algorithm runs. An algorithm’s time
efficiency is measured as a function of its input size by counting the number of times its
basic operation (running time) is executed. Basic operation is the most time consuming
operation in the algorithm’s innermost loop.

7. What is Big ‘Oh’ notation?
A function t(n) is said to be in O(g(n)), denoted t(n) O(g(n)) , if t(n) is bounded above
by some constant multiple of g(n) for all large n, i.e., if there exist some positive constant
c and some nonnegative integers n0 such that
t(n) ≤ cg(n) for all n≥ n0

8. What is an Activation frame?
It is a storage area for an invocation of recursive program (parameters, local
variables, return address/value etc.). Activation frame allocated from frame stack pointed
by frame pointer.

9. Define order of an algorithm
Measuring the performance of an algorithm in relation with the input size n is
known as order of growth.

10. What is recursive call?
Recursive algorithm makes more than a single call to itself is known as recursive
call. An algorithm that calls itself is direct recursive.An algorithm”A” is said to be
indirect recursive if it calls another algorithm which in turn calls “A”.

11. What do you mean by stepwise refinement?
In top down design methodology the problem is solved in sequence (step by step)
is known as stepwise refinement.

12. How is the efficiency of the algorithm defined?
The efficiency of an algorithm is defined with the components.
(i) Time efficiency -indicates how fast the algorithm runs
(ii) Space efficiency -indicates how much extra memory the algorithm needs

13. Define direct recursive and indirect recursive algorithms.
Recursion occurs where the definition of an entity refers to the entity itself.
Recursion can be direct when an entity refers to itself directly or indirect when it refers to
other entities which refers to it. A (Directly) recursive routine calls itself. Mutually
recursive routines are an example of indirect recursion. A (Directly) recursive data type
contains pointers to instances of the data type.

14. What are the characteristics of an algorithm?
Every algorithm should have the following five characteristics
(i) Input
(ii) Output
(iii) Definiteness
(iv) Effectiveness
(v) Termination
Therefore, an algorithm can be defined as a sequence of definite and effective
instructions, which terminates with the production of correct output from the given input.
In other words, viewed little more formally, an algorithm is a step by step formalization
of a mapping function to map input set onto an output set.

15. What do you mean by time complexity and space complexity of an algorithm?
Time complexity indicates how fast the algorithm runs. Space complexity deals with
extra memory it require. Time efficiency is analyzed by determining the number of
repetitions of the basic operation as a function of input size. Basic operation: the
operation that contributes most towards the running time of the algorithm The running
time of an algorithm is the function defined by the number of steps (or amount of
memory) required to solve input instances of size n.

16. Define Big Omega Notations
A function t(n) is said to be in Ω(g(n)) , denoted t(n) Є Ω((g(n)) , if t(n) is bounded below
by some positive constant multiple of g(n) for all large n, i.e., if there exist some positive
constant c and some nonnegative integer n0 such that
t(n) ≥cg(n) for all for all n ≥ n0

17. What are the different criteria used to improve the effectiveness of algorithm?
(i) The effectiveness of algorithm is improved, when the design, satisfies the following
constraints to be minimum.
Time efficiency - how fast an algorithm in question runs.
Space efficiency – an extra space the algorithm requires
(ii) The algorithm has to provide result for all valid inputs.

18. Analyze the time complexity of the following segment:
for(i=0;i<N;i++)
for(j=N/2;j>0;j--)
sum++;
Time Complexity= N * N/2
= N2 /2
Є O(N2)

19. write general plan for analyzing non-recursive algorithms.
i. Decide on parameter indicating an input’s size.
ii. Identify the algorithm’s basic operation
iii. Checking the no.of times basic operation executed depends on size of input.if it
depends on some additional property,then best,worst,avg.cases need to be
investigated
iv. Set up sum expressing the no.of times the basic operation is executed.
(establishing order of growth)

20. How will you measure input size of algorithms?
The time taken by an algorithm grows with the size of the input. So the running
time of the program depends on the size of its input. The input size is measured as the
number of items in the input that is a parameter n is indicating the algorithm’s input size.

21. Define the terms: pseudocode, flow chart
A pseudocode is a mixture of a natural language and programming language like
constructs. A pseudocode is usually more precise than natural language. A flowchart is a
method of expressing an algorithm by a collection of connected geometric shapes
containing descriptions of the algorithm’s steps.

22. write general plan for analyzing recursive algorithms.
i. Decide on parameter indicating an input’s size.
ii. Identify the algorithm’s basic operation
iii. Checking the no.of times basic operation executed depends on size of input.if it
depends on some additional property,then best,worst,avg.cases need to be
investigated
iv. Set up the recurrence relation,with an appropriate initial condition,for the number
of times the basic operation is executed
v. Solve recurrence (establishing order of growth)

23. What do you mean by Combinatorial Problem?
Combinatorial Problems are problems that ask to find a combinatorial object-such
as permutation, a combination, or a subset--that satisfies certain constraints and has some
desired property.

24. Define Big Theta Notations
A function t(n) is said to be in Θ(g(n)) , denoted t(n) Є Θ (g(n)) , if t(n) is bounded both
above and below by some positive constant multiple of g(n) for all large n, i.e., if there
exist some positive constants c1 and c2 and some nonnegative integer n0 such that
c1 g(n) ≤t(n) ≤ c2g(n) for all n ≥ n0

25. What is performance measurement?
Performance measurement is concerned with obtaining the space and the time
requirements of a particular algorithm.

26. What is an algorithm?
An algorithm is a finite set of instructions that, if followed, accomplishes a
particular task. In addition, all algorithms must satisfy the following criteria:
1) input
2) Output
3) Definiteness
4) Finiteness
5) Effectiveness.

27. Define Program.
A program is the expression of an algorithm in a programming language.
Sometimes works such as procedure, function and subroutine are used synonymously
program.

28. What is recursive algorithm?
An algorithm is said to be recursive if the same algorithm is invoked in the body.

29. What is space complexity and time complexity ?
The space complexity of an algorithm is the amount of memory it needs to run to
completion. The time complexity of an algorithm is the amount of computer time it needs
to run to completion.

30. Give the two major phases of performance evaluation
Performance evaluation can be loosely divided into two major phases:
(i) a prior estimates (performance analysis)
(ii) a Posterior testing(performance measurement)

31. Define input size.
The input size of any instance of a problem is defined to be the number of
words(or the number of elements) needed to describe that instance.

32. Define best-case step count.
The best-case step count is the minimum number of steps that can be executed for
the given parameters.

33. Define worst-case step count.
The worst-case step count is the maximum number of steps that can be executed
for the given parameters.

34. Define average step count.
The average step count is the average number of steps executed an instances with
the given parameters.

35. Define Little “oh”.

The function f(n) = 0(g(n)) iff
Lim f(n) =0
n →∞ g(n)

36. Define Little Omega.
The function f(n) = ω (g(n)) iff
Lim f(n) =0
n →∞ g(n)

37. Write algorithm using iterative function to fine sum of n numbers.
Algorithm sum(a,n)
{ S : = 0.0
For i=1 to n do
S : - S + a[i];
Return S;
}

38. Write an algorithm using Recursive function to fine sum of n numbers,
Algorithm Rsum (a,n)
{
If(n≤0) then
Return 0.0;
Else Return Rsum(a, n- 1) + a(n);

39. Define the divide an conquer method.
Given a function to compute on ‘n’ inputs the divide-and-comquer strategy
suggests splitting the inputs in to’k’ distinct susbsets, 1<k <n, yielding ‘k’ subproblems.
The subproblems must be solved, and then a method must be found to combine
subsolutions into a solution of the whole. If the subproblems are still relatively large, then
the divide-and conquer strategy can possibly be reapplied.

40. Define control abstraction.
A control abstraction we mean a procedure whose flow of control is clear but
whose primary operations are by other procedures whose precise meanings are left
undefined.
Write the Control abstraction for Divide-and conquer.
Algorithm DAndC(P)
{
if small(p) then return S(P);
else
{
divide P into smaller instance p1,p2,…pk, k ≥1;
Apply DAndC to each of these subproblems
Return combine (DAnd C(p1) DAnd C(p2),----, DAnd (pk));
}
}

41.What is the substitution method?
One of the methods for solving any such recurrence relation is called the
substitution method.

42. What is the binary search?
If ‘q’ is always chosen such that ‘aq’ is the middle element(that is, q=[(n+1)/2),
then the resulting search algorithm is known as binary search.

43. Give computing time for Binary search?
In conclusion we are now able completely describe the computing time of binary
search by giving formulas that describe the best, average and worst cases.
Successful searches
Θ(1) Θ (logn) Θ (Logn)
best average worst
Unsuccessful searches
Θ (logn)
best, average, worst

45. Define external path length?
The external path length E, is defines analogously as sum of the distance of all
external nodes from the root.

46. Define internal path length.
The internal path length ‘I’ is the sum of the distances of all internal nodes from the root.

47. What is the maximum and minimum problem?
The problem is to find the maximum and minimum items in a set of ‘n’ elements. Though
this problem may look so simple as to be contrived, it allows us to demonstrate
divideand-conquer in simple setting.

48. What is the Quick sort?
Quicksort is divide and conquer strategy that works by partitioning it’s input
elements according to their value relative to some preselected element(pivot). it uses
recursion and the method is also called partition –exchange sort.

49. Write the Analysis for the Quick sort.
O(nlogn) in average and best cases
O(n2) in worst case

50. what is Merge sort? and Is insertion sort better than the merge sort?
Merge sort is divide and conquer strategy that works by dividing an input array in to
two halves,sorting them recursively and then merging the two sorted halves to get the
original array sorted
Insertion sort works exceedingly fast on arrays of less then 16 elements, though for large
‘n’ its computing time is O(n2).

51. Write a algorithm for straightforward maximum and minimum?
Algorithm straight MaxMin(a,n,max,min)
//set max to the maximum and min to the minimum of a[1:n]
{
max := min: = a[i];
for i = 2 to n do
{
if(a[i] >max) then max: = a[i];
if(a[i] >min) then min: = a[i];
}
}

52. what is general divide and conquer recurrence?
Time efficiency T(n)of many divide and conquer algorithms satisfies the equation
T(n)=a.T(n/b)+f(n).This is the general recurrence relation.
53. What is Master’s theorem?
54. Write the algorithm for Iterative binary search?
Algorithm BinSearch(a,n,x)
//Given an array a[1:n] of elements in nondecreasing
// order, n>0, determine whether x is present
{
low : = 1;
high : = n;
while (low < high) do
{
mid : = [(low+high)/2];
if(x < a[mid]) then high:= mid-1;
else if (x >a[mid]) then low:=mid + 1;
else return mid;
}
return 0;
}

55. Describe the recurrence relation for merge sort?
If the time for the merging operation is proportional to n, then the computing time of
merge sort is described by the recurrence relation
T(n) = a n = 1, a a constant
2T (n/2) + n n >1, c a constant

UNIT II GREEDY METHOD


The general method- Optimal storage on tapes- Knapsack problem-
Minimum spanning trees- Single source shortest path method


1. Explain the greedy method.
Greedy method is the most important design technique, which makes a choice that
looks best at that moment. A given ‘n’ inputs are required us to obtain a subset that
satisfies some constraints that is the feasible solution. A greedy method suggests that
one can device an algorithm that works in stages considering one input at a time.

2. Define feasible and optimal solution.
Given n inputs and we are required to form a subset such that it satisfies some
given constraints then such a subset is called feasible solution. A feasible solution
either maximizes or minimizes the given objective function is called as optimal
solution

3. Write the control abstraction for greedy method.
Algorithm Greedy (a, n)
{
solution=0;
for i=1 to n do
{
x= select(a);
if feasible(solution ,x) then
solution=Union(solution ,x);
}
return solution;
}

4. What are the constraints of knapsack problem?
To maximize Σpixi
1≤i≤n
The constraint is : Σwixi ≥ m and 0 ≤ xi ≤ 1 1≤ i ≤ n
1≤i≤n
where m is the bag capacity, n is the number of objects and for each object i wi
and pi are the weight and profit of object respectively.

5. What is a minimum cost spanning tree?
A spanning tree of a connected graph is its connected acyclic subgraph that
contains all vertices of a graph. A minimum spanning tree of a weighted
connected graph is its spanning tree of the smallest weight where bweight of the
tree is the sum of weights on all its edges.
A minimum spanning subtree of a weighted graph (G,w) is a spanning subtree of
G of minimum weight w(T )= Σ w(e )
e€ T
Minimum Spanning Subtree Problem: Given a weighted connected undirected graph
(G,w), find a minimum spanning subtree

6. Specify the algorithms used for constructing Minimum cost spanning tree.
a) Prim’s Algorithm
b) Kruskal’s Algorithm

7. State single source shortest path algorithm (Dijkstra’s algorithm).
For a given vertex called the source in a weigted connected
graph,find shotrtest paths to all its other vertices.Dijikstra’s algorithm applies to
graph with non-negative weights only.

8. What is Knapsack problem?
A bag or sack is given capacity and n objects are given. Each object has weight
wi and
profit pi .Fraction of object is considered as xi (i.e) 0<=xi<=1 .If fraction is 1 then
entire object is put into sack. When we place this fraction into the sack we get wixi
and pixi.

9. Write any two characteristics of Greedy Algorithm?
* To solve a problem in an optimal way construct the solution from given set of
candidates.
* As the algorithm proceeds, two other sets get accumulated among this one set
contains
the candidates that have been already considered and chosen while the other set
contains
the candidates that have been considered but rejected.
10. What is the Greedy approach?
The method suggests constructing solution through sequence of steps,each
expanding partially constructed solution obtained so far,until a complete solution is
reached. On each step,the choice must be
• Feasible(satisfy problem constraints)
• Locally optimal(best local choice among all feasible choices available on that
step)
• Irrevocable(once made,it cant be changed)
11. What are the steps required to develop a greedy algorithm?
* Determine the optimal substructure of the problem.
* Develop a recursive solution.
* Prove that at any stage of recursion one of the optimal choices is greedy choice.
Thus it is always safe to make greedy choice.
* Show that all but one of the sub problems induced by having made the greedy
choice are empty.
* Develop a recursive algorithm and convert into iterative algorithm.
13. Define forest.
Collection of sub trees that are obtained when root node is eliminated is known as
forest
14. Write the difference between the Greedy method and Dynamic programming.
Greedy method Dynamic programming
Only one sequence of decision is
generated.
Many number of decisions are generated.
It does not guarantee to give an
optimal solution always.
It definitely gives an optimal solution
always.
15.state the requirement in optimal storage problem in tapes.
Finding a permutation for the n programs so that when they are stored on the tape in
this order the MRT is minimized.This problem fits the ordering paradigm.
16. state efficiency of prim’s algorithm.
O(|v|2) (WEIGHT MATRIX AND PRIORITY QUEUE AS UNORDERED ARRAY)
O(|E| LOG|V|) (ADJACENCY LIST AND PRIORITY QUEUE AS MIN-HEAP)
17. State Kruskal Algorithm.
The algorithm looks at a MST for a weighted connected graph as an acyclic subgraph
with |v|-1 edges for which the sum of edge weights is the smallest.
18. state efficiency of Dijkstra’s algorithm.
O(|v|2) (WEIGHT MATRIX AND PRIORITY QUEUE AS UNORDERED ARRAY)
O(|E| LOG|V|) (ADJACENCY LIST AND PRIORITY QUEUE AS MIN-HEAP)
19. Differentiate subset paradigm and ordering paradigm
subset paradigm ordering paradigm
At each stage a decision is made
regarding whether a particular input is
in an optimal solution (generating sub
optimal solutions)
For problems that do not call for selection of
optimal subset,in the greedy manner we
make decisions by considering inputs in
some order
Example kNAPSACK,MST Optimal storage on tapes

UNIT III
DYNAMIC PROGRAMMING

The General method- All pairs shortest path- Optimal binary tree-
Multistage graphs


1. Write the difference between the Greedy method and Dynamic programming.
Greedy method Dynamic programming
1.Only one sequence of decision is
generated.
1.Many number of decisions are generated.
2.It does not guarantee to give an optimal
solution always.
2.It definitely gives an optimal solution
always.
2. Define dynamic programming.
Dynamic programming is an algorithm design method that can be used when a
solution to the problem is viewed as the result of sequence of decisions. It is technique
for solving problems with overlapping subproblems.
3. What are the features of dynamic programming?
• Optimal solutions to sub problems are retained so as to avoid recomputing of their
values.
• Decision sequences containing subsequences that are sub optimal are not
considered.
• It definitely gives the optimal solution always.
4. What are the drawbacks of dynamic programming?
• Time and space requirements are high, since storage is needed for all level.
• Optimality should be checked at all levels.
5. Write the general procedure of dynamic programming.
The development of dynamic programming algorithm can be broken into a
sequence of 4 steps.
1. Characterize the structure of an optimal solution.
2. Recursively define the value of the optimal solution.
3. Compute the value of an optimal solution in the bottom-up fashion.
4. Construct an optimal solution from the computed information.
6. Define principle of optimality.
It states that an optimal solution to any of its instances must be made up of
optimal solutions to its subinstances.
7. Define multistage graph
A multistage graph G =(V,E) is a directed graph in which the vertices are partitioned
in to K>=2 disjoint sets Vi,1<=i<=k.The multi stage graph problem is to find a minimum
cost paths from s(source ) to t(sink)
Two approach(forward and backward)
8. Define All pair shortest path problem
Given a weighted connected graph, all pair shortest path problem asks to find the
lengths of shortest paths from each vertex to all other vertices.
9.Define Distance matrix
Recording the lengths of shortest path in n x n matrix is called Distance matrix(D)
10.Define floyd’s algorithm
􀃖 To find all pair shortest path
􀃖 The algorithm computes the distance matrix of a weighted graph with n vertices
through series of n by n matrices :D(0)…D(k-1),D(k)…..D(n)
11. State the time efficiency of floyd’s algorithm
O(n3)
It is cubic
12. Define OBST
􀃖 Dynammic pgmg. Used
􀃖 If probabilities of searching for elements of a set are known then finding optimal
BST for which the average number of comparisons in a search is smallest
possible.
13. Define catalan number
The total number of binary search trees with n keys is equal to nth catalan
number
C(n)=(2n to n) 1/(n+1) for n>0,c(0)=1
14. State time and space efficiency of OBST
SPACE EFFICIENCY :QUADRATIC
TIME EFFICIENCY : CUBIC.

UNIT 4 AND 5
UNIT IV BACKTRACKING

The General method- Solution space and tree organization- The Eight Queens problem-
Sum of subset problem- Graph coloring- Knapsack problem


UNIT V BRANCH AND BOUND

The General method- O/I Knapsack problem- Traveling sales person problem-Efficiency
consideration . NP Hard and NP Complete problems - Basic concepts


1. What are the requirements that are needed for performing Backtracking?
To solve any problem using backtracking, it requires that all the solutions satisfy a
complex set of constraints. They are:
i. Explicit constraints.
ii. Implicit constraints.

2.Define explicit constraint.
They are rules that restrict each x to take on values only from a give set. They i
depend on the particular instance I of the problem being solved. All tuples that satisfy the
explicit constraints define a possible solution space.

3. Define implicit constraint.
They are rules that determine which of the tuples in the solution space of I satisfy the
criteria function. It describes the way in which the x must relate to each other. i
4.Define state space tree.
The tree organization of the solution space is referred to as state space tree.
5.Define state space of the problem.
All the paths from the root of the organization tree to all the nodes is called as state
space of the problem
6.Define answer states.

Answer states are those solution states s for which the path from the root to s
defines a tuple that is a member of the set of solutions of the problem.
7.What are static trees?
The tree organizations that are independent of the problem instance being solved
are called as static tree.

8.What are dynamic trees?

The tree organizations those are independent of the problem instance being solved
are called as static tree.

9.Define a live node.
A node which has been generated and all of whose children have not yet been
generated is called as a live node.
10. Define a E – node.
E – node (or) node being expanded. Any live node whose children are currently
being generated is called as a E – node.
11.Define a dead node.
Dead node is defined as a generated node, which is to be expanded further all of
whose children have been generated.
12.,What are the factors that influence the efficiency of the backtracking algorithm?
The efficiency of the backtracking algorithm depends on the following four
factors. They are:
The ti i. me needed to generate the next x k
ii. The number of x satisfying the explicit constraints. k
iii. The time for the bounding functions B
iv. The number of x satisfying the B
k
k k.
13.Define Branch-and-Bound method.
The term Branch-and-Bound refers to all the state space methods in which all
children of the E-node are generated before any other live node can become the E- node.
14.What are the searching techniques that are commonly used in Branch-and-Bound
method.
The searching techniques that are commonly used in Branch-and-Bound method
are:
i. FIFO
ii. LIFO
iii. LC
iv. Heuristic search
15.State 8 – Queens problem.
The problem is to place eight queens on a 8 x 8 chessboard so that no two queen
“attack” that is, so that no two of them are on the same row, column or on the diagonal.
16.State Sum of Subsets problem.
Given n distinct positive numbers usually called as weights , the problem calls for finding
all the combinations of these numbers whose sums are m.
17. State m – colorability decision problem.
Let G be a graph and m be a given positive integer. We want to discover whether the
nodes of G can be colored in such a way that no two adjacent nodes have the same color yet only
m colors are used.
18.Define chromatic number of the graph.
The m – colorability optimization problem asks for the smallest integer m for which the
graph G can be colored. This integer is referred to as the chromatic number of the graph.
19. Define a planar graph.
A graph is said to be planar iff it can be drawn in such a way that no two edges cross each
other.
20. What are NP- hard and Np-complete problems?
The problems whose solutions have computing times are bounded by polynomials of
small degree.
21. What is a decision problem?
Any problem for which the answer is either zero or one is called decision problem.
22. what is approximate solution?
A feasible solution with value close to the value of an optimal solution is called
approximate solution.
23. what is promising and non-promising nodes?
a node in a state space tree is said to be promising if it corresponds to a
partially constructed solution from which a complete solution can be obtained.
The nodes which are not promising for solution in a state space tree are called
non-promising nodes.
24.Write formula for bounding function in Knapsack problem
In knapsack problem upper bound value is computed by the formula
UB = v + (W-w) * (vi+1/wi+1)
25. Write about traveling salesperson problem.
Let g = (V, E) be a directed. The tour of G is a directed simple cycle that includes every vertex in V. The cost of a tour is
the sum of the cost of the edges on the tour. The traveling salesperson problem is to find a tour of minimum cost.
In branch and bound technique of TSP problem Lower bound lb= s/2
26. Write some applications of traveling salesperson problem.
-> Routing a postal van to pick up mail from boxes located at n different sites.
-> Using a robot arm to tighten the nuts on some piece of machinery on an assembly line.
-> Production environment in which several commodities are manufactured on the same set of machines.
27. Give the time complexity and space complexity of traveling salesperson problem.
Time complexity is O (n2 2n). Space complexity is O (n 2n).
28. Differentiate decision problem and optimization problem
Any problem for which the answer is either zero or one is called decision problem
Any problem that involves the identification of an optimal (maximum or minimum) value of a given cost function is
called optimization problem
29. what is class P and NP?
P is set of all decision problems solvable by deterministic algorithms in polynomial time.
NP is set of all decision problems solvable by non deterministic algorithms in polynomial time.
30. Define NP-Hard and NP-Complete problems
Problem L is NP-Hard if and only if satisfiability reduces to L.
A Problem L is NP-Complete if and only if L is NP-Hard and L belongs to NP.
n))