Round 1 (Tech Utsav)

Quiz
•
Computers
•
University
•
Hard
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
Similar Resources on Wayground
16 questions
Think it through

Quiz
•
University - Professi...
18 questions
JavaScript Variables, Data Types, and Operators Quiz

Quiz
•
University
17 questions
Data Structures and Algorithms Quiz

Quiz
•
University
10 questions
C++ Array

Quiz
•
University
10 questions
Java Arrays

Quiz
•
University
10 questions
DAA Quiz 1

Quiz
•
University
15 questions
Java Quiz based on array

Quiz
•
University
15 questions
Data Analytics using Python - Quiz 2

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University