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. Field whose value can never change. Declared with 'const' keyword






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






3. System.Int64






4. System.SByte






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






6. 64 bit double precision floating point data






7. A Class that cannot be instantiated.






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






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






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






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






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






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






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






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






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






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






18. count = count+1 or count++ or count__. Both count variables are Unary Operators






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






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






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






22. Text as Unicode characters






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






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






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






26. System.Single






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






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






29. 64 bit integer data






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






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






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






33. System.Decimal






34. 64 bit - unsigned integer data






35. System.UInt64






36. 128 bit fixed precision (financial)






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






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






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






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






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






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






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






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






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






46. System.Byte






47. Container for one or more Visual Studio Projects.






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






49. 32 bit integer data






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







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