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. Container for one or more Visual Studio Projects.






2. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.






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






4. Just-in-time compilation






5. Syntax of a C# Method






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






7. System.Int16






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






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






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






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






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. System.Int32






14. A Class that cannot be Inherited






15. A Class that can only have Static Members






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






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






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






19. A method that is called whenever an Object is created. The method uses the same name as the Class.






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






21. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.






22. 32 bit single precision floating point data






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






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






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






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






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






28. 16 bit - signed integer data (-32768 to 32767)






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






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






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






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






33. true or false






34. Symbols which transform and combine expressions






35. Text as Unicode characters






36. 64 bit integer data






37. Names reserved by the compiler that coders are not allowed to use as identifiers.






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






39. System.UInt64






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






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






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






43. A Class that cannot be instantiated.






44. Indicates that the Method can be overridden.






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






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






47. Variables defined by a class






48. Command Language Runtime






49. System.Byte






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






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