HACKATHON HUSTLE(ROUND 2)

HACKATHON HUSTLE(ROUND 2)

Professional Development

20 Qs

quiz-placeholder

Similar activities

Quiz 1 Internship

Quiz 1 Internship

Professional Development

15 Qs

GDSC quiz

GDSC quiz

Professional Development

25 Qs

C Operators

C Operators

University - Professional Development

15 Qs

Quiz 1

Quiz 1

Professional Development

20 Qs

PSUEDOCODE 2 CAPGEMINI

PSUEDOCODE 2 CAPGEMINI

Professional Development

25 Qs

C Quiz 1

C Quiz 1

Professional Development

20 Qs

Pre-Assessment- C,C++, Data Structure & SQL_10th June 24

Pre-Assessment- C,C++, Data Structure & SQL_10th June 24

Professional Development

20 Qs

SJIT ECE  PRACTICE TEST HCL @ 13/3/24

SJIT ECE PRACTICE TEST HCL @ 13/3/24

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?