Demo Quiz Ashv

Demo Quiz Ashv

Professional Development

7 Qs

quiz-placeholder

Similar activities

Pyflask2020

Pyflask2020

KG - Professional Development

10 Qs

Introduction

Introduction

Professional Development

10 Qs

Python set1

Python set1

Professional Development

10 Qs

CODE-P1

CODE-P1

Professional Development

10 Qs

PYTHON QUIZ2

PYTHON QUIZ2

University - Professional Development

10 Qs

Python8

Python8

Professional Development

12 Qs

Python Training Day-2  Quiz-2

Python Training Day-2 Quiz-2

Professional Development

10 Qs

Software Development Quiz

Software Development Quiz

6th Grade - Professional Development

10 Qs

Demo Quiz Ashv

Demo Quiz Ashv

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Jaganmohan Bondala

Used 1+ times

FREE Resource

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which of the following is a membership operator?

and

or

not

in

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What is the main feature of Java?

Platform Independent

Robust

Simple

All of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Python statement?

>>>"abcd"[2:]

a) a

b) ab

c) cd

d) dc

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To add a new element to a list we use which Python command?

a) list1.addEnd(5)

b) list1.addLast(5)

c) list1.append(5)

d) list1.add(5)

5.

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

6.

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)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a core data type in Python programming?

a) Tuples

b) Lists

c) Class

d) Dictionary