what is the time complexity of binary search in sorted array

Flashcardzle

Flashcard
•
Other
•
University
•
Hard
Quizizz Content
FREE Resource
Student preview

25 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
O(logn)
2.
FLASHCARD QUESTION
Front
Which of the following is a volatile memory? Hard Disk, ROM, RAM, SSD
Back
RAM
3.
FLASHCARD QUESTION
Front
Which data structure uses the LIFO (Last In, First Out) principle? Options: Queue, Stack, Array, Linked List
Back
Stack
4.
FLASHCARD QUESTION
Front
A train 300 meters long is running at a speed of 90 km/hr. How long will it take to cross a pole?
Back
12s
5.
FLASHCARD QUESTION
Front
What will be the output of the following C++ code?
#include <iostream>
using namespace std;
int main() {
int x = 5;
cout << x++ * ++x;
return 0;
}
Back
30
6.
FLASHCARD QUESTION
Front
A shopkeeper sells an article at a 20% profit. If the cost price is ₹500, what is the selling price?
Back
₹600
7.
FLASHCARD QUESTION
Front
Which sorting algorithm has the worst-case time complexity of O(n^2) ?
Back
Bubble Sort
Create a free account and access millions of resources
Similar Resources on Quizizz
13 questions
Arrays

Flashcard
•
University
23 questions
Beginning C Programming

Flashcard
•
University
17 questions
CS2110 Flashcard 4 Review

Flashcard
•
University
24 questions
PSUEDOCODE 2 CAPGEMINI

Flashcard
•
Professional Development
27 questions
Repaso Fundamentos con C++

Flashcard
•
Professional Development
17 questions
Java-Flashcard for Boyz

Flashcard
•
University
18 questions
JavaScript Variables, Data Types, and Operators Flashcard

Flashcard
•
University
15 questions
MANI

Flashcard
•
KG - University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade