long quiz dstru1

long quiz dstru1

University

40 Qs

quiz-placeholder

Similar activities

Information Theory №1

Information Theory №1

University

38 Qs

input devices

input devices

University

35 Qs

BCS Level 4 Software Development Methodologies

BCS Level 4 Software Development Methodologies

University

41 Qs

Basic Algorithm in C (Data type, Expression, Branching, Looping)

Basic Algorithm in C (Data type, Expression, Branching, Looping)

University

40 Qs

Topic 1 Introduction to Computer System

Topic 1 Introduction to Computer System

University

40 Qs

IP MIDTERM

IP MIDTERM

University

45 Qs

Introduction to Multimedia

Introduction to Multimedia

University

45 Qs

ข้อสอบปลายภาควิชาพื้นฐานธุรกิจดิจิทัล 1/2564

ข้อสอบปลายภาควิชาพื้นฐานธุรกิจดิจิทัล 1/2564

University

40 Qs

long quiz dstru1

long quiz dstru1

Assessment

Quiz

Computers

University

Easy

Created by

JEWEL MORALES

Used 2+ times

FREE Resource

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()

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?