Exam 2: Data Types and Expressions
Exam 1: Introduction to Computing and Programming75 Questions
Exam 2: Data Types and Expressions75 Questions
Exam 3: Methods and Behaviors75 Questions
Exam 4: Creating Your Own Classes75 Questions
Exam 5: Making Decisions75 Questions
Exam 6: Repeating Instructions75 Questions
Exam 7: Arrays75 Questions
Exam 8: Advanced Collections75 Questions
Exam 9: Introduction to Windows Programming75 Questions
Exam 10: Programming Based on Events74 Questions
Exam 11: Advanced Object-Oriented Programming Features75 Questions
Exam 12: Debugging and Handling Exceptions75 Questions
Exam 13: Working with Files75 Questions
Exam 14: Working with Databases75 Questions
Exam 15: Web-Based Applications75 Questions
Select questions type
In order to do a compile-time initialization of a decimal type,it is necessary to add a d or D onto the end of the value.
(True/False)
4.8/5
(79)
The decimal value type is appropriate for storing monetary data items because it provides for greater precision.
(True/False)
4.8/5
(79)
Every time you declare a variable in the C# language,you are actually ____________ a class.
(Short Answer)
4.9/5
(79)
Which of the following is a valid compile-time initialization for amountDue,a variable of the decimal type,that will initially be set to zero?
(Multiple Choice)
4.7/5
(68)
Classes,methods,namespaces,and properties follow the Pascal case naming convention,which indicates that the first letter in the identifier is in lowercase and the first letter of each subsequent concatenated word is capitalized.
(True/False)
4.9/5
(97)
The ____________ is sometimes referred to as the remainder operator.
(Short Answer)
4.9/5
(88)
What is stored in ans as a result of the arithmetic expression,given the following declarations? int ans = 5,v1 = 2,v2 = 10,v3 = 18;
Ans += v1 + 10 * (v2-- / 5)+ v3 / v2;
(Multiple Choice)
4.9/5
(84)
Base 16,also called the octal numbering system,uses powers of sixteen.
(True/False)
4.8/5
(82)
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;
(Multiple Choice)
4.9/5
(80)
The decimal equivalent for 3.42e-5 in scientific notation is .00342.
(True/False)
4.7/5
(62)
Which of the following formats the first argument to display an amount with two digits to the right of the decimal?
(Multiple Choice)
4.7/5
(87)
One of the rules for creating a(n)____________ is to use a combination of alphabetic characters,numeric digits and the underscore character.
(Short Answer)
4.9/5
(81)
In order to place a value in memory that cannot be changed,you add the keyword ____________ to the declaration.
(Short Answer)
4.7/5
(84)
____________ are predefined reserved identifiers that have special meanings to the compiler.
(Short Answer)
4.8/5
(76)
When you think about a machine that has 60 gigabytes of hard disk space,you can store 60 million characters.
(True/False)
4.8/5
(78)
C# allows you to mix numeric integral types and floating-point types in an expression.
(True/False)
4.7/5
(75)
____________ is the universal character-encoding schema that provides a unique number for every character in many different languages.
(Short Answer)
4.8/5
(78)
Showing 41 - 60 of 75
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)