Round 1 (Tech Utsav)

Round 1 (Tech Utsav)

University

15 Qs

quiz-placeholder

Similar activities

DSA quiz

DSA quiz

University

20 Qs

Quiz on Java

Quiz on Java

University

12 Qs

Cuestionario de Fundamentos de Arrays

Cuestionario de Fundamentos de Arrays

University

10 Qs

Arrays C++

Arrays C++

University

12 Qs

Circular queue

Circular queue

University

13 Qs

Java Arrays

Java Arrays

University

10 Qs

Technical Assessment

Technical Assessment

University

20 Qs

Playing with C

Playing with C

University

20 Qs

Round 1 (Tech Utsav)

Round 1 (Tech Utsav)

Assessment

Quiz

Computers

University

Hard

Created by

SIDDHARTH 2363063

Used 1+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

def rotLeft(a, d):

d %= len(a)

return a[d:] + a[:d]

The input is:

a = [1, 2, 3, 4, 5]

d = 2

[3, 4, 5, 1, 2]

[1, 2, 3, 4, 5]

[4, 5, 1, 2, 3]

[5, 1, 2, 3, 4]

2.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

The tolerance bands: gold; silver; brown, represent:

10%, 5%, 1%

5%, 10%, 2%

5%, 10%, 1%

10%,   5%,   2%

3.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

def calculate(n):

result = [ ]

for i in range(1, n + 1):

if i % 2 == 0:

result.append(i ** 2)

else:

result.append(i ** 3)

return result

n = 5

output = calculate(n)

print(output)

Input is :

n =5

[1, 4, 9, 16, 25]

[1, 2, 3, 4, 5]

[1, 4, 27, 16, 125]

[1, 8, 27, 64, 125]

4.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

Name the three leads of a common transistor

Collector Bias Omitter

Emitter Collector Bias

Base Collector Case

Collector Base Emitter

5.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

Which of the following is a type of error associated with digital-to-analog converters (DACs)?

nonmonotonic error

incorrect output codes

offset error

nonmonotonic and offset error

6.

MULTIPLE SELECT QUESTION

5 sec • 1 pt

def is_full_of_colors(seq):

red, green, yellow, blue = 0, 0, 0, 0

for i, c in enumerate(seq):

if c == 'R': red += 1

elif c == 'G': green += 1

elif c == 'Y': yellow += 1

elif c == 'B': blue += 1

if abs(red - green) > 1 or abs(yellow - blue) > 1: return False

return red == green and yellow == blue

T = int(input())

for _ in range(T):

print(is_full_of_colors(input().strip()))

The inputs are :

T = 3

Test Cases:

1. "RGRGRB"

2. "RGBY"

3. "RRGGBB"

True

True

False

False

True

True

True

False

False

True

False

True

7.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

Guess the next number

230 460 46 92 9.2 .......

18.4

18

18.2

20.4

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?