Test your basic knowledge |

C# Programming Basics

Subject : it-skills
Instructions:
  • Answer 50 questions in 15 minutes.
  • If you are not ready to take this test, you can study here.
  • Match each statement with the correct term.
  • Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.

This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. System.Int16






2. Only requires one operand usually a count+1 or a count++ or a count--






3. The "Type" name of data that is stored on the Stack






4. Contains the class definitions that allow access to the functionality provided by .NET.






5. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.






6. Container for one or more Visual Studio Projects.






7. Names reserved by the compiler that coders are not allowed to use as identifiers.






8. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.






9. System.Int32






10. System.UInt32






11. Mathematical (+ or - or / or %)






12. The .NET run-time environment that enables code to be compiled and executed.






13. System.Char






14. 128 bit fixed precision (financial)






15. Field whose value can never change. Declared with 'const' keyword






16. System.Int64






17. 16 bit- unsigned word (U+0000 to U+ffff)






18. 8 bit - signed byte (-128 - 127)






19. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5






20. Restricts access to a Member to the current Class and any Derived Class.






21. 32 bit integer data






22. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)






23. Encapsulation is the process of providing access to an object only through it's messages while keeping the details private. Encapsulation controls the use of a class.






24. count = count+1 or count++ or count__. Both count variables are Unary Operators






25. Access is limited to the current Assembly and Derived Types






26. System.SByte






27. true or false






28. Instance of a type created when a program runs. Can be visible or invisible. Has properties and events and methods. Properties- determine appearance. Events - trigger a response. Methods - something the object does






29. (&& or || or & or |)






30. Code which implements GUI (graphical User Interface).






31. Command which runs repeatedly while (some) condition is true.






32. A Class that cannot be instantiated.






33. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio






34. Sits behind GUI (Graphical User Interface) and provides event listeners






35. Allows the definition of a Class to span multiple files (within the same Project)






36. The lowest level or fundamental data types needed for representing data.






37. 32 bit - unsigned integer data






38. The member type of a Class that performs an action.






39. A method that is called whenever an Object is created. The method uses the same name as the Class.






40. Box which can be typed into at runtime. Can display large amounts of scrollable text for the user. To create a scrollable one in Visual Studio set the multiline property to 'TRUE' and the Scrollbars property to 'VERTICAL'.






41. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.






42. A Class that can only have Static Members






43. 32 bit single precision floating point data






44. An instance of a class that exists at run-time and is typically referenced via a variable name.






45. Names used to identify program elements (e.g. namespaces & classes & methods & variables). Must always start with a letter. Always case sensitive. When multiword must be presented in CamelCase. keywords are an example of an identifier.






46. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism






47. Introduces a new class. Marked by curly brackets { }






48. A Class from which other classes can inherit characteristics.






49. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.






50. The process of hiding and restricting access to the implementation details of a data structure.







Sorry!:) No result found.

Can you answer 50 questions in 15 minutes?


Let me suggest you:



Major Subjects



Tests & Exams


AP
CLEP
DSST
GRE
SAT
GMAT

Most popular tests