Buy Guided CIS170 Week 5 Quiz Sample in C#


Buy Guided CIS170 Week 5 Quiz Sample in C Hash


1. Question : (TCO 11) An array is a list of data items that _____.

Share the same data type

are all integers

have different names

are not indexed

2. Question : (TCO 11) An array that stores five days of closing stock prices can be declared as _____.

decimal price1, price2, price3, price4, price5;

decimal [] price = new decimal[5];

decimal price[] = new decimal[5];

decimal [] price = new price[5];

3. Question : (TCO 11) Which statement is not true about this array declaration?

int [] myArray = {1,4,3,5,6};

It declares a one-dimensional array.

Its elements are indexed 0 thru 4.

It sets the element myArray[1] to 1.

It will compile.

4. Question : (TCO 11) Given the following declaration, what is/are the value(s) of initial[1,0]?

char[,] initial = { {‘C’, ‘D’, ‘E’, ‘F’},
{‘G’, ‘H’, ‘I’, ‘J’} };



‘G’ ‘C’

‘C’ ‘G’

5. Question : (TCO 11) In the following code, the “for each” statement _____.

int[] size = {2,3,5,6,4,5};
foreach (int
Val in size)
Console.Write(“{0} “,Val);

reads each element of the array

converts each array element to an integer

returns the memory address of each array element

prints the index of each array element

6. Question : (TCO 11) What will be the output of this code?

int[] size = {2,3,5,6,4,5};
foreach (int
Val in size)
Console.Write(“{0} “, Val);

2 3 5 6 4 5

5 4 6 5 3 2

6 5 5 4 3 2

2 3 4 5 5 6

7. Question : (TCO 11) When the name of an array, such as myArray, is passed to a method, the method receives _____.

a copy of the value the first element stores

the starting address of the array

the address of each array element

a copy of the array

8. Question : (TCO 11) To pass the entire data array to the DisplayItems method, replace the commented line below with _____.

static void
int[] myData = new int[4]{1,2,3,4};
//call DisplayItems
public static void DisplayItems(params
int[] item)
for (int i=0; i

Need Guide to Quiz?

Exams are a crucial part of a pupil’s training. Without examination, no pupil can develop via the ladder of success. However, college students in recent times do not have the time to attention to their studies, for the reason that they may be beaten via way of means of jobs that assist the very training they need. In their time of need, Get Exam Done is right here to provide a hand of help. For college students who’re thinking, can I pay someone to take my exam, what is the region to get it from? We were assisting college students for over 2 years with their pay-a-person to take my examination issues and feature efficaciously finished over 5000+ tests all around the states. For custom, help email us at [email protected] or WhatsApp us at +1(657)366-7486

Scott Belmont from NYC, USA
Hired a tutor to take programming class and final exam
40 minutes ago
Ebony Nicole from Bronx, USA
Hired a tutor to take history and algebra final exams
2 hours ago
Randy Wells from Texas, USA
Hired an expert to take chemistry proctored exam
1 hour ago
Kurt LeBlanc from Iowa, USA
Hired an expert to take statistics online exam
1 hour ago