Ovido
Lingua
  • Inglese
  • Spagnolo
  • Francese
  • Portoghese
  • Tedesco
  • Italiano
  • Olandese
  • Svedese
Testo
  • Maiuscole

Utente

  • Accedi
  • Crea account
  • Passa a Premium
Ovido
  • Home
  • Accedi
  • Crea account

c# chapter 8 part 1

The Queue class represents a Last In First Out (LIFO) collection of objects while the Stack collection class represents a simple FIFO (First In First Out) collection?
True or False?

False

The ____________ property can be used with multidimensional arrays to get the total number of elements in all dimensions?

Length

With C#, you are limited to 10 dimensions for multi-dimensional arrays?
True or False?

False

The string is a reference type in C#?
True or False?

True

One of the properties of the ArrayList class is ____. It Gets or sets the number of elements that the ArrayList can contain?

Capacity

In C#, you may access a two-dimensional array element using the notation [ , ] or through using a double set of braces ([ ] [ ])?
True or False?

False

The ____________ are defined to compare the contents of strings instead of comparing their addresses?

equality operators

C# uses a row major format for accessing arrays, which means that the elements are printed in rows. Every entry in the first column is printed before moving to the second column?
True or False?

False

The major requirement when working with arrays is the fact that all data values placed in an array must be of the ____________?

same base type

Console.Write("AnExample".PadLeft(20, "#") returns ____?

###########AnExample

The string class stores an immutable series of characters--meaning once you assign a string reference a value, that referenced location's value cannot be modified?
True or False?

True

The major requirement of dealing with multi-dimensional arrays is the fact that all data values placed in an array must be of the same base type?
True or False?

True

A Hashtable represents a collection of key/value pairs that are organized based on the hash code of the key?
True or False?

True

int [ , , ] anArray = new [3, 2, 7] allows ____ elements to be stored?

42

The string method that retrieves part of a string from a string argument is ____?

Substring( )

n order to determine the position of one or more characters inside a string argument, use the ____ method of the string class?

IndexOf( )

Since the string data type is a reference type, you compare addresses as opposed to comparing contents or values when you use the equality operators with two string data items?
True or False?

False

Normally you will want to use two integral values to reference individual elements in a two-dimensional array. If you use just one integral value, you get all of the values for that row?
True or False?

False

In C#, a two-dimensional array is usually visualized as a table divided into columns and rows where data is stored in contiguous memory locations by column?
True or False?

False

The GetLength( ) method can be called to return the number of rows or columns?
True or False?

True

The string type allows individual characters to be accessed using an index with [ ]?
True or False?

True

C# also includes a generic ____________ class that is very similar to the ArrayList class. The primary difference between the two classes is that objects do not have to be the same type when they are pushed on an ArrayList, unlike the other class, which requires all objects to be of the same type?

List<>

The property ____________ returns the number of dimensions of the array?

Rank

The ArrayList class requires you to add and remove elements to/from the structure using Push( ) and Pop( ) methods?
True or False?

False

With a two-dimensional array, GetLength(0) returns the number of rows and GetLength(1) returns the number of columns in the array?
True or False?

True

With a two dimensional array, when the number of columns in the rows differs, a jagged array can be created?
True or False?

True

The ArrayList class can be used to create a listlike structure that can dynamically increase or decrease in length?
True or False?

True

Which class represents a First-In-First-Out (FIFO) collection, which is useful for storing objects in the order they were received for sequential processing?

Queue

C# has two types of string literals. The @-quoted string literals are called ____?

verbatim string literal

C# is a row major language, which means you specify the column index ____________ when you reference elements in a two-dimensional array?

second

BinarySearch( ) is ____?

a method in the ArrayList class

Which of the following could be a method heading for a member method that returns a two-dimensional array?

int [ , ] DoSomething( )

string [ , ] name = new string [2, 3] {{"Alex", "Ben", "Cay"}, {"Jose", "Tyne", "Yin" }};

Looking above, what does name[0, 1] reference?

Ben

A two dimensional array is accessed much like you access cells in a spreadsheet?
True or False?

True

The ArrayList does not allow you to mix types. All elements must be of the same data type?
True or False?

False

Quiz
c# chapter 7 part 2
c# chapter 7 part 1
c# chapter 5 part 3
respiratory system
c# chapter 5 part 2
c# chapter 5 part 1
c# chapter 6 part 2
c# chapter 6 part 1
java chapter 14 part 3
java chapter 14 part 2
angie
java chapter 14 part 1
java chapter 13 part 2
java chapter 13 part 1
java chapter 12 part 2
java chapter 12 part 1
java 2 chapter 11 part 2
java 2 chapter 11 part 1
21st Reviewer
ANAT actions + trajet
UE4
UE4
UE4
Tyska glosor
Elektromagnatism begrepp
prov kapitel 1!
Avicultura
pompeo e crasso
interrogativos
concetti fondamentali del codice civile
Diritto privato
christmas memory verse.
PSP, Les Anxiolytiques
surfer girl
Kemins grunder
PR2 REVIEWER
ue3
Clara
Duits Schritt 50
UCSP REVIEWER
Ausiàs March
russo 1
Verbi
statistica
german 32
IWBRS
GW
Lengua temas 3 y 13
respiratory system
Ordi Pedia