Search Header Logo

Basic python

Authored by NANDHINI T

Computers

University

Used 44+ times

Basic python
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Is Python case sensitive when dealing with identifiers?

Yes

No

Machine dependent

None of them mentioned

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following commands will create a list?

a) list1 = list()

b) list1 = []

c) list1 = list([1, 2, 3])

d) all of the mentioned

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output when we execute list(“hello”)?

a) [‘h’, ‘e’, ‘l’, ‘l’, ‘o’]

b) [‘hello’]

c) [‘llo’]

d) [‘olleh’]

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used for function?

Define

Def

Fun

Function

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Who developed the Python language?

Zim Den

Guido van Rossum

Niene Stom

Wick van Rossum

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In which year was the Python language developed?

1995

1991

1971

1989

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In which language is Python written?

C

ENGLISH

PHP

All of the above

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?

Discover more resources for Computers