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 act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
long - Size
Unary Operator
Abstraction
Statement
2. 128 bit fixed precision (financial)
W.P.F
Decimal (or decimal) - Size
Overloaded Method
ushort - Size
3. 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'.
uint - Size
float - .NET alias
Textbox
Double (or double) - Size
4. 32 bit integer data
float - .NET alias
Float (or float) - Size
Conditional Operator
int - Size
5. (= or += or -= or = or /=)
r
Operator
Assignment Operator
char - .NET alias
6. Names reserved by the compiler that coders are not allowed to use as identifiers.
Keyword
Protected Access Modifier
Statement
IDE
7. Introduces a new class. Marked by curly brackets { }
csc.exe
Precedence
Textbox
Class Statement
8. Container for one or more Visual Studio Projects.
Visual Studio Solution
W.P.F
ushort - .NET alias
Intermediate Language (IL)
9. System.UInt32
uint - .NET alias
Polymorphism
Variable
Static Class
10. The .NET run-time environment that enables code to be compiled and executed.
byte - .NET alias
Common Language Runtime (CLR)
If Statement
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
11. A Class that can only have Static Members
Static Class
Assembly
Partial Method Modifier
r
12. Represents the encapsulation of data and behaviors into a single unit.
bool - Size
Class
using
Field
13. Syntax of a C# Method
Variable
JIT
returnType methodName (parameterList)
Overloaded Method
14. 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.
uint - .NET alias
ushort - Size
Syntax
Polymorphism
15. 64 bit integer data
Comments
returnType methodName (parameterList)
Int64 - Size
Partial Method Modifier
16. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Intermediate Language (IL)
Constructor
Console Application
While Statement
17. 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.
Syntax
long - .NET alias
Encapsulation
Window.xaml.cs
18. System.UInt64
ulong - .NET alias
Int64 - Size
Partial Class Modifier
Assembly
19. Series of instructions which tell a computer what to do.
Reference Type
Class aka Type
int - .NET alias
Program
20. Most common kind of reference type. They define objects. They must have at least one method and one field.
Inheritance
W.P.F
Value Type
Class aka Type
21. The process of compiling IL source into CPU-native code for execution.
Boolean Operator
Static Class
r
Just-in-time (JIT
22. 32 bit integer data
ulong - Size
Int32 - Size
Constant
sbyte - Size
23. Framework Class Library
Parameter aka Argument
returnType methodName (parameterList)
decimal - .NET alias
FCL
24. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Primitive
Static Class
Comments
Overloaded Method
25. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
Expression
If Statement
Keyword
Encapsulation
26. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
FCL
Class aka Type
Primitive
Polymorphism
27. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
W.P.F
Static Class
Array
byte - Size
28. System.Int16
Parameter aka Argument
Operator
short - .NET alias
Framework Class Library (FCL)
29. Groups classes together so that they have a unique identifier
Namespace
Constant
Window.xaml.cs
ushort - Size
30. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Strong Typing
Encapsulation
Abstraction
csc.exe
31. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Inheritance
int - .NET alias
Abstract Class Modifier
Statement
32. Variables defined by a class
Class
Field
JIT
char - Size
33. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Properties
short - .NET alias
Expression
Primitive
34. System.Single
JIT
Assignment Operator
FCL
float - .NET alias
35. 16 bit - signed integer data (-32768 to 32767)
short - Size
Primitive Type
Just-in-time (JIT
Derived Class
36. Code which implements GUI (graphical User Interface).
Constant
Inheritance
Identifiers
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
37. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
uint - .NET alias
Field
Boolean - Size
Method
38. Used to display text that end user does not need to edit.
Label
C#
Precedence
sbyte - Size
39. 8 bit - unsigned byte (0 - 255)
byte - Size
FCL
Boolean Operator
Constant
40. Field whose value can never change. Declared with 'const' keyword
Conditional Operator
Constant
W.P.F
CLR
41. Access is limited to the current Assembly
Float (or float) - Size
Heap
Internal Access Modifier
Primitive Type
42. 32 bit - unsigned integer data
Sealed Class
uint - Size
Stack
bool - Size
43. Sits behind GUI (Graphical User Interface) and provides event listeners
sbyte - .NET alias
Precedence
short - .NET alias
Window.xaml.cs
44. Text as Unicode characters
Constant
long - .NET alias
String (or string)
Public Keyword
45. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
int - Size
Expression
Assignment Operator
Statement
46. Keyword which exposes members to other classes OR Identifier which makes program elements public
Intermediate Language (IL)
Public Keyword
Abstraction
sbyte - Size
47. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
References (Visual Studio Solution
Virtual Method Modifier
Static Member
Assembly
48. 16 bit- unsigned word (U+0000 to U+ffff)
char - Size
uint - Size
References (Visual Studio Solution
Unary Operator
49. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
JITer
Variable (C# requirements)
Relational Operator
Inheritance
50. Just-in-time compilation
JIT
Operator
Common Language Runtime (CLR)
Boolean Operator