Modern Software

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/101

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 8:47 PM on 10/4/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

102 Terms

1
New cards
<p></p>


B

2
New cards

A ________ holds only one data value at any given moment in time.

  • Option A

    program

  • Option B

    method

  • Option C

    variable

  • Option D

    data type


C

3
New cards

The values on the right and left sides of a math operator are called ________.

  • Option A

    factors

  • Option B

    expressions

  • Option C

    operands

  • Option D

    algorithms


C

4
New cards
term image

C

5
New cards


You can use a(n) ________ to explicitly convert a value from one numeric data type to another, even if the conversion might result in loss of data.

  • Option A

    data binding

  • Option B

    cast operator

  • Option C

    explicit operator

  • Option D

    conversion formula


B

6
New cards
term image

B

7
New cards

The ________ shows a description of an error, the name of the source code file containing the error, the error's line number and column number, and the name of the project.

  • Option A

    Crash pop-up

  • Option B

    Debug dialog box

  • Option C

    Error List window

  • Option D

    Just In Time debugger


C

8
New cards

A(n) ________ is a logical container in a program that holds methods and other program elements.

  • Option A

    queue

  • Option B

    program

  • Option C

    event

  • Option D

    class


D

9
New cards
term image

C

10
New cards


Parts of a mathematical expression may be grouped with ________ to force some operations to be performed before others.

  • Option A

    braces

  • Option B

    parentheses

  • Option C

    semicolons

  • Option D

    double quotation marks


B

11
New cards
term image

B

12
New cards
term image

A

13
New cards
term image

B

14
New cards

When a(n) ________ appears around an object in the Visual Studio Designer, it indicates that the object is selected and ready for editing.

  • Option A

    editing icon

  • Option B

    sizing handle

  • Option C

    frame

  • Option D

    bounding box


D

15
New cards
term image

D

16
New cards
term image

D

17
New cards
term image

B

18
New cards


When you call the ToString method, you can optionally pass a(n) ________ as an argument to the method to indicate that you want the number to appear formatted in a specific way when it is returned as a string.

  • Option A

    style specifier

  • Option B

    design element

  • Option C

    output value

  • Option D

    formatting string


D

19
New cards
term image

C

20
New cards
term image

A

21
New cards
term image

C

22
New cards

Appending the letter M or m to a numeric literal causes the number to be considered a ________ literal.

  • Option A

    decimal

  • Option B

    monetary

  • Option C

    double

  • Option D

    mnemonic


A

23
New cards

The ________ file contains an application's start-up code which executes when the application runs.

  • Option A

    Program.cs

  • Option B

    Main.cs

  • Option C

    Source.cs

  • Option D

    Code.cs


A

24
New cards


Fundamental types of data, such as integers and real numbers are known as ________ data types.

  • Option A

    natural

  • Option B

    primitive

  • Option C

    basic

  • Option D

    fundamental


B

25
New cards

When an operation is performed on two int values, the result will be a(n) ________.

  • Option A

    double

  • Option B

    string

  • Option C

    decimal

  • Option D

    int


D

26
New cards

When you want to display text on a form but not allow the user to change the text, you use a ________ control.

  • Option A

    String

  • Option B

    Font

  • Option C

    Text

  • Option D

    Label


D

27
New cards


In code you use a(n) ________ to store a value in a control's property.

  • Option A

    string literal

  • Option B

    assignment statement

  • Option C

    constant

  • Option D

    dialog box


B

28
New cards

The ________ dictates which operations are performed first in a mathematical expression.

  • Option A

    operator position

  • Option B

    least significant value

  • Option C

    order of operations

  • Option D

    compiler version


C

29
New cards


To convert the contents of a string to any of the numeric data types, we use a family of .NET methods known as the ________ methods.

  • Option A

    Parse

  • Option B

    ToString

  • Option C

    Itoa

  • Option D

    Convert


A

30
New cards
term image

A

31
New cards
term image

A

32
New cards
term image

B

33
New cards


The file named ________ contains code associated with a form named Form1.

  • Option A

    MainForm.cs

  • Option B

    Form1.cs

  • Option C

    Control.cs

  • Option D

    Window.cs


