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. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Just-in-time (JIT
Variable
Statement
short - .NET alias
2. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Window.xaml.cs
Conditional Operator
Intermediate Language (IL)
char - .NET alias
3. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
Protected Internal Access Modifier
byte - Size
C#
byte - .NET alias
4. System.Int32
Assembly
ushort - Size
int - .NET alias
Heap
5. Something that has a different number of parameters to it's predecessor
Overloaded Method
Double (or double) - Size
Inheritance
Precedence
6. System.Int64
long - .NET alias
uint - Size
Internal Access Modifier
Public Keyword
7. 32 bit - unsigned integer data
Encapsulation
Static Member
Boolean - Size
uint - Size
8. 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.
Derived Class
Namespace
Namespace
Abstract Method Modifier
9. Code which implements GUI (graphical User Interface).
Label
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Expression
short - Size
10. A Class that inherits characteristics from another Class.
Private Access Modifier
returnType methodName (parameterList)
Derived Class
Protected Access Modifier
11. A type of statement that produces a value that might be tested or assigned to a variable.
Expression
Protected Access Modifier
Inheritance
Statement
12. Compilation of classes. In C# Usually ends in .dll or .exe
Array
Program
Assembly
JIT
13. Indicates that the Method can be overridden.
Static Class
Virtual Method Modifier
Conditional Operator
short - .NET alias
14. Names reserved by the compiler that coders are not allowed to use as identifiers.
Keyword
int - .NET alias
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
ulong - .NET alias
15. The "Type" name of data that is stored on the Stack
Framework Class Library (FCL)
Textbox
Keyword
Value Type
16. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Variable
long - Size
Value Type
Properties
17. Mathematical (+ or - or / or %)
Strong Typing
Class Statement
Operator
Int32 - Size
18. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
char - Size
Inheritance
Int64 - Size
References (Visual Studio Solution
19. 8 bit - signed byte (-128 - 127)
sbyte - Size
Static Class
Base Class
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
20. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
using
Class aka Type
Console Application
C#
21. 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
Virtual Method Modifier
Assembly
Framework Class Library (FCL)
22. Restricts access to a Member to the current Class.
Field
Private Access Modifier
char - Size
Variable
23. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Decimal (or decimal) - Size
Private Access Modifier
Conditional Operator
Comments
24. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Stack
Textbox
Polymorphism
Public Keyword
25. Only requires one operand usually a count+1 or a count++ or a count--
ulong - .NET alias
double - .NET alias
Object
Unary Operator
26. (< or > or <= or >=)
Relational Operator
Object
Namespace
Abstraction
27. Extra information within a method
Parameter aka Argument
Namespace
Reference Type
Just-in-time (JIT
28. The lowest level or fundamental data types needed for representing data.
Comments
Console Application
returnType methodName (parameterList)
Primitive Type
29. 32 bit integer data
Derived Class
Encapsulation
Boolean Operator
Int32 - Size
30. Keyword which exposes members to other classes OR Identifier which makes program elements public
uint - .NET alias
Public Keyword
Namespace
Namespace
31. Windows Presentation Foundation
Protected Access Modifier
Method
uint - .NET alias
W.P.F
32. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Assembly
Constant
Method
Unary Operator
33. The member type of a Class that performs an action.
long - Size
Expression
Method
Private Access Modifier
34. The process of compiling IL source into CPU-native code for execution.
Textbox
Visual Studio Solution
Just-in-time (JIT
Operator
35. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Array
Statement
Value Type
Variable (C# requirements)
36. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
Expression
int - .NET alias
JITer
Primitive Type
37. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Console Application
Statement
Int64 - Size
Encapsulation
38. Container for one or more Visual Studio Projects.
Visual Studio Solution
Incrementing / Decrementing Variables
Primitive Type
Class Statement
39. Framework Class Library
NET
W.P.F
Abstract Class Modifier
FCL
40. Command Language Runtime
Public Keyword
uint - Size
CLR
Encapsulation
41. 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'.
Console Application
Class Statement
Textbox
Static Class
42. A Class that can only have Static Members
Static Class
Base Class
Partial Method Modifier
CLR
43. Access is limited to the current Assembly
Internal Access Modifier
Primitive Type
Sealed Class
Framework Class Library (FCL)
44. 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.
ulong - .NET alias
Expression
Static Class
Partial Method Modifier
45. Microsoft's generic software framework for application development.
csc.exe
NET
Dot Notation
Equality Operator
46. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
If Statement
Encapsulation
Variable
long - Size
47. 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
sbyte - .NET alias
Class
Heap
long - .NET alias
48. Access is limited to the current Assembly and Derived Types
Static Class
Dot Notation
Public Keyword
Protected Internal Access Modifier
49. Object Oriented Programming relies on dot.notation. Dot Notation enables public methods to be fully accessible from outside an object. Member names are separated by a dot (.). Syntax is method-defined-in-class.bject-in-runtime-of-class
DateTime
Partial Class Modifier
Dot Notation
Parameter aka Argument
50. System.Int16
short - .NET alias
using
Polymorphism
Keyword