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. 16 bit - unsigned integer data (0 to 65535)
Int64 - Size
FCL
ushort - Size
Syntax
2. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Reference Type
Framework Class Library (FCL)
Expression
Double (or double) - Size
3. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Stack
Static Class
Method
Constant
4. 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.
String (or string)
Common Language Runtime (CLR)
Variable
Inheritance
5. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Polymorphism
Constructor
ulong - Size
Method
6. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Strong Typing
byte - Size
Abstraction
Namespace
7. A Class that inherits characteristics from another Class.
Keyword
Abstraction
Partial Method Modifier
Derived Class
8. A Class from which other classes can inherit characteristics.
Object
String (or string)
Base Class
Private Access Modifier
9. Names reserved by the compiler that coders are not allowed to use as identifiers.
Operator
Keyword
Virtual Method Modifier
Namespace
10. Access is limited to the current Assembly and Derived Types
W.P.F
Int32 - Size
Protected Internal Access Modifier
Strong Typing
11. The member type of a Class that performs an action.
Method
Boolean - Size
Stack
int - .NET alias
12. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
JIT
Internal Access Modifier
csc.exe
bool - Size
13. Access is limited to the current Assembly
Internal Access Modifier
Label
Static Class
Variable
14. A method that is called whenever an Object is created. The method uses the same name as the Class.
Constructor
Value Type
float - .NET alias
r
15. Integrated Development Environment
Statement
IDE
csc.exe
Window.xaml.cs
16. The process of compiling IL source into CPU-native code for execution.
W.P.F
Equality Operator
While Statement
Just-in-time (JIT
17. Represents the encapsulation of data and behaviors into a single unit.
Class
Incrementing / Decrementing Variables
Virtual Method Modifier
Keyword
18. When a sub class passes down all the behaviours of the original parent class
Assembly
Strong Typing
Partial Class Modifier
Inheritance
19. A Class that cannot be Inherited
Variable
Protected Access Modifier
Precedence
Sealed Class
20. Indicates that the Method can be overridden.
Abstraction
Int32 - Size
JIT
Virtual Method Modifier
21. A Class that cannot be instantiated.
Operator
Conditional Operator
uint - Size
Static Class
22. Represents date and time data with a 100 ns resolution
Relational Operator
Heap
DateTime
Expression
23. Command which runs repeatedly while (some) condition is true.
Heap
Internal Access Modifier
While Statement
Static Member
24. Microsoft's generic software framework for application development.
Assembly
Method
NET
Inheritance
25. (&& or || or & or |)
Overloaded Method
Operator
Partial Class Modifier
Conditional Operator
26. System.Char
Relational Operator
Derived Class
char - Size
char - .NET alias
27. Keyword which exposes members to other classes OR Identifier which makes program elements public
Public Keyword
Textbox
ushort - Size
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
28. The "Type" name of data that is stored on the Heap
Object
int - .NET alias
sbyte - Size
Reference Type
29. Field whose value can never change. Declared with 'const' keyword
Value Type
Label
ushort - Size
Constant
30. 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'.
Constructor
Textbox
Primitive
Private Access Modifier
31. 64 bit integer data
Namespace
Float (or float) - Size
long - Size
Field
32. System.Single
float - .NET alias
Static Class
Int32 - Size
Abstract Class Modifier
33. (= or += or -= or = or /=)
Assembly
Relational Operator
Assignment Operator
Properties
34. (== or !=)
csc.exe
double - .NET alias
CLR
Equality Operator
35. System.Decimal
decimal - .NET alias
Visual Studio Solution
Decimal (or decimal) - Size
int - .NET alias
36. 128 bit fixed precision (financial)
Sealed Class
Strong Typing
Stack
Decimal (or decimal) - Size
37. 32 bit integer data
Int32 - Size
Operator
String (or string)
long - .NET alias
38. System.Byte
byte - .NET alias
Partial Class Modifier
Class
Protected Access Modifier
39. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Variable
Class aka Type
Field
Method
40. Groups classes together so that they have a unique identifier
Common Language Runtime (CLR)
If Statement
Namespace
Decimal (or decimal) - Size
41. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
JITer
long - .NET alias
byte - .NET alias
long - Size
42. 64 bit integer data
Expression
Inheritance
Int64 - Size
ulong - .NET alias
43. 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
NET
short - .NET alias
FCL
44. 64 bit double precision floating point data
Derived Class
Double (or double) - Size
long - .NET alias
Assembly
45. Windows Presentation Foundation
Class Statement
Conditional Operator
Method
W.P.F
46. Sits behind GUI (Graphical User Interface) and provides event listeners
sbyte - .NET alias
Console Application
byte - Size
Window.xaml.cs
47. Restricts access to a Member to the current Class.
Inheritance
Program
Private Access Modifier
Internal Access Modifier
48. System.UInt16
NET
ushort - .NET alias
uint - Size
Decimal (or decimal) - Size
49. Compilation of classes. In C# Usually ends in .dll or .exe
Array
Value Type
Assembly
Heap
50. The lowest level or fundamental data types needed for representing data.
Primitive Type
Assignment Operator
Class aka Type
Object