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. The .NET run-time environment that enables code to be compiled and executed.
Value Type
Common Language Runtime (CLR)
Window.xaml.cs
Heap
2. 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.
Variable
Label
Data structures
Boolean - Size
3. Symbols which transform and combine expressions
Value Type
Constant
Abstract Method Modifier
Operator
4. Windows Presentation Foundation
Protected Internal Access Modifier
char - Size
Framework Class Library (FCL)
W.P.F
5. count = count+1 or count++ or count__. Both count variables are Unary Operators
Constructor
IDE
Incrementing / Decrementing Variables
Class Statement
6. Container for one or more Visual Studio Projects.
Array
Sealed Class
char - Size
Visual Studio Solution
7. 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
Dot Notation
long - .NET alias
Decimal (or decimal) - Size
short - .NET alias
8. Command Language Runtime
CLR
NET
Int32 - Size
Variable
9. Access is limited to the current Assembly and Derived Types
Overloaded Method
Protected Internal Access Modifier
Properties
Intermediate Language (IL)
10. Code which signifies a carriage return. Symbolises a new line in a text box.
r
short - .NET alias
Incrementing / Decrementing Variables
IDE
11. The "Type" name of data that is stored on the Stack
byte - .NET alias
Stack
Value Type
Just-in-time (JIT
12. Represents the encapsulation of data and behaviors into a single unit.
char - .NET alias
Float (or float) - Size
Class
ushort - .NET alias
13. 16 bit - signed integer data (-32768 to 32767)
Namespace
Parameter aka Argument
Encapsulation
short - Size
14. Series of instructions which tell a computer what to do.
Float (or float) - Size
decimal - .NET alias
Protected Access Modifier
Program
15. Used to display text that end user does not need to edit.
float - .NET alias
Label
Internal Access Modifier
Private Access Modifier
16. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Constructor
byte - .NET alias
Array
Keyword
17. An instance of a class that exists at run-time and is typically referenced via a variable name.
Parameter aka Argument
References (Visual Studio Solution
bool - Size
Object
18. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Syntax
Namespace
short - Size
DateTime
19. System.Double
Abstraction
Operator
W.P.F
double - .NET alias
20. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Overloaded Method
Inheritance
If Statement
Statement
21. true or false
Method
bool - Size
Reference Type
IDE
22. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Inheritance
DateTime
JIT
Assembly
23. (== or !=)
ulong - .NET alias
If Statement
Namespace
Equality Operator
24. Restricts access to a Member to the current Class.
Framework Class Library (FCL)
Comments
Private Access Modifier
Class aka Type
25. System.Single
Overloaded Method
Operator
Decimal (or decimal) - Size
float - .NET alias
26. Framework Class Library
FCL
Inheritance
CLR
Inheritance
27. A Class that cannot be Inherited
W.P.F
Parameter aka Argument
JIT
Sealed Class
28. Indicates that the Method can be overridden.
Just-in-time (JIT
Boolean - Size
Virtual Method Modifier
int - Size
29. (< or > or <= or >=)
Framework Class Library (FCL)
Protected Internal Access Modifier
Primitive Type
Relational Operator
30. 8 bit - unsigned byte (0 - 255)
Assignment Operator
Inheritance
byte - Size
Strong Typing
31. Integrated Development Environment
IDE
Framework Class Library (FCL)
Conditional Operator
Expression
32. true or false
Statement
Value Type
Primitive Type
Boolean - Size
33. A Class that inherits characteristics from another Class.
Expression
Int64 - Size
Heap
Derived Class
34. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
short - .NET alias
Static Member
Precedence
byte - Size
35. Compilation of classes. In C# Usually ends in .dll or .exe
Assembly
Variable
Strong Typing
Framework Class Library (FCL)
36. 32 bit single precision floating point data
Syntax
Static Class
Intermediate Language (IL)
Float (or float) - Size
37. A Class from which other classes can inherit characteristics.
long - .NET alias
While Statement
Sealed Class
Base Class
38. Groups classes together so that they have a unique identifier
Assembly
C#
Namespace
Static Member
39. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
If Statement
Protected Internal Access Modifier
Properties
Dot Notation
40. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Class
Visual Studio Solution
Strong Typing
Program
41. A Member that cannot be accessed/invoked through an Object Instance.
Namespace
Reference Type
Constant
Static Member
42. (&& or || or & or |)
Conditional Operator
Int32 - Size
byte - Size
CLR
43. 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.
Field
Statement
Partial Method Modifier
char - Size
44. System.Int16
Primitive
int - Size
NET
short - .NET alias
45. The lowest level or fundamental data types needed for representing data.
Variable
Primitive Type
Operator
Identifiers
46. Mathematical (+ or - or / or %)
Operator
Namespace
Protected Internal Access Modifier
Assignment Operator
47. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
JITer
int - Size
Dot Notation
Boolean Operator
48. 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.
Syntax
Object
Value Type
Equality Operator
49. Just-in-time compilation
Keyword
Sealed Class
Namespace
JIT
50. 128 bit fixed precision (financial)
Decimal (or decimal) - Size
If Statement
Partial Method Modifier
Identifiers