Exam 8: Arrays;Introduction to Exception Handling

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Which set of statements totals the items in each row of two-dimensional array items,and displays each total

Free
(Multiple Choice)
4.8/5
(43)
Correct Answer:
Verified

A

C# automatically performs bounds checking to ensure the program doesn't access data outside the bounds of an array.

Free
(True/False)
4.8/5
(37)
Correct Answer:
Verified

True

Arrays are data structures that may consist of data items of different types.

Free
(True/False)
4.8/5
(38)
Correct Answer:
Verified

False

Tables are often represented with rectangular arrays.

(True/False)
4.7/5
(19)

Constant variables also are called.

(Multiple Choice)
4.9/5
(27)

Arrays can hold simple types and reference types.

(True/False)
4.8/5
(42)

The foreach statement can be used only with one-dimensional arrays.

(True/False)
4.7/5
(39)

The keyword _______ overrides an existing method with the same signature.

(Multiple Choice)
4.9/5
(38)

The params modifier can be used anywhere in the method's header.

(True/False)
4.7/5
(25)

The foreach repetition statement requires that you provide an array and a variable for the purpose of:

(Multiple Choice)
4.8/5
(32)

The position number in parentheses is formally called an index.

(True/False)
4.8/5
(39)

A constant must be initialized in the same statement where it is declared and cannot be modified.

(True/False)
4.8/5
(36)

When values are provided upon declaration of an array,the new keyword is not required.

(True/False)
4.8/5
(40)

To protect the reference of an array,it should be passed to methods with key word val.

(True/False)
4.8/5
(36)

Arrays remain the same size once they're created.

(True/False)
4.7/5
(32)

Invalid possibilities for array indices include.

(Multiple Choice)
4.8/5
(31)

The number of elements in an array must be specified in brackets after the array name in the declaration.

(True/False)
4.9/5
(30)

Arrays are data structures.

(Multiple Choice)
4.8/5
(33)

The index of an array must be an integer;it cannot include variables or expres sions.

(True/False)
4.7/5
(32)

Consider the code segment below.Which of the following statements is false Int[] g; G = new int[23];

(Multiple Choice)
4.8/5
(26)
Showing 1 - 20 of 90
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)