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. (= or += or -= or = or /=)
int - Size
Equality Operator
Assignment Operator
Constructor
2. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
short - .NET alias
DateTime
JITer
char - .NET alias
3. Code which implements GUI (graphical User Interface).
Operator
Inheritance
Keyword
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
4. A Class from which other classes can inherit characteristics.
byte - .NET alias
Base Class
References (Visual Studio Solution
FCL
5. The process of hiding and restricting access to the implementation details of a data structure.
Class aka Type
Encapsulation
Inheritance
Protected Access Modifier
6. Mathematical (+ or - or / or %)
Sealed Class
Encapsulation
Operator
uint - Size
7. Allows the definition of a Class to span multiple files (within the same Project)
References (Visual Studio Solution
Overloaded Method
Incrementing / Decrementing Variables
Partial Class Modifier
8. true or false
Constructor
Polymorphism
Boolean - Size
String (or string)
9. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Reference Type
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Partial Class Modifier
Variable
10. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Protected Access Modifier
Common Language Runtime (CLR)
Constructor
Console Application
11. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Expression
Variable
Partial Method Modifier
String (or string)
12. 32 bit - unsigned integer data
Syntax
ushort - Size
uint - Size
short - Size
13. 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.
Encapsulation
Static Class
Sealed Class
Statement
14. Sits behind GUI (Graphical User Interface) and provides event listeners
Encapsulation
Private Access Modifier
Window.xaml.cs
Parameter aka Argument
15. Allow access to types that exist in outside assemblies.
Assembly
Operator
References (Visual Studio Solution
uint - Size
16. Framework Class Library
Encapsulation
FCL
Statement
sbyte - Size
17. 32 bit integer data
int - Size
Program
returnType methodName (parameterList)
Textbox
18. The "Type" name of data that is stored on the Stack
C#
Virtual Method Modifier
Value Type
ulong - .NET alias
19. Extra information within a method
Statement
Program
Parameter aka Argument
Unary Operator
20. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Private Access Modifier
Data structures
long - Size
char - Size
21. 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
char - .NET alias
Heap
Data structures
Inheritance
22. Access is limited to the current Assembly
Common Language Runtime (CLR)
Static Class
Internal Access Modifier
Framework Class Library (FCL)
23. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
using
char - .NET alias
Comments
Field
24. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Static Class
Value Type
Stack
W.P.F
25. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Expression
Assignment Operator
Encapsulation
Precedence
26. 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.
Abstract Method Modifier
Properties
Expression
Precedence
27. An instance of a class that exists at run-time and is typically referenced via a variable name.
Object
Class Statement
Overloaded Method
csc.exe
28. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Syntax
Double (or double) - Size
Inheritance
Statement
29. 32 bit single precision floating point data
Namespace
Internal Access Modifier
Boolean - Size
Float (or float) - Size
30. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
FCL
Boolean Operator
Abstract Class Modifier
Strong Typing
31. System.Int64
short - Size
long - .NET alias
Boolean Operator
Int32 - Size
32. 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
Object
Properties
Abstraction
Operator
33. Code which signifies a carriage return. Symbolises a new line in a text box.
String (or string)
r
Statement
double - .NET alias
34. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Statement
Relational Operator
bool - Size
byte - .NET alias
35. A type of statement that produces a value that might be tested or assigned to a variable.
sbyte - .NET alias
Expression
Conditional Operator
Console Application
36. Container for one or more Visual Studio Projects.
Static Class
Intermediate Language (IL)
Strong Typing
Visual Studio Solution
37. (== or !=)
Class aka Type
char - Size
Constant
Equality Operator
38. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
sbyte - .NET alias
Identifiers
C#
Namespace
39. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
Public Keyword
ulong - Size
C#
Statement
40. Names reserved by the compiler that coders are not allowed to use as identifiers.
using
JIT
Keyword
Object
41. Symbols which transform and combine expressions
Identifiers
If Statement
Operator
Common Language Runtime (CLR)
42. System.Decimal
decimal - .NET alias
Base Class
JITer
long - Size
43. 64 bit - unsigned integer data
JITer
ulong - Size
Class Statement
Assembly
44. true or false
Base Class
Relational Operator
bool - Size
Private Access Modifier
45. Contains the class definitions that allow access to the functionality provided by .NET.
Intermediate Language (IL)
Decimal (or decimal) - Size
DateTime
Framework Class Library (FCL)
46. When a sub class passes down all the behaviours of the original parent class
Inheritance
char - .NET alias
Identifiers
NET
47. 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.
Stack
short - Size
Expression
Partial Method Modifier
48. Indicates that the Method can be overridden.
Virtual Method Modifier
Value Type
Operator
Variable
49. 16 bit - signed integer data (-32768 to 32767)
using
Syntax
short - Size
Intermediate Language (IL)
50. Keyword which exposes members to other classes OR Identifier which makes program elements public
NET
Public Keyword
DateTime
Conditional Operator