Python Workshop

Python Workshop

Professional Development

10 Qs

quiz-placeholder

Similar activities

Pop Culture Trivia 2020

Pop Culture Trivia 2020

KG - Professional Development

15 Qs

Palestra Indústria 4.0 WEG

Palestra Indústria 4.0 WEG

Professional Development

11 Qs

Exoictic cars.

Exoictic cars.

5th Grade - Professional Development

10 Qs

Conocimientos en TC Copa

Conocimientos en TC Copa

Professional Development

10 Qs

Quizizz harian 17/11/2020

Quizizz harian 17/11/2020

KG - Professional Development

15 Qs

LIQUID LIQUID EXTRACTION

LIQUID LIQUID EXTRACTION

University - Professional Development

15 Qs

LATIHAN 10 ( BM PEMAHAMAN ) PENGGANDAAN

LATIHAN 10 ( BM PEMAHAMAN ) PENGGANDAAN

Professional Development

15 Qs

Soal Extra - Quiz Webinar Harling 2022 KIDECO

Soal Extra - Quiz Webinar Harling 2022 KIDECO

University - Professional Development

15 Qs

Python Workshop

Python Workshop

Assessment

Quiz

Other

Professional Development

Practice Problem

Hard

Created by

Sumit Anand

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

30 sec • 1 pt

If a=(1,2,3,4), a[1:-1] is _________

a) Error, tuple slicing doesn’t exist

b) [2,3]

c) (2,3,4)

d) (2,3)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Suppose list1 is [2, 33, 22, 24, 25], What is list1[:-1]?

a) Error

b) [2, 33, 22, 24]

c) 25

d) [25, 24, 22, 33, 2]

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What will be the output of the “hello” +10+20+30?

a) hello102030

b) hello

c) Error

d) hello60

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Python code?

>>>str1="helloworld"

>>>str1[::-1]

a) dlrowolleh

b) hello

c) world

d) helloworld

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of the following character is used to give single-line comments in Python?

a) //

b) %

c) #

d) /*

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the given code?

a) 10 20 10

b) 10

c) 20

d) 10 20

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output ?

a) Numbers 1 to 10 in reverse order

b) Numbers 1 to 11 in reverse order

c) Numbers 1 to 10

d) Numbers 1 to 11

Access all questions and much more by creating a free account

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

Already have an account?