SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
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 integer data (0 to 65535)
Encapsulation
ushort - Size
C#
Primitive
2. A Class that cannot be Inherited
Sealed Class
Syntax
Inheritance
float - .NET alias
3. 32 bit single precision floating point data
Virtual Method Modifier
Namespace
Float (or float) - Size
float - .NET alias
4. System.Double
double - .NET alias
long - .NET alias
Assembly
using
5. Syntax of a C# Method
Expression
Window.xaml.cs
returnType methodName (parameterList)
Data structures
6. The "Type" name of data that is stored on the Stack
ushort - .NET alias
Incrementing / Decrementing Variables
Value Type
Variable
7. 64 bit integer data
Namespace
long - Size
Incrementing / Decrementing Variables
Overloaded Method
8. A Class that cannot be instantiated.
Static Class
Inheritance
Class aka Type
Protected Internal Access Modifier
9. Field whose value can never change. Declared with 'const' keyword
Float (or float) - Size
long - Size
Constant
Expression
10. System.Int64
Class aka Type
long - .NET alias
Unary Operator
Incrementing / Decrementing Variables
11. Restricts access to a Member to the current Class.
Private Access Modifier
Field
Common Language Runtime (CLR)
Method
12. An instance of a class that exists at run-time and is typically referenced via a variable name.
Expression
Encapsulation
Object
Assembly
13. (== or !=)
using
bool - Size
Equality Operator
Parameter aka Argument
14. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
NET
Console Application
While Statement
csc.exe
15. A method that is called whenever an Object is created. The method uses the same name as the Class.
Constructor
Decimal (or decimal) - Size
While Statement
IDE
16. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
NET
Assembly
double - .NET alias
ushort - .NET alias
17. Only requires one operand usually a count+1 or a count++ or a count--
Object
Primitive Type
Unary Operator
Visual Studio Solution
18. 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.
Common Language Runtime (CLR)
Program
Partial Method Modifier
Relational Operator
19. Symbols which transform and combine expressions
Static Class
r
Window.xaml.cs
Operator
20. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Assignment Operator
Method
Inheritance
String (or string)
21. System.Single
Identifiers
Strong Typing
JIT
float - .NET alias
22. Allow access to types that exist in outside assemblies.
Operator
CLR
References (Visual Studio Solution
Object
23. 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.
Variable
ulong - Size
Constant
Equality Operator
24. Indicates that the Method can be overridden.
Strong Typing
Base Class
Virtual Method Modifier
ulong - Size
25. 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.
byte - Size
Program
Conditional Operator
Abstract Method Modifier
26. When a sub class passes down all the behaviours of the original parent class
Method
Inheritance
Boolean - Size
sbyte - .NET alias
27. A symbol that specifies an operation to be performed on one or more variables.
Variable
Operator
Overloaded Method
Polymorphism
28. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Constructor
Inheritance
CLR
sbyte - .NET alias
29. 64 bit integer data
Int64 - Size
NET
float - .NET alias
Precedence
30. The process of hiding and restricting access to the implementation details of a data structure.
Visual Studio Solution
JIT
sbyte - Size
Encapsulation
31. Access is limited to the current Assembly and Derived Types
Expression
Protected Internal Access Modifier
uint - Size
float - .NET alias
32. Box which can be typed into at runtime. Can display large amounts of scrollable text for the user. To create a scrollable one in Visual Studio set the multiline property to 'TRUE' and the Scrollbars property to 'VERTICAL'.
Encapsulation
Namespace
Textbox
Partial Method Modifier
33. The member type of a Class that performs an action.
Public Keyword
Method
Abstract Method Modifier
Identifiers
34. Windows Presentation Foundation
Visual Studio Solution
Incrementing / Decrementing Variables
W.P.F
short - .NET alias
35. Groups classes together so that they have a unique identifier
Namespace
Stack
ulong - Size
Reference Type
36. Mathematical (+ or - or / or %)
Sealed Class
Operator
Keyword
Label
37. true or false
Object
Method
bool - Size
Statement
38. Container for one or more Visual Studio Projects.
Visual Studio Solution
Protected Access Modifier
Sealed Class
Label
39. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
int - .NET alias
Protected Internal Access Modifier
Method
JITer
40. Represents date and time data with a 100 ns resolution
Framework Class Library (FCL)
Stack
DateTime
Window.xaml.cs
41. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
C#
csc.exe
Sealed Class
Assembly
42. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Object
Stack
int - Size
Operator
43. A type of statement that produces a value that might be tested or assigned to a variable.
Program
Expression
Keyword
Reference Type
44. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Overloaded Method
References (Visual Studio Solution
Abstract Class Modifier
Namespace
45. System.UInt32
Inheritance
uint - .NET alias
Identifiers
Namespace
46. Encapsulation is the process of providing access to an object only through it's messages while keeping the details private. Encapsulation controls the use of a class.
sbyte - Size
Boolean Operator
Encapsulation
Abstract Method Modifier
47. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
DateTime
Boolean - Size
Method
Variable
48. 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
Inheritance
Program
W.P.F
49. System.UInt16
Strong Typing
ushort - .NET alias
Double (or double) - Size
JIT
50. 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.
Method
Syntax
Assembly
Virtual Method Modifier