Visual Studio: Review Questions Chapter 3

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

Epic Sax Guy

Quintessentially a god amongst men (born in Croatia)

Saxophone

The god's sax.

6. A __________ identifies a variable in the program code. a. binary number b. variable name c. unique global identifier d. hexadecimal value

binary number

19. A(n) __________ is an unexpected error that occurs while a program is running, causing the program to halt if the error is not properly dealt with. a. breakpoint b. bug c. syntax error d. exception

bug

3. In C#, you must __________ a variable before you can use it to store data. a. cite b. associate c. declare d. instance 188 Chapter 3 Processing Data

cite

16. C# offers a special set of operators known as __________ that are designed specifically for changing the value of a variable without having to type the variable name twice. a. combined assignment operators b. advanced math operators c. variable modifiers d. assignment sequencers

combined assignment operators

21. You have started an application by clicking the start Debugging button ( ) or by pressing % on the keyboard. If an exception is thrown, the application stops running and Visual Studio goes into a special mode known as __________. a. exception mode b. break mode c. debug mode d. crash mode

crash mode

2. A __________ is a storage location in memory that is represented by a name. a. mnemonic b. data type c. namespace d. variable

data type

20. The __________ indicates that you want the number to appear formatted in a specific way when it is returned as a string from the ToString method. a. formatting string b. insert method c. data type d. variable name

data type

17. In computer science, the term __________ typically means to analyze a string of characters for some purpose. a. compile b. compute c. debug d. parse

debug

22. Code that responds to exceptions when they are thrown and prevents the program from abruptly crashing is called a(n) __________. a. exit strategy b. fail safe c. event handler d. exception handler

fail safe

24. A __________ is a variable that is declared inside a class but not inside any method. a. term b. class variable c. field d. mnemonic

field

9. Programmers use the term __________ to describe the part of a program in which a variable may be accessed. a. range b. scope c. focus d. field

field

10. A variable's __________ is the time period during which the variable exists in memory while the program is executing. a. lifetime b. run time c. time to live d. half life

half life

26. A __________ is a field that cannot be changed by any statement in the class. a. static field b. class name c. key field d. constant field

key field

23. A __________ is a name that represents a value that cannot be changed during the program's execution. a. named literal b. named constant c. variable signature d. key term

key term

27. The .NET Framework provides a class named __________, which contains numerous methods that are useful for performing advanced mathematical operations. a. Math b. Calc c. Trig d. Linq

linq

You can use a __________ to explicitly convert a value from one numeric data type to another, even if the conversion might result in a loss of data. a. transpose statement b. cast operator c. conversion operator d. literal conversion

literal conversion

8. A __________ belongs to the method in which it is declared, and only statements inside that method can access the variable. a. method variable b. primitive variable c. temporary variable d. local variable

local var

5. Fundamental types of data, such as strings, integers, and real numbers, are known as __________. a. primitive data types b. fundamental variables c. logical digits d. literal data types

logical digits

14. A programmer's tools for performing calculations are __________. a. math operators b. numeric literals c. local variables d. parsed literals

math operators

4. A variable's __________ indicates the type of data that the variable will hold. a. name b. data type c. scope d. value

name

25. A(n) __________ specifies how a class member can be accessed by code outside the class. a. namespace b. access modifier c. scope delimiter d. class directive

namepsace

15. A __________ performs a calculation and gives a value. a. numeric literal b. math expression c. machine instruction d. programming statement

numeric literal

One way to make sure that a variable has been assigned a value is to __________ the variable with a value when you declare it. a. concatenate b. initialize c. delimit d. restrict

restrict

13. The process of dropping a number's fractional part is called __________. a. shifting b. twos complement c. numeric rounding d. truncation

shifting

29. The order in which controls receive the focus is called the __________. a. order of operations b. program flow c. execution sequence d. tab order

tab order

30. The __________ contains a numeric value, which indicates the control's position in the tab order. a. IndexOf property b. TabIndex property c. ControlOrder property d. TabOrder property

taborder property

1. When the user types into a TextBox control, the text is stored in the control's __________ property. a. Input b. Text c. String d. Data

text

28. When a control has the __________, it receives the user's keyboard input. a. text b. tab order c. focus d. input allocator

text

7. A common operation performed on strings is __________, or appending one string to the end of another string. a. addition b. merging c. concatenation d. tying

tying

18. A(n) __________ is a piece of data that is passed into a method. a. variable b. argument c. string d. literal

variable


संबंधित स्टडी सेट्स

Texes Social studies 118 NEWEST VERSION

View Set

Chapter 3: Birth and the Newborn Infant

View Set

Lecture #3 - Conditioning and Development

View Set

Central Tendency & Variability, Frequency Distributions, Hypothesis Testing, and Chi Square

View Set

Evolve Community Health Quiz #1/#2

View Set

System Analysis and Design 7 and 8

View Set