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. Only requires one operand usually a count+1 or a count++ or a count--






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






3. Variables defined by a class






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






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






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






7. 32 bit single precision floating point data






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






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






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






11. System.SByte






12. Indicates that the Method can be overridden.






13. 32 bit - unsigned integer data






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






15. Integrated Development Environment






16. System.Decimal






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






18. 8 bit - signed byte (-128 - 127)






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






20. Code which signifies a carriage return. Symbolises a new line in a text box.






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






22. Must have a data type






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






24. (< or > or <= or >=)






25. 16 bit - unsigned integer data (0 to 65535)






26. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5






27. Symbols which transform and combine expressions






28. A Class that cannot be Inherited






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






30. Just-in-time compilation






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






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






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






34. System.Int32






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






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






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






38. System.Char






39. A Class that inherits characteristics from another Class.






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






41. true or false






42. Text as Unicode characters






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






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






45. true or false






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






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






48. System.UInt64






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






50. (&& or || or & or |)