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. Used to display text that end user does not need to edit.






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. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio






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






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






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






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






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






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






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






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






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






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






14. 32 bit - unsigned integer data






15. Symbols which transform and combine expressions






16. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.






17. 32 bit integer data






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






19. A Class that cannot be Inherited






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






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






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






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






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






25. (< or > or <= or >=)






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






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






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






29. true or false






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






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






32. Access is limited to the current Assembly






33. A Class that cannot be instantiated.






34. Object Oriented Programming relies on dot.notation. Dot Notation enables public methods to be fully accessible from outside an object. Member names are separated by a dot (.). Syntax is method-defined-in-class.bject-in-runtime-of-class






35. System.Single






36. System.Decimal






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






38. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.






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






40. Integrated Development Environment






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






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






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






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






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. 8 bit - signed byte (-128 - 127)






47. Just-in-time compilation






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






49. The .NET run-time environment that enables code to be compiled and executed.






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







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