Stcc Prog-116 C# 2010 Chapters 1 - 4 Study Quiz

90 Questions | Total Attempts: 103

SettingsSettingsSettings
Please wait...
Study Quizzes & Trivia

This quiz combines all of the Chapter Questions and Knowledge Check Questions from Chapters 1-4.


Questions and Answers
  • 1. 
    Visual Studio 2010 comes in various editions with different features. Choose all valid editions:
    • A. 

      Express Edition

    • B. 

      Professional Edition

    • C. 

      Premium Edition

    • D. 

      Limited Edition

    • E. 

      Ultimate Edition

  • 2. 
    IDE stands for what?
    • A. 

      Intelligent Design Environment

    • B. 

      Intelligent Development Environment

    • C. 

      Integrated Design Environment

    • D. 

      Integrated Development Environment

  • 3. 
    CLR stands for what?:
    • A. 

      Command Line Runtime

    • B. 

      Common Line Runtime

    • C. 

      Common Language Runtime

    • D. 

      Command Language Runtime

  • 4. 
    If you want to create a C# Form you would use what?:
    • A. 

      Form Designer

    • B. 

      Application Designer

    • C. 

      Console Designer

    • D. 

      Form Application

  • 5. 
    Visual Studio 2010 supports these programming languages.  Choose all valid editions:
    • A. 

      Visual Basic

    • B. 

      Visual C#

    • C. 

      Visual C++

    • D. 

      Visual J+

    • E. 

      Visual F#

  • 6. 
    If you want to write C# code you would use what?:
    • A. 

      Solutions Explorer

    • B. 

      Forms Designer

    • C. 

      Code Editor

    • D. 

      Console Designer

  • 7. 
    What is the purpose of the .NET Framework Class Library?
    • A. 

      It provides pre-written code that can be used by .NET applications

    • B. 

      It provides a border around your code

    • C. 

      It provides pre-written code that can be used by any programming language

    • D. 

      It provides classes and codes for the framework

  • 8. 
    Before a C# application can be run, it must be compiled into a language called:
    • A. 

      Microsoft Programming Language

    • B. 

      Microsoft Intermediate Language

    • C. 

      Microsoft Intelligent Language

    • D. 

      Microsoft Idealistic Lingo

  • 9. 
    The .NET Framework Class Library consists of
    • A. 

      Namespaces that are organized into classes

    • B. 

      .NET Applications

    • C. 

      Classes that are organized into namespaces

    • D. 

      Operating systems and hardware

  • 10. 
    The primary components of the .NET Framework are the .NET Framework Class Library and the
    • A. 

      Command Language Runtime

    • B. 

      Windows Forms classes

    • C. 

      Common Language Runtime

    • D. 

      ASP.NET classes

  • 11. 
    What is the name of the Visual Studio window that contains controls that you can drag on to a form?
    • A. 

      Solution Explorer

    • B. 

      Code Editor

    • C. 

      Toolbox

    • D. 

      Error List

  • 12. 
    Two properties that are common to both forms and controls are the
    • A. 

      Cancel Button and Exit Button

    • B. 

      Name and Text Properties

    • C. 

      Cancel Button and Text Property

    • D. 

      Name Button and Cancel Property

  • 13. 
    To create an access key that will move the focus to a text box, you
    • A. 

      Change the TabStop property to False

    • B. 

      Set the access key in the Text property of the label immediately before the text box

    • C. 

      Change the TabIndex property to zero

    • D. 

      Set the ReadOnly property to True

  • 14. 
    The label control has a TabStop property.
    • A. 

      True

    • B. 

      False

  • 15. 
    Access keys let the user activate a control by
    • A. 

      Pressing Ctrl + Alt + Delete

    • B. 

      Pressing Ctrl + another key

    • C. 

      Pressing Alt + another key

    • D. 

      Pressing & plus another key

  • 16. 
    To change the file name for a form, project, or solution you use the
    • A. 

      Windows Explorer

    • B. 

      Toolbox

    • C. 

      Solution Explorer

    • D. 

      Form Designer

  • 17. 
    The Text property of a control determines
    • A. 

      What happens when the control is selected by the user

    • B. 

      The text that's displayed in the control

    • C. 

      The tab order of the control

    • D. 

      The name of the form

  • 18. 
    When you run a form after you’ve used the Form Designer to design it but haven’t added any code to it , the buttons don’t cause anything to happen, but otherwise the form works
    • A. 

      True

    • B. 

      False

  • 19. 
    What type of control is used to provide for user entry?
    • A. 

      Label

    • B. 

      Listbox

    • C. 

      Button

    • D. 

      Textbox

  • 20. 
    The CancelButton property of a form sets the button that will be activated if the user presses the _________________ key
    • A. 

      Alt

    • B. 

      Esc

    • C. 

      Ctrl

    • D. 

      Shift

  • 21. 
    To refer to a property of an object in your C# code, you code the
    • A. 

      Object name followed by a semicolon and the property name

    • B. 

      Object name followed by a colon and the property name

    • C. 

      Object name followed by a period and the property name

    • D. 

      Object name followed by a comma and the property name

  • 22. 
    The following code calls the Focus method of the txtMonthlyInvestment control: txtMonthlyInvestment.Focus();
    • A. 

      True

    • B. 

      False

  • 23. 
    • A. 

      Method handler

    • B. 

      Argument

    • C. 

      Event handler

    • D. 

      Method responder

  • 24. 
    A user entry that can't be converted to a number is a common cause of a runtime error
    • A. 

      True

    • B. 

      False

  • 25. 
    • A. 

      Application error

    • B. 

      Exception

    • C. 

      Compilation error

    • D. 

      Breakdown