Exam 2: Using Data

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

Explain why implicit numeric conversions are necessary and how C# chooses operands to convert.

(Essay)
4.8/5
(38)

What type of expression has a Boolean value as a result?

(Multiple Choice)
4.9/5
(38)

You can concatenate two strings with the plus (+) sign.

(True/False)
4.8/5
(23)

What statement regarding operator precedence is accurate?

(Multiple Choice)
4.8/5
(37)

What happens when "string1" is added to "string2" using the + sign in the C# programming language?

(Multiple Choice)
4.7/5
(44)

An assignment that is made when a variable is declared is known as what?

(Multiple Choice)
4.8/5
(37)

In C#, += adds the operand on the right to the operand on the left and assigns it to the operand on the left in one step.What is the name for this operator?

(Multiple Choice)
4.8/5
(31)

What is the purpose of the ReadLine() method? How would you use it with a variable of type string? How would you use it with a variable of type double?

(Essay)
4.7/5
(41)

The equal sign (=) is the C# assignment operator.

(True/False)
4.8/5
(42)

How can you compare strings using the Compare() method?

(Essay)
4.8/5
(35)

What is the name for a series of characters used to control the appearance of text output?

(Multiple Choice)
4.9/5
(33)

What data type can be used to hold a series of characters?

(Multiple Choice)
4.9/5
(38)

You are performing an arithmetic operation and have placed the desired result type in parentheses followed by a variable to be cast with the result.What is this an example of?

(Multiple Choice)
4.8/5
(33)

Operator precedence rules ensure that addition and subtraction always take place prior to multiplication, division, or remainder in an expression.

(True/False)
5.0/5
(41)

When running a program, an instruction to the user to enter data for the program to process is known by what term?

(Multiple Choice)
4.8/5
(44)

What are the nine integral data types in C# and how do you decide which is the most appropriate to use in a particular situation?

(Essay)
4.8/5
(38)

What type of number can be described as having varying numbers of significant digits, which contains decimal positions?

(Multiple Choice)
4.9/5
(37)

What method can be used to accept user input from the keyboard on the console?

(Multiple Choice)
4.9/5
(43)

What are the differences between the prefix increment operator and postfix increment operator?

(Essay)
4.9/5
(40)
Showing 21 - 39 of 39
close modal

Filters

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