help for C# QUESTION 1 If aNumber is declared to be of type int with a value of
ID: 3831378 • Letter: H
Question
help for C#
QUESTION 1
If aNumber is declared to be of type int with a value of 50, Console.out.WriteLine( aNumber++); displays 51.
True
False
QUESTION 2
What would be stored in answer after the following arithmetic expression involving only integers, if the sign of the dividend is negative?
int answer = -19 % -4;
3
4.75
-3
-4.75
QUESTION 3
The decimal equivalent for 3.42e-5 in scientific notation is .00342.
True
False
QUESTION 4
The value true could be stored in a variable of ____ type.
decimal
char
bool
floating point
QUESTION 5
Which of the following integral type can NOT be used to store negative values?
int
uint
sbyte
long
QUESTION 6
The bool data type can take on values of true/false or on/off.
True
False
QUESTION 7
Which of the following is a valid identifier?
amount owed by student
score#1
4thExam
finalGrade
QUESTION 8
Which of the following formats the first argument to display an amount with two digits to the right of the decimal?
{0:C}
{0:c}
{0:f2}
all of the above
QUESTION 9
With only eight bits, you can represent 28 or 256 different decimal values.
True
False
QUESTION 10
The base-2 number system is also called the binary number system.
True
False
a.3
b.4.75
c.-3
d.-4.75
Explanation / Answer
Answer:
1)
If aNumber is declared to be of type int with a value of 50, Console.out.WriteLine( aNumber++); displays 51- false
2)
answer-
c:-3
3)
The decimal equivalent for 3.42e-5 in scientific notation is .00342.- false
4)
Answer-
c .bool
5)
b.uint
6) true
7)
d.
finalGrade
8)
d.all of the above
10)
true
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.