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. Symbols which transform and combine expressions
double - .NET alias
Class aka Type
Operator
Overloaded Method
2. Extra information within a method
Encapsulation
Parameter aka Argument
ulong - .NET alias
Primitive Type
3. Groups classes together so that they have a unique identifier
IDE
CLR
Statement
Namespace
4. A Class that can only have Static Members
DateTime
Boolean - Size
Static Class
csc.exe
5. Names used to identify program elements (e.g. namespaces & classes & methods & variables). Must always start with a letter. Always case sensitive. When multiword must be presented in CamelCase. keywords are an example of an identifier.
Inheritance
Visual Studio Solution
uint - Size
Identifiers
6. A Class that cannot be instantiated.
Sealed Class
Class Statement
Static Class
Keyword
7. Compilation of classes. In C# Usually ends in .dll or .exe
Equality Operator
Derived Class
Assembly
Encapsulation
8. The "Type" name of data that is stored on the Stack
Class Statement
Value Type
Conditional Operator
Intermediate Language (IL)
9. System.Decimal
DateTime
bool - Size
decimal - .NET alias
C#
10. 16 bit- unsigned word (U+0000 to U+ffff)
Abstract Method Modifier
Primitive Type
char - Size
IDE
11. true or false
Boolean - Size
Heap
using
char - .NET alias
12. Command which runs repeatedly while (some) condition is true.
csc.exe
Variable
While Statement
int - Size
13. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
JIT
While Statement
Value Type
Polymorphism
14. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Primitive Type
Partial Class Modifier
Public Keyword
Array
15. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Assembly
long - .NET alias
Comments
Object
16. 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
ulong - Size
Common Language Runtime (CLR)
Object
C#
17. Represents the encapsulation of data and behaviors into a single unit.
int - Size
Class
Assembly
byte - Size
18. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Textbox
Properties
bool - Size
Stack
19. 32 bit integer data
Syntax
Expression
Int32 - Size
Static Member
20. 16 bit - signed integer data (-32768 to 32767)
short - Size
Abstraction
sbyte - .NET alias
Inheritance
21. Keyword which exposes members to other classes OR Identifier which makes program elements public
short - .NET alias
Public Keyword
Intermediate Language (IL)
uint - .NET alias
22. 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.
double - .NET alias
Variable
Inheritance
Int64 - Size
23. A type of statement that produces a value that might be tested or assigned to a variable.
char - Size
Boolean - Size
W.P.F
Expression
24. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
Boolean Operator
JITer
long - .NET alias
Inheritance
25. The .NET run-time environment that enables code to be compiled and executed.
Constant
Common Language Runtime (CLR)
uint - .NET alias
Framework Class Library (FCL)
26. Code which signifies a carriage return. Symbolises a new line in a text box.
Double (or double) - Size
r
Variable
Window.xaml.cs
27. System.UInt32
Common Language Runtime (CLR)
Field
Int64 - Size
uint - .NET alias
28. System.Int32
Value Type
Abstract Method Modifier
IDE
int - .NET alias
29. 8 bit - unsigned byte (0 - 255)
byte - Size
Namespace
Inheritance
Primitive
30. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
Common Language Runtime (CLR)
Encapsulation
returnType methodName (parameterList)
using
31. System.Int16
Common Language Runtime (CLR)
Inheritance
r
short - .NET alias
32. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Array
Inheritance
Primitive
Visual Studio Solution
33. System.Single
Method
float - .NET alias
Object
Internal Access Modifier
34. System.UInt64
Heap
ulong - .NET alias
Operator
byte - Size
35. The lowest level or fundamental data types needed for representing data.
Dot Notation
Partial Class Modifier
Primitive Type
ushort - .NET alias
36. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Int32 - Size
byte - Size
String (or string)
Statement
37. 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.
Syntax
Abstraction
short - .NET alias
char - Size
38. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Object
Method
If Statement
Abstraction
39. Must have a data type
Variable (C# requirements)
Inheritance
Boolean Operator
Static Class
40. 32 bit integer data
Protected Access Modifier
Object
int - Size
Namespace
41. count = count+1 or count++ or count__. Both count variables are Unary Operators
Boolean - Size
float - .NET alias
Incrementing / Decrementing Variables
Program
42. 128 bit fixed precision (financial)
Assembly
Decimal (or decimal) - Size
Double (or double) - Size
char - Size
43. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Inheritance
Primitive Type
Variable
Assembly
44. The "Type" name of data that is stored on the Heap
Reference Type
Properties
Constant
Statement
45. Syntax of a C# Method
Inheritance
Field
returnType methodName (parameterList)
char - Size
46. 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'.
Textbox
Method
Program
short - Size
47. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Private Access Modifier
Incrementing / Decrementing Variables
Partial Method Modifier
Abstract Class Modifier
48. Variables defined by a class
Field
Common Language Runtime (CLR)
Operator
Internal Access Modifier
49. System.Byte
short - Size
Data structures
byte - .NET alias
String (or string)
50. System.Int64
long - .NET alias
Unary Operator
Class Statement
Common Language Runtime (CLR)