Demo Quiz Ashv

Demo Quiz Ashv

Professional Development

7 Qs

quiz-placeholder

Similar activities

Topic Quiz-1 : Python Basics

Topic Quiz-1 : Python Basics

Professional Development

10 Qs

Pyflask2020

Pyflask2020

KG - Professional Development

10 Qs

PythonTest

PythonTest

6th Grade - Professional Development

11 Qs

CSE-C1-Quiz-8-25-11-2022

CSE-C1-Quiz-8-25-11-2022

Professional Development

8 Qs

PYTHON QUIZ3

PYTHON QUIZ3

University - Professional Development

10 Qs

C++ String, LinkedList

C++ String, LinkedList

University - Professional Development

10 Qs

Function and Conditional in Python

Function and Conditional in Python

Professional Development

10 Qs

Sequences

Sequences

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