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. 32 bit - unsigned integer data






2. System.UInt64






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






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






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






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






7. true or false






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






9. System.Double






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






11. 32 bit integer data






12. System.Int64






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






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






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






16. System.UInt16






17. Variables defined by a class






18. (== or !=)






19. The member type of a Class that performs an action.






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






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






22. System.UInt32






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. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.






25. System.Single






26. Syntax of a C# Method






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






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






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






30. A Class that cannot be Inherited






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






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






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






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






35. 64 bit - unsigned integer data






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






37. Windows Presentation Foundation






38. A Class that can only have Static Members






39. Just-in-time compilation






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






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






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






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






44. Container for one or more Visual Studio Projects.






45. Framework Class Library






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






47. 128 bit fixed precision (financial)






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






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






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