C++ Array

C++ Array

9th - 12th Grade

28 Qs

quiz-placeholder

Similar activities

C4tW Unit 1 and 2 Review

C4tW Unit 1 and 2 Review

9th - 12th Grade

27 Qs

Quiz - Alberi e Grafi

Quiz - Alberi e Grafi

11th Grade - University

31 Qs

Riepilogo Array, Stringhe e Matrici

Riepilogo Array, Stringhe e Matrici

10th - 12th Grade

24 Qs

Arrays and ArrayLists in Java

Arrays and ArrayLists in Java

9th - 12th Grade

25 Qs

Excel

Excel

9th Grade

27 Qs

Excel

Excel

12th Grade

28 Qs

Unit 6 Arrays

Unit 6 Arrays

10th - 12th Grade

26 Qs

APCSA Unit 6

APCSA Unit 6

10th - 12th Grade

26 Qs

C++ Array

C++ Array

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Ermanno Francesco Sannini

Used 11+ times

FREE Resource

28 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Gli elementi di un array di dimensione N sono numerati

da 1 a N

da 0 a N-1

da 0 a N

da 1 a N-1

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

int a[] = {1, 2, 3, 4};

a++;

a = {2, 3, 4, 5}

a = {2, 2, 3, 4}

a={2, 3, 4, ?}

Errore di compilazione

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

int a[] = {1, 2, 3};

cout << a;

1 2 3

1, 2, 3

1

Errore di compilazione

Imprevedibile

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

int a[] = {1, 3, 2, 8};

a[3] = 5;

a = {1, 3, 5, 8}

a = {1, 3, 2, 5}

a = {1, 5, 2, 8}

Errore durante esecuzione

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

L'utilizzo dell'operatore [] su un array di N elementi permette di accedere a

qualsiasi elemento, anche con indice < 0 oppure > N-1

solo gli elementi da 0 a N-1

qualsiasi elemento con indice >= 0

qualsiasi elemento con indice < N

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Price[1] si riferisce a

2.1
2.2
2.3
2.5

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Gli elementi di un array hanno lo stesso

tipo

nome

posizionamento in memoria

tutte le precedenti

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?