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 member type of a Class that performs an action.






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






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






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






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






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






7. System.SByte






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






9. A representation of an area in the computer memory in which a value of a particular data type can be stored.






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






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






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






13. A Class that cannot be Inherited






14. A Class that inherits characteristics from another Class.






15. 32 bit integer data






16. (== or !=)






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






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






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






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






21. (&& or || or & or |)






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






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






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






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






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






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






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






29. 32 bit integer data






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






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






32. System.Double






33. Indicates that the Method can be overridden.






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






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






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






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






38. System.Byte






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






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






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






42. Container for one or more Visual Studio Projects.






43. 32 bit single precision floating point data






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






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






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






47. System.Char






48. Extra information within a method






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






50. Integrated Development Environment







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