SlideShare a Scribd company logo
1 of 3
Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :
“ help.mbaassignments@gmail.com ”
or
Call us at : 08263069601
ASSIGNMENT
PROGRAM BCA(REVISED FALL 2012)
SEMESTER 2
SUBJECT CODE & NAME BCA2020 -DATA STRUCTURE AND ALGORITHM
CREDIT 4
BK ID B1640
MAX.MARKS 60
Note: Answer all questions. Kindly note that answers for 10 marks questions should be approximately
of 400 words. Each questionis followedbyevaluationscheme.
1 What do you mean by data structure operation? Briefly explain some of the operations used
frequently.
Answer: A data structure is a particular way of storing and organizing data in a computer so that it can
be used efficiently. Different kinds of data structures are suited to different kinds of applications, and
some are highly specialized to specific tasks. For example, B-trees are particularly well-suited for
implementation of databases, while compiler implementations usually use hash tables to look up
identifiers.
Data structures are used in almost every program or software system. Specific data structures are
essential ingredients of many efficient algorithms, and make possible the management of huge amounts
of data,such as large databasesandinternet
2 BrieflyexplainInsertionAlgorithms.
Answer: Insertion sort is a simple sorting algorithm that builds the final sorted array (or list) one item at
a time. It is much less efficient on large lists than more advanced algorithms such as quicksort, heapsort,
or merge sort.However,insertionsortprovidesseveral advantages:
Simple implementation:Bentleyshowsathree-line Cversion,andafive-line optimizedversion.
Efficientfor(quite) small datasets
More efficient in practice than most other simple quadratic algorithms such as selection sort or bubble
sort
3 What isqueue?Brieflyexplainarray implementationofqueue.
Answer: A queue is a particular kind of abstract data type or collection in which the entities in the
collection are kept in order and the principal (or only) operations on the collection are the addition of
entities to the rear terminal position, known as enqueue, and removal of entities from the front
terminal position, known as dequeue. This makes the queue a First-In-First-Out (FIFO) data structure.
Queues provide services in computer science, transport, and operations research where various entities
such as data, objects, persons, or events are stored and held to be processed later. In these contexts,
the queue performsthe functionof abuffer.
4 Write a short note on: NP-CompletenessandOptimizationversusdecisionproblems.
Answer: NP-Completeness: NP-completeness is a form of bad news: evidence that many important
problemscan'tbe solvedquickly.
These NP-complete problems really come up all the time. Knowing they're hard lets you stop beating
your headagainsta wall tryingtosolve them, anddo somethingbetter:
 Use a heuristic. If you can't quickly solve the problem with a good worst case time, maybe you
can come upwitha methodforsolvinga reasonable fractionof the commoncases.
 Solve the problem approximately instead of exactly. A lot of the time it is possible to come up
