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. Characteristics of an object. Something an object has. Provides a specific access point to data within a field






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






3. Access is limited to the current Assembly






4. System.Double






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






6. A Class that inherits characteristics from another Class.






7. 64 bit integer data






8. Extra information within a method






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






10. System.Single






11. System.UInt64






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






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






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






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






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






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






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






19. A Member that cannot be accessed/invoked through an Object Instance.






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






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






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






23. 32 bit - unsigned integer data






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






25. The process of hiding and restricting access to the implementation details of a data structure.






26. 64 bit - unsigned integer data






27. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)






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






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






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






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






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






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






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






35. System.Int32






36. Variables defined by a class






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






38. Container for one or more Visual Studio Projects.






39. (< or > or <= or >=)






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






41. Syntax of a C# Method






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






43. System.UInt32






44. System.Decimal






45. System.Byte






46. Text as Unicode characters






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






48. Command Language Runtime






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






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







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