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. Access is limited to the current Assembly and Derived Types
Method
Protected Internal Access Modifier
String (or string)
Statement
2. System.Char
char - .NET alias
Common Language Runtime (CLR)
Class
JIT
3. 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)
int - .NET alias
Boolean Operator
IDE
References (Visual Studio Solution
4. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Object
Comments
uint - .NET alias
Variable
5. A method that is called whenever an Object is created. The method uses the same name as the Class.
Visual Studio Solution
byte - .NET alias
Sealed Class
Constructor
6. Text as Unicode characters
String (or string)
Identifiers
Inheritance
Parameter aka Argument
7. Groups classes together so that they have a unique identifier
Relational Operator
Virtual Method Modifier
Method
Namespace
8. A Class that cannot be Inherited
int - .NET alias
Sealed Class
Object
decimal - .NET alias
9. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Partial Method Modifier
Inheritance
Program
Overloaded Method
10. A symbol that specifies an operation to be performed on one or more variables.
sbyte - .NET alias
Encapsulation
Int64 - Size
Operator
11. Most common kind of reference type. They define objects. They must have at least one method and one field.
Class aka Type
Int64 - Size
Partial Method Modifier
Strong Typing
12. Restricts access to a Member to the current Class.
Expression
sbyte - Size
Private Access Modifier
Class aka Type
13. count = count+1 or count++ or count__. Both count variables are Unary Operators
Conditional Operator
Constant
long - .NET alias
Incrementing / Decrementing Variables
14. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
References (Visual Studio Solution
C#
Protected Access Modifier
decimal - .NET alias
15. System.Int32
csc.exe
int - .NET alias
Parameter aka Argument
Method
16. System.Byte
Object
ushort - .NET alias
byte - .NET alias
sbyte - Size
17. (== or !=)
If Statement
Class aka Type
Primitive
Equality Operator
18. Used to display text that end user does not need to edit.
Framework Class Library (FCL)
Abstraction
Protected Access Modifier
Label
19. A representation of an area in the computer memory in which a value of a particular data type can be stored.
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Variable
Abstraction
Class
20. Sits behind GUI (Graphical User Interface) and provides event listeners
Float (or float) - Size
Window.xaml.cs
Double (or double) - Size
Base Class
21. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Just-in-time (JIT
Method
Equality Operator
Object
22. The process of hiding and restricting access to the implementation details of a data structure.
Just-in-time (JIT
Class Statement
Window.xaml.cs
Encapsulation
23. (< or > or <= or >=)
Relational Operator
JITer
Inheritance
Variable
24. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
C#
using
Assignment Operator
Comments
25. Only requires one operand usually a count+1 or a count++ or a count--
long - Size
Unary Operator
Variable
Expression
26. Command Language Runtime
While Statement
Properties
Assembly
CLR
27. A Class that can only have Static Members
Internal Access Modifier
References (Visual Studio Solution
Static Class
Class Statement
28. Code which implements GUI (graphical User Interface).
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
char - Size
Boolean Operator
Abstraction
29. 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.
Int64 - Size
While Statement
Syntax
Operator
30. (&& or || or & or |)
Conditional Operator
Partial Class Modifier
Inheritance
Array
31. Access is limited to the current Assembly
byte - .NET alias
sbyte - Size
Internal Access Modifier
Expression
32. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
ushort - .NET alias
CLR
Namespace
char - Size
33. Compilation of classes. In C# Usually ends in .dll or .exe
Window.xaml.cs
sbyte - Size
Assembly
Constructor
34. Symbols which transform and combine expressions
Dot Notation
Statement
Operator
Class
35. 64 bit double precision floating point data
Class
Double (or double) - Size
Sealed Class
short - .NET alias
36. 8 bit - unsigned byte (0 - 255)
FCL
IDE
JITer
byte - Size
37. System.Int64
ulong - Size
Base Class
long - .NET alias
CLR
38. Extra information within a method
Class Statement
Assembly
Private Access Modifier
Parameter aka Argument
39. 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
Namespace
Derived Class
Protected Access Modifier
40. Must have a data type
Protected Access Modifier
Unary Operator
Value Type
Variable (C# requirements)
41. The .NET run-time environment that enables code to be compiled and executed.
Statement
Static Member
Operator
Common Language Runtime (CLR)
42. A Class that cannot be instantiated.
r
References (Visual Studio Solution
Assembly
Static Class
43. 16 bit - unsigned integer data (0 to 65535)
Class aka Type
Decimal (or decimal) - Size
Precedence
ushort - Size
44. Restricts access to a Member to the current Class and any Derived Class.
Polymorphism
Derived Class
decimal - .NET alias
Protected Access Modifier
45. When a sub class passes down all the behaviours of the original parent class
Inheritance
Operator
Class
decimal - .NET alias
46. The member type of a Class that performs an action.
Method
JITer
Static Class
Label
47. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
Assembly
Variable
Label
If Statement
48. 64 bit - unsigned integer data
Abstraction
ulong - Size
Method
returnType methodName (parameterList)
49. 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.
Strong Typing
References (Visual Studio Solution
Encapsulation
Variable
50. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Variable
Window.xaml.cs
Strong Typing
Partial Method Modifier