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. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.






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






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






4. (< or > or <= or >=)






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






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






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






8. Command Language Runtime






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






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






11. Something that has a different number of parameters to it's predecessor






12. Command which runs repeatedly while (some) condition is true.






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






14. System.Int64






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






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






17. true or false






18. 32 bit integer data






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






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






21. Contains the class definitions that allow access to the functionality provided by .NET.






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






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






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






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






26. Symbols which transform and combine expressions






27. System.Double






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






29. 128 bit fixed precision (financial)






30. Variables defined by a class






31. System.Single






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






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






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






35. 64 bit - unsigned integer data






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






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






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






39. (&& or || or & or |)






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






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






42. A Class that inherits characteristics from another Class.






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






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






45. Allow access to types that exist in outside assemblies.






46. System.Byte






47. true or false






48. 32 bit - unsigned integer data






49. 64 bit integer data






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