Search Header Logo

BSCS 2-2 - DAA - Midterm Examination - 2nd Sem 2022-2023

Authored by Montaigne Molejon

Instructional Technology

University

Used 4+ times

BSCS 2-2 - DAA - Midterm Examination - 2nd Sem 2022-2023
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

35 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The following functions are linear data structure, except:

Queue

Array

Tree

Stack

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following data structures are in “Last-In-First-Out” structure?

Queue

Array

Tree

Stack

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

This data structure uses pointer/s to connect nodes.

Linked List

Variable

Trees

Stack

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A function we used in inserting item/value into stack

Popping

Pop

Pushing

Push

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If we placed the following elements: “W”, “X”, “Y”, and “Z” in a stack and removed one at a time, in what order will they become?

WXYZ

ZYXW

WXZY

ZYWX

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements that best describes an Array?

Container of objects of similar types

A data structure that shows a hierarchical behavior.

Arrays are immutable once initialized

Array can do non-linear data structure

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following function is the proper way to declare multi-dimensional array in Java?

int[][]arr:

int[] arr;

int[][]arr;

int[[]] arr;

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?