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. The "Type" name of data that is stored on the Stack






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






3. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).






4. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging






5. Syntax of a C# Method






6. 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.






7. Variables defined by a class






8. Restricts access to a Member to the current Class.






9. (&& or || or & or |)






10. System.Int16






11. A type of statement that produces a value that might be tested or assigned to a variable.






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






13. System.SByte






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






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






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






17. 64 bit integer data






18. Keyword which exposes members to other classes OR Identifier which makes program elements public






19. 64 bit - unsigned integer data






20. Container for one or more Visual Studio Projects.






21. Extra information within a method






22. Something that has a different number of parameters to it's predecessor






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






24. System.UInt32






25. System.Char






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






27. (< or > or <= or >=)






28. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.






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






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






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






32. Word that stores a value. Storage location that holds a value. Type and name of variable must be declared in a statement. Must be explicitly declared before use. Uses CamelCase notation.






33. System.UInt16






34. 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.






35. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.






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






37. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.






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






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






40. Series of instructions which tell a computer what to do.






41. 16 bit - signed integer data (-32768 to 32767)






42. Just-in-time compilation






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






44. 64 bit integer data






45. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.






46. A Class that inherits characteristics from another Class.






47. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.






48. A Class that cannot be Inherited






49. A symbol that specifies an operation to be performed on one or more variables.






50. 32 bit single precision floating point data







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