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. System.Int32
Operator
Comments
Just-in-time (JIT
int - .NET alias
2. Symbols which transform and combine expressions
byte - .NET alias
int - Size
Operator
Dot Notation
3. 16 bit - unsigned integer data (0 to 65535)
ushort - Size
Int32 - Size
Class
Textbox
4. 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.
Constant
Abstract Method Modifier
Constructor
Variable
5. Allow access to types that exist in outside assemblies.
References (Visual Studio Solution
Program
NET
short - Size
6. Groups classes together so that they have a unique identifier
Dot Notation
short - .NET alias
int - Size
Namespace
7. Contains the class definitions that allow access to the functionality provided by .NET.
Framework Class Library (FCL)
Class Statement
String (or string)
Value Type
8. A Member that cannot be accessed/invoked through an Object Instance.
uint - .NET alias
Namespace
Static Member
Static Class
9. Restricts access to a Member to the current Class and any Derived Class.
ulong - Size
Protected Access Modifier
ushort - .NET alias
Int64 - Size
10. Just-in-time compilation
JIT
Namespace
ushort - Size
Syntax
11. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Textbox
Namespace
Data structures
FCL
12. Allows the definition of a Class to span multiple files (within the same Project)
JIT
FCL
Partial Class Modifier
bool - Size
13. 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
NET
Framework Class Library (FCL)
FCL
Heap
14. count = count+1 or count++ or count__. Both count variables are Unary Operators
Parameter aka Argument
Incrementing / Decrementing Variables
Encapsulation
Constructor
15. Framework Class Library
sbyte - .NET alias
ushort - Size
Comments
FCL
16. The member type of a Class that performs an action.
Abstract Class Modifier
Abstract Method Modifier
FCL
Method
17. Access is limited to the current Assembly and Derived Types
Program
Framework Class Library (FCL)
Float (or float) - Size
Protected Internal Access Modifier
18. The process of hiding and restricting access to the implementation details of a data structure.
Internal Access Modifier
sbyte - .NET alias
Encapsulation
Inheritance
19. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
char - .NET alias
Primitive Type
JITer
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
20. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
decimal - .NET alias
Namespace
Syntax
Array
21. Keyword which exposes members to other classes OR Identifier which makes program elements public
bool - Size
short - Size
Public Keyword
Inheritance
22. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
Polymorphism
using
Incrementing / Decrementing Variables
bool - Size
23. 32 bit integer data
csc.exe
Value Type
Method
Int32 - Size
24. The lowest level or fundamental data types needed for representing data.
Primitive Type
ulong - .NET alias
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
double - .NET alias
25. 32 bit integer data
uint - Size
int - Size
Boolean Operator
Relational Operator
26. System.Single
float - .NET alias
While Statement
Boolean Operator
JIT
27. A Class that can only have Static Members
Just-in-time (JIT
Strong Typing
Identifiers
Static Class
28. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Statement
sbyte - Size
Variable
Primitive
29. System.SByte
While Statement
Class Statement
Keyword
sbyte - .NET alias
30. A method that is called whenever an Object is created. The method uses the same name as the Class.
Constructor
Abstract Class Modifier
Namespace
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
31. Syntax of a C# Method
Inheritance
returnType methodName (parameterList)
Visual Studio Solution
Operator
32. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Expression
Statement
bool - Size
Keyword
33. Code which implements GUI (graphical User Interface).
Assembly
ulong - .NET alias
Private Access Modifier
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
34. 32 bit single precision floating point data
C#
Primitive
Float (or float) - Size
JIT
35. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Method
Operator
While Statement
float - .NET alias
36. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Field
Stack
long - .NET alias
Statement
37. Must have a data type
Operator
Program
Variable (C# requirements)
byte - Size
38. 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)
Intermediate Language (IL)
Partial Class Modifier
Partial Method Modifier
Boolean Operator
39. System.UInt32
uint - .NET alias
Array
NET
Method
40. 64 bit integer data
DateTime
JIT
Reference Type
Int64 - Size
41. A representation of an area in the computer memory in which a value of a particular data type can be stored.
ulong - .NET alias
Static Class
If Statement
Variable
42. System.Int16
r
short - .NET alias
Overloaded Method
Static Member
43. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
csc.exe
Int32 - Size
Assembly
Comments
44. A type of statement that produces a value that might be tested or assigned to a variable.
Expression
Method
Derived Class
Private Access Modifier
45. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Syntax
JITer
Common Language Runtime (CLR)
Abstraction
46. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
Private Access Modifier
C#
Object
Visual Studio Solution
47. Extra information within a method
Variable
Parameter aka Argument
uint - .NET alias
Static Class
48. 128 bit fixed precision (financial)
ulong - Size
If Statement
Reference Type
Decimal (or decimal) - Size
49. The process of compiling IL source into CPU-native code for execution.
Primitive
Method
Primitive Type
Just-in-time (JIT
50. Introduces a new class. Marked by curly brackets { }
Properties
Class Statement
CLR
C# mark Up Language X.A.M.L(Extensible Application Markup Language)