Data Structures

Data Structures

12th Grade

10 Qs

quiz-placeholder

Similar activities

Tin 12_Trắc nghiệm_Bai2

Tin 12_Trắc nghiệm_Bai2

12th Grade

15 Qs

Ôn tập bài 3: Giới thiệu về Microsoft Acces

Ôn tập bài 3: Giới thiệu về Microsoft Acces

12th Grade

15 Qs

TRẮC NGHIỆM TIN 12 KỲ II

TRẮC NGHIỆM TIN 12 KỲ II

10th - 12th Grade

10 Qs

Hệ Điều Hành Của Máy Tính

Hệ Điều Hành Của Máy Tính

10th Grade - University

10 Qs

HTML

HTML

12th Grade

10 Qs

KTTX Tin 9-HKII

KTTX Tin 9-HKII

9th - 12th Grade

10 Qs

3rd week g9 summative

3rd week g9 summative

7th - 12th Grade

15 Qs

U26 Q7 - CIDR

U26 Q7 - CIDR

KG - University

12 Qs

Data Structures

Data Structures

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Joshua Donato

Used 35+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of these inserts elements into a Queue? Select all that apply.

push()

offer()

add()

insert()

2.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of these inserts elements into a Stack? Select all that apply.

push()

offer()

add()

insert()

3.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of these inserts elements into a Deque? Select all that apply.

pushFirst()

offerFirst()

addFirst()

insertFirst()

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of these removes elements from a Queue? Select all that apply.

pop()

poll()

peek()

remove()

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of these removes elements from a Stack? Select all that apply.

pop()

poll()

peek()

remove()

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of these removes elements from a Deque? Select all that apply.

popFirst()

pollFirst()

peekFirst()

removeFirst()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Deque<Integer> d = [1,2,3].

d.offerLast(d.pollFirst());


What is the value of d?

[1,2,3]

[2,3,1]

[3,1,2]

[3,2,1]

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?

Discover more resources for Computers