Round 2 Debug-The-Code

Round 2 Debug-The-Code

University

15 Qs

quiz-placeholder

Similar activities

1ºDAM/DAW - Entornos de Desarrollo - UD1-6 - Prof. C. Boni

1ºDAM/DAW - Entornos de Desarrollo - UD1-6 - Prof. C. Boni

University - Professional Development

20 Qs

Adobe Photoshop

Adobe Photoshop

University

10 Qs

After Effect Intoduction

After Effect Intoduction

10th Grade - University

15 Qs

Google Aptitude Test

Google Aptitude Test

KG - University

10 Qs

Memory-Mobo-Hard/Software

Memory-Mobo-Hard/Software

University

18 Qs

VR and AR in multimedia applications

VR and AR in multimedia applications

University

10 Qs

OOP 1 Undiksha

OOP 1 Undiksha

12th Grade - University

13 Qs

Jaringan Dasar

Jaringan Dasar

University

10 Qs

Round 2 Debug-The-Code

Round 2 Debug-The-Code

Assessment

Quiz

Computers

University

Hard

Created by

Aditya Singh

Used 6+ times

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

The following code is supposed to print "mello world"

s = "hello world"

s[0] = "m"

print(s)

is there an error?

Error: Cant change immutable variables

No error

Prints "hello world"

error missing semicolon

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Fill in the blank to get the 120 as output.

calc

foo

print

none of these

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What should be filled in the blank to get [3, 2, 1] as output?

<

>

<=

>=

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

The complexity of bubble sort algorithm is?

O(n)

O(log n)

O(n^2)

O(n log n)

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What should be filled in the blank to get 15 as output

length()

len()

length

size

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following lines of code contains an error in Java?

int x = 5;

double y = 3.14;

String z = "hello";

boolean w = True;

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following lines of code contains an error in Python?

A. x = 5

B. y = "hello"

C. z = [1, 2, 3]

D. w = (4, 5, 6)

Only A

Both A and B

Both A and D

None of the above

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?