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. Command which runs repeatedly while (some) condition is true.
While Statement
long - Size
Textbox
Value Type
2. An instance of a class that exists at run-time and is typically referenced via a variable name.
Assignment Operator
Object
Abstract Class Modifier
Class aka Type
3. 16 bit - signed integer data (-32768 to 32767)
Expression
short - Size
Virtual Method Modifier
Partial Class Modifier
4. Restricts access to a Member to the current Class and any Derived Class.
byte - Size
Boolean Operator
Static Class
Protected Access Modifier
5. Syntax of a C# Method
Identifiers
returnType methodName (parameterList)
Inheritance
Constructor
6. 8 bit - signed byte (-128 - 127)
Protected Internal Access Modifier
Class Statement
sbyte - Size
Abstraction
7. Represents the encapsulation of data and behaviors into a single unit.
Variable (C# requirements)
Class
Identifiers
char - Size
8. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Float (or float) - Size
Class aka Type
Console Application
Stack
9. true or false
Partial Method Modifier
Dot Notation
Polymorphism
Boolean - Size
10. Used to display text that end user does not need to edit.
long - Size
Variable
Operator
Label
11. Symbols which transform and combine expressions
CLR
Variable
Operator
Unary Operator
12. System.UInt16
ushort - .NET alias
Precedence
Primitive Type
Derived Class
13. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
long - Size
Operator
Data structures
Method
14. 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.
Statement
byte - .NET alias
CLR
Partial Method Modifier
15. true or false
bool - Size
Textbox
Method
Static Class
16. 128 bit fixed precision (financial)
Constructor
Decimal (or decimal) - Size
Just-in-time (JIT
long - .NET alias
17. 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'.
Inheritance
Method
Textbox
JITer
18. Framework Class Library
FCL
Expression
Boolean - Size
Textbox
19. count = count+1 or count++ or count__. Both count variables are Unary Operators
DateTime
Field
Incrementing / Decrementing Variables
Namespace
20. Restricts access to a Member to the current Class.
bool - Size
Primitive
Private Access Modifier
Class aka Type
21. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Properties
References (Visual Studio Solution
Keyword
ushort - Size
22. Field whose value can never change. Declared with 'const' keyword
Operator
Assignment Operator
Protected Internal Access Modifier
Constant
23. 64 bit double precision floating point data
csc.exe
Stack
Double (or double) - Size
bool - Size
24. Compilation of classes. In C# Usually ends in .dll or .exe
DateTime
Incrementing / Decrementing Variables
Method
Assembly
25. Access is limited to the current Assembly
Polymorphism
returnType methodName (parameterList)
Internal Access Modifier
Just-in-time (JIT
26. Text as Unicode characters
ushort - Size
Inheritance
String (or string)
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
27. Keyword which exposes members to other classes OR Identifier which makes program elements public
Encapsulation
long - Size
Public Keyword
JITer
28. The "Type" name of data that is stored on the Heap
Reference Type
Polymorphism
Object
Class aka Type
29. The process of hiding and restricting access to the implementation details of a data structure.
Console Application
Encapsulation
uint - Size
Data structures
30. 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.
Inheritance
Syntax
Textbox
Method
31. Sits behind GUI (Graphical User Interface) and provides event listeners
Dot Notation
Window.xaml.cs
While Statement
Strong Typing
32. A Class that inherits characteristics from another Class.
char - Size
uint - .NET alias
Incrementing / Decrementing Variables
Derived Class
33. 64 bit - unsigned integer data
Private Access Modifier
Value Type
Conditional Operator
ulong - Size
34. 64 bit integer data
Overloaded Method
Encapsulation
Abstraction
long - Size
35. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Precedence
Method
byte - .NET alias
Method
36. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Static Class
Comments
While Statement
Double (or double) - Size
37. Mathematical (+ or - or / or %)
Derived Class
Operator
Framework Class Library (FCL)
byte - Size
38. A symbol that specifies an operation to be performed on one or more variables.
CLR
Incrementing / Decrementing Variables
Operator
Visual Studio Solution
39. System.Char
Framework Class Library (FCL)
Inheritance
char - .NET alias
uint - Size
40. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
float - .NET alias
Protected Access Modifier
Framework Class Library (FCL)
Statement
41. 8 bit - unsigned byte (0 - 255)
Variable (C# requirements)
Variable
Class aka Type
byte - Size
42. Integrated Development Environment
Static Class
IDE
Variable
Field
43. Code which signifies a carriage return. Symbolises a new line in a text box.
Properties
r
Derived Class
Stack
44. Most common kind of reference type. They define objects. They must have at least one method and one field.
Class aka Type
Boolean Operator
Heap
Derived Class
45. 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.
Class
Identifiers
Data structures
Partial Class Modifier
46. Command Language Runtime
Class
CLR
Encapsulation
char - Size
47. Extra information within a method
Static Class
Parameter aka Argument
Abstract Method Modifier
Constant
48. The process of compiling IL source into CPU-native code for execution.
long - .NET alias
Statement
Unary Operator
Just-in-time (JIT
49. A type of statement that produces a value that might be tested or assigned to a variable.
Class
CLR
Abstract Class Modifier
Expression
50. 32 bit - unsigned integer data
While Statement
uint - Size
ushort - .NET alias
JITer