
Flashcard sulle Struct in C
Flashcard
•
Computers
•
Vocational training
•
Hard
Wayground Content
FREE Resource
Student preview

35 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Quale concetto spiega meglio la necessità delle struct rispetto agli array in C? Gli array possono contenere solo dati omogenei, Le struct permettono di gestire dati eterogenei, Gli array sono dinamici mentre le struct sono statiche, Le struct richiedono meno memoria degli array
Back
Le struct permettono di gestire dati eterogenei
2.
FLASHCARD QUESTION
Front
Quale parola chiave viene utilizzata per definire una struttura in C?
Back
struct
3.
FLASHCARD QUESTION
Front
Considera il codice: struct data { int giorno; int mese; int anno; }; Quale istruzione stampa correttamente la data? Options: scanf("%d/%d/%d", oggi.giorno, oggi.mese, oggi.anno);, puts("%d/%d/%d", oggi.giorno, oggi.mese, oggi.anno);, printf("%d/%d/%d", oggi.giorno, oggi.mese, oggi.anno);, printf("%s/%s/%s", oggi.giorno, oggi.mese, oggi.anno);
Back
printf("%d/%d/%d", oggi.giorno, oggi.mese, oggi.anno);
4.
FLASHCARD QUESTION
Front
Quale operazione NON è consentita direttamente tra due struct? Assegnamento diretto, Passaggio per valore in una funzione, Confronto diretto con '==', Utilizzo di sizeof
Back
Confronto diretto con '=='
5.
FLASHCARD QUESTION
Front
Quale affermazione è vera riguardo all'uso di typedef con le struct?
Back
typedef permette di creare un nuovo nome per il tipo struct
6.
FLASHCARD QUESTION
Front
Quale dichiarazione definisce correttamente una struct studente e ne dichiara subito una variabile? Options: struct studente { char nome[30]; int anni; } s1;, typedef struct { char nome[30]; int anni; } studente; studente s1;, struct studente { char nome[30]; int anni; }; struct studente s1;, Tutte le risposte proposte
Back
Tutte le risposte proposte
7.
FLASHCARD QUESTION
Front
Qual è il risultato di sizeof(struct data) se contiene 3 int (4 byte ciascuno), senza padding?
Back
12 byte
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple

Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
23 questions
New grade 6th - Che tempo fa?
Flashcard
•
4th - 8th Grade
35 questions
Italian Speaking- PRACTICE
Flashcard
•
9th Grade - University
28 questions
UDP Socket Programming
Flashcard
•
University
28 questions
UDP Socket Programming
Flashcard
•
University
25 questions
Coniugazioni dei Verbi in Italiano
Flashcard
•
12th Grade
25 questions
Intro to CS Unit 3 Review
Flashcard
•
9th - 12th Grade
20 questions
Linked List
Flashcard
•
Professional Development
31 questions
Podstawowe definicje w C++
Flashcard
•
12th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade