Cuk-CST Visual Programming Quiz

30 Questions | Total Attempts: 18

SettingsSettingsSettings
Please wait...
Cuk-CST Visual Programming Quiz

.


Questions and Answers
  • 1. 
    CLR is the .NET equivalent of
    • A. 

      Java Virtual Machine

    • B. 

      Common Language Runtime

    • C. 

      Common Type System

    • D. 

      Common Language Specification

  • 2. 
    The reason that C# does not support multiple inheritances is because of
    • A. 

      Method collision

    • B. 

      Name collision

    • C. 

      Function collision

    • D. 

      Interface collision

  • 3. 
     Web Forms consists of a _______ and a _________ .
    • A. 

       Template, Component

    • B. 

      CLR, CTS

    • C. 

      HTML Forms, Web services

    • D. 

      Windows, desktop

  • 4. 
    Which of the following is the root of the .NET type hierarchy
    • A. 

      System.Type

    • B. 

      System.Object

    • C. 

      System.Base

    • D. 

      System.Parent

  • 5. 
    Objects can not be created for ------------------- class
    • A. 

      Static

    • B. 

      Struct

    • C. 

      Abstract

    • D. 

      Dynamic

  • 6. 
     Different ways a method can be overloaded in C#.NET
    • A. 

      Different parameter data types

    • B. 

      Different order of parameters

    • C. 

      Different number of parameters

    • D. 

      All of above

  • 7. 
    Which of the following constitutes the .NET Framework? 1. ASP.NET Applications   2. CLR   3. Framework Class Library   4. WinForm Applications   5. Windows Services
    • A. 

      2,5

    • B. 

      2,1

    • C. 

      2,3

    • D. 

      3,4

    • E. 

      1,2,3,4,5

  • 8. 
     Private Button print = new button();
    • A. 

      Creates a button control 

    • B. 

      Initializes a button control 

    • C. 

      Instantiates button control 

    • D. 

      Both 1 and 2

    • E. 

      Both 1 and 3

    • F. 

      All of the above

  • 9. 
    Class Test: Form { }
    • A. 

      Creates the class Test : Form 

    • B. 

      Creates the class Test that inherits the class Form

    • C. 

      Creates the class form that inherits the class Test

    • D. 

      A and b 

  • 10. 
     A delegate defines
    • A. 

      A substitue for an inherited method 

    • B. 

      A means of passing arrays into methods 

    • C. 

      A class that encapsulates methods 

    • D. 

      A Wahsington representative 

  • 11. 
    Which of the following control can contain other controls?
    • A. 

      Groupbox

    • B. 

      Tabpage

    • C. 

      Panel

    • D. 

      All of the above

  • 12. 
    Which of the following object is used by the DataAdapter to retrieve the data from database?
    • A. 

      Command

    • B. 

      Connection

    • C. 

      DataReader

    • D. 

      DataRetriever

  • 13. 
    Boxing in .Net allows the user to convert
    • A. 

      - a interger type to double

    • B. 

      - a reference type to a value type

    • C. 

      A value type to a reference type

    • D. 

      - a double type to interger

  • 14. 
    Can you store multiple data types in System.Array?
    • A. 

      True

    • B. 

      False

  • 15. 
    What is the .NET collection class that allows an element to be accessed using a unique key?
    • A. 

      HashTable

    • B. 

       ArrayList

    • C. 

      SortedList

    • D. 

      HeapList

  • 16. 
    What does the keyword virtual mean in the method definition?
    • A. 

      The method is public

    • B. 

      The method can be derived

    • C. 

      The method is static

    • D. 

      The method can be over-ridden

  • 17. 
    Which of the following prevent your class from being inherited by another class?
    • A. 

      The keyword “Prevent” will prevent the class from being inherited.

    • B. 

      The keyword “Abstract” will prevent the class from being inherited.

    • C. 

      The keyword “sealed” will prevent the class from being inherited.

    • D. 

      The keyword “Static” will prevent the class from being inherited.

  • 18. 
    From a dataview dv who has a column “EmpNo” from employee table, how will u bind a textbox
    • A. 

      Textbox.databinding.add(EmpNo”);

    • B. 

      Textbox.databinding.add("dv", ”EmpNo”);

    • C. 

      Textbox.databinding.add(“Text”,dv,”EmpNo”);

    • D. 

      None of the above

  • 19. 
    Using or Imports statement
    • A. 

      Allows references to members of a namespace without using the fully qualified name

    • B. 

      Use to reference an external library

    • C. 

      Both 1 and 2

    • D. 

      None

  • 20. 
    Which of the following does the actual .Net code execute?
    • A. 

      CLS

    • B. 

      MSIL

    • C. 

      CTS

    • D. 

      CLR

  • 21. 
    Visual Basic maintains a project file with the extension…..
    • A. 

      .frm

    • B. 

      .vbp

    • C. 

      .vbs

    • D. 

      .cls

  • 22. 
    ………… indicates whether a particular condition is on or off.
    • A. 

      Combo box`

    • B. 

      List Box

    • C. 

      Check Box

    • D. 

      Option Tab

  • 23. 
    The default datatype for VB is …………………..
    • A. 

      Variant

    • B. 

      Integer

    • C. 

      String

    • D. 

      Decimal

  • 24. 
    ……….. is one of the main building blocks in a VB application
    • A. 

      Method

    • B. 

      Event

    • C. 

      Form

    • D. 

      Procedure

  • 25. 
    Which two controls can be combined to form the ComboBox control?
    • A. 

      ListBox and TextBox

    • B. 

      ListBox and InputBox

    • C. 

      ListBox and MsgBox

    • D. 

      Label and TextBox

Back to Top Back to top