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. A Member that cannot be accessed/invoked through an Object Instance.






2. Syntax of a C# Method






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






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






5. 32 bit integer data






6. System.Int32






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






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






9. 32 bit integer data






10. Calculation whose result is either true or false but cannot be both E.g. == Equal to. != Not Equal too. < Less than. <= Less than of equal to. > Greater than. >= Greaten than or equal to. && AND (Conditional) ->|| OR (Conditional)






11. 8 bit - unsigned byte (0 - 255)






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






13. The "Type" name of data that is stored on the Heap






14. Container for one or more Visual Studio Projects.






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






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






17. Specifies that the Method includes no implementation and must be overridden in a deriving class - where it will get its definition. Can only be part of an Abstract Class.






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






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






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






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






22. Represents the encapsulation of data and behaviors into a single unit.






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






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






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






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






27. Access is limited to the current Assembly






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






29. System.UInt64






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






31. System.Double






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






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






34. 64 bit integer data






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






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






37. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional






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






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






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






41. Runs in a command prompt window rather than a GUI (graphical User Interface) one.






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






43. Variables defined by a class






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






45. 16 bit - unsigned integer data (0 to 65535)






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






47. true or false






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






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






50. Used to display text that end user does not need to edit.






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