SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
|
Email
Search
Test your basic knowledge |
C# Programming Basics
Start Test
Study First
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. Groups classes together so that they have a unique identifier
Namespace
Inheritance
float - .NET alias
Precedence
2. System.SByte
ushort - Size
sbyte - .NET alias
sbyte - Size
JIT
3. 8 bit - unsigned byte (0 - 255)
Syntax
Just-in-time (JIT
Encapsulation
byte - Size
4. Names used to identify program elements (e.g. namespaces & classes & methods & variables). Must always start with a letter. Always case sensitive. When multiword must be presented in CamelCase. keywords are an example of an identifier.
int - Size
Protected Access Modifier
Virtual Method Modifier
Identifiers
5. 8 bit - signed byte (-128 - 127)
Precedence
References (Visual Studio Solution
sbyte - Size
Heap
6. 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.
Variable
Encapsulation
Private Access Modifier
Just-in-time (JIT
7. Code which implements GUI (graphical User Interface).
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
String (or string)
Sealed Class
Data structures
8. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Dot Notation
IDE
Intermediate Language (IL)
Comments
9. Code which signifies a carriage return. Symbolises a new line in a text box.
Value Type
long - Size
Operator
r
10. Series of instructions which tell a computer what to do.
Strong Typing
Static Class
Program
Reference Type
11. 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
Abstraction
Dot Notation
Comments
Class
12. Field whose value can never change. Declared with 'const' keyword
Statement
Constant
Parameter aka Argument
Base Class
13. Microsoft's generic software framework for application development.
NET
csc.exe
Strong Typing
Encapsulation
14. Sits behind GUI (Graphical User Interface) and provides event listeners
Label
Namespace
ushort - .NET alias
Window.xaml.cs
15. Restricts access to a Member to the current Class and any Derived Class.
Conditional Operator
Protected Access Modifier
Variable
Keyword
16. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
Conditional Operator
Assignment Operator
JITer
Precedence
17. Something that has a different number of parameters to it's predecessor
Overloaded Method
If Statement
Static Member
Operator
18. Only requires one operand usually a count+1 or a count++ or a count--
Array
uint - Size
Unary Operator
Expression
19. Extra information within a method
C#
Reference Type
Parameter aka Argument
Polymorphism
20. Represents the encapsulation of data and behaviors into a single unit.
Class
References (Visual Studio Solution
Static Class
Polymorphism
21. 32 bit integer data
Int32 - Size
Abstraction
Console Application
Operator
22. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Abstract Class Modifier
Int32 - Size
byte - .NET alias
Decimal (or decimal) - Size
23. 16 bit- unsigned word (U+0000 to U+ffff)
Int32 - Size
r
Framework Class Library (FCL)
char - Size
24. Restricts access to a Member to the current Class.
Common Language Runtime (CLR)
Syntax
Private Access Modifier
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
25. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Primitive Type
Stack
short - Size
Polymorphism
26. A Class from which other classes can inherit characteristics.
Assembly
Public Keyword
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Base Class
27. Names reserved by the compiler that coders are not allowed to use as identifiers.
Keyword
Constant
Partial Method Modifier
Expression
28. A Class that cannot be instantiated.
Static Member
Conditional Operator
Partial Class Modifier
Static Class
29. The process of hiding and restricting access to the implementation details of a data structure.
Inheritance
ulong - Size
Encapsulation
Assignment Operator
30. The "Type" name of data that is stored on the Heap
W.P.F
Identifiers
Reference Type
Object
31. A Class that inherits characteristics from another Class.
Array
decimal - .NET alias
Overloaded Method
Derived Class
32. A method that is called whenever an Object is created. The method uses the same name as the Class.
FCL
Constructor
Base Class
Assignment Operator
33. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Expression
Sealed Class
Array
Static Member
34. System.Int64
long - .NET alias
Static Class
Operator
int - Size
35. 32 bit integer data
Inheritance
Just-in-time (JIT
int - Size
Boolean Operator
36. The .NET run-time environment that enables code to be compiled and executed.
bool - Size
Common Language Runtime (CLR)
Int64 - Size
byte - Size
37. 32 bit single precision floating point data
Float (or float) - Size
C#
String (or string)
Overloaded Method
38. The process of compiling IL source into CPU-native code for execution.
Just-in-time (JIT
Encapsulation
NET
Partial Class Modifier
39. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Namespace
W.P.F
Primitive Type
Dot Notation
40. Command which runs repeatedly while (some) condition is true.
While Statement
Overloaded Method
CLR
decimal - .NET alias
41. 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
Variable
Comments
uint - Size
Object
42. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Namespace
long - Size
Strong Typing
Assembly
43. 16 bit - signed integer data (-32768 to 32767)
Abstract Class Modifier
Public Keyword
Expression
short - Size
44. A Class that cannot be Inherited
bool - Size
Inheritance
C#
Sealed Class
45. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Public Keyword
Assembly
Constructor
Statement
46. Used to display text that end user does not need to edit.
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Label
Abstract Method Modifier
short - .NET alias
47. 64 bit double precision floating point data
Double (or double) - Size
Abstract Method Modifier
Common Language Runtime (CLR)
Static Class
48. System.Char
Assembly
char - .NET alias
int - .NET alias
Variable
49. Indicates that the Method can be overridden.
using
Virtual Method Modifier
ushort - Size
long - Size
50. 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.
Properties
Parameter aka Argument
returnType methodName (parameterList)
Abstract Method Modifier