with a provably fast algorithm, that doesn't solve the problem exactly but comes up with a
solutionyoucanprove is close toright.
5 Write the Algorithm to findthe maximum and minimumitemsin a setof ‘n’ element.
Answer:
1. AlgorithmMaxMin(i,j,max,min)
2. // a[1:n] isa global array Parameteri and j are integers,
3. // 1 „T i „T j < n. The effectisto setmax andminto the
4. // largestand smallestvaluesina[i,j],respectively.
5. {
6. if (i=j) thenmax:=min:=a[i];//small(P)
7. else if (i = j ¡V 1) then//Anothercase of Small (P)
8. {
9. if a [i] < a[j] then
10. {
11. max:=a[j];min:=a[i];
12. }
13. else
14. {
15. max:=a[i];min:=a[j]
6 BrieflyexplainGreedyMethodStrategy.
Answer: The greedy method is a strategy to solve some optimization problems. Let us suppose that we
can solve a problem by a sequence of decisions. The greedy method employs the following approach: In
each stage, our decision is a locally optimal one. For some problem, as we shall see, these locally optimal
solutionswillfinallyadduptoa globallyoptimal solution.
Let us now describe the spirit of greedy method by an example. Consider the case where we are given a
set of n numbers and we are asked to pick out k numbers such that the sum of these k numbers is the
largest,amongall possible waysof pickingoutthese knumbers.
To solve this problem, one may test all possible ways of picking k numbers out of these n numbers. That
is, of course,a foolishwayof solvingthis
Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :
“ help.mbaassignments@gmail.com ”
or
Call us at : 08263069601

More Related Content

What's hot

DMDW Lesson 08 - Further Data Mining Algorithms
DMDW Lesson 08 - Further Data Mining AlgorithmsDMDW Lesson 08 - Further Data Mining Algorithms
DMDW Lesson 08 - Further Data Mining AlgorithmsJohannes Hoppe
 
introduction to Data Structure and classification
 introduction to Data Structure and classification introduction to Data Structure and classification
introduction to Data Structure and classificationchauhankapil
 
Ch 9-1.Machine Learning: Symbol-based
Ch 9-1.Machine Learning: Symbol-basedCh 9-1.Machine Learning: Symbol-based
Ch 9-1.Machine Learning: Symbol-basedbutest
 
Mit203 analysis and design of algorithms
Mit203  analysis and design of algorithmsMit203  analysis and design of algorithms
Mit203 analysis and design of algorithmssmumbahelp
 
Data Structure and Algorithms
Data Structure and AlgorithmsData Structure and Algorithms
Data Structure and Algorithmsiqbalphy1
 
Unsupervised learning (clustering)
Unsupervised learning (clustering)Unsupervised learning (clustering)
Unsupervised learning (clustering)Pravinkumar Landge
 
Introduction of data structure
Introduction of data structureIntroduction of data structure
Introduction of data structureeShikshak
 
Data Structure
Data StructureData Structure
Data Structuresheraz1
 
Data structure lecture 1
Data structure lecture 1Data structure lecture 1
Data structure lecture 1Kumar
 
Mcq for Online Exam Soft Computing
Mcq for Online Exam Soft Computing Mcq for Online Exam Soft Computing
Mcq for Online Exam Soft Computing Shaheen Shaikh
 
Datastructures using c++
Datastructures using c++Datastructures using c++
Datastructures using c++Gopi Nath
 
Abstract data types (adt) intro to data structure part 2
Abstract data types (adt)   intro to data structure part 2Abstract data types (adt)   intro to data structure part 2
Abstract data types (adt) intro to data structure part 2Self-Employed
 
2. Linear Data Structure Using Arrays - Data Structures using C++ by Varsha P...
2. Linear Data Structure Using Arrays - Data Structures using C++ by Varsha P...2. Linear Data Structure Using Arrays - Data Structures using C++ by Varsha P...
2. Linear Data Structure Using Arrays - Data Structures using C++ by Varsha P...widespreadpromotion
 
Java - Arrays Concepts
Java - Arrays ConceptsJava - Arrays Concepts
Java - Arrays ConceptsVicter Paul
 

What's hot (20)

DMDW Lesson 08 - Further Data Mining Algorithms
DMDW Lesson 08 - Further Data Mining AlgorithmsDMDW Lesson 08 - Further Data Mining Algorithms
DMDW Lesson 08 - Further Data Mining Algorithms
 
introduction to Data Structure and classification
 introduction to Data Structure and classification introduction to Data Structure and classification
introduction to Data Structure and classification
 
Ai inductive bias and knowledge
Ai inductive bias and knowledgeAi inductive bias and knowledge
Ai inductive bias and knowledge
 
Ch 9-1.Machine Learning: Symbol-based
Ch 9-1.Machine Learning: Symbol-basedCh 9-1.Machine Learning: Symbol-based
Ch 9-1.Machine Learning: Symbol-based
 
Mit203 analysis and design of algorithms
Mit203  analysis and design of algorithmsMit203  analysis and design of algorithms
Mit203 analysis and design of algorithms
 
Data Structure and Algorithms
Data Structure and AlgorithmsData Structure and Algorithms
Data Structure and Algorithms
 
Unsupervised learning (clustering)
Unsupervised learning (clustering)Unsupervised learning (clustering)
Unsupervised learning (clustering)
 
Introduction of data structure
Introduction of data structureIntroduction of data structure
Introduction of data structure
 
Data Structure
Data StructureData Structure
Data Structure
 
Lesson 4 stacks and queues
Lesson 4  stacks and queuesLesson 4  stacks and queues
Lesson 4 stacks and queues
 
introduction
introductionintroduction
introduction
 
Data structure lecture 1
Data structure lecture 1Data structure lecture 1
Data structure lecture 1
 
Mcq for Online Exam Soft Computing
Mcq for Online Exam Soft Computing Mcq for Online Exam Soft Computing
Mcq for Online Exam Soft Computing
 
Datastructures using c++
Datastructures using c++Datastructures using c++
Datastructures using c++
 
Abstract data types (adt) intro to data structure part 2
Abstract data types (adt)   intro to data structure part 2Abstract data types (adt)   intro to data structure part 2
Abstract data types (adt) intro to data structure part 2
 
2. Linear Data Structure Using Arrays - Data Structures using C++ by Varsha P...
2. Linear Data Structure Using Arrays - Data Structures using C++ by Varsha P...2. Linear Data Structure Using Arrays - Data Structures using C++ by Varsha P...
2. Linear Data Structure Using Arrays - Data Structures using C++ by Varsha P...
 
recursion3
recursion3recursion3
recursion3
 
Programming in C
Programming in CProgramming in C
Programming in C
 
Java - Arrays Concepts
Java - Arrays ConceptsJava - Arrays Concepts
Java - Arrays Concepts
 
Data structure
Data structureData structure
Data structure
 

Viewers also liked

Qm0010 foundation of quality management
Qm0010   foundation of quality managementQm0010   foundation of quality management
Qm0010 foundation of quality managementsmumbahelp
 
Bba401 e-commerce
Bba401  e-commerceBba401  e-commerce
Bba401 e-commercesmumbahelp
 
Reliable lake dew residency
Reliable lake dew residencyReliable lake dew residency
Reliable lake dew residencyD K Associates
 
PORTAFOLIO DE SERVICIOS FUNDAMENTALES
PORTAFOLIO DE SERVICIOS FUNDAMENTALESPORTAFOLIO DE SERVICIOS FUNDAMENTALES
PORTAFOLIO DE SERVICIOS FUNDAMENTALESMarta Sánchez Ortega
 
TQM 4th SEMESTER WINTER 2013 SOLVED ASSIGNMENTS
TQM 4th SEMESTER WINTER 2013 SOLVED ASSIGNMENTSTQM 4th SEMESTER WINTER 2013 SOLVED ASSIGNMENTS
TQM 4th SEMESTER WINTER 2013 SOLVED ASSIGNMENTSsmumbahelp
 
Klöckner & Co - Ergebnisse 1. Quartal 2012
Klöckner & Co - Ergebnisse 1. Quartal 2012Klöckner & Co - Ergebnisse 1. Quartal 2012
Klöckner & Co - Ergebnisse 1. Quartal 2012Klöckner & Co SE
 
O por do_sol_e_o_bolero-wildes
O por do_sol_e_o_bolero-wildesO por do_sol_e_o_bolero-wildes
O por do_sol_e_o_bolero-wildesRoseane Ribeiro
 
Qm0012 statistical process control and process capability
Qm0012  statistical process control and process capabilityQm0012  statistical process control and process capability
Qm0012 statistical process control and process capabilitysmumbahelp
 
Mb0038 management process and organizational behaviour
Mb0038   management process and organizational behaviourMb0038   management process and organizational behaviour
Mb0038 management process and organizational behavioursmumbahelp
 
Achieving data privacy through secrecy views and null based virtual upadates
Achieving data privacy through secrecy views and null based virtual upadatesAchieving data privacy through secrecy views and null based virtual upadates
Achieving data privacy through secrecy views and null based virtual upadatesMuthu Samy
 
Ib0012 management of multinational corporations
Ib0012   management of multinational corporationsIb0012   management of multinational corporations
Ib0012 management of multinational corporationssmumbahelp
 
Oppgavegiveren: Kvalitetssikring ved dataindsamlinger til registre
Oppgavegiveren: Kvalitetssikring ved dataindsamlinger til registreOppgavegiveren: Kvalitetssikring ved dataindsamlinger til registre
Oppgavegiveren: Kvalitetssikring ved dataindsamlinger til registreNordisk statistikermøte 2013
 
Ms 09 managerial economics
Ms 09 managerial economicsMs 09 managerial economics
Ms 09 managerial economicssmumbahelp
 
Personnel management
Personnel managementPersonnel management
Personnel managementsmumbahelp
 
Plantilla con-normas-icontec (3) (1) (2)
Plantilla con-normas-icontec (3) (1) (2) Plantilla con-normas-icontec (3) (1) (2)
Plantilla con-normas-icontec (3) (1) (2) Jorge Martinez
 

Viewers also liked (19)

Qm0010 foundation of quality management
Qm0010   foundation of quality managementQm0010   foundation of quality management
Qm0010 foundation of quality management
 
Bba401 e-commerce
Bba401  e-commerceBba401  e-commerce
Bba401 e-commerce
 
Reliable lake dew residency
Reliable lake dew residencyReliable lake dew residency
Reliable lake dew residency
 
PORTAFOLIO DE SERVICIOS FUNDAMENTALES
PORTAFOLIO DE SERVICIOS FUNDAMENTALESPORTAFOLIO DE SERVICIOS FUNDAMENTALES
PORTAFOLIO DE SERVICIOS FUNDAMENTALES
 
TQM 4th SEMESTER WINTER 2013 SOLVED ASSIGNMENTS
TQM 4th SEMESTER WINTER 2013 SOLVED ASSIGNMENTSTQM 4th SEMESTER WINTER 2013 SOLVED ASSIGNMENTS
TQM 4th SEMESTER WINTER 2013 SOLVED ASSIGNMENTS
 
Klöckner & Co - Ergebnisse 1. Quartal 2012
Klöckner & Co - Ergebnisse 1. Quartal 2012Klöckner & Co - Ergebnisse 1. Quartal 2012
Klöckner & Co - Ergebnisse 1. Quartal 2012
 
Santa Cruz cómo vamos - Panel 1
Santa Cruz cómo vamos - Panel 1Santa Cruz cómo vamos - Panel 1
Santa Cruz cómo vamos - Panel 1
 
Rammeverk: Quality reviews in Statistics Norway
Rammeverk: Quality reviews in Statistics Norway Rammeverk: Quality reviews in Statistics Norway
Rammeverk: Quality reviews in Statistics Norway
 
O por do_sol_e_o_bolero-wildes
O por do_sol_e_o_bolero-wildesO por do_sol_e_o_bolero-wildes
O por do_sol_e_o_bolero-wildes
 
Qm0012 statistical process control and process capability
Qm0012  statistical process control and process capabilityQm0012  statistical process control and process capability
Qm0012 statistical process control and process capability
 
Mb0038 management process and organizational behaviour
Mb0038   management process and organizational behaviourMb0038   management process and organizational behaviour
Mb0038 management process and organizational behaviour
 
Achieving data privacy through secrecy views and null based virtual upadates
Achieving data privacy through secrecy views and null based virtual upadatesAchieving data privacy through secrecy views and null based virtual upadates
Achieving data privacy through secrecy views and null based virtual upadates
 
Discar
DiscarDiscar
Discar
 
Ib0012 management of multinational corporations
Ib0012   management of multinational corporationsIb0012   management of multinational corporations
Ib0012 management of multinational corporations
 
Fixing an iPhone
Fixing an iPhoneFixing an iPhone
Fixing an iPhone
 
Oppgavegiveren: Kvalitetssikring ved dataindsamlinger til registre
Oppgavegiveren: Kvalitetssikring ved dataindsamlinger til registreOppgavegiveren: Kvalitetssikring ved dataindsamlinger til registre
Oppgavegiveren: Kvalitetssikring ved dataindsamlinger til registre
 
Ms 09 managerial economics
Ms 09 managerial economicsMs 09 managerial economics
Ms 09 managerial economics
 
Personnel management
Personnel managementPersonnel management
Personnel management
 
Plantilla con-normas-icontec (3) (1) (2)
Plantilla con-normas-icontec (3) (1) (2) Plantilla con-normas-icontec (3) (1) (2)
Plantilla con-normas-icontec (3) (1) (2)
 

Similar to Bca2020 data structure and algorithm

CS3114_09212011.ppt
CS3114_09212011.pptCS3114_09212011.ppt
CS3114_09212011.pptArumugam90
 
Bca ii dfs u-1 introduction to data structure
Bca ii dfs u-1 introduction to data structureBca ii dfs u-1 introduction to data structure
Bca ii dfs u-1 introduction to data structureRai University
 
Lecture#1(Algorithmic Notations).ppt
Lecture#1(Algorithmic Notations).pptLecture#1(Algorithmic Notations).ppt
Lecture#1(Algorithmic Notations).pptMuhammadTalhaAwan1
 
DSA 1- Introduction.pdf
DSA 1- Introduction.pdfDSA 1- Introduction.pdf
DSA 1- Introduction.pdfAliyanAbbas1
 
Data structures cs301 power point slides lecture 01
Data structures   cs301 power point slides lecture 01Data structures   cs301 power point slides lecture 01
Data structures cs301 power point slides lecture 01shaziabibi5
 
Summer training project on Data structures and algorithms.pptx
Summer training project on Data structures and algorithms.pptxSummer training project on Data structures and algorithms.pptx
Summer training project on Data structures and algorithms.pptxlavkumar420720
 
Data structures using C
Data structures using CData structures using C
Data structures using CPdr Patnaik
 
Ds12 140715025807-phpapp02
Ds12 140715025807-phpapp02Ds12 140715025807-phpapp02
Ds12 140715025807-phpapp02Salman Qamar
 
Design and analysis of computer algorithms
Design and analysis of computer algorithmsDesign and analysis of computer algorithms
Design and analysis of computer algorithms Krishna Chaytaniah
 
Mi0034 database management system
Mi0034   database management systemMi0034   database management system
Mi0034 database management systemStudy Stuff
 
Lec 1 Ds
Lec 1 DsLec 1 Ds
Lec 1 DsQundeel
 
Lec 1 Ds
Lec 1 DsLec 1 Ds
Lec 1 DsQundeel
 
computer notes - Data Structures - 1
computer notes - Data Structures - 1computer notes - Data Structures - 1
computer notes - Data Structures - 1ecomputernotes
 
CS301-lec01.ppt
CS301-lec01.pptCS301-lec01.ppt
CS301-lec01.pptomair31
 

Similar to Bca2020 data structure and algorithm (20)

CS3114_09212011.ppt
CS3114_09212011.pptCS3114_09212011.ppt
CS3114_09212011.ppt
 
Bca ii dfs u-1 introduction to data structure
Bca ii dfs u-1 introduction to data structureBca ii dfs u-1 introduction to data structure
Bca ii dfs u-1 introduction to data structure
 
Lec1
Lec1Lec1
Lec1
 
Lec1
Lec1Lec1
Lec1
 
Lecture#1(Algorithmic Notations).ppt
Lecture#1(Algorithmic Notations).pptLecture#1(Algorithmic Notations).ppt
Lecture#1(Algorithmic Notations).ppt
 
DSA 1- Introduction.pdf
DSA 1- Introduction.pdfDSA 1- Introduction.pdf
DSA 1- Introduction.pdf
 
Data structures cs301 power point slides lecture 01
Data structures   cs301 power point slides lecture 01Data structures   cs301 power point slides lecture 01
Data structures cs301 power point slides lecture 01
 
Summer training project on Data structures and algorithms.pptx
Summer training project on Data structures and algorithms.pptxSummer training project on Data structures and algorithms.pptx
Summer training project on Data structures and algorithms.pptx
 
Data structures using C
Data structures using CData structures using C
Data structures using C
 
Ds12 140715025807-phpapp02
Ds12 140715025807-phpapp02Ds12 140715025807-phpapp02
Ds12 140715025807-phpapp02
 
Design and analysis of computer algorithms
Design and analysis of computer algorithmsDesign and analysis of computer algorithms
Design and analysis of computer algorithms
 
Lect1.pptx
Lect1.pptxLect1.pptx
Lect1.pptx
 
Mi0034 database management system
Mi0034   database management systemMi0034   database management system
Mi0034 database management system
 
Lec 1 Ds
Lec 1 DsLec 1 Ds
Lec 1 Ds
 
Lec 1 Ds
Lec 1 DsLec 1 Ds
Lec 1 Ds
 
Lec1
Lec1Lec1
Lec1
 
21AI401 AI Unit 1.pdf
21AI401 AI Unit 1.pdf21AI401 AI Unit 1.pdf
21AI401 AI Unit 1.pdf
 
computer notes - Data Structures - 1
computer notes - Data Structures - 1computer notes - Data Structures - 1
computer notes - Data Structures - 1
 
CS301-lec01.ppt
CS301-lec01.pptCS301-lec01.ppt
CS301-lec01.ppt
 
Bt0065
Bt0065Bt0065
Bt0065
 

Bca2020 data structure and algorithm

  • 1. Dear students get fully solved assignments Send your semester & Specialization name to our mail id : “ help.mbaassignments@gmail.com ” or Call us at : 08263069601 ASSIGNMENT PROGRAM BCA(REVISED FALL 2012) SEMESTER 2 SUBJECT CODE & NAME BCA2020 -DATA STRUCTURE AND ALGORITHM CREDIT 4 BK ID B1640 MAX.MARKS 60 Note: Answer all questions. Kindly note that answers for 10 marks questions should be approximately of 400 words. Each questionis followedbyevaluationscheme. 1 What do you mean by data structure operation? Briefly explain some of the operations used frequently. Answer: A data structure is a particular way of storing and organizing data in a computer so that it can be used efficiently. Different kinds of data structures are suited to different kinds of applications, and some are highly specialized to specific tasks. For example, B-trees are particularly well-suited for implementation of databases, while compiler implementations usually use hash tables to look up identifiers. Data structures are used in almost every program or software system. Specific data structures are essential ingredients of many efficient algorithms, and make possible the management of huge amounts of data,such as large databasesandinternet 2 BrieflyexplainInsertionAlgorithms. Answer: Insertion sort is a simple sorting algorithm that builds the final sorted array (or list) one item at a time. It is much less efficient on large lists than more advanced algorithms such as quicksort, heapsort, or merge sort.However,insertionsortprovidesseveral advantages: Simple implementation:Bentleyshowsathree-line Cversion,andafive-line optimizedversion.
  • 2. Efficientfor(quite) small datasets More efficient in practice than most other simple quadratic algorithms such as selection sort or bubble sort 3 What isqueue?Brieflyexplainarray implementationofqueue. Answer: A queue is a particular kind of abstract data type or collection in which the entities in the collection are kept in order and the principal (or only) operations on the collection are the addition of entities to the rear terminal position, known as enqueue, and removal of entities from the front terminal position, known as dequeue. This makes the queue a First-In-First-Out (FIFO) data structure. Queues provide services in computer science, transport, and operations research where various entities such as data, objects, persons, or events are stored and held to be processed later. In these contexts, the queue performsthe functionof abuffer. 4 Write a short note on: NP-CompletenessandOptimizationversusdecisionproblems. Answer: NP-Completeness: NP-completeness is a form of bad news: evidence that many important problemscan'tbe solvedquickly. These NP-complete problems really come up all the time. Knowing they're hard lets you stop beating your headagainsta wall tryingtosolve them, anddo somethingbetter:  Use a heuristic. If you can't quickly solve the problem with a good worst case time, maybe you can come upwitha methodforsolvinga reasonable fractionof the commoncases.  Solve the problem approximately instead of exactly. A lot of the time it is possible to come up with a provably fast algorithm, that doesn't solve the problem exactly but comes up with a solutionyoucanprove is close toright. 5 Write the Algorithm to findthe maximum and minimumitemsin a setof ‘n’ element. Answer: 1. AlgorithmMaxMin(i,j,max,min) 2. // a[1:n] isa global array Parameteri and j are integers, 3. // 1 „T i „T j < n. The effectisto setmax andminto the 4. // largestand smallestvaluesina[i,j],respectively. 5. { 6. if (i=j) thenmax:=min:=a[i];//small(P) 7. else if (i = j ¡V 1) then//Anothercase of Small (P) 8. { 9. if a [i] < a[j] then 10. {
  • 3. 11. max:=a[j];min:=a[i]; 12. } 13. else 14. { 15. max:=a[i];min:=a[j] 6 BrieflyexplainGreedyMethodStrategy. Answer: The greedy method is a strategy to solve some optimization problems. Let us suppose that we can solve a problem by a sequence of decisions. The greedy method employs the following approach: In each stage, our decision is a locally optimal one. For some problem, as we shall see, these locally optimal solutionswillfinallyadduptoa globallyoptimal solution. Let us now describe the spirit of greedy method by an example. Consider the case where we are given a set of n numbers and we are asked to pick out k numbers such that the sum of these k numbers is the largest,amongall possible waysof pickingoutthese knumbers. To solve this problem, one may test all possible ways of picking k numbers out of these n numbers. That is, of course,a foolishwayof solvingthis Dear students get fully solved assignments Send your semester & Specialization name to our mail id : “ help.mbaassignments@gmail.com ” or Call us at : 08263069601