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. Symbols which transform and combine expressions
Identifiers
Operator
Method
Double (or double) - Size
2. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Unary Operator
Stack
Array
C#
3. 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
Inheritance
ushort - .NET alias
Statement
4. Code which signifies a carriage return. Symbolises a new line in a text box.
Parameter aka Argument
r
long - Size
Int32 - Size
5. A type of statement that produces a value that might be tested or assigned to a variable.
CLR
Expression
uint - Size
JIT
6. true or false
Abstract Class Modifier
Boolean - Size
Assembly
Data structures
7. Restricts access to a Member to the current Class.
Namespace
Private Access Modifier
Parameter aka Argument
Data structures
8. Access is limited to the current Assembly
Internal Access Modifier
Expression
Properties
Partial Class Modifier
9. Allows the definition of a Class to span multiple files (within the same Project)
Static Class
uint - Size
Partial Class Modifier
Framework Class Library (FCL)
10. A Member that cannot be accessed/invoked through an Object Instance.
decimal - .NET alias
Polymorphism
Dot Notation
Static Member
11. 32 bit integer data
Int32 - Size
byte - Size
Class aka Type
sbyte - .NET alias
12. (= or += or -= or = or /=)
Assignment Operator
Heap
short - .NET alias
Overloaded Method
13. Access is limited to the current Assembly and Derived Types
Protected Internal Access Modifier
Reference Type
Array
Unary Operator
14. Represents date and time data with a 100 ns resolution
Object
DateTime
byte - .NET alias
Static Class
15. 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.
char - .NET alias
Partial Class Modifier
Variable
Variable (C# requirements)
16. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
Primitive Type
csc.exe
Static Class
Variable (C# requirements)
17. A representation of an area in the computer memory in which a value of a particular data type can be stored.
FCL
Variable
Virtual Method Modifier
Int64 - Size
18. Must have a data type
Int64 - Size
Internal Access Modifier
Variable (C# requirements)
Static Class
19. (&& or || or & or |)
Partial Method Modifier
Conditional Operator
byte - Size
Inheritance
20. A Class from which other classes can inherit characteristics.
Int32 - Size
Base Class
Intermediate Language (IL)
Partial Method Modifier
21. 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.
Primitive
Keyword
Encapsulation
Heap
22. 64 bit - unsigned integer data
Class aka Type
ulong - Size
Assignment Operator
char - Size
23. Keyword which exposes members to other classes OR Identifier which makes program elements public
Partial Method Modifier
Static Member
Public Keyword
sbyte - .NET alias
24. 32 bit - unsigned integer data
Boolean - Size
returnType methodName (parameterList)
uint - Size
sbyte - Size
25. Contains the class definitions that allow access to the functionality provided by .NET.
double - .NET alias
Framework Class Library (FCL)
Parameter aka Argument
short - Size
26. 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
Textbox
Variable (C# requirements)
Heap
Statement
27. The .NET run-time environment that enables code to be compiled and executed.
Static Member
Field
Abstraction
Common Language Runtime (CLR)
28. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
ushort - Size
Keyword
Operator
Properties
29. Groups classes together so that they have a unique identifier
Precedence
FCL
Namespace
Abstraction
30. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
If Statement
Object
ushort - Size
Common Language Runtime (CLR)
31. Variables defined by a class
Field
Method
Constant
Int32 - Size
32. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Array
Visual Studio Solution
Strong Typing
Constructor
33. Compilation of classes. In C# Usually ends in .dll or .exe
Float (or float) - Size
Namespace
Common Language Runtime (CLR)
Assembly
34. A Class that cannot be instantiated.
Encapsulation
Static Class
double - .NET alias
Statement
35. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
W.P.F
Primitive
Encapsulation
Public Keyword
36. 8 bit - unsigned byte (0 - 255)
Abstract Method Modifier
While Statement
short - Size
byte - Size
37. 16 bit - signed integer data (-32768 to 32767)
Internal Access Modifier
Visual Studio Solution
int - .NET alias
short - Size
38. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Keyword
Protected Access Modifier
Statement
Incrementing / Decrementing Variables
39. A Class that cannot be Inherited
Sealed Class
Variable
Console Application
Just-in-time (JIT
40. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
Statement
C#
Value Type
Class
41. A symbol that specifies an operation to be performed on one or more variables.
int - .NET alias
Encapsulation
Operator
Syntax
42. 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.
Partial Method Modifier
String (or string)
double - .NET alias
Static Class
43. Framework Class Library
Statement
csc.exe
Variable
FCL
44. Something that has a different number of parameters to it's predecessor
char - Size
Method
Decimal (or decimal) - Size
Overloaded Method
45. Names reserved by the compiler that coders are not allowed to use as identifiers.
Keyword
short - Size
Data structures
int - Size
46. count = count+1 or count++ or count__. Both count variables are Unary Operators
Partial Method Modifier
Incrementing / Decrementing Variables
Textbox
Expression
47. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Encapsulation
Program
Object
Inheritance
48. System.Int64
Public Keyword
Int32 - Size
Primitive Type
long - .NET alias
49. 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
Data structures
byte - Size
Label
50. An instance of a class that exists at run-time and is typically referenced via a variable name.
Object
Abstraction
bool - Size
Field