Search Header Logo

Arrays and collection

Authored by Suchinta Das

Computers

7th Grade

Used 1+ times

Arrays and collection
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

30 sec • 3 pts

Ways of adding a new value to the end of the array


var names= ["bat man", "spider man", "hulk", "Avengers"];

names.push("aquaman")

names[names.length]="aquaman";

names.pop();

2.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

The stack uses which policy out of the following

LIFO

FIFO

FILO

NONE

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The running time of an algorithm is O(g(n)) if and only if ___

its worst case running time is O(g(n)) and best case run time is Ω(g(n))

O(g(n))= Ω(g(n))

its worst case running time is Ω(g(n)) and best case run time is O(g(n))

O(g(n)) Ո ω(g(n)) is non-empty set

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a linear data structure?

Graph

Binary Tree

Linked list

AVL Tree

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

This image is of a simple array. What is the address of the 3rd element in this array?

[2]
[5]
[3]
[0]

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Array is ___________ data type.

user defined

primary

derived

all of above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following data items may lead to variable length records when included as items in the record?

age

DOB

Gender

Previous Employer

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?