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. Restricts access to a Member to the current Class and any Derived Class.
Base Class
NET
Protected Access Modifier
Framework Class Library (FCL)
2. System.Int64
W.P.F
Boolean Operator
long - .NET alias
Private Access Modifier
3. count = count+1 or count++ or count__. Both count variables are Unary Operators
Primitive Type
Incrementing / Decrementing Variables
Primitive
Syntax
4. 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'.
FCL
Protected Access Modifier
Textbox
Assignment Operator
5. Introduces a new class. Marked by curly brackets { }
Class Statement
Float (or float) - Size
Primitive Type
Variable
6. The process of compiling IL source into CPU-native code for execution.
int - Size
Data structures
Just-in-time (JIT
Equality Operator
7. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Inheritance
Private Access Modifier
Class aka Type
Statement
8. Integrated Development Environment
Object
IDE
Strong Typing
While Statement
9. Extra information within a method
Parameter aka Argument
Operator
Method
Boolean - Size
10. A Class that cannot be instantiated.
Int64 - Size
Inheritance
Equality Operator
Static Class
11. (&& or || or & or |)
Conditional Operator
Properties
Just-in-time (JIT
Protected Access Modifier
12. Code which implements GUI (graphical User Interface).
Window.xaml.cs
Int32 - Size
Namespace
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
13. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Comments
Base Class
CLR
14. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Primitive Type
Protected Access Modifier
Strong Typing
Static Member
15. Microsoft's generic software framework for application development.
Class
Variable (C# requirements)
NET
Incrementing / Decrementing Variables
16. A Member that cannot be accessed/invoked through an Object Instance.
Label
Static Member
r
Namespace
17. 128 bit fixed precision (financial)
Decimal (or decimal) - Size
Partial Class Modifier
Properties
returnType methodName (parameterList)
18. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Properties
double - .NET alias
Value Type
Polymorphism
19. Most common kind of reference type. They define objects. They must have at least one method and one field.
FCL
Expression
Class aka Type
Identifiers
20. Mathematical (+ or - or / or %)
Inheritance
Operator
Data structures
Class Statement
21. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Variable
Encapsulation
Intermediate Language (IL)
Precedence
22. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Variable (C# requirements)
Stack
Expression
Operator
23. true or false
bool - Size
Textbox
uint - .NET alias
Stack
24. Text as Unicode characters
Unary Operator
String (or string)
Assignment Operator
Statement
25. Restricts access to a Member to the current Class.
Array
Static Member
Private Access Modifier
short - .NET alias
26. System.UInt32
Unary Operator
uint - .NET alias
ulong - Size
float - .NET alias
27. System.Int16
Protected Access Modifier
Common Language Runtime (CLR)
Base Class
short - .NET alias
28. 8 bit - signed byte (-128 - 127)
sbyte - Size
Encapsulation
Textbox
Primitive Type
29. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Window.xaml.cs
Method
Inheritance
using
30. (== or !=)
Equality Operator
Virtual Method Modifier
Array
using
31. 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.
Identifiers
W.P.F
Double (or double) - Size
Protected Access Modifier
32. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Incrementing / Decrementing Variables
String (or string)
CLR
Data structures
33. A method that is called whenever an Object is created. The method uses the same name as the Class.
Polymorphism
Int64 - Size
Constructor
Window.xaml.cs
34. 64 bit integer data
long - Size
Static Class
Dot Notation
Namespace
35. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Protected Internal Access Modifier
Stack
Static Class
Private Access Modifier
36. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Inheritance
Static Class
Array
Comments
37. Something that has a different number of parameters to it's predecessor
Value Type
Keyword
Overloaded Method
Abstraction
38. 16 bit- unsigned word (U+0000 to U+ffff)
Method
Properties
char - Size
Variable
39. A Class from which other classes can inherit characteristics.
String (or string)
Partial Class Modifier
Base Class
Overloaded Method
40. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Partial Class Modifier
Console Application
Encapsulation
uint - .NET alias
41. true or false
Just-in-time (JIT
Protected Access Modifier
Boolean - Size
uint - .NET alias
42. System.SByte
Class
Abstract Class Modifier
sbyte - .NET alias
Constant
43. Windows Presentation Foundation
Internal Access Modifier
W.P.F
short - Size
Value Type
44. A symbol that specifies an operation to be performed on one or more variables.
Decimal (or decimal) - Size
sbyte - .NET alias
Operator
Parameter aka Argument
45. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Statement
Abstract Class Modifier
Operator
Unary Operator
46. Names reserved by the compiler that coders are not allowed to use as identifiers.
Keyword
Value Type
CLR
ushort - .NET alias
47. The lowest level or fundamental data types needed for representing data.
Statement
Program
Primitive Type
Field
48. 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.
C#
Comments
Data structures
Syntax
49. System.Char
char - .NET alias
IDE
Float (or float) - Size
Primitive Type
50. Groups classes together so that they have a unique identifier
r
Namespace
ulong - .NET alias
Static Member