BSIS 2-3- Quiz in ARRAY

BSIS 2-3- Quiz in ARRAY

University

20 Qs

quiz-placeholder

Similar activities

OCS752_CP_WEEKLY_TEST3 (20.08.2020)

OCS752_CP_WEEKLY_TEST3 (20.08.2020)

University

20 Qs

Arrays in Java

Arrays in Java

University

25 Qs

Unit-2 Test-1

Unit-2 Test-1

University

20 Qs

Java Array

Java Array

University

23 Qs

Unit-2: Assignment 2

Unit-2: Assignment 2

University

15 Qs

Linux 3-4

Linux 3-4

University

20 Qs

DSA QUIZ

DSA QUIZ

University

20 Qs

Pointers

Pointers

University

20 Qs

BSIS 2-3- Quiz in ARRAY

BSIS 2-3- Quiz in ARRAY

Assessment

Quiz

Computers

University

Medium

Created by

aristotle mayorca

Used 1+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

You can declare an array without dimensioning its size, but the size must be determined before you can reference it.
True
False

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

In C# the length of an array cannot be changed. After it is instantiated with a length, dynamic resizing is not an option. 
True
False

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image
The value of price.Length is 5
True
False

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image
With the declaration of price, price[1] refers to
2.1
2.2
2.3
2.5

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

To declare memory for 4 exam scores that range in value from 0 to 100, the following declaration could be made
int examScore = new examScore [3];
int[ ] examScore = new examScore[3];
int[ ] examScore = new examScore[4];
int examScore = new examScore[4];

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The index is also sometimes referred to as the _______ of an array.
size
variable
subscript
value

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Given an array declared to hold 100 values, the smallest index that can be use with the array is 
based on what index is used when the first value is placed in the array
0
1
undetermined

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?