What is the time complexity of searching for an element in an unordered array of n elements?

TECHTRIX2025 BUGHUNT SET4

Quiz
•
Other
•
University
•
Hard
Sarmistha Moharer
Used 1+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
O(1)
O(log n)
O(n)
O(n²)
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following Python code? x = "Hello" y = x[0] = "M" print(x)
"Mello"
"Hello"
Error
None
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following JavaScript snippet? console.log(2 + "2" - 1);
21
3
"21"
22
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which data structure follows First In First Out (FIFO) principle?
Stack
Queue
Heap
Tree
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will happen if you try to access an array index out of bounds in C?
Compilation error
Runtime error
Undefined behavior
Program terminates gracefully
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Identify the error in the following Java statement: int x = 10.5;
Syntax error
Logical error
No error
Runtime error
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following C code?
#include
11
12
10
Undefined behavior
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Java Simple - 1

Quiz
•
University
15 questions
Technoquiz..3

Quiz
•
University
25 questions
C Programming

Quiz
•
12th Grade - University
25 questions
round 2

Quiz
•
University
20 questions
CodeMavarick

Quiz
•
University
20 questions
Round 3

Quiz
•
University
20 questions
Primitive Types

Quiz
•
10th Grade - University
15 questions
Quiz Pemrograman JavaScript

Quiz
•
1st Grade - 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