Arrays and Control Structures

Arrays and Control Structures

Professional Development

7 Qs

quiz-placeholder

Similar activities

2022 ITEC 102 - Short Quiz 1

2022 ITEC 102 - Short Quiz 1

University - Professional Development

10 Qs

PreTrainingCollectionsArrays

PreTrainingCollectionsArrays

Professional Development

9 Qs

Email Basics

Email Basics

10th Grade - Professional Development

10 Qs

04 - Python - Lists

04 - Python - Lists

University - Professional Development

10 Qs

02 - Python - Introduction & Installation

02 - Python - Introduction & Installation

University - Professional Development

10 Qs

PDS - 04225 Chapter 11 - Part 1 - Sorting Algorithms

PDS - 04225 Chapter 11 - Part 1 - Sorting Algorithms

University - Professional Development

10 Qs

DP 203 M1

DP 203 M1

Professional Development

10 Qs

Linux+ LX0-103 Quiz B

Linux+ LX0-103 Quiz B

Professional Development

10 Qs

Arrays and Control Structures

Arrays and Control Structures

Assessment

Quiz

Computers

Professional Development

Practice Problem

Medium

Created by

Sumea Qadraku

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Çfarë bën metoda append në Python?

Heq elementin e fundit nga lista

Shton një element në fund të listës

Shton një element në fillim të listës

Heq elementin e parë nga lista

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cili nga më poshtë është mënyra e saktë për të krijuar një array ne Python?

my_list = (1, 2, 3)

my_list = {1, 2, 3}

my_list = 1, 2, 3

my_list = [1, 2, 3]

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cili nga më poshtë është përdorimi i saktë i strukturës for për të iteruar nëpër një listë?

for i in range:

for i in range(len(product_array)):

for i in [product_array]

for in in[list()]

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cili nga deklaratat më poshtë përdoret për të shtuar elemente të reja në një listë ekzistuese?

list.append()

list.insert()

list.add()

list.extend()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Çfarë është output-i i kodit të mëposhtëm?

["hello" "world"]

hello, world

["hello world"]

{"hello" , "world"}

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Çfarë do të printojë kodi i mëposhtëm?

apple
banana
cherry

apple banana cherry

[apple, banana, cherry]

"apple, banana, cherry"

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Çfarë do të printojë kodi i mëposhtëm në Python?

[0, 1, 2]

[1, 4, 9]

[0, 2, 4]

[1, 2, 3]

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?