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. The lowest level or fundamental data types needed for representing data.
Inheritance
Variable
Primitive Type
Abstract Class Modifier
2. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Common Language Runtime (CLR)
Label
Strong Typing
Namespace
3. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Abstraction
Strong Typing
Array
Operator
4. 64 bit double precision floating point data
Variable
ulong - Size
Float (or float) - Size
Double (or double) - Size
5. A Class from which other classes can inherit characteristics.
Base Class
Field
int - Size
Sealed Class
6. Syntax of a C# Method
returnType methodName (parameterList)
int - Size
Primitive Type
Abstract Method Modifier
7. Represents the encapsulation of data and behaviors into a single unit.
Class
ulong - Size
Base Class
Abstract Class Modifier
8. The "Type" name of data that is stored on the Heap
Base Class
int - Size
Reference Type
Int32 - Size
9. 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)
Inheritance
char - Size
Boolean Operator
Window.xaml.cs
10. Microsoft's generic software framework for application development.
Visual Studio Solution
NET
Field
Intermediate Language (IL)
11. Command Language Runtime
CLR
long - .NET alias
Variable
Partial Class Modifier
12. 16 bit - unsigned integer data (0 to 65535)
csc.exe
References (Visual Studio Solution
ushort - Size
ulong - .NET alias
13. Restricts access to a Member to the current Class and any Derived Class.
Boolean - Size
Protected Access Modifier
ushort - Size
Inheritance
14. (&& or || or & or |)
Partial Method Modifier
Operator
Conditional Operator
Comments
15. Only requires one operand usually a count+1 or a count++ or a count--
bool - Size
Unary Operator
Public Keyword
Primitive
16. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
int - .NET alias
If Statement
decimal - .NET alias
Static Class
17. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Overloaded Method
Expression
Encapsulation
CLR
18. When a sub class passes down all the behaviours of the original parent class
Inheritance
Reference Type
Parameter aka Argument
Int32 - Size
19. System.Single
Parameter aka Argument
FCL
Inheritance
float - .NET alias
20. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Variable
Intermediate Language (IL)
Equality Operator
Method
21. Sits behind GUI (Graphical User Interface) and provides event listeners
Window.xaml.cs
Equality Operator
Int32 - Size
byte - .NET alias
22. The "Type" name of data that is stored on the Stack
Primitive Type
sbyte - .NET alias
Value Type
Just-in-time (JIT
23. Indicates that the Method can be overridden.
Namespace
Virtual Method Modifier
Statement
short - Size
24. Groups classes together so that they have a unique identifier
Sealed Class
Namespace
Properties
ushort - .NET alias
25. Names reserved by the compiler that coders are not allowed to use as identifiers.
Keyword
csc.exe
While Statement
String (or string)
26. 32 bit integer data
Assembly
char - .NET alias
Int32 - Size
Primitive Type
27. Must have a data type
Variable
Identifiers
Parameter aka Argument
Variable (C# requirements)
28. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
References (Visual Studio Solution
Stack
Intermediate Language (IL)
uint - Size
29. Code which implements GUI (graphical User Interface).
Double (or double) - Size
W.P.F
Precedence
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
30. 64 bit - unsigned integer data
decimal - .NET alias
Statement
Incrementing / Decrementing Variables
ulong - Size
31. (< or > or <= or >=)
Relational Operator
Abstract Class Modifier
Method
Window.xaml.cs
32. The process of compiling IL source into CPU-native code for execution.
Conditional Operator
References (Visual Studio Solution
Just-in-time (JIT
Parameter aka Argument
33. A Class that cannot be Inherited
Operator
CLR
Abstract Class Modifier
Sealed Class
34. Represents date and time data with a 100 ns resolution
Decimal (or decimal) - Size
DateTime
Intermediate Language (IL)
Just-in-time (JIT
35. Mathematical (+ or - or / or %)
returnType methodName (parameterList)
Abstract Method Modifier
Operator
short - Size
36. true or false
bool - Size
Encapsulation
Stack
Framework Class Library (FCL)
37. A Member that cannot be accessed/invoked through an Object Instance.
short - Size
Static Member
Operator
Program
38. System.UInt32
csc.exe
Static Class
uint - .NET alias
Object
39. Contains the class definitions that allow access to the functionality provided by .NET.
Operator
Statement
Framework Class Library (FCL)
Abstract Class Modifier
40. 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
Unary Operator
DateTime
Assignment Operator
Heap
41. 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'.
Textbox
ushort - Size
Framework Class Library (FCL)
Object
42. System.UInt16
JIT
ushort - .NET alias
Precedence
Encapsulation
43. count = count+1 or count++ or count__. Both count variables are Unary Operators
Statement
NET
Incrementing / Decrementing Variables
r
44. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Dot Notation
Int32 - Size
IDE
Primitive
45. 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
Dot Notation
Public Keyword
Operator
Static Member
46. System.UInt64
ulong - .NET alias
Constant
byte - .NET alias
References (Visual Studio Solution
47. Restricts access to a Member to the current Class.
Private Access Modifier
Statement
Precedence
While Statement
48. 16 bit - signed integer data (-32768 to 32767)
short - Size
Inheritance
Class Statement
float - .NET alias
49. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Variable
ushort - .NET alias
ushort - Size
C#
50. (== or !=)
Equality Operator
uint - .NET alias
Internal Access Modifier
Inheritance