B

34
New cards


Controls that display text have a ________ property that allows you to change the color of the text.

  • Option A

    FontColor

  • Option B

    TextColor

  • Option C

    Color

  • Option D

    ForeColor


D

35
New cards

A ________ variable belongs to the method in which it is declared and only statements inside that method can access the variable.

  • Option A

    global

  • Option B

    limited

  • Option C

    static

  • Option D

    local


D

36
New cards


If you want your code to execute a method, write a statement known as a(n) ________.

  • Option A

    event handler

  • Option B

    executor statement

  • Option C

    initialization routine

  • Option D

    method call


D

37
New cards

The ________ window in the debugger allows you to type the debugging commands using the keyboard.

  • Option A

    watch

  • Option B

    immediate

  • Option C

    command

  • Option D

    expert


B

38
New cards


A(n) ________ is an unexpected error that occurs when a program is running, causing the program to halt if the error is not properly dealt with.

  • Option A

    bug

  • Option B

    illegal operation

  • Option C

    exception

  • Option D

    logic error


C

39
New cards


Which of the following causes the debugger to stop on a specific statement while a program is running?

  • Option A

    breakpoint

  • Option B

    stopping line

  • Option C

    line break

  • Option D

    set point


A

40
New cards


The ________ data type is used to store any number that might have a fractional part.

  • Option A

    boolean

  • Option B

    double

  • Option C

    int

  • Option D

    string


B

41
New cards


A data value (variable or constant) passed into a method is known as a(n) ________.

  • Option A

    delimiter

  • Option B

    factor

  • Option C

    argument

  • Option D

    descriptor


C

42
New cards


A(n) ________ event occurs on a control when the user clicks the mouse while an application is running.

  • Option A

    Click

  • Option B

    Action

  • Option C

    Mouse

  • Option D

    Live


A

43
New cards
term image

B

44
New cards

A(n) ________ is a method that executes when a specific event such as clicking the mouse takes place while an application is running.

  • Option A

    feature coordinator

  • Option B

    incident manager

  • Option C

    event handler

  • Option D

    action sequencer


C

45
New cards


If you do not initialize a(n) ________ field, it begins with a special value known as null.

  • Option A

    double

  • Option B

    int

  • Option C

    string

  • Option D

    decimal


C

46
New cards

