Arrays in Programming

Arrays in Programming

11th Grade

50 Qs

quiz-placeholder

Similar activities

PERSONAL LETTER

PERSONAL LETTER

11th Grade

46 Qs

Ap psychology unit 2

Ap psychology unit 2

KG - Professional Development

50 Qs

SOAL PAT ONLINE TEKNIK GAMBAR MANUFAKTUR KLS XI TEK.MESIN

SOAL PAT ONLINE TEKNIK GAMBAR MANUFAKTUR KLS XI TEK.MESIN

11th Grade

45 Qs

AP Computer Science Java Programming Vocabulary /Content

AP Computer Science Java Programming Vocabulary /Content

11th Grade

45 Qs

Soal Latihan1 PAS PemDas

Soal Latihan1 PAS PemDas

9th - 12th Grade

45 Qs

Intelligence and Testing

Intelligence and Testing

9th - 12th Grade

45 Qs

EF Assessment

EF Assessment

9th - 12th Grade

48 Qs

D 0044

D 0044

11th Grade

50 Qs

Arrays in Programming

Arrays in Programming

Assessment

Quiz

Other

11th Grade

Medium

Created by

Evans Jeremiah

Used 2+ times

FREE Resource

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an array?

A single variable that holds only one value

A special function in programming

A data structure that holds multiple values of the same type

A text formatting tool

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the index of the first element in most programming languages?

0

1

-1

100

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In QBASIC, how is an array declared?

ARRAY scores(5)

NEW scores[5]

DIM scores(5)

scores = ARRAY(5)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid array name?

1array

array-name

arr_1

array@123

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you assign a value to the third element of an array named scores in QBASIC?

scores[3] = 90

scores(3) = 90

scores = 90(3)

SET scores(3) = 90

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following best describes a one-dimensional array?

A table with rows and columns

A single row of data

A list with multiple types of values

A loop

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of using arrays in programming?

To slow down programs

To reduce memory

To store multiple values efficiently

To create functions

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?