1. Properties of Data Structures
ALL
We perform the following sequence of actions:
1. Insert the following elements into a set: 1, 2, 9, 1, 2, 3, 1, 4, 1, 5, Z.
2. Convert the set into a list and sort it in ascending order.
1
Which option denotes the sorted list?
2
Pick ONE option
3
{1,2,3,4,5,7,9}
4
{9, 7, 5, 4, 3, 2, 1)
5
{1, 1, 1, 1, 2, 2, 3, 4, 5, 7, 9}
6
None of the above.
answer?
Answers
SOLUTION
TO DETERMINE
A. Insert the following elements into a set: 1, 2, 9, 1, 2, 3, 1, 4, 1, 5, 7
B. Convert the set into a list and sort it in ascending order.
Which option denotes the sorted list?
1. {1,2,3,4,5,7,9}
2. {9, 7, 5, 4, 3, 2, 1)
3. {1, 1, 1, 1, 2, 2, 3, 4, 5, 7, 9}
4. None of the above.
CONCEPT TO BE IMPLEMENTED
SET :
A set is a well defined collection of distinct objects of our perception or of our thought to be conceived as a whole
Representation of Set
A set can be represented in following ways
(i) Statement form method
(ii) Roster or tabular form method
(iii) Rule or set builder form method
EVALUATION
ANSWER TO QUESTION : A
Here the given elements are
1, 2, 9, 1, 2, 3, 1, 4, 1, 5, 7
In a set we usually write the elements in ascending order or descending order where no element should be repeated
Here some of the elements are repeated and none of elements are neither in ascending order nor descending order
So the required set is
{1,2,3,4,5,7,9} or {9, 7, 5, 4, 3, 2, 1}
ANSWER TO QUESTION : B
As explanation in answer to question A we can conclude that the correct option is
1. {1,2,3,4,5,7,9}
━━━━━━━━━━━━━━━━
Learn more from Brainly :-
consider the above set A. Insert the appropriate symbol E of E/ in each of the following blank spaces (a) -3...A (b) 9...
https://brainly.in/question/28046206
2. if A ={2,3} and B= { x|x is solution of x^2 + 5x + 6= 0}
Are there A and B equal set or disjoint set?
https://brainly.in/question/21681247