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. 32 bit single precision floating point data
Strong Typing
Float (or float) - Size
Operator
Program
2. The lowest level or fundamental data types needed for representing data.
Field
Primitive Type
Method
CLR
3. Field whose value can never change. Declared with 'const' keyword
Identifiers
Expression
Constant
Variable
4. System.Int32
Double (or double) - Size
Overloaded Method
Assembly
int - .NET alias
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.
Identifiers
Partial Method Modifier
int - .NET alias
Stack
6. When a sub class passes down all the behaviours of the original parent class
Inheritance
long - Size
Boolean Operator
short - Size
7. System.SByte
Inheritance
ushort - .NET alias
Namespace
sbyte - .NET alias
8. The "Type" name of data that is stored on the Stack
Value Type
long - Size
Field
Virtual Method Modifier
9. Series of instructions which tell a computer what to do.
Properties
Program
Operator
Float (or float) - Size
10. Allow access to types that exist in outside assemblies.
References (Visual Studio Solution
Data structures
Keyword
Program
11. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
int - Size
Properties
Label
uint - Size
12. A Class that cannot be Inherited
Intermediate Language (IL)
Properties
Double (or double) - Size
Sealed Class
13. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Namespace
Heap
Variable
Program
14. Represents date and time data with a 100 ns resolution
DateTime
References (Visual Studio Solution
double - .NET alias
Internal Access Modifier
15. count = count+1 or count++ or count__. Both count variables are Unary Operators
Protected Access Modifier
Incrementing / Decrementing Variables
Primitive Type
Constant
16. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Properties
Strong Typing
Int64 - Size
Internal Access Modifier
17. System.Int16
double - .NET alias
short - .NET alias
bool - Size
Overloaded Method
18. (== or !=)
JITer
Protected Access Modifier
Framework Class Library (FCL)
Equality Operator
19. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
double - .NET alias
csc.exe
using
char - .NET alias
20. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Static Class
Window.xaml.cs
sbyte - Size
Polymorphism
21. Sits behind GUI (Graphical User Interface) and provides event listeners
Window.xaml.cs
Primitive
uint - .NET alias
Public Keyword
22. Groups classes together so that they have a unique identifier
float - .NET alias
Intermediate Language (IL)
sbyte - .NET alias
Namespace
23. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Textbox
Parameter aka Argument
Expression
Statement
24. Command Language Runtime
Polymorphism
sbyte - .NET alias
Partial Class Modifier
CLR
25. Integrated Development Environment
Inheritance
Class Statement
IDE
uint - Size
26. 8 bit - unsigned byte (0 - 255)
References (Visual Studio Solution
Array
byte - Size
Dot Notation
27. 32 bit - unsigned integer data
Framework Class Library (FCL)
Namespace
uint - Size
Static Member
28. Command which runs repeatedly while (some) condition is true.
r
ushort - .NET alias
While Statement
int - .NET alias
29. Variables defined by a class
long - .NET alias
Field
sbyte - Size
Conditional Operator
30. 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.
Incrementing / Decrementing Variables
Field
Abstract Method Modifier
Encapsulation
31. Access is limited to the current Assembly and Derived Types
Protected Internal Access Modifier
Public Keyword
Namespace
char - .NET alias
32. 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.
Visual Studio Solution
Public Keyword
Program
Encapsulation
33. The process of compiling IL source into CPU-native code for execution.
Reference Type
Decimal (or decimal) - Size
Just-in-time (JIT
returnType methodName (parameterList)
34. A Class that cannot be instantiated.
Static Class
long - Size
Encapsulation
Textbox
35. 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.
Object
Sealed Class
Intermediate Language (IL)
Variable
36. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Method
Operator
Base Class
Assembly
37. Most common kind of reference type. They define objects. They must have at least one method and one field.
Static Member
Encapsulation
Class aka Type
short - .NET alias
38. 16 bit - unsigned integer data (0 to 65535)
sbyte - Size
Common Language Runtime (CLR)
Constructor
ushort - Size
39. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
csc.exe
Primitive Type
Precedence
ushort - Size
40. Calculation whose result is either true or false but cannot be both E.g. == Equal to. != Not Equal too. < Less than. <= Less than of equal to. > Greater than. >= Greaten than or equal to. && AND (Conditional) ->|| OR (Conditional)
Boolean Operator
bool - Size
Virtual Method Modifier
Field
41. 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.
Overloaded Method
Private Access Modifier
Syntax
Static Member
42. Symbols which transform and combine expressions
Incrementing / Decrementing Variables
Object
Derived Class
Operator
43. A symbol that specifies an operation to be performed on one or more variables.
String (or string)
Derived Class
Operator
Partial Class Modifier
44. Code which signifies a carriage return. Symbolises a new line in a text box.
Reference Type
r
Expression
csc.exe
45. A Class from which other classes can inherit characteristics.
Strong Typing
r
Base Class
long - Size
46. Introduces a new class. Marked by curly brackets { }
Float (or float) - Size
Class Statement
Primitive Type
Variable
47. 8 bit - signed byte (-128 - 127)
sbyte - Size
double - .NET alias
Constant
byte - Size
48. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Textbox
returnType methodName (parameterList)
Variable
Field
49. Microsoft's generic software framework for application development.
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
using
NET
Inheritance
50. A Class that inherits characteristics from another Class.
Derived Class
Inheritance
Stack
Primitive