Fact Technical Question Paper

32 Questions

Settings
Please wait...
Paper Quizzes & Trivia

Dear CandidatePlease read the questions carefully before you answer. Please note that there 30 questions which are to be completed in 30 mins. Your time starts now. . . . . Good Luck


Questions and Answers
  • 1. 
    Which of the following code should we write to terminate from the For statement in VB.NET
    • A. 

      Exit

    • B. 

      Break

    • C. 

      Exit For

    • D. 

      Close

  • 2. 
    Which of the method is used to display the form as modal
    • A. 

      Show()

    • B. 

      Activate()

    • C. 

      ShowDialog()

    • D. 

      ShowModal()

  • 3. 
    What is the default access modifier for an interface
    • A. 

      Internal

    • B. 

      Private

    • C. 

      Protected

    • D. 

      Public

  • 4. 
    Is it possible to make Enter key work as Tab Key in Datagridview?
    • A. 

      We can make it work using KeyPress or KeyDown event of Datagridview

    • B. 

      We have to inherit Datagridview class and override ProcessDataGridViewKey and ProcessDialogKey methods

    • C. 

      We can make it work using KeyPress or KeyDown event of Form contain Datagridview

    • D. 

      It is not possible to make Enter key work as Tab Key

  • 5. 
    Vb.Net classes can be derived in C#?
    • A. 

      True

    • B. 

      False

    • C. 

      Some Classes Only

  • 6. 
    Which of the following is not a method of Debug class?
    • A. 

      Flush()

    • B. 

      Open()

    • C. 

      Assert()

    • D. 

      None of above

  • 7. 
    The tool provided with .Net framework to register assemblies for use by COM is?
    • A. 

      ILDASM

    • B. 

      Regsvr32

    • C. 

      Regasm

    • D. 

      Regedit

  • 8. 
    Which is the best to retrieve Read-Only, Forward-only stream of data from database?
    • A. 

      DataAdapter

    • B. 

      DataSet

    • C. 

      DataReader

    • D. 

      DataExecutor

  • 9. 
    How do you implement private interfaces?
    • A. 

      Using Inherits Keyword

    • B. 

      Using Implemented keyword

    • C. 

      Private interfaces can not be implemented

    • D. 

      Privat Implemented Interface

  • 10. 
    There are 4 types of authentications.     1.WINDOWS AUTHENTICATION     2.FORMS AUTHENTICATION     3.PASSPORT AUTHENTICATION     4.NONE/CUSTOM AUTHENTICATION
    • A. 

      True

    • B. 

      False

  • 11. 
    Difference between Static and read only variable?
    • A. 

      Both are same

    • B. 

      Readonly variable is a variable that retains the same data throughout the execution of a program. Static variable is one whose value never changed.

    • C. 

      Static variable is a variable that retains the same data throughout the execution of a program. Read only variable is one whose value never changed.

  • 12. 
    Which of the following Types will have data of fixed size?
    • A. 

      Value Type

    • B. 

      Reference Type

    • C. 

      Data Type

    • D. 

      None of above

  • 13. 
    Which of the following class does not belong to Collection namespace?
    • A. 

      ArrayList

    • B. 

      DictionaryList

    • C. 

      Queue

    • D. 

      Stack

  • 14. 
    How do you create a Read only Property in VB.NET?
    • A. 

      Using Only Get with in property

    • B. 

      Using Only Get with in definition

    • C. 

      Using Only Get..EndGet with in property definition

    • D. 

      Using both Get and Set

    • E. 

      None of above

  • 15. 
    How do you prevent the class from being inheritance? 
    • A. 

      Include the keyword ‘NotOverridable’ in front of the class keyword.

    • B. 

      Include Private access modifiers

    • C. 

      Include the keywaord 'sealed' in front of the class keyword.

    • D. 

      Non of the above

  • 16. 
    Enter key work by default as Tab key in all controls?
    • A. 

      True

    • B. 

      False

  • 17. 
    Can we create the web service in windows application?
    • A. 

      Yes

    • B. 

      No

  • 18. 
    What is the root class in .Net ?
    • A. 

      System

    • B. 

      System.Object

    • C. 

      System.Data

    • D. 

      Page

  • 19. 
    Which of the following abbreviations is incorrectly expanded?
    • A. 

      CTS - Common Type System

    • B. 

      CLS - Common Language Specification

    • C. 

      CAS - Component Authorization Specification

    • D. 

      FCL - Framework Class Library

  • 20. 
     What is the way to stop a long running thread?
    • A. 

      Thread.Abort ( )

    • B. 

      Thread.Discard ( )

    • C. 

      None of above

  • 21. 
    Can we store multiple data types in System.Array?
    • A. 

      No

    • B. 

      Yes

  • 22. 
    Which of the following variables can be defined at compile time and cannot be changed at runtime?
    • A. 

      Statuc

    • B. 

      Const

    • C. 

      Read-only

    • D. 

      None

  • 23. 
    How many Clusted indexes a table can have?
    • A. 

      10

    • B. 

      5

    • C. 

      1

    • D. 

      2

  • 24. 
    What is maximum number of sub queries we can write in query in SQL Server
    • A. 

      32

    • B. 

      1024

    • C. 

      253

    • D. 

      16

  • 25. 
    How many null values will be allowed by unique key per table?
    • A. 

      It won't allow

    • B. 

      Only one null value

    • C. 

      2 null values.

    • D. 

      None of these

  • 26. 
    Which tool is used to build the project or solution in .NET? 
    • A. 

      Ksbuild.exe

    • B. 

      Msbuild.exe

    • C. 

      Al.exe

    • D. 

      SolBuild.exe

  • 27. 
    Default version of an assembly? 
    • A. 

      1.0.0.0.1

    • B. 

      1.1.1.1.1

    • C. 

      2.2.2

    • D. 

      1:0:0:0

  • 28. 
    Which query we can use to retrieve all the tables in a database?
    • A. 

      SELECT * FROM information_schema.yables

    • B. 

      Select name from sysobjects where type='u' order by name

    • C. 

      Sp_tables

    • D. 

      All the above

  • 29. 
     What are different type of Collation Sensitivity ?
    • A. 

      Case sensitivity

    • B. 

      Accent sensitivity

    • C. 

      Width Sensitivity

    • D. 

      All of Above

  • 30. 
    How do we get last error occurred in Database? 
    • A. 

      Geterrors()

    • B. 

      Error()

    • C. 

      @error

    • D. 

      @@error

  • 31. 
    How will you throw exception from stored procedure?
    • A. 

      @@raiseerror

    • B. 

      @@rowcount

    • C. 

      @@nocount

    • D. 

      @@error

  • 32. 
    In SQL Server Join puts data from two or more tables into a single result set.
    • A. 

      True

    • B. 

      Flase