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. Only requires one operand usually a count+1 or a count++ or a count--
Unary Operator
Constant
Abstract Method Modifier
Int32 - Size
2. Sits behind GUI (Graphical User Interface) and provides event listeners
Abstract Class Modifier
Parameter aka Argument
Window.xaml.cs
Class Statement
3. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
int - Size
Abstract Class Modifier
JITer
Assembly
4. Compilation of classes. In C# Usually ends in .dll or .exe
Assembly
Operator
long - .NET alias
Class Statement
5. 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
Base Class
Equality Operator
Assembly
6. Restricts access to a Member to the current Class.
Double (or double) - Size
Private Access Modifier
Base Class
Int64 - Size
7. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Common Language Runtime (CLR)
double - .NET alias
Inheritance
sbyte - .NET alias
8. Must have a data type
Constant
C#
Parameter aka Argument
Variable (C# requirements)
9. System.UInt32
Operator
uint - .NET alias
Object
Overloaded Method
10. Text as Unicode characters
Inheritance
FCL
String (or string)
Constant
11. 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
Encapsulation
char - .NET alias
Object
Statement
12. Code which signifies a carriage return. Symbolises a new line in a text box.
Intermediate Language (IL)
r
Identifiers
Double (or double) - Size
13. Most common kind of reference type. They define objects. They must have at least one method and one field.
Abstract Class Modifier
Polymorphism
C#
Class aka Type
14. A Member that cannot be accessed/invoked through an Object Instance.
Static Member
Equality Operator
Class aka Type
long - .NET alias
15. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
Properties
JITer
char - Size
csc.exe
16. 32 bit single precision floating point data
Strong Typing
Framework Class Library (FCL)
long - .NET alias
Float (or float) - Size
17. Allows the definition of a Class to span multiple files (within the same Project)
Conditional Operator
Partial Class Modifier
using
uint - Size
18. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Statement
Static Member
Class Statement
CLR
19. 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)
float - .NET alias
Inheritance
uint - .NET alias
20. 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
Method
JITer
Class aka Type
21. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
float - .NET alias
Primitive Type
FCL
Comments
22. 64 bit - unsigned integer data
Inheritance
Float (or float) - Size
Data structures
ulong - Size
23. Groups classes together so that they have a unique identifier
Object
Assignment Operator
Namespace
Identifiers
24. Symbols which transform and combine expressions
long - Size
Incrementing / Decrementing Variables
Stack
Operator
25. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
Abstraction
Expression
using
Syntax
26. Represents the encapsulation of data and behaviors into a single unit.
Overloaded Method
Field
Class
Precedence
27. Integrated Development Environment
Float (or float) - Size
Inheritance
IDE
Decimal (or decimal) - Size
28. Used to display text that end user does not need to edit.
Object
Partial Method Modifier
While Statement
Label
29. Microsoft's generic software framework for application development.
Static Member
Expression
Data structures
NET
30. Allow access to types that exist in outside assemblies.
char - .NET alias
References (Visual Studio Solution
Object
IDE
31. Framework Class Library
Unary Operator
Inheritance
FCL
Abstract Method Modifier
32. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Primitive Type
Statement
Field
long - Size
33. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
JITer
C#
Assignment Operator
Variable (C# requirements)
34. A symbol that specifies an operation to be performed on one or more variables.
long - .NET alias
Operator
Label
Primitive
35. The lowest level or fundamental data types needed for representing data.
Precedence
Keyword
Field
Primitive Type
36. Access is limited to the current Assembly and Derived Types
Decimal (or decimal) - Size
Protected Internal Access Modifier
Virtual Method Modifier
Variable (C# requirements)
37. A Class that cannot be Inherited
Static Member
Inheritance
Sealed Class
ulong - .NET alias
38. 16 bit - signed integer data (-32768 to 32767)
short - Size
Data structures
Visual Studio Solution
long - Size
39. Series of instructions which tell a computer what to do.
Boolean - Size
uint - .NET alias
Public Keyword
Program
40. (= or += or -= or = or /=)
Assignment Operator
using
Overloaded Method
char - .NET alias
41. 32 bit integer data
Assembly
Class Statement
Virtual Method Modifier
Int32 - Size
42. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Precedence
Intermediate Language (IL)
Protected Internal Access Modifier
Label
43. An instance of a class that exists at run-time and is typically referenced via a variable name.
Object
Relational Operator
Window.xaml.cs
C#
44. Indicates that the Method can be overridden.
Properties
Virtual Method Modifier
Heap
Encapsulation
45. The "Type" name of data that is stored on the Heap
Intermediate Language (IL)
Reference Type
Abstract Method Modifier
Textbox
46. System.Int64
Namespace
sbyte - Size
Encapsulation
long - .NET alias
47. Keyword which exposes members to other classes OR Identifier which makes program elements public
Public Keyword
Dot Notation
short - Size
Constructor
48. The process of compiling IL source into CPU-native code for execution.
Constant
Decimal (or decimal) - Size
Just-in-time (JIT
Abstraction
49. System.Int32
Assembly
int - .NET alias
DateTime
Object
50. Field whose value can never change. Declared with 'const' keyword
Constant
Inheritance
ulong - Size
Operator