Vous êtes sur la page 1sur 7

Visit www.latestoffcampus.com for placement papers, interview tips & job updates. Toget freeupdates tomail http://groups.google.

com/group/latestoffcampus/subscribeLive updates on Facebook @ www.facebook.com/LatestOffCampus

TITLE: Sapient Nitro Sample Programming Placement Paper Level1 (Bolded option is your answer) 1. _________CANNOT be a target for a custom attribute? A Namespace 2. The [Serializable()] attribute gets inspected at A Run-time 3. The this reference gets created when a member function (nonshared) of a class is called. A True 4. ___________is NOT an interface declared in System.Collections namespace? A IDictionaryComparer 5. ________________are correct about the Collection Classes available in Framework Class Library? A They use efficient algorithms to manage the collection, thereby improving the performance of the program. 6. ___________is correct about constructors? A If we do not provide a constructor, then the compiler provides a zero-argument constructor.
Visit www.latestoffcampus.com for placement papers, interview tips & job updates. Toget freeupdates tomail http://groups.google.com/group/latestoffcampus/subscribeLive updates on Facebook @ www.facebook.com/LatestOffCampus

Visit www.latestoffcampus.com for placement papers, interview tips & job updates. Toget freeupdates tomail http://groups.google.com/group/latestoffcampus/subscribeLive updates on Facebook @ www.facebook.com/LatestOffCampus

7. Can static procedures access instance data? A No 8. _________is correct about constructors in C#.NET? A A constructor can be a static constructor. 9. ________is NOT an Integer? A Char 10. ___________is the correct size of a Decimal datatype? A 16 Bytes 11. _________is the correct default value of a Boolean type? A False 12. ___________is correct about Managed Code? A Managed code is the code that is written to target the services of the CLR. 13. _______________assemblies can be stored in Global Assembly Cache?

Visit www.latestoffcampus.com for placement papers, interview tips & job updates. Toget freeupdates tomail http://groups.google.com/group/latestoffcampus/subscribeLive updates on Facebook @ www.facebook.com/LatestOffCampus

Visit www.latestoffcampus.com for placement papers, interview tips & job updates. Toget freeupdates tomail http://groups.google.com/group/latestoffcampus/subscribeLive updates on Facebook @ www.facebook.com/LatestOffCampus

A Shared Assemblies 14. __________is the root of the .NET type hierarchy? A System.Object 15. ___________CANNOT be used as an underlying datatype for an enum in C#.NET? A float 16. ____________is correct about an enum used in C#.NET? A enum is a reference type. 17. In C#.NET if we do not catch the exception thrown at runtime then__________will catch it? A CLR 18. __________is the Object Oriented way of handling run-time errors? A Exceptions 19. How many values is a subroutine capable of returning? A0 20. ____________should be used to implement a 'Has a' relationship between two entities?
Visit www.latestoffcampus.com for placement papers, interview tips & job updates. Toget freeupdates tomail http://groups.google.com/group/latestoffcampus/subscribeLive updates on Facebook @ www.facebook.com/LatestOffCampus

Visit www.latestoffcampus.com for placement papers, interview tips & job updates. Toget freeupdates tomail http://groups.google.com/group/latestoffcampus/subscribeLive updates on Facebook @ www.facebook.com/LatestOffCampus

A Containership 21. ___________is the correct way to create an object of the class Sample? A Declare the existing class as sealed. 22. ______________is correct about an interface? A A class that implements an interface can explicitly implement members of that interface. 23. _____________is absolutely neccessary to use a class Point present in namespace Graph stored in library? A Add Reference of the library before using the Point class. 24. _______________CANNOT belong to a C#.NET Namespace? A Data 25. ____________is correct about the C#.NET code snippet given below? int d; A A value 1 will be assigned to d. 26. ___________is correct about Bitwise | operator used in C#.NET? A The | operator can be used to check whether a bit is OFF.
Visit www.latestoffcampus.com for placement papers, interview tips & job updates. Toget freeupdates tomail http://groups.google.com/group/latestoffcampus/subscribeLive updates on Facebook @ www.facebook.com/LatestOffCampus

Visit www.latestoffcampus.com for placement papers, interview tips & job updates. Toget freeupdates tomail http://groups.google.com/group/latestoffcampus/subscribeLive updates on Facebook @ www.facebook.com/LatestOffCampus

27. ____________is correct about Bitwise ^ operator used in C#.NET? A The ^ operator can be used to Invert a bit. 28. __________is correct about properties used in C#.NET? A Properties of a class are actually methods that work like data members. 29. If s1 and s2 are references to two strings, then___________is the correct way to compare the two references? A s1.Equals(s2) 30. ____________is correct about a String in C#.NET? A A String has a zero-based index. 31. When would a structure variable get destroyed? A When it goes out of scope. 32. In C, if you pass an array as an argument to a function, what actually gets passed? A Base address of the array 33. ___________bitwise operator is suitable for checking whether a particular bit is on or off?

Visit www.latestoffcampus.com for placement papers, interview tips & job updates. Toget freeupdates tomail http://groups.google.com/group/latestoffcampus/subscribeLive updates on Facebook @ www.facebook.com/LatestOffCampus

Visit www.latestoffcampus.com for placement papers, interview tips & job updates. Toget freeupdates tomail http://groups.google.com/group/latestoffcampus/subscribeLive updates on Facebook @ www.facebook.com/LatestOffCampus

A & operator 34. What do the 'c' and 'v' in argv stands for? A 'c' means argument count 'v' means argument vector 35. char *arr[10]; A arr is a array of 10 character pointers. 36. void (*cmp)(); A cmp is a pointer to a function which returns void . 37. is not logical operator? A& 38. How would you round off a value from 1.66 to 2.0? A ceil(1.66) 39. When we mention the prototype of a function? A Declaring 40. _____________is the correct order if calling functions in the below code?
Visit www.latestoffcampus.com for placement papers, interview tips & job updates. Toget freeupdates tomail http://groups.google.com/group/latestoffcampus/subscribeLive updates on Facebook @ www.facebook.com/LatestOffCampus

Visit www.latestoffcampus.com for placement papers, interview tips & job updates. Toget freeupdates tomail http://groups.google.com/group/latestoffcampus/subscribeLive updates on Facebook @ www.facebook.com/LatestOffCampus

A Order may vary from compiler to compiler

Visit www.latestoffcampus.com for placement papers, interview tips & job updates. Toget freeupdates tomail http://groups.google.com/group/latestoffcampus/subscribeLive updates on Facebook @ www.facebook.com/LatestOffCampus

Vous aimerez peut-être aussi