Weekly Contest #10 - TechXNinjas

Weekly Contest #10 - TechXNinjas

University

10 Qs

quiz-placeholder

Similar activities

Analysis of Algorithms

Analysis of Algorithms

University

10 Qs

Excel If function WSC 4.2.3

Excel If function WSC 4.2.3

7th Grade - University

10 Qs

Complexity Analysis Station [3]

Complexity Analysis Station [3]

University

6 Qs

C Program Array and strings

C Program Array and strings

University

10 Qs

DAA Quiz 1

DAA Quiz 1

University

10 Qs

DS UNIT-2 TEST-2

DS UNIT-2 TEST-2

University

13 Qs

Data Structure Quiz 2

Data Structure Quiz 2

University

9 Qs

NFA, DFA Definition

NFA, DFA Definition

University

15 Qs

Weekly Contest #10 - TechXNinjas

Weekly Contest #10 - TechXNinjas

Assessment

Quiz

Computers

University

Hard

Created by

TechXNinjas undefined

Used 6+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Recursion is similar to which of the following?

Switch Case

Loop

If-else

If elif else

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does the following function do?

x + y

x + x*y

x*y

xy

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The solution of the recurrence relation T(m) = T(3m / 4) + 1 is :


θ (lg m)

θ (m)

θ (mlg m)

θ (lglg m)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does f(173) print?

010110101

010101101

10110101

10101101

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following code for the input arr[]={1,2,3,4,5,6} N=6?

0

21

7

Error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Total numbers of stars printed by this code is:

n(n+1)

n(n+1)/2

2n(n-1)

n(n-1)/2

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following code?

10

1

1 to 10

10 to 1

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?