Search Header Logo

Ripasso Vettori/Array in c++ 4D sia anno 25/26

Authored by Wayground Content

Computers

11th Grade

Used 23+ times

Ripasso Vettori/Array in c++  4D sia anno 25/26
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.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Con la dichiarazione del prezzo, il prezzo[1] si riferisce a

2.1

2.2

2.3

2.5

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Il valore di price.Length è 5

Vero

Falso

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Data un array dichiarato per contenere 100 valori, il più piccolo indice che può essere utilizzato con l'array è 

basato su quale indice viene utilizzato quando il primo valore è inserito nell'array

0

1

indeterminato

4.

MULTIPLE CHOICE QUESTION

30 sec • 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

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In un array, ogni elemento ha lo stesso

tipo di dato

sottoscrizione

posizione di memoria

tutte le precedenti

6.

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

7.

MULTIPLE CHOICE QUESTION

30 sec • 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

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?