TECHTRIX2025 BUGHUNT SET4

TECHTRIX2025 BUGHUNT SET4

University

20 Qs

quiz-placeholder

Similar activities

Python Quiz

Python Quiz

University

15 Qs

Tech quiz Round 1

Tech quiz Round 1

University

15 Qs

Java Booleans FQ1

Java Booleans FQ1

University

20 Qs

Technoquiz..3

Technoquiz..3

University

15 Qs

C Programming

C Programming

12th Grade - University

25 Qs

python giber

python giber

University

21 Qs

Blind coding

Blind coding

University

15 Qs

round 2

round 2

University

25 Qs

TECHTRIX2025 BUGHUNT SET4

TECHTRIX2025 BUGHUNT SET4

Assessment

Quiz

Other

University

Hard

Created by

Sarmistha Moharer

Used 1+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

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

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 int main() { int x = 5; printf("%d", x++ + ++x); return 0; }

11

12

10

Undefined behavior

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?