Strutture

Strutture

9th Grade

26 Qs

quiz-placeholder

Similar activities

Arrays and ArrayLists in Java

Arrays and ArrayLists in Java

9th - 12th Grade

25 Qs

Синтаксис Python

Синтаксис Python

7th - 11th Grade

21 Qs

C4tW Unit 1 and 2 Review

C4tW Unit 1 and 2 Review

9th - 12th Grade

27 Qs

AP Computer Science Principles Unit 6

AP Computer Science Principles Unit 6

9th - 12th Grade

24 Qs

Python Quiz

Python Quiz

6th - 9th Grade

23 Qs

Сестрорецк 2025 Python №32 Тест

Сестрорецк 2025 Python №32 Тест

9th - 12th Grade

22 Qs

SQL_kartkowka

SQL_kartkowka

1st Grade - University

27 Qs

Strutture

Strutture

Assessment

Quiz

Computers

9th Grade

Medium

Created by

Tea Randon

Used 3+ times

FREE Resource

26 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Quale affermazione tra le seguenti è corretta?

Un array è una collezione di elementi dello stesso tipo.

Una array può contenere diversi tipi di dati.

un array memorizza solo tipi di dati int.

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Quale affermazione tra le seguenti è corretta?

Una struttura è una collezione di elementi dello stesso tipo.

Una struttura può contenere diversi tipi di dati.

una Struttura memorizza solo tipi di dati int.

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Come si dichiara un array di strutture in C++?

struct NomeStruttura array[10];

NomeStruttura array[10];

array[10] struct NomeStruttura;

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Quale dei seguenti codici si usa per creare una struttura che contiene un array:

struct Studente { char nome[50]; int eta; };

struct Studente array[5];

struct Studente array[];

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Qual è il modo corretto per accedere al secondo elemento di un array di strutture?

array[1];

array[2];

array(2);

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Come si dichiara una matrice di interi 3×3 in C++?

int matrice[3,3];

int matrice[3][3];

matrix<int,3,3> matrice;

int matrice{3,3};

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Quale delle seguenti operazioni su un array di interi vett[] è errata?

vett[0] = 10;

cout << vett[4];

cin >> vett[100]; (sapendo che l'array ha 10 elementi)

vett[vett[0]] = 5;

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?