100% tevredenheidsgarantie Direct beschikbaar na je betaling Lees online óf als PDF Geen vaste maandelijkse kosten 4.2 TrustPilot
logo-home
Tentamen (uitwerkingen)

Quiz 7 C++

Beoordeling
-
Verkocht
-
Pagina's
6
Cijfer
A+
Geüpload op
26-10-2024
Geschreven in
2024/2025

Exam of 6 pages for the course C++ at C++ (Quiz 7 C++)

Instelling
C++
Vak
C++









Oeps! We kunnen je document nu niet laden. Probeer het nog eens of neem contact op met support.

Geschreven voor

Instelling
C++
Vak
C++

Documentinformatie

Geüpload op
26 oktober 2024
Aantal pagina's
6
Geschreven in
2024/2025
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

Voorbeeld van de inhoud

Quiz 7 C++GRADE A &A
Unlike regular variables, these can hold multiple values. - (correct answer)The correct
answer is: arrays



The individual values contained in array are known as ________. - (correct answer)The
correct answer is: elements



To access an array element, use the array name and the element's ________. - (correct
answer)The correct answer is: subscript



Which of the following is a valid C++ array definition? - (correct answer)The correct
answer is: int array[10];



The statement:



int grades [] = {100, 90, 99, 80};



shows an example of: - (correct answer)The correct answer is: implicit array sizing


By using the same ________ you can build relationships between data stored in two or
more arrays. - (correct answer)The correct answer is: subscript


The name of an array stores the ________ of the first array element. - (correct
answer)The correct answer is: memory address



A two-dimensional array is like ________ put together. - (correct answer)The correct
answer is: several identical arrays



A two-dimensional array can be viewed as ________ and ________. - (correct
answer)The correct answer is: rows, columns

, If you leave out the size declarator in an array definition: - (correct answer)The correct
answer is: you must furnish an initialization list



Which of the following is a valid C++ array definition? - (correct answer)The correct
answer is: int scores [10];



An element of a two-dimensional array is referred to by ________ followed by
________. - (correct answer)The correct answer is: the row subscript of the element,
the column subscript of the element



When writing functions that accept multi-dimensional arrays as arguments, ________
must be explicitly stated in the parameter list. - (correct answer)The correct answer is:
all but the first dimension



An array can store a group of values, but the values must be: - (correct answer)The
correct answer is: the same data type



An array's size declarator must be a ________ with a value greater than ________. -
(correct answer)The correct answer is: constant integer expression, zero



Subscript numbering in C++________. - (correct answer)The correct answer is: begins
with zero


Arrays may be ________ at the time they are ________. - (correct answer)The correct
answer is: initialized, declared



Given the following declaration, where is the value 77 stored in the scores array? -
(correct answer)The correct answer is: scores[2]
€8,79
Krijg toegang tot het volledige document:

100% tevredenheidsgarantie
Direct beschikbaar na je betaling
Lees online óf als PDF
Geen vaste maandelijkse kosten

Maak kennis met de verkoper
Seller avatar
douglasmugwe82
5,0
(1)

Maak kennis met de verkoper

Seller avatar
douglasmugwe82 Teachme2-tutor
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
2
Lid sinds
1 jaar
Aantal volgers
0
Documenten
4239
Laatst verkocht
2 maanden geleden
fully answered questions and answer

fully answered questions and answer

5,0

1 beoordelingen

5
1
4
0
3
0
2
0
1
0

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via Bancontact, iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo eenvoudig kan het zijn.”

Alisha Student

Veelgestelde vragen