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. 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
References (Visual Studio Solution
DateTime
Float (or float) - Size
Heap
2. Integrated Development Environment
IDE
Variable
ushort - .NET alias
Relational Operator
3. The process of hiding and restricting access to the implementation details of a data structure.
Data structures
Encapsulation
W.P.F
Console Application
4. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
If Statement
Primitive
Protected Access Modifier
Inheritance
5. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Array
Method
Derived Class
Statement
6. Restricts access to a Member to the current Class and any Derived Class.
ulong - Size
byte - Size
Protected Access Modifier
Object
7. (< or > or <= or >=)
Operator
Relational Operator
Protected Access Modifier
Dot Notation
8. Introduces a new class. Marked by curly brackets { }
IDE
Object
Abstract Method Modifier
Class Statement
9. Command Language Runtime
double - .NET alias
Framework Class Library (FCL)
CLR
Derived Class
10. 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.
Common Language Runtime (CLR)
Stack
Syntax
Double (or double) - Size
11. A Class that cannot be instantiated.
returnType methodName (parameterList)
int - Size
Value Type
Static Class
12. count = count+1 or count++ or count__. Both count variables are Unary Operators
Boolean - Size
References (Visual Studio Solution
Private Access Modifier
Incrementing / Decrementing Variables
13. Access is limited to the current Assembly
Internal Access Modifier
Primitive
Base Class
W.P.F
14. A method that is called whenever an Object is created. The method uses the same name as the Class.
References (Visual Studio Solution
Constructor
JITer
Double (or double) - Size
15. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Array
uint - .NET alias
Stack
Expression
16. Just-in-time compilation
Textbox
sbyte - .NET alias
JIT
Variable
17. 8 bit - unsigned byte (0 - 255)
byte - Size
char - Size
Decimal (or decimal) - Size
Int64 - Size
18. Series of instructions which tell a computer what to do.
Identifiers
Textbox
Strong Typing
Program
19. Code which implements GUI (graphical User Interface).
Heap
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
IDE
String (or string)
20. A Class from which other classes can inherit characteristics.
Variable (C# requirements)
Base Class
Boolean Operator
JIT
21. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
int - Size
Properties
Stack
Protected Access Modifier
22. Field whose value can never change. Declared with 'const' keyword
Static Member
Data structures
Protected Access Modifier
Constant
23. 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
Unary Operator
byte - Size
Object
Abstraction
24. Allow access to types that exist in outside assemblies.
References (Visual Studio Solution
Inheritance
Variable
Encapsulation
25. System.Decimal
Protected Access Modifier
Inheritance
decimal - .NET alias
JIT
26. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
FCL
Console Application
Abstract Class Modifier
Statement
27. Represents the encapsulation of data and behaviors into a single unit.
sbyte - Size
Class
Abstraction
Constructor
28. A Class that cannot be Inherited
Value Type
Sealed Class
JIT
Abstract Method Modifier
29. Represents date and time data with a 100 ns resolution
Boolean - Size
DateTime
Common Language Runtime (CLR)
Operator
30. System.Double
double - .NET alias
csc.exe
Polymorphism
Assembly
31. 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.
Abstract Class Modifier
Variable
NET
Overloaded Method
32. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
csc.exe
byte - .NET alias
Syntax
DateTime
33. Restricts access to a Member to the current Class.
Constant
byte - .NET alias
Double (or double) - Size
Private Access Modifier
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.
Partial Method Modifier
Label
Field
using
35. 16 bit- unsigned word (U+0000 to U+ffff)
Properties
C#
char - Size
short - .NET alias
36. Something that has a different number of parameters to it's predecessor
Overloaded Method
Boolean - Size
byte - .NET alias
String (or string)
37. 64 bit integer data
String (or string)
Precedence
Int64 - Size
sbyte - .NET alias
38. Used to display text that end user does not need to edit.
Static Member
sbyte - .NET alias
Label
C#
39. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Assembly
long - Size
DateTime
using
40. Names reserved by the compiler that coders are not allowed to use as identifiers.
Keyword
Equality Operator
Constructor
Assignment Operator
41. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Statement
Namespace
ulong - Size
Object
42. Microsoft's generic software framework for application development.
If Statement
NET
Boolean Operator
Console Application
43. Sits behind GUI (Graphical User Interface) and provides event listeners
Statement
Window.xaml.cs
Framework Class Library (FCL)
Inheritance
44. Command which runs repeatedly while (some) condition is true.
References (Visual Studio Solution
ushort - .NET alias
Inheritance
While Statement
45. A Member that cannot be accessed/invoked through an Object Instance.
Heap
decimal - .NET alias
Value Type
Static Member
46. Groups classes together so that they have a unique identifier
Variable
Namespace
Encapsulation
returnType methodName (parameterList)
47. A symbol that specifies an operation to be performed on one or more variables.
Operator
Variable (C# requirements)
Assembly
r
48. Extra information within a method
DateTime
byte - .NET alias
Parameter aka Argument
Statement
49. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
int - .NET alias
Comments
uint - .NET alias
Parameter aka Argument
50. System.Int16
Heap
Unary Operator
short - .NET alias
Console Application