Showing posts with the label Understanding Sorting

MCQ For Understanding Sorting Class 11 CS

Multiple Choice Question For Understanding Sorting Class 11 Computer Science (C…

True / False For Understanding Sorting Class 11 CS

True / False For Understanding Sorting Class 11 Computer Science (CS) 1. Bubble…

Fill In the Blanks For Understanding Sorting Class 11 CS

Fill In the Blanks For Understanding Sorting Class 11 Computer Science (CS) 1. …

Write a code that reduces number of comparisons in above code while creating sequence B.

Q. Write a code that reduces number of comparisons in above code while creating…

Write a program that inputs a sequence A of numbers and creates another sequence B

Q. Write a program that inputs a sequence A of numbers and creates another sequ…

Consider the following incorrect implementation of insertion sort that sorts a given list namely List in decreasing order.

Q. Consider the following incorrect implementation of insertion sort that sorts…

Write a program to perform sorting on a given list of strings on the basis of just the first letter of the strings.

Q. Write a program to perform sorting on a given list of strings, on the basis …

Write a program to perform insertion sort on a given list of strings.

Q. Write a program to perform insertion sort on a given list of strings. Ans…

Implement a bouncing bubble sort algorithm. In this version of bubble sort.

Q. Implement a “bouncing” bubble sort algorithm. In this version of bubble sort…

When and why would you choose insertion sort over bubble sort?

Q. When and why would you choose insertion sort over bubble sort? Answer = Inse…

What is the main difference between Bubble sort and Insertion sort techniques ?

Q. What is the main difference between Bubble sort and Insertion sort technique…

In which situations, insertion sort also becomes inefficient?

Q. In which situations, insertion sort also becomes inefficient? Answer = If th…

Why is insertion sort considered a better algorithm than bubble sort?

Q. Why is insertion sort considered a better algorithm than bubble sort? Answer…

Number of operations wise, compare bubble sort and insertion sort techniques.

Q. Number of operations wise, compare bubble sort and insertion sort techniques…

What is the basic principle of sorting in insertion sort ?

Q. What is the basic principle of sorting in insertion sort ? Answer = The basi…

On which basis can you determine if an algorithm is efficient or not?

Q. On which basis can you determine if an algorithm is efficient or not? Answer…

Why do number-of-comparisons reduce in every successive iteration in bubble sort?

Q. Why do number-of-comparisons reduce in every successive iteration in bubble …

What is the basic principle of sorting in bubble sort?

Q. What is the basic principle of sorting in bubble sort? Answer = The basic pr…

What is sorting? Name some sorting techniques.

Q. What is sorting? Name some sorting techniques. Answer = Arranging elements o…

Write a program that sorts the contents of the election dictionary and create two list that stores the sorted data.

Q. Election is a dictionary where key, value pair are in the form of name : vot…

Load More That is All