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






2. 32 bit integer data






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






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






5. System.Char






6. 64 bit integer data






7. Most common kind of reference type. They define objects. They must have at least one method and one field.






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






9. Syntax of a C# Method






10. System.Double






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






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






13. 64 bit double precision floating point data






14. Rules defining or outlining the format and construction of statements. Semantics is what statements actually DO Syntax are RULES for how to lay statements out. Example syntax rule; All statements must end in a semicolon.






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






16. System.Byte






17. Must have a data type






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






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






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






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






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






23. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.






24. (< or > or <= or >=)






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






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






27. Access is limited to the current Assembly






28. A Class that can only have Static Members






29. Just-in-time compilation






30. 32 bit single precision floating point data






31. Microsoft's generic software framework for application development.






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






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






34. Windows Presentation Foundation






35. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.






36. (== or !=)






37. Represents date and time data with a 100 ns resolution






38. Variables defined by a class






39. A Class that inherits characteristics from another Class.






40. Command Language Runtime






41. true or false






42. System.Int16






43. true or false






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






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






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






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






48. Characteristics of an object. Something an object has. Provides a specific access point to data within a field






49. 64 bit integer data






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