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. 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)
Stack
bool - Size
Int32 - Size
Boolean Operator
2. true or false
Operator
Strong Typing
Boolean - Size
Static Class
3. The .NET run-time environment that enables code to be compiled and executed.
Keyword
Properties
Common Language Runtime (CLR)
Operator
4. System.UInt16
Reference Type
uint - .NET alias
ushort - .NET alias
Inheritance
5. 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.
Abstract Method Modifier
CLR
Label
Protected Internal Access Modifier
6. Symbols which transform and combine expressions
Operator
W.P.F
Value Type
Statement
7. Indicates that the Method can be overridden.
Primitive
byte - Size
r
Virtual Method Modifier
8. (&& or || or & or |)
Double (or double) - Size
Assembly
Conditional Operator
Program
9. System.UInt32
W.P.F
uint - .NET alias
int - .NET alias
Reference Type
10. System.Int16
csc.exe
short - .NET alias
Static Class
Encapsulation
11. A Class that cannot be instantiated.
Partial Class Modifier
Static Class
Primitive
Static Member
12. Extra information within a method
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Parameter aka Argument
Inheritance
Base Class
13. 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
Class aka Type
Heap
Method
Stack
14. 32 bit single precision floating point data
Operator
Float (or float) - Size
Variable
Dot Notation
15. Names reserved by the compiler that coders are not allowed to use as identifiers.
C#
Class aka Type
Keyword
Protected Access Modifier
16. Access is limited to the current Assembly
Inheritance
Internal Access Modifier
Int64 - Size
Operator
17. An instance of a class that exists at run-time and is typically referenced via a variable name.
Object
NET
Internal Access Modifier
Common Language Runtime (CLR)
18. A Class from which other classes can inherit characteristics.
ulong - .NET alias
Base Class
Expression
Window.xaml.cs
19. Variables defined by a class
Variable
Inheritance
Field
Syntax
20. System.UInt64
ulong - .NET alias
Method
Abstract Class Modifier
Framework Class Library (FCL)
21. Introduces a new class. Marked by curly brackets { }
Partial Class Modifier
Polymorphism
Class Statement
Unary Operator
22. The process of compiling IL source into CPU-native code for execution.
Double (or double) - Size
Just-in-time (JIT
Conditional Operator
Boolean Operator
23. Restricts access to a Member to the current Class and any Derived Class.
Protected Access Modifier
Object
Derived Class
Properties
24. The member type of a Class that performs an action.
Method
Class Statement
r
csc.exe
25. Code which implements GUI (graphical User Interface).
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Syntax
Encapsulation
Field
26. count = count+1 or count++ or count__. Both count variables are Unary Operators
Comments
Unary Operator
Incrementing / Decrementing Variables
Namespace
27. Used to display text that end user does not need to edit.
NET
Label
uint - Size
Comments
28. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Inheritance
Method
Heap
Polymorphism
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.
Derived Class
Variable
csc.exe
C#
30. 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.
Static Class
Array
Class aka Type
Partial Method Modifier
31. A Class that cannot be Inherited
Sealed Class
Unary Operator
Field
byte - Size
32. System.Int64
Polymorphism
long - .NET alias
NET
CLR
33. 16 bit - unsigned integer data (0 to 65535)
Partial Method Modifier
ushort - Size
Inheritance
Value Type
34. A symbol that specifies an operation to be performed on one or more variables.
Properties
Operator
Class Statement
FCL
35. Sits behind GUI (Graphical User Interface) and provides event listeners
Window.xaml.cs
Encapsulation
Inheritance
Public Keyword
36. Field whose value can never change. Declared with 'const' keyword
r
Console Application
Constant
Operator
37. Mathematical (+ or - or / or %)
Statement
Abstraction
csc.exe
Operator
38. Contains the class definitions that allow access to the functionality provided by .NET.
Primitive Type
Console Application
Field
Framework Class Library (FCL)
39. 16 bit- unsigned word (U+0000 to U+ffff)
Internal Access Modifier
Value Type
Base Class
char - Size
40. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Value Type
Strong Typing
NET
Primitive
41. A type of statement that produces a value that might be tested or assigned to a variable.
Syntax
Field
Object
Expression
42. Command which runs repeatedly while (some) condition is true.
W.P.F
Static Class
Conditional Operator
While Statement
43. A method that is called whenever an Object is created. The method uses the same name as the Class.
JITer
Constructor
Relational Operator
Precedence
44. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Relational Operator
Namespace
Expression
FCL
45. 32 bit integer data
Base Class
Derived Class
int - Size
If Statement
46. 32 bit - unsigned integer data
Primitive
uint - Size
Data structures
Constant
47. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Static Class
Double (or double) - Size
Expression
Boolean Operator
48. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
returnType methodName (parameterList)
Inheritance
Primitive Type
Class aka Type
49. 64 bit integer data
sbyte - .NET alias
Intermediate Language (IL)
uint - .NET alias
Int64 - Size
50. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Encapsulation
Assembly
Visual Studio Solution
uint - .NET alias