Searching
CBSE · Class 12 · Computer Science
Flashcards for Searching — CBSE Class 12 Computer Science. Quick Q&A cards covering key concepts, definitions, and formulas.
Interactive on Super Tutor
Studying Searching? Get the full interactive chapter.
Quizzes, flashcards, AI doubt-solver and a step-by-step study plan — built for flashcards and more.
1,000+ Class 12 students started this chapter today

This is just one of 9+ visuals inside Super Tutor's Searching chapter
Explore the full setWhat is searching in computer science?
Answer
Searching means locating a particular element (called 'key') in a collection of elements. The search result determines whether that element is present in the collection or not. If present, it also fin…
Define Linear Search and explain its alternative names.
Answer
Linear search is the most fundamental search method where every element of a list is compared with the key one by one. It is also called sequential search or serial search because comparison is done i…
What is the time complexity of Linear Search in the best case scenario?
Answer
In the best case, Linear Search requires only 1 comparison. This happens when the key to be searched is the first element in the list. The algorithm finds the element immediately without checking othe…
What is the time complexity of Linear Search in the worst case scenario?
Answer
In the worst case, Linear Search requires n comparisons (where n is the number of elements). This happens when: 1) The key is the last element in the list, or 2) The key is not present in the list at …
Write the algorithm steps for Linear Search.
Answer
1. SET index = 0 2. WHILE index < n, REPEAT Step 3 3. IF numlist[index] = key THEN PRINT 'Element found at position', index+1 STOP ELSE index = index+1 4. PRINT 'Search unsuccessful'…
What is the main prerequisite for Binary Search?
Answer
The main prerequisite for Binary Search is that the list must be sorted (arranged in ascending or descending order). Binary search cannot work on unsorted lists because it relies on the ordering to el…
Explain the basic principle of Binary Search.
Answer
Binary Search compares the key with the middle element of a sorted list. Based on the comparison: 1) If middle = key: search successful, 2) If middle > key: search in first half, 3) If middle < key: s…
How is the middle position calculated in Binary Search?
Answer
The middle position is calculated using the formula: mid = (first + last) // 2, where first is the starting index, last is the ending index, and // is the floor division operator that gives the intege…
+12 more flashcards available
Practice AllFrequently Asked Questions
What are the important topics in Searching for CBSE Class 12 Computer Science?
How to score full marks in Searching — CBSE Class 12 Computer Science?
How many flashcards are available for Searching?
Sources & Official References
- NCERT Official — ncert.nic.in
- CBSE Academic — cbseacademic.nic.in
- CBSE Official — cbse.gov.in
- National Education Policy 2020 — education.gov.in
Content is aligned to the official syllabus. Refer to the board website for the latest curriculum.
More resources for Searching
Important Questions
Practice with board exam-style questions
Syllabus
What topics to cover
Revision Notes
Key points for last-minute revision
Study Plan
Step-by-step plan to ace this chapter
Formula Sheet
All formulas in one place
Chapter Summary
Understand the chapter at a glance
Practice Quiz
Test yourself with a quick quiz
Concept Maps
See how topics connect visually
For serious students
Get the full Searching chapter — for free.
Quizzes, flashcards, AI doubt-solver and a step-by-step study plan for CBSE Class 12 Computer Science.