HACKATHON HUSTLE(ROUND 2)

HACKATHON HUSTLE(ROUND 2)

Professional Development

20 Qs

quiz-placeholder

Similar activities

Bosch Quiz

Bosch Quiz

Professional Development

22 Qs

day5

day5

Professional Development

21 Qs

Renewable Energy - TED-Ed

Renewable Energy - TED-Ed

10th Grade - Professional Development

20 Qs

classes & static keyword

classes & static keyword

Professional Development

22 Qs

KOMITMEN MUTU

KOMITMEN MUTU

Professional Development

20 Qs

Simulasi Level 1 - Literasi

Simulasi Level 1 - Literasi

Professional Development

20 Qs

BPI KC Day 1 New

BPI KC Day 1 New

Professional Development

20 Qs

day4

day4

Professional Development

15 Qs

HACKATHON HUSTLE(ROUND 2)

HACKATHON HUSTLE(ROUND 2)

Assessment

Quiz

Professional Development

Professional Development

Hard

Created by

Srinivasa Seelam

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What is the best way to debug a Python program?

  1. Python -m pdb Python-script.py  

By Rectifying the errors

Both 1 & 2

None

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What does "yield" keyword in python imply?

It is used to return a value from a function without terminating the function.
It is used to import a module in Python.
It is used to define a new variable in Python.
It is used to break out of a loop in Python.

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Expand PEP in python?

Python Extension Protocol

Python Error Prevention

Python Enhancement Proposal

Python Enhancement Program

4.

MULTIPLE SELECT QUESTION

45 sec • 5 pts

which of the following function can be used to generate random numbers?

random( )

randint( )

uniform( )

range( )

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which of the following sorting algorithms has the best average-case time complexity?

Merge Sort

Quick Sort

Selection Sort
Bubble Sort

6.

FILL IN THE BLANK QUESTION

1 min • 5 pts

who created python?

7.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

what is the output of the following code

def myfunc(n):

for i in range(0, n):

for j in range(0, i+1):

print(" * ",end="")

print("\r")

The output will be a horizontal line of stars.
The output will be a square pattern of stars.
The output will be a pattern of numbers.
The output will be a right-angled triangle pattern of stars.

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?