Metadata
Technology & Computer Science Grade 9-12 Apply Medium-
Subject
Technology & Computer Science
-
Education level
Grade 9-12
-
Cognitive goals
Apply
-
Difficulty estimate
Medium
-
Tags
python, algorithms, search, binary search, linear search, complexity
-
Number of questions
5
-
Created on
-
Generation source
-
License
CC0 Public domain
-
Prompt
Assess students' ability to implement linear and binary search functions in Python, apply them to sample datasets, and interpret results: require correct handling of sorted vs. unsorted arrays, return of indices or a not-found signal, basic edge-case handling (empty arrays, duplicates), and a short comparison of correctness and operational behavior (e.g., number of comparisons or time complexity) between the two methods.
Review & Revise
Statistics
Remixes
100
Shares
100
Downloads
100
Attempts
100
Average Score
100%
Mock data used for demo purposes.