Exam 2: Using Data

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

What operator is used for exponentials in the C# programming language?

Free
(Multiple Choice)
4.9/5
(32)
Correct Answer:
Verified

D

An escape sequence is used to represent special characters such as a carriage return or a tab, and always begins with a backslash.

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

True

What method from the Convert class can be used to convert a specified value to an 8-bit unsigned integer?

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

D

What is NOT part of a variable declaration in the C# programming language?

(Multiple Choice)
4.7/5
(38)

What is a variable declaration, what is its purpose, and what does the declaration include?

(Essay)
4.9/5
(46)

What data type can be used to hold any single character, including numbers and non-printing characters?

(Multiple Choice)
4.8/5
(36)

What keyword can be used to create a named identifier for a memory location whose contents cannot change?

(Multiple Choice)
4.9/5
(36)

How is a named constant different from a variable? How would you create a named constant (and show an example)?

(Essay)
4.8/5
(36)

someValue++ is an example of the use of the prefix increment operator.

(True/False)
4.9/5
(38)

Explain how to use the C# shortcut arithmetic operators -=, *=, and /=.

(Essay)
4.9/5
(38)

What are the three floating-point data types in C#? Briefly describe the characteristics of each type.

(Essay)
4.8/5
(38)

What type of operator can be used to reduce a variable's value by 1 either at time of evaluation, or after it is evaluated, depending on placement?

(Multiple Choice)
4.7/5
(33)

How is a Boolean variable declared in a program?

(Multiple Choice)
4.9/5
(38)

What method can be used as an alternative to the Convert class methods to change a string into a number?

(Multiple Choice)
4.8/5
(34)

What is the term for a named location in computer memory that can hold different values at different points in time?

(Multiple Choice)
4.7/5
(37)

In the C# statement moneyString = someMoney.ToString("F3"), what is "F3" an example of?

(Multiple Choice)
4.9/5
(33)

What type of program specifically allows and accepts user input?

(Multiple Choice)
4.9/5
(34)

When using arithmetic operations with operands of dissimilar types, an automatic conversion of nonconforming operands to a unifying type occurs.What is this conversion process called?

(Multiple Choice)
4.9/5
(37)

What type of arithmetic operator has one argument to the left and another argument to the right of the operator?

(Multiple Choice)
4.9/5
(33)

What uses curly braces containing a number that indicates the desired position for a variable in a list that follows a string used for formatting purposes?

(Multiple Choice)
4.9/5
(42)
Showing 1 - 20 of 39
close modal

Filters

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