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. Most common kind of reference type. They define objects. They must have at least one method and one field.






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






3. 16 bit- unsigned word (U+0000 to U+ffff)






4. true or false






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






6. Indicates that the Method can be overridden.






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






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






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






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






11. A Class that cannot be instantiated.






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






13. Command Language Runtime






14. Access is limited to the current Assembly






15. 64 bit integer data






16. System.Byte






17. System.UInt32






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






19. 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)






20. Framework Class Library






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






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






23. System.Int16






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






25. Variables defined by a class






26. Container for one or more Visual Studio Projects.






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






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






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






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






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






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






33. 64 bit double precision floating point data






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






35. Windows Presentation Foundation






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






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






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






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






40. 64 bit integer data






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






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






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






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






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






46. System.Double






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






48. (= or += or -= or = or /=)






49. System.Char






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






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