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. System.Byte
long - Size
byte - .NET alias
decimal - .NET alias
Operator
2. Access is limited to the current Assembly
Stack
Internal Access Modifier
Assembly
Framework Class Library (FCL)
3. The "Type" name of data that is stored on the Stack
Class Statement
Protected Internal Access Modifier
Equality Operator
Value Type
4. 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)
Program
ushort - .NET alias
Boolean Operator
Abstract Method Modifier
5. Syntax of a C# Method
Sealed Class
Method
returnType methodName (parameterList)
Overloaded Method
6. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Boolean - Size
Abstract Class Modifier
W.P.F
Textbox
7. Groups classes together so that they have a unique identifier
FCL
Namespace
Public Keyword
Method
8. System.Single
float - .NET alias
ulong - .NET alias
uint - Size
Constructor
9. Integrated Development Environment
Protected Internal Access Modifier
IDE
sbyte - .NET alias
long - Size
10. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
Inheritance
using
Assembly
Abstraction
11. Command Language Runtime
Dot Notation
Primitive
Private Access Modifier
CLR
12. 64 bit integer data
Int64 - Size
Float (or float) - Size
Operator
r
13. A type of statement that produces a value that might be tested or assigned to a variable.
Expression
Heap
short - Size
Just-in-time (JIT
14. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
returnType methodName (parameterList)
Just-in-time (JIT
Comments
Parameter aka Argument
15. Allow access to types that exist in outside assemblies.
References (Visual Studio Solution
Internal Access Modifier
Strong Typing
decimal - .NET alias
16. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
int - .NET alias
Assembly
Incrementing / Decrementing Variables
using
17. 64 bit double precision floating point data
float - .NET alias
Common Language Runtime (CLR)
Double (or double) - Size
IDE
18. Code which implements GUI (graphical User Interface).
Partial Method Modifier
long - .NET alias
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Statement
19. true or false
Unary Operator
bool - Size
Intermediate Language (IL)
char - .NET alias
20. System.Int32
Derived Class
int - .NET alias
Statement
Array
21. 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.
Window.xaml.cs
int - Size
Framework Class Library (FCL)
Partial Method Modifier
22. 8 bit - signed byte (-128 - 127)
Protected Internal Access Modifier
Protected Access Modifier
Field
sbyte - Size
23. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
ulong - Size
Dot Notation
Stack
24. Text as Unicode characters
uint - Size
String (or string)
Constant
char - .NET alias
25. Names reserved by the compiler that coders are not allowed to use as identifiers.
Value Type
Boolean - Size
Keyword
Method
26. Framework Class Library
FCL
int - Size
Private Access Modifier
Operator
27. Container for one or more Visual Studio Projects.
Variable (C# requirements)
References (Visual Studio Solution
Visual Studio Solution
bool - Size
28. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Just-in-time (JIT
Inheritance
Syntax
Strong Typing
29. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
Program
Class aka Type
If Statement
decimal - .NET alias
30. 32 bit integer data
Statement
References (Visual Studio Solution
Unary Operator
int - Size
31. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Stack
Namespace
Assembly
Static Class
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
Abstraction
byte - .NET alias
Virtual Method Modifier
33. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Public Keyword
Sealed Class
Precedence
Framework Class Library (FCL)
34. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Data structures
Conditional Operator
long - Size
Statement
35. 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'.
Variable (C# requirements)
Expression
Window.xaml.cs
Textbox
36. The .NET run-time environment that enables code to be compiled and executed.
returnType methodName (parameterList)
Encapsulation
Common Language Runtime (CLR)
Class aka Type
37. When a sub class passes down all the behaviours of the original parent class
Inheritance
uint - Size
ushort - Size
Syntax
38. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Variable (C# requirements)
Parameter aka Argument
Variable
Inheritance
39. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
decimal - .NET alias
Stack
Abstract Class Modifier
Statement
40. A Class that cannot be instantiated.
short - .NET alias
Method
Static Class
Variable
41. A Member that cannot be accessed/invoked through an Object Instance.
Constructor
decimal - .NET alias
Virtual Method Modifier
Static Member
42. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Partial Method Modifier
Method
Inheritance
Primitive Type
43. System.Double
byte - .NET alias
Virtual Method Modifier
ulong - Size
double - .NET alias
44. Most common kind of reference type. They define objects. They must have at least one method and one field.
returnType methodName (parameterList)
Visual Studio Solution
Class aka Type
ushort - .NET alias
45. (< or > or <= or >=)
Base Class
Static Class
Relational Operator
JITer
46. Symbols which transform and combine expressions
Private Access Modifier
Operator
Properties
Boolean Operator
47. The process of hiding and restricting access to the implementation details of a data structure.
Incrementing / Decrementing Variables
Public Keyword
Encapsulation
Int64 - Size
48. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
uint - Size
Common Language Runtime (CLR)
JITer
FCL
49. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Reference Type
Float (or float) - Size
Properties
Assembly
50. The "Type" name of data that is stored on the Heap
Statement
Reference Type
Boolean - Size
short - Size