Search Header Logo

G11 CAI P2

Authored by Fedaa Al Azzeh

Computers

11th Grade

Used 1+ times

G11 CAI P2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

In an array, the index of the first element is ___________

2.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

The ___ Array object property gives us the count of items in an Array.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is returned by values[5]?

2

12

6

8

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ar nums ={2, 3, 5, 8, 9, 11};

How would you access the second element in nums

num(2)

num[2]

num(1)

num[1]

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The total number of elements in the array is called...............

index

length

subscript

memory

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the array after executing this line ?

names[1] = "Sarah";

Media Image
Media Image
Media Image

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Given the following method, what would test return if
a = {0, 2, 3, 4} and v = 3?

0
1
2
-1

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?