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. The "Type" name of data that is stored on the Stack
If Statement
Assignment Operator
Operator
Value Type
2. System.SByte
sbyte - .NET alias
Constructor
Protected Access Modifier
Object
3. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
DateTime
using
Namespace
Syntax
4. Restricts access to a Member to the current Class and any Derived Class.
Polymorphism
Namespace
Protected Access Modifier
Equality Operator
5. 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
Sealed Class
Data structures
byte - Size
6. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
Class Statement
NET
Method
JITer
7. Code which signifies a carriage return. Symbolises a new line in a text box.
r
ulong - .NET alias
Primitive Type
Syntax
8. 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
byte - .NET alias
Class Statement
Textbox
Heap
9. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Variable
Operator
int - Size
Value Type
10. A type of statement that produces a value that might be tested or assigned to a variable.
If Statement
Virtual Method Modifier
Expression
Keyword
11. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Namespace
decimal - .NET alias
Constant
Statement
12. The "Type" name of data that is stored on the Heap
Reference Type
Intermediate Language (IL)
r
Decimal (or decimal) - Size
13. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
References (Visual Studio Solution
W.P.F
Console Application
long - .NET alias
14. A Class that can only have Static Members
Protected Access Modifier
Static Class
Inheritance
Value Type
15. Symbols which transform and combine expressions
Operator
long - Size
ushort - .NET alias
ulong - .NET alias
16. 8 bit - unsigned byte (0 - 255)
String (or string)
byte - Size
uint - Size
Incrementing / Decrementing Variables
17. Allow access to types that exist in outside assemblies.
short - .NET alias
double - .NET alias
Encapsulation
References (Visual Studio Solution
18. Groups classes together so that they have a unique identifier
Class
Namespace
Decimal (or decimal) - Size
Base Class
19. 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
Virtual Method Modifier
Assembly
Keyword
20. 8 bit - signed byte (-128 - 127)
long - .NET alias
Comments
sbyte - Size
short - Size
21. Microsoft's generic software framework for application development.
Overloaded Method
r
Abstraction
NET
22. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Inheritance
Assembly
Int64 - Size
Abstract Class Modifier
23. A symbol that specifies an operation to be performed on one or more variables.
Polymorphism
Operator
JIT
Static Member
24. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Class aka Type
Strong Typing
Precedence
Assembly
25. Windows Presentation Foundation
r
Abstract Method Modifier
Static Class
W.P.F
26. Allows the definition of a Class to span multiple files (within the same Project)
Partial Class Modifier
Common Language Runtime (CLR)
Assembly
Label
27. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Intermediate Language (IL)
Properties
ulong - Size
Statement
28. System.Double
double - .NET alias
Equality Operator
Intermediate Language (IL)
Overloaded Method
29. 16 bit - unsigned integer data (0 to 65535)
Partial Class Modifier
Static Member
ushort - Size
Common Language Runtime (CLR)
30. 32 bit integer data
int - Size
Partial Class Modifier
Expression
Textbox
31. Represents date and time data with a 100 ns resolution
Method
sbyte - .NET alias
DateTime
Precedence
32. Just-in-time compilation
JIT
Unary Operator
Protected Internal Access Modifier
Assembly
33. System.Decimal
decimal - .NET alias
Strong Typing
Object
Just-in-time (JIT
34. 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.
Just-in-time (JIT
Data structures
Comments
Partial Method Modifier
35. Sits behind GUI (Graphical User Interface) and provides event listeners
Window.xaml.cs
Static Class
Common Language Runtime (CLR)
Method
36. System.UInt64
Object
ulong - .NET alias
Operator
ushort - .NET alias
37. (== or !=)
Equality Operator
short - Size
Just-in-time (JIT
Field
38. 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.
Intermediate Language (IL)
References (Visual Studio Solution
Polymorphism
Variable
39. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Expression
char - Size
C#
Identifiers
40. System.Single
Assembly
ushort - .NET alias
float - .NET alias
NET
41. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
If Statement
Framework Class Library (FCL)
Operator
Double (or double) - Size
42. count = count+1 or count++ or count__. Both count variables are Unary Operators
JITer
DateTime
Program
Incrementing / Decrementing Variables
43. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Assignment Operator
Dot Notation
Precedence
Variable
44. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Method
Field
Array
Protected Internal Access Modifier
45. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
References (Visual Studio Solution
Data structures
Assembly
int - Size
46. A Class that inherits characteristics from another Class.
Derived Class
Constructor
Partial Class Modifier
Primitive Type
47. The .NET run-time environment that enables code to be compiled and executed.
Expression
byte - Size
Conditional Operator
Common Language Runtime (CLR)
48. Contains the class definitions that allow access to the functionality provided by .NET.
Conditional Operator
Primitive
decimal - .NET alias
Framework Class Library (FCL)
49. An instance of a class that exists at run-time and is typically referenced via a variable name.
References (Visual Studio Solution
Unary Operator
Object
sbyte - Size
50. Most common kind of reference type. They define objects. They must have at least one method and one field.
double - .NET alias
Method
Class aka Type
Properties