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. When a sub class passes down all the behaviours of the original parent class
Int32 - Size
Inheritance
using
Strong Typing
2. System.UInt64
ulong - .NET alias
Operator
bool - Size
DateTime
3. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Statement
Array
C#
decimal - .NET alias
4. Windows Presentation Foundation
ulong - .NET alias
Virtual Method Modifier
W.P.F
long - .NET alias
5. Allows the definition of a Class to span multiple files (within the same Project)
W.P.F
Partial Class Modifier
Assignment Operator
byte - .NET alias
6. Represents date and time data with a 100 ns resolution
Partial Method Modifier
Constant
ushort - .NET alias
DateTime
7. 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
Namespace
Object
FCL
Int32 - Size
8. 32 bit integer data
Base Class
Int32 - Size
Inheritance
float - .NET alias
9. A method that is called whenever an Object is created. The method uses the same name as the Class.
long - Size
Array
Constructor
ulong - .NET alias
10. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
Constructor
Statement
csc.exe
using
11. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
Framework Class Library (FCL)
Label
Value Type
using
12. true or false
Boolean - Size
W.P.F
Public Keyword
byte - .NET alias
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
Heap
Precedence
Sealed Class
Primitive
14. System.SByte
Int32 - Size
Object
sbyte - .NET alias
Double (or double) - Size
15. 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
Console Application
W.P.F
Overloaded Method
16. System.Int16
Parameter aka Argument
Operator
short - .NET alias
Just-in-time (JIT
17. true or false
Assembly
bool - Size
Encapsulation
short - Size
18. Introduces a new class. Marked by curly brackets { }
Decimal (or decimal) - Size
Value Type
Partial Class Modifier
Class Statement
19. 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)
short - .NET alias
Boolean Operator
Heap
Label
20. count = count+1 or count++ or count__. Both count variables are Unary Operators
Field
Incrementing / Decrementing Variables
Variable
Intermediate Language (IL)
21. The "Type" name of data that is stored on the Heap
Reference Type
References (Visual Studio Solution
Public Keyword
Textbox
22. 16 bit - unsigned integer data (0 to 65535)
Static Class
While Statement
ushort - Size
Method
23. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
decimal - .NET alias
Base Class
Inheritance
r
24. 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.
ulong - Size
Namespace
Variable
Window.xaml.cs
25. Used to display text that end user does not need to edit.
Encapsulation
Label
Boolean Operator
Variable
26. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Console Application
Assembly
Method
JIT
27. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Polymorphism
Inheritance
Boolean Operator
ushort - Size
28. Access is limited to the current Assembly
Operator
FCL
Internal Access Modifier
Base Class
29. Indicates that the Method can be overridden.
Equality Operator
Virtual Method Modifier
FCL
Assembly
30. A symbol that specifies an operation to be performed on one or more variables.
FCL
byte - Size
ushort - .NET alias
Operator
31. Mathematical (+ or - or / or %)
Syntax
Operator
Variable
Field
32. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Primitive
Precedence
Overloaded Method
Int32 - Size
33. Field whose value can never change. Declared with 'const' keyword
Constant
Equality Operator
Intermediate Language (IL)
Unary Operator
34. Keyword which exposes members to other classes OR Identifier which makes program elements public
Float (or float) - Size
Object
Constant
Public Keyword
35. System.Int32
FCL
Assembly
decimal - .NET alias
int - .NET alias
36. The "Type" name of data that is stored on the Stack
Field
Value Type
CLR
String (or string)
37. System.Int64
long - .NET alias
float - .NET alias
If Statement
byte - Size
38. System.Byte
byte - .NET alias
Protected Access Modifier
Operator
Statement
39. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Abstract Class Modifier
Stack
Static Class
String (or string)
40. A Class from which other classes can inherit characteristics.
Abstract Class Modifier
Base Class
Boolean Operator
Variable (C# requirements)
41. The process of compiling IL source into CPU-native code for execution.
bool - Size
Static Member
Boolean - Size
Just-in-time (JIT
42. A Class that cannot be instantiated.
Array
Static Class
Expression
Data structures
43. The .NET run-time environment that enables code to be compiled and executed.
Static Class
Common Language Runtime (CLR)
uint - Size
Program
44. Contains the class definitions that allow access to the functionality provided by .NET.
Framework Class Library (FCL)
Array
Abstraction
short - Size
45. Access is limited to the current Assembly and Derived Types
Overloaded Method
float - .NET alias
Operator
Protected Internal Access Modifier
46. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
char - Size
Properties
csc.exe
Namespace
47. 32 bit - unsigned integer data
Partial Method Modifier
uint - Size
Unary Operator
Precedence
48. The member type of a Class that performs an action.
Method
long - Size
Virtual Method Modifier
Float (or float) - Size
49. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Polymorphism
Primitive
Sealed Class
Stack
50. 8 bit - unsigned byte (0 - 255)
short - .NET alias
Int32 - Size
IDE
byte - Size