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.UInt16
Public Keyword
Internal Access Modifier
Syntax
ushort - .NET alias
2. The process of compiling IL source into CPU-native code for execution.
Int32 - Size
Class
Just-in-time (JIT
Identifiers
3. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Variable
JIT
Object
Just-in-time (JIT
4. A Class that can only have Static Members
Static Class
Textbox
bool - Size
Base Class
5. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
Decimal (or decimal) - Size
JITer
Abstraction
Operator
6. The .NET run-time environment that enables code to be compiled and executed.
Common Language Runtime (CLR)
double - .NET alias
Keyword
Method
7. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Method
If Statement
Namespace
Expression
8. 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
Comments
byte - .NET alias
Parameter aka Argument
9. 32 bit single precision floating point data
Class Statement
bool - Size
Float (or float) - Size
csc.exe
10. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
Class Statement
Heap
Conditional Operator
using
11. The lowest level or fundamental data types needed for representing data.
Protected Access Modifier
Comments
ushort - Size
Primitive Type
12. A Class from which other classes can inherit characteristics.
C#
byte - Size
Partial Method Modifier
Base Class
13. Command Language Runtime
Decimal (or decimal) - Size
Polymorphism
CLR
Namespace
14. System.UInt32
uint - .NET alias
Sealed Class
Partial Method Modifier
References (Visual Studio Solution
15. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Virtual Method Modifier
Abstraction
Inheritance
CLR
16. The member type of a Class that performs an action.
Expression
FCL
Relational Operator
Method
17. 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
C#
Heap
ulong - Size
18. Syntax of a C# Method
uint - Size
Protected Access Modifier
Internal Access Modifier
returnType methodName (parameterList)
19. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Assembly
Comments
Decimal (or decimal) - Size
Precedence
20. Mathematical (+ or - or / or %)
Assembly
Operator
Label
Class aka Type
21. true or false
Polymorphism
C#
Public Keyword
bool - Size
22. A Member that cannot be accessed/invoked through an Object Instance.
Static Member
Object
C#
Derived Class
23. When a sub class passes down all the behaviours of the original parent class
Variable
Overloaded Method
Abstraction
Inheritance
24. The "Type" name of data that is stored on the Heap
Partial Method Modifier
Reference Type
Encapsulation
Value Type
25. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Private Access Modifier
Polymorphism
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Heap
26. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Boolean Operator
Object
JITer
Inheritance
27. Series of instructions which tell a computer what to do.
Program
Assembly
Primitive Type
Protected Access Modifier
28. (= or += or -= or = or /=)
short - Size
Assignment Operator
Primitive Type
Int32 - Size
29. Integrated Development Environment
String (or string)
Expression
IDE
Properties
30. 32 bit - unsigned integer data
sbyte - .NET alias
uint - Size
byte - Size
References (Visual Studio Solution
31. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Properties
Statement
JIT
Int32 - Size
32. 16 bit - signed integer data (-32768 to 32767)
long - Size
Program
short - Size
ulong - Size
33. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Strong Typing
Visual Studio Solution
Boolean - Size
float - .NET alias
34. A Class that inherits characteristics from another Class.
Partial Method Modifier
byte - .NET alias
Derived Class
Encapsulation
35. Allow access to types that exist in outside assemblies.
Intermediate Language (IL)
References (Visual Studio Solution
Operator
Method
36. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Console Application
Constant
Stack
Inheritance
37. Access is limited to the current Assembly
Operator
Internal Access Modifier
uint - .NET alias
Unary Operator
38. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
byte - Size
ulong - .NET alias
long - Size
Inheritance
39. A symbol that specifies an operation to be performed on one or more variables.
Operator
Encapsulation
If Statement
Variable
40. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Sealed Class
Precedence
Operator
Expression
41. Text as Unicode characters
String (or string)
JITer
Static Class
Just-in-time (JIT
42. Only requires one operand usually a count+1 or a count++ or a count--
Unary Operator
char - Size
Common Language Runtime (CLR)
Inheritance
43. Contains the class definitions that allow access to the functionality provided by .NET.
Framework Class Library (FCL)
Expression
Operator
Method
44. Restricts access to a Member to the current Class and any Derived Class.
Object
Protected Access Modifier
Protected Internal Access Modifier
Inheritance
45. System.Byte
Visual Studio Solution
Operator
Strong Typing
byte - .NET alias
46. 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
Abstract Method Modifier
int - .NET alias
Constructor
47. Most common kind of reference type. They define objects. They must have at least one method and one field.
Visual Studio Solution
decimal - .NET alias
Class aka Type
uint - Size
48. 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.
Object
char - .NET alias
Public Keyword
Abstract Method Modifier
49. Field whose value can never change. Declared with 'const' keyword
ulong - Size
Derived Class
Stack
Constant
50. Keyword which exposes members to other classes OR Identifier which makes program elements public
Operator
Field
Public Keyword
If Statement