A(n) ________ appears on one line in a program and begins with two forward slashes ( // ).

  • Option A

    documentation comment

  • Option B

    short comment

  • Option C

    block comment

  • Option D

    line comment


D

47
New cards


A math expression involving a double and a(n) ________ is not allowed unless a cast operator is used to convert one of the operands.

  • Option A

    int

  • Option B

    double

  • Option C

    decimal

  • Option D

    boolean


C

48
New cards

When a user types something into a TextBox control, the input is stored in the control's ________ property.

  • Option A

    Text

  • Option B

    String

  • Option C

    Input

  • Option D

    Value


A

49
New cards
term image

C

50
New cards


When an operation involves an int and a decimal, the result will be a(n) ________.

  • Option A

    string

  • Option B

    int

  • Option C

    decimal

  • Option D

    double


C

51
New cards


A ________ is an identifier for a value that cannot be modified during the program's execution.

  • Option A

    literal

  • Option B

    keyword

  • Option C

    sentinel

  • Option D

    named constant


D

52
New cards


The order in which controls receive the focus is called the ________.

  • Option A

    tab order

  • Option B

    tab index

  • Option C

    focus index

  • Option D

    order element


A

53
New cards
term image

D

54
New cards

The ________ property lets you designate a button on a form that will be clicked automatically when the user presses the Enter key.

  • Option A

    AcceptButton

  • Option B

    ConfirmButton

  • Option C

    EnterButton

  • Option D

    DefaultButton


A

55
New cards

A ________ property can be set to one of two possible values: true or false.

  • Option A

    Toggle

  • Option B

    Binary

  • Option C

    Singular

  • Option D

    Boolean


D

56
New cards

In code, you move the input focus by calling the ________ method.

  • Option A

    Selection

  • Option B

    Tab

  • Option C

    Move

  • Option D

    Focus


D

57
New cards
term image

A

58
New cards
term image

C

59
New cards

When you select an object in the Visual Studio Designer, the object's size, color, text, and other characteristics are displayed in the ________ window.

  • Option A

    Properties

  • Option B

    Designer

  • Option C

    Editing

  • Option D

    Object


A

60
New cards

A ________ is a declared block in a program between braces ( {...} ) that holds classes.

  • Option A

    method

  • Option B

    list

  • Option C

    namespace

  • Option D

    program


C

61
New cards

Each object created from a class is called a(n) ________ of the class.

  • Option A

    instance

  • Option B

    object

  • Option C

    reference

  • Option D

    field


A

62
New cards

You create a class by writing a(n) ________.

  • Option A

    class declaration

  • Option B

    code blueprint

  • Option C

    preprocessor directive

  • Option D

    object specification


A

63
New cards

The first line of a class declaration is known as the ________.

  • Option A

    class header

  • Option B

    object heading

  • Option C

    class definition

  • Option D

    data title


A

64
New cards

The process of matching a method call with the correct version of a method is known as ________.

  • Option A

    matching

  • Option B

    signing

  • Option C

    pairing

  • Option D

    binding


D

65
New cards

A class's ________ are statements that define the class's fields, properties, and methods.

  • Option A

    overall body

  • Option B

    private elements

  • Option C

    field definitions

  • Option D

    member declarations


D

66
New cards

When a ________ form is displayed, no other form in the application can receive the focus until the form is closed.

  • Option A

    static

  • Option B

    primary

  • Option C

    modeless

  • Option D

    modal


D

67
New cards

Static methods operate on ________.

  • Option A

    only on static fields

  • Option B

    the fields or properties of all instances of the class

  • Option C

    only on properties of the constructor

  • Option D

    only on static fields and static properties


D

68
New cards

Classes are ________ types.

  • Option A

    binary

  • Option B

    abstract

  • Option C

    value

  • Option D

    reference


D

69
New cards

To declare a class as abstract, you use the ________ keyword in the class header.

  • Option A

    static

  • Option B

    new

  • Option C

    void

  • Option D

    abstract


D

70
New cards

A class that is NOT abstract is sometimes called a(n) ________ class.

  • Option A

    abstract

  • Option B

    concrete

  • Option C

    derived

  • Option D

    base


B

71
New cards

To declare an interface, use the ________ keyword.

  • Option A

    static

  • Option B

    interface

  • Option C

    public 

  • Option D

    abstract


B

72
New cards

The first parameter in an extension method must be preceded by the ________ keyword.

  • Option A

    virtual

  • Option B

    this

  • Option C

    new

  • Option D

    static


B

73
New cards
<p></p>


C

74
New cards
<p></p>


B

75
New cards

Extension methods can NOTbe applied to ________.

  • Option A

    classes

  • Option B

    structs

  • Option C

    ints

  • Option D

    Extension methods can be applied to all of these.


D

76
New cards

In object-oriented programming, ________ is used to create an "is a" relationship among classes.

  • Option A

    elimination

  • Option B

    logic

  • Option C

    progression

  • Option D

    inheritance


D

77
New cards

A variable declared as a base class type can only be used to reference members declared in the ________.

  • Option A

    abstract class

  • Option B

    derived class

  • Option C

    parameterless constructor

  • Option D

    base class


D

78
New cards

A class that is NOT intended to be instantiated but is to be used only as a base class is called a(n) ________.

  • Option A

    entity class

  • Option B

    abstract class

  • Option C

    dummy class

  • Option D

    placeholder


B

79
New cards

The ________ keyword declares that a method in the derived class overrides a method in the base class.

  • Option A

    void

  • Option B

    override

  • Option C

    new

  • Option D

    virtual


B

80
New cards

The ________ keyword declares that a derived class is allowed to override the current method in the base class.

  • Option A

    override

  • Option B

    class

  • Option C

    static

  • Option D

    virtual


D

81
New cards

When a derived class method has the same name as a base class method, it is often said that the derived class method ________ the base class method.

  • Option A

    mimics

  • Option B

    shadows

  • Option C

    overrides

  • Option D

    terminates


B

82
New cards

The term ________ refers to an object's ability to take different forms.

  • Option A

    portability

  • Option B

    code reuse

  • Option C

    polymorphism

  • Option D

    adaptation


C

83
New cards

A(n) ________ is a method that is automatically executed when an object is created.

  • Option A

    executable

  • Option B

    constructor

  • Option C

    actuator

  • Option D

    loader


B

84
New cards

In object-oriented programming, the ________ is more general than classes related to it.

  • Option A

    default design

  • Option B

    base class

  • Option C

    derived class

  • Option D

    container class


B

85
New cards

Base classes are sometimes called superclasses and derived classes are sometimes called ________.

  • Option A

    planned classes

  • Option B

    subclasses

  • Option C

    copy classes

  • Option D

    derivatives


B

86
New cards

The ________ inherits fields, properties, and methods from the base class without any of them having to be rewritten.

  • Option A

    copy class

  • Option B

    derived class

  • Option C

    super instance

  • Option D

    initialized object


B

87
New cards

When one object is a specialized version of another object, there is a(n) ________.

  • Option A

    "is a" relationship

  • Option B

    "has a" relationship

  • Option C

    1:1 ratio

  • Option D

    shared interest


A

88
New cards

To access a static property, you use ________.

  • Option A

    an instance of the class

  • Option B

    the constructor

  • Option C

    the class

  • Option D

    You cannot access a static property.


C

89
New cards

If you write a class with no constructor whatsoever, the compiler provides a(n) ________.

  • Option A

    default constructor

  • Option B

    null reference variable

  • Option C

    void constructor

  • Option D

    error message


A

90
New cards

When you add additional forms to a project, you add additional ________ which are stored in their own source code files.

  • Option A

    methods

  • Option B

    events

  • Option C

    classes

  • Option D

    objects


C

91
New cards

When a value is assigned to a property, the property's ________ is executed and the value being assigned is contained in the value parameter.

  • Option A

    get accessor

  • Option B

    ToValue method

  • Option C

    return statement

  • Option D

    set accessor


D

92
New cards

Each of the ________ in the description of a problem domain is a potential class.

  • Option A

    nouns

  • Option B

    articles

  • Option C

    adjectives

  • Option D

    verbs


A

93
New cards

When you create an array of a class type, each element of the array will be initialized with the value ________ by default.

  • Option A

    void

  • Option B

    null

  • Option C

    false

  • Option D

    0


B

94
New cards

When a method is ________, it means that multiple methods in the same class have the same name but use different types of parameters.

  • Option A

    aliased

  • Option B

    overloaded

  • Option C

    shadowed

  • Option D

    parameterized


B

95
New cards

The compiler uses a method's ________ to distinguish it from other methods of the same name.

  • Option A

    return type

  • Option B

    binding

  • Option C

    name

  • Option D

    signature


D

96
New cards

A ________ can be read but it cannot be modified.

  • Option A

    private field

  • Option B

    read-only property

  • Option C

    hidden property

  • Option D

    public field


B

97
New cards

A constructor that accepts arguments is known as a(n) ________.

  • Option A

    aliased constructor

  • Option B

    parameterized constructor

  • Option C

    constructor method

  • Option D

    alternate constructor


B

98
New cards

The ________ is a method that returns the property's value.

  • Option A

    get accessor

  • Option B

    Show method

  • Option C

    this.Value method

  • Option D

    Me method


A

99
New cards

A ________ is a special type of class member that allows an object to store and retrieve a piece of data.

  • Option A

    variable

  • Option B

    property

  • Option C

    method

  • Option D

    field


B

100
New cards

In a property definition, the ________ is automatically created by the compiler and its data type is the same as that of the property.

  • Option A

    data parameter

  • Option B

    this variable

  • Option C

    copy variable

  • Option D

    value parameter


D