Quiz - Python Programming -  Rajendra

Quiz - Python Programming - Rajendra

Professional Development

10 Qs

quiz-placeholder

Similar activities

Que es acoso y como reportarlo?

Que es acoso y como reportarlo?

Professional Development

10 Qs

Emotions? Related to mental health?

Emotions? Related to mental health?

1st Grade - Professional Development

15 Qs

SCS-Day 2019 Quiz Contest

SCS-Day 2019 Quiz Contest

Professional Development

15 Qs

PRB

PRB

Professional Development

10 Qs

Заманауи аспаздық өңірдегі жаңа инновациялық бағыттар

Заманауи аспаздық өңірдегі жаңа инновациялық бағыттар

Professional Development

11 Qs

Tata Naskah Dinas Pemda

Tata Naskah Dinas Pemda

Professional Development

15 Qs

Pentecostes

Pentecostes

Professional Development

10 Qs

LATIHAN SOAL UJIAN PPPK 2024

LATIHAN SOAL UJIAN PPPK 2024

Professional Development

10 Qs

 Quiz - Python Programming -  Rajendra

Quiz - Python Programming - Rajendra

Assessment

Quiz

Other

Professional Development

Hard

Created by

Thinkwright Learning

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What will be the output of the following code :

L = ['a','b','c','d']

print "".join(L)

Error

None

abcd

[‘a’,’b’,’c’,’d’]

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Suppose list1 is [3, 4, 5, 20, 5, 25, 1, 3], what is list1 after list1.pop(1)?

[3, 4, 5, 20, 5, 25, 1, 3]

[1, 3, 3, 4, 5, 5, 20, 25]

[3, 5, 20, 5, 25, 1, 3]

[1, 3, 4, 5, 20, 5, 25]

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What will be the output of the following code :

print "Hello World"[::-1]

dlroW olleH

Hello Worl

d

Error

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Given a string s = “Welcome”, which of the following code is incorrect?

print(s[0])

print(s.lower())

s[1] = ‘r’

print(s.strip())

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the output of the following program :

print("Hello World"[::-1])

dlroW olleH

Hello Worl

d

Error

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What will be the output of the following code :

x = ['ab', 'cd']

for i in x:

    i.upper()

print(x)

['ab', 'cd']

Error

No output

None of above

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What will be the output of the following code :

for i in [1, 2, 3, 4][::-1]:

          print(i)

1 2 3 4

4 3 2 1

Error

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?