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 .NET run-time environment that enables code to be compiled and executed.
FCL
Program
Common Language Runtime (CLR)
Precedence
2. (< or > or <= or >=)
While Statement
Expression
Relational Operator
Equality Operator
3. Represents the encapsulation of data and behaviors into a single unit.
Class
Method
Incrementing / Decrementing Variables
decimal - .NET alias
4. Text as Unicode characters
String (or string)
Static Class
Assembly
Encapsulation
5. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
JITer
csc.exe
Encapsulation
Stack
6. System.UInt32
IDE
Inheritance
uint - .NET alias
While Statement
7. 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.
Incrementing / Decrementing Variables
Internal Access Modifier
Encapsulation
If Statement
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)
Statement
Boolean Operator
Operator
float - .NET alias
9. Command which runs repeatedly while (some) condition is true.
Assembly
If Statement
While Statement
Protected Internal Access Modifier
10. Code which signifies a carriage return. Symbolises a new line in a text box.
int - Size
r
Assembly
Program
11. Extra information within a method
Comments
If Statement
Parameter aka Argument
Common Language Runtime (CLR)
12. System.Decimal
int - .NET alias
decimal - .NET alias
r
Expression
13. System.Single
Sealed Class
float - .NET alias
Abstraction
Class
14. Contains the class definitions that allow access to the functionality provided by .NET.
Static Class
Console Application
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Framework Class Library (FCL)
15. A Member that cannot be accessed/invoked through an Object Instance.
Identifiers
Static Member
Comments
JITer
16. Windows Presentation Foundation
W.P.F
int - Size
Operator
r
17. 8 bit - signed byte (-128 - 127)
sbyte - Size
returnType methodName (parameterList)
If Statement
Partial Method Modifier
18. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Primitive Type
Namespace
Syntax
Strong Typing
19. 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.
Constant
Class aka Type
Abstract Method Modifier
Value Type
20. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Comments
String (or string)
Properties
Common Language Runtime (CLR)
21. 32 bit integer data
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
CLR
byte - .NET alias
int - Size
22. (= or += or -= or = or /=)
Assignment Operator
uint - Size
Variable
sbyte - .NET alias
23. 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
Reference Type
char - Size
Dot Notation
Abstract Class Modifier
24. Rules defining or outlining the format and construction of statements. Semantics is what statements actually DO Syntax are RULES for how to lay statements out. Example syntax rule; All statements must end in a semicolon.
Just-in-time (JIT
Syntax
byte - .NET alias
DateTime
25. Symbols which transform and combine expressions
If Statement
Object
Operator
Assembly
26. Command Language Runtime
Constructor
Primitive Type
Operator
CLR
27. 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
String (or string)
Double (or double) - Size
Variable (C# requirements)
28. The lowest level or fundamental data types needed for representing data.
Primitive Type
Assembly
Window.xaml.cs
Overloaded Method
29. (== or !=)
Constant
Equality Operator
Variable
Unary Operator
30. Allows the definition of a Class to span multiple files (within the same Project)
Int64 - Size
Partial Class Modifier
Assembly
byte - Size
31. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
char - Size
Method
Keyword
using
32. Allows a Method to be defined in a separate file (within the same Project). If no definition is found the compiler excludes the Method as an optimization.
Textbox
Operator
Primitive Type
Partial Method Modifier
33. Syntax of a C# Method
Namespace
If Statement
Operator
returnType methodName (parameterList)
34. Field whose value can never change. Declared with 'const' keyword
Static Member
char - .NET alias
Constant
Method
35. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Array
Abstract Class Modifier
Identifiers
Label
36. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
DateTime
Inheritance
Statement
int - .NET alias
37. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
csc.exe
Internal Access Modifier
Properties
Partial Method Modifier
38. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Unary Operator
Data structures
Comments
Abstraction
39. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Expression
Constructor
Textbox
Statement
40. System.UInt64
Strong Typing
ulong - .NET alias
using
IDE
41. System.Int16
short - .NET alias
Statement
long - .NET alias
using
42. Mathematical (+ or - or / or %)
Object
Reference Type
Operator
Precedence
43. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
int - Size
Properties
Stack
Expression
44. Compilation of classes. In C# Usually ends in .dll or .exe
short - .NET alias
Data structures
Assembly
Reference Type
45. 32 bit single precision floating point data
Program
Float (or float) - Size
using
Assembly
46. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
References (Visual Studio Solution
Data structures
using
Value Type
47. A method that is called whenever an Object is created. The method uses the same name as the Class.
Int64 - Size
Constructor
Constant
Object
48. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
int - .NET alias
Syntax
double - .NET alias
Namespace
49. 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
Heap
Keyword
String (or string)
Intermediate Language (IL)
50. Most common kind of reference type. They define objects. They must have at least one method and one field.
Sealed Class
Variable
Class aka Type
CLR