Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Questions  >  Which of the following statements is true?1. ... Start Learning for Free
Which of the following statements is true?
1. As the number of entries in the hash table increases, the number of collisions increases.
2. Recursive program are efficient.
3. The worst time complexity of quick sort is O(n2).
4. Binary search implemented using a linked list is efficient
  • a)
    1 and 2
  • b)
    2 and 3
  • c)
    1 and 4
  • d)
    1 and 3
Correct answer is option 'D'. Can you explain this answer?
Verified Answer
Which of the following statements is true?1. As the number of entries ...
Recursive programs take more time than the equivalent non-recursive version and so not efficient. This is because of the function call overhead.
In binary search, since every time the current list is probed at the middle, random access is preferred. Since linked list does not support random access, binary search implemented this way is inefficient.
View all questions of this test
Most Upvoted Answer
Which of the following statements is true?1. As the number of entries ...
True Statements in Computer Science

Statement 1: As the number of entries in the hash table increases, the number of collisions increases.

This statement is true in computer science. Hash tables are used to store and retrieve data efficiently. When a hash function maps two or more keys to the same index in the hash table, it results in a collision. As the number of entries in the hash table increases, the probability of collisions also increases.

Statement 2: Recursive programs are efficient.

This statement is not always true in computer science. Recursion is a technique in which a function calls itself to solve a problem. Recursive programs can be inefficient as they require a lot of memory to maintain the call stack. However, some problems can be solved more efficiently using recursion than using an iterative approach.

Statement 3: The worst time complexity of quicksort is O(n^2).

This statement is true in computer science. Quicksort is a sorting algorithm that works by partitioning an array into two parts, sorting each part recursively, and combining the sorted parts. The worst-case time complexity of quicksort is O(n^2), which occurs when the pivot chosen is either the smallest or largest element in the array.

Statement 4: Binary search implemented using a linked list is efficient.

This statement is not true in computer science. Binary search is an algorithm that works by repeatedly dividing the search interval in half. It requires random access to elements in the array or list. Linked lists do not provide random access, so binary search implemented using a linked list is not efficient. Linear search is a better option for searching in a linked list.

Therefore, the correct answer is option 'D', which states that statements 1 and 3 are true.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Which of the following statements is true?1. As the number of entries in the hash table increases, the number of collisions increases.2. Recursive program are efficient.3. The worst time complexity of quick sort is O(n2).4. Binary search implemented using a linked list is efficienta)1 and 2b)2 and 3c)1 and 4d)1 and 3Correct answer is option 'D'. Can you explain this answer?
Question Description
Which of the following statements is true?1. As the number of entries in the hash table increases, the number of collisions increases.2. Recursive program are efficient.3. The worst time complexity of quick sort is O(n2).4. Binary search implemented using a linked list is efficienta)1 and 2b)2 and 3c)1 and 4d)1 and 3Correct answer is option 'D'. Can you explain this answer? for Computer Science Engineering (CSE) 2024 is part of Computer Science Engineering (CSE) preparation. The Question and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus. Information about Which of the following statements is true?1. As the number of entries in the hash table increases, the number of collisions increases.2. Recursive program are efficient.3. The worst time complexity of quick sort is O(n2).4. Binary search implemented using a linked list is efficienta)1 and 2b)2 and 3c)1 and 4d)1 and 3Correct answer is option 'D'. Can you explain this answer? covers all topics & solutions for Computer Science Engineering (CSE) 2024 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for Which of the following statements is true?1. As the number of entries in the hash table increases, the number of collisions increases.2. Recursive program are efficient.3. The worst time complexity of quick sort is O(n2).4. Binary search implemented using a linked list is efficienta)1 and 2b)2 and 3c)1 and 4d)1 and 3Correct answer is option 'D'. Can you explain this answer?.
Solutions for Which of the following statements is true?1. As the number of entries in the hash table increases, the number of collisions increases.2. Recursive program are efficient.3. The worst time complexity of quick sort is O(n2).4. Binary search implemented using a linked list is efficienta)1 and 2b)2 and 3c)1 and 4d)1 and 3Correct answer is option 'D'. Can you explain this answer? in English & in Hindi are available as part of our courses for Computer Science Engineering (CSE). Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free.
Here you can find the meaning of Which of the following statements is true?1. As the number of entries in the hash table increases, the number of collisions increases.2. Recursive program are efficient.3. The worst time complexity of quick sort is O(n2).4. Binary search implemented using a linked list is efficienta)1 and 2b)2 and 3c)1 and 4d)1 and 3Correct answer is option 'D'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of Which of the following statements is true?1. As the number of entries in the hash table increases, the number of collisions increases.2. Recursive program are efficient.3. The worst time complexity of quick sort is O(n2).4. Binary search implemented using a linked list is efficienta)1 and 2b)2 and 3c)1 and 4d)1 and 3Correct answer is option 'D'. Can you explain this answer?, a detailed solution for Which of the following statements is true?1. As the number of entries in the hash table increases, the number of collisions increases.2. Recursive program are efficient.3. The worst time complexity of quick sort is O(n2).4. Binary search implemented using a linked list is efficienta)1 and 2b)2 and 3c)1 and 4d)1 and 3Correct answer is option 'D'. Can you explain this answer? has been provided alongside types of Which of the following statements is true?1. As the number of entries in the hash table increases, the number of collisions increases.2. Recursive program are efficient.3. The worst time complexity of quick sort is O(n2).4. Binary search implemented using a linked list is efficienta)1 and 2b)2 and 3c)1 and 4d)1 and 3Correct answer is option 'D'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice Which of the following statements is true?1. As the number of entries in the hash table increases, the number of collisions increases.2. Recursive program are efficient.3. The worst time complexity of quick sort is O(n2).4. Binary search implemented using a linked list is efficienta)1 and 2b)2 and 3c)1 and 4d)1 and 3Correct answer is option 'D'. Can you explain this answer? tests, examples and also practice Computer Science Engineering (CSE) tests.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Explore Courses
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev