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 word (U+0000 to U+ffff)
Properties
Framework Class Library (FCL)
char - Size
Operator
2. 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
Partial Class Modifier
short - .NET alias
Stack
3. System.UInt64
Abstract Method Modifier
ulong - .NET alias
Just-in-time (JIT
Static Member
4. Restricts access to a Member to the current Class and any Derived Class.
Protected Access Modifier
Double (or double) - Size
Constant
Operator
5. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Abstraction
sbyte - .NET alias
Encapsulation
If Statement
6. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
IDE
double - .NET alias
csc.exe
using
7. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Class Statement
Stack
Static Class
Reference Type
8. System.Int16
IDE
Int32 - Size
short - .NET alias
Variable
9. The .NET run-time environment that enables code to be compiled and executed.
Common Language Runtime (CLR)
double - .NET alias
Method
Equality Operator
10. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
ulong - Size
Protected Access Modifier
Expression
Strong Typing
11. Access is limited to the current Assembly
csc.exe
Inheritance
char - .NET alias
Internal Access Modifier
12. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
uint - Size
Class Statement
Inheritance
Variable (C# requirements)
13. Allows the definition of a Class to span multiple files (within the same Project)
Int64 - Size
char - Size
String (or string)
Partial Class Modifier
14. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
using
Method
Namespace
JITer
15. System.UInt32
uint - .NET alias
Stack
uint - Size
Protected Internal Access Modifier
16. 8 bit - signed byte (-128 - 127)
sbyte - Size
Console Application
Int64 - Size
Assembly
17. 16 bit - signed integer data (-32768 to 32767)
Dot Notation
Method
Properties
short - Size
18. Something that has a different number of parameters to it's predecessor
Window.xaml.cs
short - Size
Overloaded Method
Inheritance
19. 64 bit double precision floating point data
Precedence
Encapsulation
Partial Class Modifier
Double (or double) - Size
20. The member type of a Class that performs an action.
Operator
Method
Window.xaml.cs
Field
21. 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.
char - .NET alias
W.P.F
Abstraction
Variable
22. Microsoft's generic software framework for application development.
NET
C#
Class Statement
csc.exe
23. 8 bit - unsigned byte (0 - 255)
byte - Size
Method
Variable
Abstraction
24. 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
CLR
Polymorphism
Variable (C# requirements)
Heap
25. A symbol that specifies an operation to be performed on one or more variables.
W.P.F
Operator
JIT
int - .NET alias
26. Must have a data type
Strong Typing
Float (or float) - Size
Variable (C# requirements)
Label
27. The "Type" name of data that is stored on the Heap
Comments
Primitive Type
byte - Size
Reference Type
28. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Inheritance
Conditional Operator
Keyword
Intermediate Language (IL)
29. Indicates that the Method can be overridden.
Virtual Method Modifier
Value Type
Comments
short - Size
30. A Class that cannot be Inherited
int - Size
Common Language Runtime (CLR)
Sealed Class
Class
31. System.Single
Just-in-time (JIT
Sealed Class
float - .NET alias
Label
32. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
JITer
Identifiers
Primitive Type
Boolean - Size
33. Compilation of classes. In C# Usually ends in .dll or .exe
Primitive
Assembly
ulong - .NET alias
Array
34. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
short - Size
Heap
Statement
Namespace
35. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
Textbox
If Statement
Namespace
Encapsulation
36. Groups classes together so that they have a unique identifier
Precedence
Decimal (or decimal) - Size
Protected Internal Access Modifier
Namespace
37. System.Decimal
Protected Access Modifier
byte - .NET alias
short - Size
decimal - .NET alias
38. Series of instructions which tell a computer what to do.
Equality Operator
r
Operator
Program
39. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Variable
Decimal (or decimal) - Size
Boolean - Size
ulong - .NET alias
40. System.Byte
Assembly
decimal - .NET alias
byte - .NET alias
Visual Studio Solution
41. 32 bit integer data
Variable (C# requirements)
Int32 - Size
Static Class
Encapsulation
42. Mathematical (+ or - or / or %)
NET
Operator
Abstract Method Modifier
Strong Typing
43. System.Char
Static Class
Assignment Operator
char - .NET alias
r
44. System.UInt16
Double (or double) - Size
DateTime
ushort - .NET alias
byte - Size
45. Introduces a new class. Marked by curly brackets { }
Encapsulation
Class Statement
returnType methodName (parameterList)
IDE
46. The process of hiding and restricting access to the implementation details of a data structure.
Static Class
Encapsulation
Just-in-time (JIT
Strong Typing
47. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Public Keyword
Syntax
Array
Internal Access Modifier
48. 16 bit - unsigned integer data (0 to 65535)
ushort - Size
Textbox
Abstract Method Modifier
sbyte - Size
49. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Primitive
Namespace
Protected Internal Access Modifier
While Statement
50. A Class that can only have Static Members
Abstract Class Modifier
Static Class
Variable (C# requirements)
Operator