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. Command Language Runtime
short - .NET alias
float - .NET alias
Private Access Modifier
CLR
2. System.Int32
ulong - .NET alias
Syntax
short - .NET alias
int - .NET alias
3. The .NET run-time environment that enables code to be compiled and executed.
byte - Size
Common Language Runtime (CLR)
Comments
Heap
4. 16 bit - unsigned integer data (0 to 65535)
Overloaded Method
Object
ushort - Size
References (Visual Studio Solution
5. System.Char
char - .NET alias
Operator
Overloaded Method
ulong - .NET alias
6. 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)
Heap
Value Type
Boolean Operator
Class Statement
7. A Class that can only have Static Members
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Precedence
Static Member
Static Class
8. 32 bit - unsigned integer data
Precedence
uint - Size
Variable
float - .NET alias
9. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Inheritance
Array
Assembly
Internal Access Modifier
10. Represents the encapsulation of data and behaviors into a single unit.
Class
Assignment Operator
uint - Size
Inheritance
11. Restricts access to a Member to the current Class.
Private Access Modifier
Comments
returnType methodName (parameterList)
Console Application
12. The process of hiding and restricting access to the implementation details of a data structure.
uint - .NET alias
Protected Access Modifier
Encapsulation
bool - Size
13. Framework Class Library
Boolean - Size
Constructor
FCL
Namespace
14. Command which runs repeatedly while (some) condition is true.
Int64 - Size
While Statement
Static Class
DateTime
15. 64 bit - unsigned integer data
W.P.F
byte - Size
ulong - Size
Program
16. 64 bit double precision floating point data
Object
Double (or double) - Size
DateTime
Value Type
17. A type of statement that produces a value that might be tested or assigned to a variable.
Intermediate Language (IL)
Array
Expression
Method
18. Must have a data type
Decimal (or decimal) - Size
Unary Operator
Common Language Runtime (CLR)
Variable (C# requirements)
19. 32 bit integer data
Int32 - Size
Reference Type
W.P.F
Overloaded Method
20. System.UInt64
Assembly
Protected Access Modifier
ulong - .NET alias
Double (or double) - Size
21. 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.
Syntax
Encapsulation
Assembly
long - Size
22. A Class that inherits characteristics from another Class.
Reference Type
long - Size
Derived Class
double - .NET alias
23. Only requires one operand usually a count+1 or a count++ or a count--
Primitive Type
Unary Operator
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Method
24. Windows Presentation Foundation
W.P.F
Operator
Class
Abstract Method Modifier
25. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
If Statement
Intermediate Language (IL)
Strong Typing
Encapsulation
26. System.UInt32
Encapsulation
float - .NET alias
Class aka Type
uint - .NET alias
27. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Class Statement
Method
Data structures
Program
28. A Class that cannot be instantiated.
Encapsulation
Dot Notation
Static Class
Base Class
29. Names reserved by the compiler that coders are not allowed to use as identifiers.
Polymorphism
using
Keyword
Parameter aka Argument
30. The process of compiling IL source into CPU-native code for execution.
long - Size
Strong Typing
Polymorphism
Just-in-time (JIT
31. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Primitive Type
Abstraction
Properties
Namespace
32. The "Type" name of data that is stored on the Heap
sbyte - Size
Parameter aka Argument
Reference Type
W.P.F
33. An instance of a class that exists at run-time and is typically referenced via a variable name.
Equality Operator
Object
Virtual Method Modifier
Partial Class Modifier
34. Sits behind GUI (Graphical User Interface) and provides event listeners
Operator
Boolean Operator
Array
Window.xaml.cs
35. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Inheritance
Abstract Class Modifier
float - .NET alias
Value Type
36. Code which signifies a carriage return. Symbolises a new line in a text box.
Program
Variable (C# requirements)
C#
r
37. Keyword which exposes members to other classes OR Identifier which makes program elements public
r
Public Keyword
decimal - .NET alias
Data structures
38. 16 bit - signed integer data (-32768 to 32767)
short - Size
Syntax
Operator
Protected Internal Access Modifier
39. (< or > or <= or >=)
ushort - Size
Expression
Relational Operator
ulong - .NET alias
40. 64 bit integer data
long - Size
returnType methodName (parameterList)
Just-in-time (JIT
Keyword
41. Instance of a type created when a program runs. Can be visible or invisible. Has properties and events and methods. Properties- determine appearance. Events - trigger a response. Methods - something the object does
Object
decimal - .NET alias
Abstract Method Modifier
Label
42. Syntax of a C# Method
returnType methodName (parameterList)
Method
Primitive
Syntax
43. Series of instructions which tell a computer what to do.
ulong - Size
Program
CLR
bool - Size
44. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Assembly
C#
Primitive Type
Protected Internal Access Modifier
45. Restricts access to a Member to the current Class and any Derived Class.
Boolean - Size
Protected Access Modifier
Statement
Partial Class Modifier
46. System.SByte
Inheritance
Comments
sbyte - .NET alias
decimal - .NET alias
47. Groups classes together so that they have a unique identifier
Incrementing / Decrementing Variables
Variable (C# requirements)
Operator
Namespace
48. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Overloaded Method
Unary Operator
Polymorphism
Stack
49. 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.
Object
short - Size
Textbox
Abstract Method Modifier
50. Most common kind of reference type. They define objects. They must have at least one method and one field.
IDE
Window.xaml.cs
Sealed Class
Class aka Type