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 method that is called whenever an Object is created. The method uses the same name as the Class.
Constructor
Abstract Class Modifier
Inheritance
int - .NET alias
2. A type of statement that produces a value that might be tested or assigned to a variable.
Expression
r
Protected Internal Access Modifier
Variable
3. 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
CLR
long - Size
Heap
Identifiers
4. Calculation whose result is either true or false but cannot be both E.g. == Equal to. != Not Equal too. < Less than. <= Less than of equal to. > Greater than. >= Greaten than or equal to. && AND (Conditional) ->|| OR (Conditional)
Identifiers
Boolean Operator
float - .NET alias
Expression
5. An instance of a class that exists at run-time and is typically referenced via a variable name.
Int32 - Size
Partial Method Modifier
Private Access Modifier
Object
6. When a sub class passes down all the behaviours of the original parent class
Inheritance
Class
Static Class
While Statement
7. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Keyword
Conditional Operator
Comments
Inheritance
8. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Expression
Polymorphism
long - .NET alias
Conditional Operator
9. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Method
Abstraction
Abstract Class Modifier
Inheritance
10. 64 bit double precision floating point data
Double (or double) - Size
bool - Size
Namespace
Primitive
11. Restricts access to a Member to the current Class and any Derived Class.
Protected Access Modifier
short - .NET alias
Constant
float - .NET alias
12. 64 bit integer data
Int32 - Size
Expression
long - Size
ulong - .NET alias
13. 64 bit - unsigned integer data
Decimal (or decimal) - Size
Namespace
Float (or float) - Size
ulong - Size
14. The .NET run-time environment that enables code to be compiled and executed.
If Statement
Precedence
Inheritance
Common Language Runtime (CLR)
15. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Properties
Operator
Program
char - Size
16. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
Inheritance
C#
Float (or float) - Size
Namespace
17. Windows Presentation Foundation
Private Access Modifier
FCL
W.P.F
uint - Size
18. Only requires one operand usually a count+1 or a count++ or a count--
Assembly
Unary Operator
Protected Access Modifier
using
19. Names reserved by the compiler that coders are not allowed to use as identifiers.
Object
Assembly
Namespace
Keyword
20. Variables defined by a class
Field
Value Type
Abstraction
double - .NET alias
21. The "Type" name of data that is stored on the Heap
Reference Type
Comments
Overloaded Method
Method
22. (< or > or <= or >=)
Relational Operator
Strong Typing
Equality Operator
Incrementing / Decrementing Variables
23. Introduces a new class. Marked by curly brackets { }
Class Statement
Static Class
Int64 - Size
Inheritance
24. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Assignment Operator
Namespace
Sealed Class
Just-in-time (JIT
25. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Public Keyword
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Static Class
Abstract Class Modifier
26. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Class Statement
Variable
Primitive
Field
27. 8 bit - signed byte (-128 - 127)
String (or string)
Heap
sbyte - Size
DateTime
28. A Class that inherits characteristics from another Class.
Partial Class Modifier
Unary Operator
short - .NET alias
Derived Class
29. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Array
Common Language Runtime (CLR)
FCL
Base Class
30. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
long - .NET alias
Syntax
JITer
Double (or double) - Size
31. 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.
Framework Class Library (FCL)
Inheritance
Operator
Encapsulation
32. (= or += or -= or = or /=)
Parameter aka Argument
Assignment Operator
IDE
Protected Access Modifier
33. Sits behind GUI (Graphical User Interface) and provides event listeners
Operator
DateTime
float - .NET alias
Window.xaml.cs
34. Framework Class Library
Comments
Operator
FCL
Assignment Operator
35. 32 bit - unsigned integer data
ushort - Size
uint - Size
uint - .NET alias
long - Size
36. Container for one or more Visual Studio Projects.
Common Language Runtime (CLR)
Visual Studio Solution
uint - Size
Framework Class Library (FCL)
37. Just-in-time compilation
JIT
Class Statement
Static Class
Strong Typing
38. 32 bit integer data
ulong - Size
Static Member
Identifiers
int - Size
39. Something that has a different number of parameters to it's predecessor
sbyte - .NET alias
References (Visual Studio Solution
Window.xaml.cs
Overloaded Method
40. System.Byte
Intermediate Language (IL)
sbyte - .NET alias
byte - .NET alias
using
41. Contains the class definitions that allow access to the functionality provided by .NET.
Framework Class Library (FCL)
Constructor
Virtual Method Modifier
W.P.F
42. 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.
FCL
Framework Class Library (FCL)
Syntax
Reference Type
43. count = count+1 or count++ or count__. Both count variables are Unary Operators
Protected Internal Access Modifier
Incrementing / Decrementing Variables
Value Type
decimal - .NET alias
44. A symbol that specifies an operation to be performed on one or more variables.
csc.exe
JIT
Variable
Operator
45. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
If Statement
Operator
Parameter aka Argument
Intermediate Language (IL)
46. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Partial Class Modifier
Class Statement
If Statement
Console Application
47. Field whose value can never change. Declared with 'const' keyword
Parameter aka Argument
W.P.F
Boolean - Size
Constant
48. Command which runs repeatedly while (some) condition is true.
While Statement
Statement
Public Keyword
Inheritance
49. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Abstraction
Assembly
char - .NET alias
Static Member
50. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Data structures
long - Size
Inheritance
Float (or float) - Size