Edzy
AI TutorResourcesToolsCompareBuy
SearchDownload AppLogin
Edzy

Edzy for Classes 6-12

Edzy is a personal AI tutor for CBSE and State Board students, with curriculum-aligned guidance, practice, revision, and study plans that adapt to each learner.

  • Email: always@edzy.ai
  • Phone: +91 96256 68472
  • WhatsApp: +91 96256 68472
  • Address: Sector 63, Gurgaon, Haryana

Follow Edzy

Browse by Class

  • CBSE Class 6
  • CBSE Class 7
  • CBSE Class 8
  • CBSE Class 9
  • CBSE Class 10
  • CBSE Class 11
  • CBSE Class 12
Explore the CBSE resource hub

Explore Edzy

  • Study Resources
  • Free Study Tools
  • Best Apps for Board Exams
  • Edzy vs ChatGPT
  • About Us
  • Why We Built Edzy
  • Blog
  • CBSE AI Tutor

Support & Legal

  • Help & FAQs
  • Accessibility
  • Privacy Policy
  • Terms & Conditions
  • Refund Policy
  • Cookie Policy
  • Site Directory

© 2026 Edzy. All rights reserved.

Curriculum-aligned learning paths for students in Classes 6-12.

CBSE
Class 12
Computer Science
Computer Science
Searching

Revision Guide

Practice Hub

Revision Guide: Searching

This chapter explains various searching techniques in computer science, including linear search, binary search, and hashing, highlighting their significance in data retrieval.

Structured practice

Searching - Quick Look Revision Guide

Your 1-page summary of the most exam-relevant takeaways from Computer Science.

This compact guide covers 20 must-know concepts from Searching aligned with Class 12 preparation for Computer Science. Ideal for last-minute revision or daily review.

Revision Guide

Revision guide

Complete study summary

Essential formulas, key terms, and important concepts for quick reference and revision.

Key Points

1

Searching Definition

Searching locates a specific element in a collection to check its presence and position.

2

Linear Search Method

Compares each element sequentially with the key. Useful for small, unordered lists.

3

Linear Search Complexity

Worst-case time complexity is O(n). Every element is checked until the key is found or the list ends.

4

Linear Search Algorithm Steps

1. Start at index 0. 2. Check each element. 3. Stop if found; report 'not found' otherwise.

5

Binary Search Concept

Efficiently finds a key in a sorted list by repeatedly dividing the search interval in half.

6

Binary Search Requirements

List must be sorted. It compares the target with the middle element to narrow down the search.

7

Binary Search Algorithm Steps

1. Set first and last. 2. Calculate mid index. 3. Compare mid element with the key.

8

Binary Search Complexity

Time complexity is O(log n). Each comparison discards half the remaining elements.

9

Hashing Overview

A technique that uses a hash function to map keys to specific positions in a hash table.

10

Hashing Function Example

Commonly, h(element) = element % size(hash table). Maps element to an index for quick access.

11

Collision in Hashing

Occurs when two elements hash to the same index. Requires collision resolution strategies.

12

Perfect Hash Function

Maps unique keys to unique indices. No collisions occur, ensuring efficient searching.

13

Application of Binary Search

Used in searching dictionaries, databases, and indexing to quickly locate items.

14

Linear Search vs. Binary Search

Linear search is simple for small datasets; binary search is efficient for larger sorted datasets.

15

Key in Linear Search

The key is the element being searched. The search stops when the key is found or not present.

16

Iterative vs. Recursive Search

Binary search can be implemented both iteratively (using loops) and recursively (function calls).

17

Real-world Hashing Example

Used in database indexing, password storage, and data retrieval where speed is crucial.

18

Search Complexity Comparison

Linear search is less efficient than binary search, especially as the dataset size increases.

19

Search Algorithm Testing

Be able to evaluate your search implementation through testing with varied datasets for accuracy.

20

Sorting Necessity in Binary Search

The dataset must be sorted before applying binary search. Use sorting algorithms first.

21

Key Comparisons in Binary Search

Each comparison during the search refines the potential location of the key significantly.

Learn Better On The App
One app for the full journey

The NCERT Companion

From planning to practice to revision, keep your full study workflow in one place.

Planning to practice
Everything connected

Faster access to practice, revision, and daily study flow.

Edzy mobile app preview

Chapters related to "Searching"

Exception Handling in Python

This chapter covers the concepts of exception handling in Python, explaining how to manage and respond to errors while programming, which is crucial for creating robust applications.

Start chapter

File Handling in Python

This chapter covers file handling in Python, including how to open, read, write, and manage text and binary files. Understanding file handling is crucial for data storage and manipulation in programming.

Start chapter

Stack

This chapter discusses stacks, a linear data structure that follows the Last-In-First-Out principle. It covers operations on stacks, their implementation in Python, and their applications.

Start chapter

Queue

This chapter introduces the concept of queues, a fundamental data structure essential for managing data in a specific order.

Start chapter

Sorting

This chapter covers different sorting algorithms, including bubble sort, selection sort, and insertion sort. Understanding these concepts is essential for efficient data organization in computer science.

Start chapter

Understanding Data

This chapter covers the concepts of data, its collection, storage, processing, and the statistical techniques used to analyze data. Understanding data is essential for effective decision-making in various fields.

Start chapter

Database Concepts

This chapter focuses on the principles of database management, covering file systems, database management systems, relational models, and the importance of keys in databases.

Start chapter

Structured Query Language (SQL

This chapter introduces Structured Query Language (SQL), essential for managing databases effectively. It covers creation, manipulation, and retrieval of data in databases, highlighting its significance in computer science.

Start chapter

Computer Networks

This chapter introduces computer networks, detailing their importance and functionality in connecting devices for information exchange.

Start chapter

Data Communication

This chapter introduces the concept of data communication, its components, and various technologies involved. Understanding these concepts is crucial for effective data transfer and communication in today's digital world.

Start chapter

Worksheet Levels Explained

This drawer provides information about the different levels of worksheets available in the app.

Searching Summary, Important Questions & Solutions | All Subjects

Question Bank

Worksheet

Revision Guide