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. 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
Heap
using
Static Member
2. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
Field
C#
Constructor
Just-in-time (JIT
3. count = count+1 or count++ or count__. Both count variables are Unary Operators
Incrementing / Decrementing Variables
IDE
char - .NET alias
Method
4. System.Double
double - .NET alias
Comments
Parameter aka Argument
Static Member
5. System.Decimal
Object
Stack
int - Size
decimal - .NET alias
6. Sits behind GUI (Graphical User Interface) and provides event listeners
Variable
sbyte - Size
Window.xaml.cs
Primitive
7. 64 bit double precision floating point data
ulong - Size
Double (or double) - Size
Primitive Type
CLR
8. A Class that can only have Static Members
Unary Operator
Static Class
Protected Access Modifier
Stack
9. System.Char
char - .NET alias
Stack
Precedence
Identifiers
10. System.Single
float - .NET alias
decimal - .NET alias
Parameter aka Argument
double - .NET alias
11. 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'.
DateTime
Textbox
Array
Overloaded Method
12. (== or !=)
int - .NET alias
Abstract Method Modifier
Equality Operator
Float (or float) - Size
13. Code which implements GUI (graphical User Interface).
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
CLR
Internal Access Modifier
Keyword
14. The process of hiding and restricting access to the implementation details of a data structure.
Boolean Operator
Precedence
Encapsulation
Expression
15. 64 bit - unsigned integer data
Internal Access Modifier
Just-in-time (JIT
Overloaded Method
ulong - Size
16. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Overloaded Method
Method
Window.xaml.cs
Primitive
17. Names reserved by the compiler that coders are not allowed to use as identifiers.
Class
Comments
If Statement
Keyword
18. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Namespace
Derived Class
Expression
Equality Operator
19. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Incrementing / Decrementing Variables
Strong Typing
Data structures
If Statement
20. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Data structures
Reference Type
Decimal (or decimal) - Size
Comments
21. Code which signifies a carriage return. Symbolises a new line in a text box.
Dot Notation
int - .NET alias
r
Variable
22. Just-in-time compilation
Intermediate Language (IL)
W.P.F
JIT
byte - .NET alias
23. Text as Unicode characters
Public Keyword
Stack
String (or string)
DateTime
24. A Class from which other classes can inherit characteristics.
Class aka Type
Just-in-time (JIT
Base Class
using
25. 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.
Class
Syntax
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Sealed Class
26. A type of statement that produces a value that might be tested or assigned to a variable.
uint - Size
CLR
Expression
Visual Studio Solution
27. Most common kind of reference type. They define objects. They must have at least one method and one field.
Class aka Type
While Statement
csc.exe
float - .NET alias
28. The "Type" name of data that is stored on the Heap
Reference Type
Intermediate Language (IL)
Framework Class Library (FCL)
IDE
29. System.Int32
Operator
int - .NET alias
ulong - Size
byte - .NET alias
30. Access is limited to the current Assembly
Double (or double) - Size
Heap
Static Class
Internal Access Modifier
31. When a sub class passes down all the behaviours of the original parent class
char - .NET alias
Inheritance
using
Primitive Type
32. Block of memory where objects live. Whenever a new object is created it is allowed onto the heap. Old objects are regularly deallocate from the heap to save available memory
Heap
Intermediate Language (IL)
FCL
Inheritance
33. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Static Class
Operator
sbyte - Size
Stack
34. 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.
ulong - Size
DateTime
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Variable
35. The lowest level or fundamental data types needed for representing data.
Primitive Type
Dot Notation
Statement
Equality Operator
36. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
ulong - Size
Class Statement
Value Type
Inheritance
37. Compilation of classes. In C# Usually ends in .dll or .exe
Incrementing / Decrementing Variables
Variable
FCL
Assembly
38. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Window.xaml.cs
Array
Constructor
Heap
39. System.Int16
Field
Class Statement
decimal - .NET alias
short - .NET alias
40. Extra information within a method
Partial Method Modifier
If Statement
Parameter aka Argument
Textbox
41. The member type of a Class that performs an action.
Boolean - Size
Method
uint - Size
returnType methodName (parameterList)
42. An instance of a class that exists at run-time and is typically referenced via a variable name.
Object
References (Visual Studio Solution
r
Abstraction
43. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
DateTime
Statement
Expression
Polymorphism
44. 128 bit fixed precision (financial)
Double (or double) - Size
Constructor
Decimal (or decimal) - Size
Abstraction
45. System.Byte
Identifiers
byte - .NET alias
using
Window.xaml.cs
46. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Comments
char - .NET alias
Console Application
JIT
47. true or false
ulong - .NET alias
Operator
Boolean - Size
bool - Size
48. A Class that cannot be instantiated.
Internal Access Modifier
Static Class
Statement
Relational Operator
49. 8 bit - unsigned byte (0 - 255)
Statement
Int64 - Size
Constructor
byte - Size
50. Restricts access to a Member to the current Class and any Derived Class.
Visual Studio Solution
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
long - Size
Protected Access Modifier