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. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5






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






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






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






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






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






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






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






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






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






11. Access is limited to the current Assembly






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






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






14. System.UInt32






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






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






17. Allows the definition of a Class to span multiple files (within the same Project)






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






19. Command Language Runtime






20. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.






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






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






23. A Class that cannot be instantiated.






24. 64 bit integer data






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






26. 32 bit - unsigned integer data






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






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






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






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






31. Text as Unicode characters






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






33. 32 bit integer data






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






35. Framework Class Library






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






37. Windows Presentation Foundation






38. Must have a data type






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






40. Variables defined by a class






41. 64 bit - unsigned integer data






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. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.






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






45. Names used to identify program elements (e.g. namespaces & classes & methods & variables). Must always start with a letter. Always case sensitive. When multiword must be presented in CamelCase. keywords are an example of an identifier.






46. System.Int32






47. System.UInt16






48. System.Double






49. Just-in-time compilation






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







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