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 .NET run-time environment that enables code to be compiled and executed.






2. System.Char






3. Block of memory where objects live. Whenever a new object is created it is allowed onto the heap. Old objects are regularly deallocate from the heap to save available memory






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






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






6. true or false






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






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






9. Variables defined by a class






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






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






12. (= or += or -= or = or /=)






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






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






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






16. System.Single






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






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






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






20. 32 bit single precision floating point data






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






22. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).






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






24. 128 bit fixed precision (financial)






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






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






27. System.Double






28. Just-in-time compilation






29. Syntax of a C# Method






30. When a sub class passes down all the behaviours of the original parent class






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






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






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






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






35. Framework Class Library






36. (< or > or <= or >=)






37. (== or !=)






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






39. Code which signifies a carriage return. Symbolises a new line in a text box.






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






41. Text as Unicode characters






42. Allows a Method to be defined in a separate file (within the same Project). If no definition is found the compiler excludes the Method as an optimization.






43. System.Byte






44. Integrated Development Environment






45. Command Language Runtime






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






47. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.






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






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






50. Extra information within a method







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