On This Page

This set of C#.NET Programming Multiple Choice Questions & Answers (MCQs) focuses on Cnet Programming Set 2

Q1 | The size of integer is___________.
  • 8 bits
  • 16 bits
  • 32 bits
  • 64 bits
Q2 | An instance of a value type variable is allocated memory on_______.
  • Stack
  • Heap
  • Both a&b
  • None of these
Q3 | An instance of a reference type variable is allocated memory on_______.
  • Stack
  • Heap
  • Both a&b
  • None of these
Q4 | The size of long is___________.
  • 8 bits
  • 16 bits
  • 32 bits
  • 64 bits
Q5 | ________________ access modifier is applied to a method or a data member, it can beaccessed by all classes in the same namespace and derived class in other namespace.
  • Public
  • Protected
  • Internal
  • Protected internal
Q6 | The first type of streams i specially used to represent _________
  • Binary data
  • text
  • data
  • derived
Q7 | The second type of streams is used to represent __________
  • Data
  • text
  • binary data
  • derived
Q8 | All IO classes that represent streams are derived from the ______ class.
  • Data
  • Stream
  • another
  • none
Q9 | The stream class has been designed to provide functional features for ________ and__________.
  • Creating, manipulating
  • displaying, manipulating
  • Creating, displaying
  • printing, creating
Q10 | The file steam class is designed specifically for reading and writing_______________ files.
  • Class files
  • binary data
  • program
  • none
Q11 | A buffer is a block of bytes in memory used to ___________
  • Class data
  • binary data
  • cache data
  • data
Q12 | The Buffered Stream class is a ________ of the Stream class.
  • Base class
  • binary class
  • Derived class
  • class
Q13 | The text files are helpful in __________ and ____________ textual data.
  • Storing, displaying
  • storing, retrieving
  • Retrieving, displaying
  • displaying, retrieving
Q14 | A machine on a network is called ________
  • Node
  • data
  • address
  • store
Q15 | The node is also called as ______________
  • Data
  • class
  • host
  • cache
Q16 | The various possible values of dock property are_________
  • TOP, Left
  • Fill, right
  • Side, upright
  • Both (a) and (B)
Q17 | The ADO.NET provides greater case of ___________
  • Programming
  • higher dependency
  • Improve data source
  • both (a) and (b)
Q18 | Only ___________ amount of processing time is needed for data conversion.
  • Large
  • small
  • none
  • allocated time
Q19 | A Managed provider can be considered as a set of objects that mediate between a_____________ and _______________
  • Data source
  • VB.NET program
  • data
  • both (a) and (b)
Q20 | The main ASP.NET page class is derived from the ____________ class
  • Page
  • base
  • derived
  • main
Q21 | We can attach _________ validation control to an input control
  • One
  • less than one
  • more than one
  • almost one
Q22 | The validation control has ____________ control.
  • Up level
  • down level
  • both
  • bottom level
Q23 | The up level browser will perform validation on the client, using the _________ and_____________
  • HTML, ASP
  • DHTML, java script
  • Both (a) and (b)
  • none
Q24 | For client-side custom validation, the name of the custom function must be identified in the______________ function property
  • Client Validation
  • on client validation
  • On server validation
  • server validation
Q25 | For server-side custom validation, the name of the custom function must be identified in the______________ function property
  • Client Validation
  • on client validation
  • On server validation
  • server validation