SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
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. Series of instructions which tell a computer what to do.
Encapsulation
Array
Object
Program
2. Command Language Runtime
Static Class
char - .NET alias
CLR
Array
3. 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
Array
Heap
IDE
Static Class
4. 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.
Field
Statement
Partial Method Modifier
sbyte - Size
5. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Console Application
Operator
W.P.F
Statement
6. Allow access to types that exist in outside assemblies.
double - .NET alias
returnType methodName (parameterList)
References (Visual Studio Solution
Double (or double) - Size
7. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Field
Boolean - Size
Inheritance
Assembly
8. Microsoft's generic software framework for application development.
Reference Type
If Statement
Properties
NET
9. Sits behind GUI (Graphical User Interface) and provides event listeners
Inheritance
Window.xaml.cs
Class Statement
Class aka Type
10. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
Static Class
Common Language Runtime (CLR)
ushort - .NET alias
csc.exe
11. 64 bit integer data
long - Size
Expression
String (or string)
Internal Access Modifier
12. Just-in-time compilation
IDE
Decimal (or decimal) - Size
Statement
JIT
13. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
char - Size
Array
ushort - .NET alias
Namespace
14. The process of hiding and restricting access to the implementation details of a data structure.
Encapsulation
char - Size
References (Visual Studio Solution
r
15. The process of compiling IL source into CPU-native code for execution.
Just-in-time (JIT
Internal Access Modifier
short - Size
JITer
16. Extra information within a method
decimal - .NET alias
Console Application
char - .NET alias
Parameter aka Argument
17. 8 bit - unsigned byte (0 - 255)
using
Method
byte - Size
Derived Class
18. (&& or || or & or |)
Comments
Decimal (or decimal) - Size
Conditional Operator
Window.xaml.cs
19. Something that has a different number of parameters to it's predecessor
Virtual Method Modifier
Operator
Overloaded Method
Expression
20. A Class that cannot be instantiated.
int - Size
Parameter aka Argument
Conditional Operator
Static Class
21. A Class that cannot be Inherited
Sealed Class
Primitive
uint - .NET alias
Equality Operator
22. A representation of an area in the computer memory in which a value of a particular data type can be stored.
sbyte - Size
float - .NET alias
Variable (C# requirements)
Variable
23. Introduces a new class. Marked by curly brackets { }
Operator
Dot Notation
Variable (C# requirements)
Class Statement
24. 32 bit integer data
Namespace
Label
int - Size
Just-in-time (JIT
25. Access is limited to the current Assembly
Relational Operator
While Statement
Internal Access Modifier
String (or string)
26. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Internal Access Modifier
Comments
Textbox
Primitive Type
27. The member type of a Class that performs an action.
Method
Identifiers
ulong - .NET alias
Encapsulation
28. (== or !=)
Label
Assembly
Equality Operator
Int32 - Size
29. Code which signifies a carriage return. Symbolises a new line in a text box.
Static Member
Protected Internal Access Modifier
Method
r
30. System.SByte
sbyte - .NET alias
Visual Studio Solution
Int64 - Size
Identifiers
31. Most common kind of reference type. They define objects. They must have at least one method and one field.
Relational Operator
Class aka Type
short - Size
Operator
32. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
Equality Operator
using
Sealed Class
Array
33. Integrated Development Environment
Public Keyword
Internal Access Modifier
Unary Operator
IDE
34. 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'.
Incrementing / Decrementing Variables
Comments
W.P.F
Textbox
35. When a sub class passes down all the behaviours of the original parent class
Derived Class
Equality Operator
Inheritance
Heap
36. true or false
Assembly
uint - .NET alias
Primitive Type
Boolean - Size
37. 16 bit - unsigned integer data (0 to 65535)
Incrementing / Decrementing Variables
ushort - Size
returnType methodName (parameterList)
double - .NET alias
38. 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.
Parameter aka Argument
Class Statement
ushort - .NET alias
Encapsulation
39. 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.
Expression
Variable
Window.xaml.cs
String (or string)
40. Restricts access to a Member to the current Class and any Derived Class.
Statement
Double (or double) - Size
Protected Access Modifier
Partial Method Modifier
41. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Parameter aka Argument
Internal Access Modifier
Operator
Abstract Class Modifier
42. Symbols which transform and combine expressions
Private Access Modifier
Statement
short - .NET alias
Operator
43. The lowest level or fundamental data types needed for representing data.
Abstraction
short - Size
Primitive Type
returnType methodName (parameterList)
44. System.Int32
Comments
Method
Method
int - .NET alias
45. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
FCL
Partial Method Modifier
Int32 - Size
If Statement
46. System.Char
short - .NET alias
char - .NET alias
Partial Class Modifier
Precedence
47. Used to display text that end user does not need to edit.
using
Primitive
C#
Label
48. Names reserved by the compiler that coders are not allowed to use as identifiers.
While Statement
using
Keyword
Internal Access Modifier
49. Mathematical (+ or - or / or %)
Sealed Class
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Operator
Float (or float) - Size
50. A symbol that specifies an operation to be performed on one or more variables.
Namespace
long - Size
References (Visual Studio Solution
Operator