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. (< or > or <= or >=)
csc.exe
Syntax
Relational Operator
Framework Class Library (FCL)
2. Container for one or more Visual Studio Projects.
Overloaded Method
Visual Studio Solution
Virtual Method Modifier
sbyte - Size
3. Represents the encapsulation of data and behaviors into a single unit.
Class
Protected Access Modifier
Variable (C# requirements)
Field
4. Access is limited to the current Assembly
Dot Notation
Internal Access Modifier
Base Class
Assembly
5. 32 bit single precision floating point data
C#
Keyword
decimal - .NET alias
Float (or float) - Size
6. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Precedence
long - .NET alias
Incrementing / Decrementing Variables
7. count = count+1 or count++ or count__. Both count variables are Unary Operators
using
Method
Statement
Incrementing / Decrementing Variables
8. Names reserved by the compiler that coders are not allowed to use as identifiers.
Int32 - Size
Keyword
float - .NET alias
Expression
9. A Class that inherits characteristics from another Class.
double - .NET alias
Derived Class
Primitive Type
Equality Operator
10. Just-in-time compilation
Operator
Intermediate Language (IL)
JIT
Private Access Modifier
11. System.Int64
Static Member
long - .NET alias
Public Keyword
Intermediate Language (IL)
12. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
ulong - .NET alias
Sealed Class
Dot Notation
Abstraction
13. Text as Unicode characters
String (or string)
Boolean Operator
Expression
Window.xaml.cs
14. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
CLR
Assembly
Heap
Array
15. 8 bit - unsigned byte (0 - 255)
Constant
decimal - .NET alias
long - .NET alias
byte - Size
16. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
JITer
Partial Class Modifier
DateTime
Textbox
17. System.Int16
short - .NET alias
Partial Method Modifier
Program
Int64 - Size
18. (= or += or -= or = or /=)
Assignment Operator
Boolean - Size
Base Class
Variable
19. Extra information within a method
Protected Access Modifier
Private Access Modifier
While Statement
Parameter aka Argument
20. A symbol that specifies an operation to be performed on one or more variables.
ushort - .NET alias
Statement
Operator
r
21. Allows the definition of a Class to span multiple files (within the same Project)
Class Statement
Partial Class Modifier
Float (or float) - Size
Visual Studio Solution
22. Code which implements GUI (graphical User Interface).
char - Size
byte - .NET alias
Reference Type
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
23. 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.
Sealed Class
Syntax
Properties
Relational Operator
24. Integrated Development Environment
bool - Size
Framework Class Library (FCL)
IDE
Operator
25. 32 bit integer data
Syntax
Int32 - Size
Float (or float) - Size
Equality Operator
26. 64 bit integer data
Reference Type
CLR
Textbox
Int64 - Size
27. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
References (Visual Studio Solution
Window.xaml.cs
Statement
Parameter aka Argument
28. System.Int32
returnType methodName (parameterList)
using
int - .NET alias
Constant
29. Used to display text that end user does not need to edit.
Int64 - Size
Relational Operator
Derived Class
Label
30. true or false
Object
ushort - Size
bool - Size
Syntax
31. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Stack
Statement
Strong Typing
long - .NET alias
32. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
If Statement
short - .NET alias
Primitive Type
Public Keyword
33. The "Type" name of data that is stored on the Heap
Reference Type
char - Size
Stack
Abstract Method Modifier
34. System.UInt16
ushort - .NET alias
Window.xaml.cs
Float (or float) - Size
Just-in-time (JIT
35. The .NET run-time environment that enables code to be compiled and executed.
ulong - Size
Syntax
Polymorphism
Common Language Runtime (CLR)
36. Restricts access to a Member to the current Class.
Operator
Private Access Modifier
Just-in-time (JIT
Syntax
37. 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)
Partial Class Modifier
Decimal (or decimal) - Size
Boolean Operator
Assembly
38. Sits behind GUI (Graphical User Interface) and provides event listeners
Expression
byte - Size
Int64 - Size
Window.xaml.cs
39. Only requires one operand usually a count+1 or a count++ or a count--
While Statement
Namespace
Unary Operator
Static Class
40. System.UInt32
Method
Constant
Class Statement
uint - .NET alias
41. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Console Application
Reference Type
Visual Studio Solution
decimal - .NET alias
42. 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
W.P.F
using
sbyte - Size
43. Symbols which transform and combine expressions
Variable
Statement
Window.xaml.cs
Operator
44. Must have a data type
Operator
char - Size
Reference Type
Variable (C# requirements)
45. Something that has a different number of parameters to it's predecessor
long - Size
ushort - .NET alias
FCL
Overloaded Method
46. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Abstract Class Modifier
References (Visual Studio Solution
While Statement
NET
47. 32 bit integer data
Boolean Operator
int - Size
Constant
ushort - .NET alias
48. 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.
Method
Comments
Abstract Method Modifier
Variable (C# requirements)
49. 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.
C#
Identifiers
Protected Access Modifier
Intermediate Language (IL)
50. A Class that cannot be instantiated.
DateTime
Operator
Static Class
Data structures