long quiz dstru1

long quiz dstru1

University

•

40 Qs

quiz-placeholder

Similar activities

Programming Logic and Design - Chapter 4 - Making Decisions

Programming Logic and Design - Chapter 4 - Making Decisions

University - Professional Development

•

35 Qs

First  QUIZ of Database - Edited by: Eng. Javier Daza 2023-1

First QUIZ of Database - Edited by: Eng. Javier Daza 2023-1

University

•

40 Qs

Operating System Concepts

Operating System Concepts

University

•

37 Qs

network

network

University

•

42 Qs

SOAL ASTS KONS. KEAHLIAN - PBO 11 RPL TAHUN AJARAN 2024/2025

SOAL ASTS KONS. KEAHLIAN - PBO 11 RPL TAHUN AJARAN 2024/2025

11th Grade - University

•

40 Qs

Tree dan Graf

Tree dan Graf

University

•

40 Qs

PL101 MIDTERM Long Quiz

PL101 MIDTERM Long Quiz

University

•

35 Qs

XITKJ-2

XITKJ-2

12th Grade - University

•

40 Qs

long quiz dstru1

long quiz dstru1

Assessment

Quiz

•

Computers

•

University

•

Practice Problem

•

Easy

Created by

JEWEL MORALES

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

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

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following best describes an array?

A. Contiguous memory storing elements of the same type

B. A dynamic structure connected by pointers

C. A list where insertion and deletion follow FIFO

D. A collection with both forward and backward traversal

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method removes all elements from an array in Python?

pop()

clear()

remove()

del()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will numbers.pop(0) remove from [5, 10, 15]?

A. 5

B. 10

C. 15

D. None, it errors

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which array method returns the index of the first occurrence of a value?

find()

count()

index()

locate()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method appends multiple items to the end of a list at once?

append()

insert()

extend()

addAll()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method reverses the order of elements in an array?

reverse()

sort()

clear()

flip()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method sorts an array in ascending order by default?

order()

sort()

arrange()

sequence()

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?