HACKATHON HUSTLE(ROUND 2)

HACKATHON HUSTLE(ROUND 2)

Professional Development

20 Qs

quiz-placeholder

Similar activities

C++ Operators

C++ Operators

Professional Development

20 Qs

Day3

Day3

Professional Development

15 Qs

PSC Quiz1

PSC Quiz1

University - Professional Development

20 Qs

operators & loops

operators & loops

Professional Development

20 Qs

CPR_Midterm online Exam

CPR_Midterm online Exam

Professional Development

20 Qs

PythonDS

PythonDS

Professional Development

21 Qs

UC_TM02_C Programming Basics

UC_TM02_C Programming Basics

University - Professional Development

16 Qs

Technical Quiz Round 1

Technical Quiz Round 1

Professional Development

20 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

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?