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. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.






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






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






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






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






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






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






8. Syntax of a C# Method






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






10. Variables defined by a class






11. 32 bit - unsigned integer data






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






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






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






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






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






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






18. 32 bit integer data






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






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






21. System.Int64






22. Integrated Development Environment






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






24. Access is limited to the current Assembly






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






26. Container for one or more Visual Studio Projects.






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






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






29. Extra information within a method






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






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






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






33. Must have a data type






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






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






36. A Class that cannot be Inherited






37. System.Int32






38. 64 bit - unsigned integer data






39. System.Char






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






41. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).






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






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






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






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






46. true or false






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






48. System.Byte






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






50. Framework Class Library