Refer to CUET Computer Science MCQs Chapter 5 Sorting provided below available for download in Pdf. The MCQ Questions for UG Computer Science with answers are aligned as per the latest syllabus and exam pattern suggested by CUET, NCERT and KVS. Multiple Choice Questions for Chapter 5 Sorting are an important part of exams for UG Computer Science and if practiced properly can help you to improve your understanding and get higher marks. Refer to more Chapter-wise MCQs for CUET UG Computer Science and also download more latest study material for all subjects
MCQ for UG Computer Science Chapter 5 Sorting
UG Computer Science students should refer to the following multiple-choice questions with answers for Chapter 5 Sorting in UG.
Chapter 5 Sorting MCQ Questions UG Computer Science with Answers
Question. Which of the following is not a stable sorting algorithm?
a) Insertion sort
b) Selection sort
c) Bubble sort
d) Merge sort
Answer : B
Question. Running merge sort on an array of size n which is already sorted is
a) O(n)
b) O(nlogn)
c) O(n2)
d) None
Answer : B
Question. If the given input array is sorted or nearly sorted, which of the following algorithm gives the best performance?
a) Insertion sort
b) Selection sort
c) Quick sort
d) Merge sort
Answer : A
Question. Time complexity of bubble sort in best case is
a) θ (n)
b) θ (nlogn)
c) θ (n2)
d) θ (n(logn) 2)
Answer : A
Question. Counting sort performs …………. Numbers of comparisons between input elements.
a) 0
b) n
c) nlogn
d) n2
Answer : A
Question. Which of the following sorting algorithm is in-place
a) Counting sort
b) Radix sort
c) Bucket sort
d) None
Answer : B
Question. The lower bound on the number of comparisons performed by comparison-based sorting algorithm is
a) Ω (1)
b) Ω (n)
c) Ω (nlogn)
d) Ω (n2)
Answer : C
Question. Merge sort uses
a) Divide-and-conquer
b) Backtracking
c) Heuristic approach
d) Greedy approach
Answer : A
Question. What would be the worst case time complexity of the insertion sort algorithm, if the inputs are restricted to permutation of 1…..n with at most n inversion?
a) θ (n2)
b) θ (nlogn)
c) θ (n1.5)
d) θ (n)
Answer : D
Question. Which of the following is a stable sorting algorithm?
a) Merge sort
b) Typical in-place quick sort
c) Heap sort
d) Selection sort
Answer : A
Question. Which of the following is not a noncomparison sort?
a) Counting sort
b) Bucket sort
c) Radix sort
d) Shell sort
Answer : D
Question. Which of the following algorithm pays the least attention to the ordering of the elements in the input list?
a) Insertion sort
b) Selection sort
c) Quick sort
d) None
Answer : B
Question. Which of the following algorithms has lowest worst case time complexity?
a) Insertion sort
b) Selection sort
c) Quick sort
d) Heap sort
Answer : D
Question. The running time of radix sort on an array of n integers in the range [0……..n5 -1] when using base n representation is
a) θ (n)
b) θ (nlogn)
c) θ (n2)
d) None
Answer : A
Question. Time complexity to sort elements of binary search tree is
a) O(n)
b) O(nlogn)
c) O(n2)
d) O(n2logn)
Answer : A
Question. For merging two sorted lists of size m and n into sorted list of size m+n, we require comparisons of
a) O(m)
b) O(n)
c) O(m+n)
d) O(logm + logn)
Answer : C
Question. In a binary max heap containing n numbers, the smallest element can be found in time
a) θ (n)
b) θ (logn)
c) θ (loglogn)
d) θ (1)
Answer : A
Question. Which of the following is not an in-place sorting algorithm?
a) Selection sort
b) Heap sort
c) Quick sort
d) Merge sort
Answer : D
Question. The time complexity of heap sort in worst case is
a) O(logn)
b) O(n)
c) O(nlogn)
d) O(n2)
Answer : C
Question. Given a number of elements in the range [0….n3]. which of the following sorting algorithms can sort them in O(n) time?
a) Counting sort
b) Bucket sort
c) Radix sort
d) Quick sort
Answer : C
Question. The running time of radix sort on an array of n integers in the range [0……..n5 -1] when using base 10 representation is
a) θ (n)
b) θ (nlogn)
c) θ (n2)
d) none
Answer : B
Question. Which of the following algorithm(s) can be used to sort n integers in range [1…..n3] in O(n) time?
a) Heap sort
b) Quick sort
c) Merge sort
d) Radix sort
Answer : D
Question. A sorting technique is called stable if it
a) Takes O(nlogn) times
b) Maintains the relative order of occurrence of non-distinct elements
c) Uses divide-and-conquer paradigm
d) Takes O(n) space
Answer : B
Question. The time complexity of a quick sort algorithm which makes use of median, found by an O(n) algorithm, as pivot element is
a) O(n2)
b) O(nlogn)
c) O(nloglogn)
d) O(n)
Answer : B
Question. Which of the following sorting algorithms is/are stable
a) Counting sort
b) Bucket sort
c) Radix sort
d) All of the above
Answer : D
Question. Which of the following sorting algorithm has the running time that is least dependant on the initial ordering of the input?
a) Insertion sort
b) Quick sort
c) Merge sort
d) Selection sort
Answer : D
Question. In a heap with n elements with the smallest element at the root, the seventh smallest element can be found in time
a) θ (nlogn)
b) θ (n)
c) θ (logn)
d) θ (1)
Answer : A
Question. Consider the situation in which assignment operation is very costly. Which of the following sorting algorithm should be performed so that the number of assignment operations is minimized in general?
a) Insertion sort
b) Selection sort
c) Heap sort
d) None
Answer : B
Question. The radix sort does not work correctly if each individual digit is sorted using
a) Insertion sort
b) Counting sort
c) Selection sort
d) Bubble sort
Answer : C
Question. Which of the following algorithm design technique is used in the quick sort algorithm?
a) Dynamic programming
b) Backtracking
c) Divide-and-conquer
d) Greedy method
Answer : C
CUET Computer Science MCQs Chapter 1 Database Query using SQL |
CUET Computer Science MCQs Chapter 1 Exception and File Handling in Python |
CUET Computer Science MCQs Chapter 2 Stack |
CUET Computer Science MCQs Chapter 3 Queue |
CUET Computer Science MCQs Chapter 4 Searching |
CUET Computer Science MCQs Chapter 5 Sorting |
CUET Computer Science MCQs Chapter 6 Understanding Data |
CUET Computer Science MCQs Chapter 7 Database Concepts |
CUET Computer Science MCQs Chapter 8 Structured Query Language |
CUET Computer Science MCQs Chapter 9 Computer Networks |
MCQs for Chapter 5 Sorting Computer Science UG
Expert teachers of studiestoday have referred to NCERT book for UG Computer Science to develop the Computer Science UG MCQs. If you download MCQs with answers for the above chapter you will get higher and better marks in UG test and exams in the current year as you will be able to have stronger understanding of all concepts. Daily Multiple Choice Questions practice of Computer Science will help students to have stronger understanding of all concepts and also make them expert on all critical topics. After solving the questions given in the MCQs which have been developed as per latest books also refer to the NCERT solutions for UG Computer Science. We have also provided lot of MCQ questions for UG Computer Science so that you can solve questions relating to all topics given in each chapter. After solving these you should also refer to UG Computer Science MCQ Test for the same chapter.
You can download the CUET MCQs for UG Computer Science Chapter 5 Sorting for latest session from StudiesToday.com
Yes, the MCQs issued by CUET for UG Computer Science Chapter 5 Sorting have been made available here for latest academic session
You can find CUET UG Computer Science Chapter 5 Sorting MCQs on educational websites like studiestoday.com, online tutoring platforms, and in sample question papers provided on this website.
To prepare for Chapter 5 Sorting MCQs, refer to the concepts links provided by our teachers and download sample papers for free.
Yes, there are many online resources that we have provided on studiestoday.com available such as practice worksheets, question papers, and online tests for learning MCQs for UG Computer Science Chapter 5 Sorting