Debugging CSE1021

Debugging CSE1021

University

10 Qs

quiz-placeholder

Similar activities

Python Basics

Python Basics

12th Grade - University

10 Qs

CIS30A Quiz 1 Review Game

CIS30A Quiz 1 Review Game

University

14 Qs

Java Arrays

Java Arrays

University

10 Qs

Python List

Python List

University

10 Qs

Strings y listas en Python

Strings y listas en Python

University

10 Qs

Weekly Contest #6 - TechXNinjas

Weekly Contest #6 - TechXNinjas

University

10 Qs

Python Beginners

Python Beginners

University

13 Qs

Python quiz

Python quiz

University - Professional Development

10 Qs

Debugging CSE1021

Debugging CSE1021

Assessment

Quiz

Computers

University

Hard

Created by

Murugeswari.k Murugeswari.k

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

for i in range(2):

print (i)

for i in range(4,6):

print (i)

0 1 4 5

0 5 4 1

0 1 5 4

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

a = 4.5

b = 2

print (a//b)

2.5

4.5

2.0

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

a = True

b = False

c = False

if a or b and c:

print ("GOD")

else:

print ("god")

"god"

"GOD"

GOD

god

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

a = "GOOD "

b = 13

print (a + b)

GOOD

13

An error is shown.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

def gfgFunction():

"Geeksforgeeks is cool website for boosting up technical skills"

return 1

print (gfgFunction.__doc__[17:21])

cool

webs

boos

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

var1 = 'Hello Geeks!'

var2 = "GeeksforGeeks"

print "var1[0]: ", var1[0] # statement 1

print "var2[1:5]: ", var2[1:5] # statement 2

var1[0]: H

var2[1:5]: eeks

var1[0]: He

var2[1:5]: Geeks

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

mylist = ['geeks', 'forgeeks']

for i in mylist:

i.upper()

print(mylist)

  1. [‘GEEKS’, ‘FORGEEKS’]

  1. [‘geeks’, ‘forgeeks’]

  1. Unexpected

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?