Weekly Contest #10 - TechXNinjas

Weekly Contest #10 - TechXNinjas

University

10 Qs

quiz-placeholder

Similar activities

C++ FILE HANDLING

C++ FILE HANDLING

University

11 Qs

Round 1 for Preplacement Bootcamp.

Round 1 for Preplacement Bootcamp.

University

15 Qs

Python Basics

Python Basics

University

15 Qs

Complejidad de algoritmos iterativos

Complejidad de algoritmos iterativos

University

10 Qs

Basic Computer Quiz

Basic Computer Quiz

University

11 Qs

Quiz 1 - Analysis of Algorithms

Quiz 1 - Analysis of Algorithms

University

5 Qs

Skill Test for the month of January 2022_DBJC_Computer Science

Skill Test for the month of January 2022_DBJC_Computer Science

University

15 Qs

Magnitude comparator

Magnitude comparator

University

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