TECHTRIX2025 BUGHUNT SET4

TECHTRIX2025 BUGHUNT SET4

University

20 Qs

quiz-placeholder

Similar activities

Logika & Algoritma Pemrograman

Logika & Algoritma Pemrograman

University

20 Qs

Together We Grow - 2

Together We Grow - 2

University

15 Qs

ambot para asa ni

ambot para asa ni

University

20 Qs

Javapie Quiz

Javapie Quiz

University

20 Qs

Zmienna losowa ciągła

Zmienna losowa ciągła

University

15 Qs

Basic Integration

Basic Integration

12th Grade - University

17 Qs

Python DAy 1 Quiz

Python DAy 1 Quiz

University

20 Qs

First Meet Sains Data 2022

First Meet Sains Data 2022

University

20 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?