Search Header Logo

Q2 - Python

Authored by Ronald Baldemoro

Computers

University

Used 3+ times

Q2 - 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

A ____ is created in Python by placing items inside [], separated by commas .

LIST

TUPLE

DICTIONARY

STRING

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Python it is possible to access a section of items from the list using the ____ operator : not just a single item.

SLICING

FIND

SLICE

SEPARATE

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The ____ method adds an item at the end of the list.

APPEND

ADD

INSERT

PUSH

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A ___ is created by placing all the items (elements) inside parentheses (), separated by commas.

TUPLE

LIST

SET

STRING

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose a Tuple method:

COUNT

APPEND

FIND

INSERT

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose a TUPLE method:

INDEX

REMOVE

APPEND

DEL

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In computer programming, a ___ is a sequence of characters.

STRING

LIST

TUPLE

SET

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?