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. Restricts access to a Member to the current Class.






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






3. Symbols which transform and combine expressions






4. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /






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






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






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






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






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






10. System.Byte






11. 64 bit double precision floating point data






12. System.UInt32






13. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.






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






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






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






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






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






19. Allow access to types that exist in outside assemblies.






20. System.UInt64






21. true or false






22. Compilation of classes. In C# Usually ends in .dll or .exe






23. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.






24. Object Oriented Programming relies on dot.notation. Dot Notation enables public methods to be fully accessible from outside an object. Member names are separated by a dot (.). Syntax is method-defined-in-class.bject-in-runtime-of-class






25. A Member that cannot be accessed/invoked through an Object Instance.






26. Integrated Development Environment






27. 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'.






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






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






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






31. A Class that cannot be instantiated.






32. A Class that inherits characteristics from another Class.






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






34. System.Char






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






36. A Class that can only have Static Members






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






38. Indicates that the Method can be overridden.






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






40. 32 bit single precision floating point data






41. Extra information within a method






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






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






44. (&& or || or & or |)






45. Groups classes together so that they have a unique identifier






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






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






48. 32 bit integer data






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






50. The process of compiling IL source into CPU-native code for execution.






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