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 symbol that specifies an operation to be performed on one or more variables.
Field
short - Size
Heap
Operator
2. 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)
Conditional Operator
Boolean Operator
Label
int - .NET alias
3. Series of instructions which tell a computer what to do.
Program
Intermediate Language (IL)
Assignment Operator
String (or string)
4. Command Language Runtime
Textbox
Static Member
Expression
CLR
5. A Class that can only have Static Members
Expression
Internal Access Modifier
Static Class
byte - Size
6. 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.
W.P.F
bool - Size
Partial Method Modifier
Constant
7. A Class from which other classes can inherit characteristics.
uint - Size
Base Class
Console Application
Comments
8. (== or !=)
NET
Equality Operator
Abstract Class Modifier
csc.exe
9. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Virtual Method Modifier
Data structures
Inheritance
Statement
10. Contains the class definitions that allow access to the functionality provided by .NET.
Framework Class Library (FCL)
Operator
Boolean - Size
double - .NET alias
11. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
Expression
Operator
using
C#
12. Access is limited to the current Assembly and Derived Types
Incrementing / Decrementing Variables
Constructor
Class aka Type
Protected Internal Access Modifier
13. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Double (or double) - Size
Comments
Assignment Operator
uint - Size
14. 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.
Abstract Method Modifier
float - .NET alias
uint - .NET alias
Inheritance
15. 32 bit integer data
Incrementing / Decrementing Variables
Private Access Modifier
Int64 - Size
Int32 - Size
16. The .NET run-time environment that enables code to be compiled and executed.
Incrementing / Decrementing Variables
Precedence
Common Language Runtime (CLR)
Static Member
17. true or false
Stack
References (Visual Studio Solution
bool - Size
W.P.F
18. 8 bit - unsigned byte (0 - 255)
byte - Size
W.P.F
Public Keyword
Protected Internal Access Modifier
19. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Primitive
Object
char - Size
sbyte - .NET alias
20. System.Int32
C#
uint - .NET alias
int - .NET alias
Private Access Modifier
21. Represents date and time data with a 100 ns resolution
DateTime
ulong - Size
Window.xaml.cs
IDE
22. Code which implements GUI (graphical User Interface).
FCL
Static Class
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Variable
23. 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'.
Textbox
Virtual Method Modifier
uint - Size
Method
24. Microsoft's generic software framework for application development.
Overloaded Method
r
Abstraction
NET
25. A Class that cannot be Inherited
sbyte - .NET alias
Operator
Sealed Class
Operator
26. (= or += or -= or = or /=)
C#
Assignment Operator
Field
Private Access Modifier
27. The process of compiling IL source into CPU-native code for execution.
Just-in-time (JIT
Boolean - Size
Class
Statement
28. System.Int16
float - .NET alias
short - .NET alias
Class aka Type
Keyword
29. count = count+1 or count++ or count__. Both count variables are Unary Operators
Data structures
Incrementing / Decrementing Variables
C#
Operator
30. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
DateTime
Partial Class Modifier
JITer
Inheritance
31. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Primitive
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Label
Precedence
32. 16 bit- unsigned word (U+0000 to U+ffff)
Float (or float) - Size
char - Size
Object
Partial Class Modifier
33. When a sub class passes down all the behaviours of the original parent class
Variable
While Statement
Relational Operator
Inheritance
34. Framework Class Library
FCL
Strong Typing
double - .NET alias
decimal - .NET alias
35. Groups classes together so that they have a unique identifier
Namespace
Incrementing / Decrementing Variables
IDE
Window.xaml.cs
36. System.Decimal
decimal - .NET alias
Object
Conditional Operator
Float (or float) - Size
37. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
returnType methodName (parameterList)
Array
bool - Size
Label
38. 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
Protected Internal Access Modifier
byte - Size
uint - .NET alias
39. System.Char
Program
char - .NET alias
Private Access Modifier
Precedence
40. 32 bit - unsigned integer data
uint - Size
Abstract Method Modifier
Program
Encapsulation
41. Access is limited to the current Assembly
If Statement
Virtual Method Modifier
Just-in-time (JIT
Internal Access Modifier
42. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Textbox
Static Class
Assembly
Variable
43. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
long - Size
CLR
Strong Typing
Constant
44. 8 bit - signed byte (-128 - 127)
char - .NET alias
Dot Notation
sbyte - Size
Abstract Class Modifier
45. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
DateTime
JIT
Data structures
Int32 - Size
46. Instance of a type created when a program runs. Can be visible or invisible. Has properties and events and methods. Properties- determine appearance. Events - trigger a response. Methods - something the object does
Object
Intermediate Language (IL)
Overloaded Method
ulong - .NET alias
47. Something that has a different number of parameters to it's predecessor
Window.xaml.cs
Overloaded Method
Parameter aka Argument
Namespace
48. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
W.P.F
Expression
Double (or double) - Size
Class aka Type
49. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Dot Notation
Static Class
Statement
Encapsulation
50. 128 bit fixed precision (financial)
Decimal (or decimal) - Size
Console Application
Data structures
Label