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. 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
Private Access Modifier
Parameter aka Argument
Heap
Int32 - Size
2. 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.
Primitive Type
Encapsulation
Operator
DateTime
3. Restricts access to a Member to the current Class.
Visual Studio Solution
Private Access Modifier
using
returnType methodName (parameterList)
4. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Boolean Operator
Console Application
Reference Type
Intermediate Language (IL)
5. The member type of a Class that performs an action.
Boolean - Size
Constructor
W.P.F
Method
6. System.SByte
Public Keyword
int - Size
sbyte - .NET alias
Expression
7. Contains the class definitions that allow access to the functionality provided by .NET.
Encapsulation
Visual Studio Solution
Framework Class Library (FCL)
Static Class
8. Indicates that the Method can be overridden.
Virtual Method Modifier
Unary Operator
int - .NET alias
decimal - .NET alias
9. When a sub class passes down all the behaviours of the original parent class
Inheritance
Keyword
Class aka Type
Boolean - Size
10. A Class that inherits characteristics from another Class.
Derived Class
Partial Class Modifier
Expression
Static Class
11. Extra information within a method
Visual Studio Solution
Parameter aka Argument
CLR
Overloaded Method
12. Box which can be typed into at runtime. Can display large amounts of scrollable text for the user. To create a scrollable one in Visual Studio set the multiline property to 'TRUE' and the Scrollbars property to 'VERTICAL'.
Unary Operator
Array
Textbox
Base Class
13. Represents date and time data with a 100 ns resolution
DateTime
char - .NET alias
byte - Size
Operator
14. The .NET run-time environment that enables code to be compiled and executed.
float - .NET alias
Protected Internal Access Modifier
Partial Method Modifier
Common Language Runtime (CLR)
15. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Properties
returnType methodName (parameterList)
r
ulong - .NET alias
16. 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.
Assignment Operator
Virtual Method Modifier
Abstract Method Modifier
returnType methodName (parameterList)
17. (&& or || or & or |)
Sealed Class
Partial Class Modifier
Encapsulation
Conditional Operator
18. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
While Statement
Dot Notation
NET
Intermediate Language (IL)
19. 8 bit - signed byte (-128 - 127)
sbyte - Size
short - .NET alias
Expression
Primitive Type
20. Command which runs repeatedly while (some) condition is true.
Console Application
Class
Identifiers
While Statement
21. true or false
Window.xaml.cs
bool - Size
Primitive
Common Language Runtime (CLR)
22. The "Type" name of data that is stored on the Heap
Decimal (or decimal) - Size
Reference Type
Stack
Parameter aka Argument
23. A type of statement that produces a value that might be tested or assigned to a variable.
Expression
CLR
Public Keyword
C#
24. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
long - Size
Public Keyword
Primitive
Operator
25. System.Single
Unary Operator
float - .NET alias
Abstract Class Modifier
Field
26. 32 bit - unsigned integer data
uint - Size
Just-in-time (JIT
bool - Size
char - .NET alias
27. Text as Unicode characters
short - .NET alias
ulong - .NET alias
String (or string)
Abstract Method Modifier
28. System.Byte
byte - .NET alias
Just-in-time (JIT
Framework Class Library (FCL)
Primitive Type
29. 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.
Int32 - Size
float - .NET alias
Namespace
Variable
30. A Member that cannot be accessed/invoked through an Object Instance.
Static Member
Expression
Identifiers
char - .NET alias
31. Groups classes together so that they have a unique identifier
Namespace
Comments
Statement
Abstract Method Modifier
32. 16 bit - signed integer data (-32768 to 32767)
short - Size
ushort - Size
Encapsulation
Overloaded Method
33. A Class that cannot be Inherited
Textbox
Sealed Class
NET
C#
34. (< or > or <= or >=)
Relational Operator
While Statement
Identifiers
Incrementing / Decrementing Variables
35. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Class Statement
Stack
Polymorphism
Statement
36. Allow access to types that exist in outside assemblies.
Variable
int - Size
Abstract Method Modifier
References (Visual Studio Solution
37. A method that is called whenever an Object is created. The method uses the same name as the Class.
Label
Constructor
using
ushort - Size
38. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Variable
Label
While Statement
Statement
39. Integrated Development Environment
Derived Class
IDE
Class aka Type
Comments
40. (= or += or -= or = or /=)
Partial Class Modifier
byte - .NET alias
Primitive
Assignment Operator
41. Mathematical (+ or - or / or %)
bool - Size
Equality Operator
Base Class
Operator
42. 8 bit - unsigned byte (0 - 255)
char - Size
byte - Size
Constructor
Float (or float) - Size
43. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Heap
Object
NET
Abstraction
44. 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)
Reference Type
Boolean Operator
byte - Size
Class Statement
45. The "Type" name of data that is stored on the Stack
Dot Notation
Identifiers
Intermediate Language (IL)
Value Type
46. Series of instructions which tell a computer what to do.
If Statement
Program
ulong - Size
short - .NET alias
47. count = count+1 or count++ or count__. Both count variables are Unary Operators
Constructor
float - .NET alias
Assembly
Incrementing / Decrementing Variables
48. (== or !=)
Equality Operator
using
Internal Access Modifier
Strong Typing
49. A Class from which other classes can inherit characteristics.
long - .NET alias
Boolean - Size
Base Class
ulong - .NET alias
50. Sits behind GUI (Graphical User Interface) and provides event listeners
Stack
FCL
Strong Typing
Window.xaml.cs