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. Indicates that the Method can be overridden.
Virtual Method Modifier
FCL
Boolean Operator
Abstract Class Modifier
2. 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.
Method
uint - Size
Partial Class Modifier
Variable
3. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
JITer
Assembly
csc.exe
Properties
4. An instance of a class that exists at run-time and is typically referenced via a variable name.
Just-in-time (JIT
Public Keyword
Object
decimal - .NET alias
5. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Operator
char - Size
Stack
Properties
6. When a sub class passes down all the behaviours of the original parent class
Inheritance
Encapsulation
Public Keyword
Parameter aka Argument
7. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Base Class
Protected Internal Access Modifier
Incrementing / Decrementing Variables
Namespace
8. Allow access to types that exist in outside assemblies.
References (Visual Studio Solution
sbyte - Size
Precedence
Comments
9. Used to display text that end user does not need to edit.
Primitive
Polymorphism
Label
Abstraction
10. Something that has a different number of parameters to it's predecessor
Overloaded Method
returnType methodName (parameterList)
Constructor
char - Size
11. Access is limited to the current Assembly and Derived Types
Static Class
Int64 - Size
Protected Internal Access Modifier
returnType methodName (parameterList)
12. 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.
String (or string)
Abstract Method Modifier
Heap
float - .NET alias
13. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Boolean - Size
short - .NET alias
Encapsulation
Assembly
14. 16 bit - unsigned integer data (0 to 65535)
csc.exe
Boolean - Size
Class Statement
ushort - Size
15. Restricts access to a Member to the current Class and any Derived Class.
Intermediate Language (IL)
Namespace
Protected Access Modifier
Visual Studio Solution
16. 8 bit - signed byte (-128 - 127)
Inheritance
sbyte - Size
NET
sbyte - .NET alias
17. Syntax of a C# Method
returnType methodName (parameterList)
Boolean Operator
Public Keyword
int - Size
18. 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
Partial Class Modifier
ushort - .NET alias
FCL
19. A type of statement that produces a value that might be tested or assigned to a variable.
Decimal (or decimal) - Size
returnType methodName (parameterList)
Expression
Console Application
20. 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)
Framework Class Library (FCL)
Conditional Operator
Boolean Operator
Int32 - Size
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.
Partial Method Modifier
W.P.F
Assembly
char - Size
22. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
csc.exe
Object
bool - Size
using
23. System.UInt16
Method
ushort - .NET alias
Abstract Method Modifier
Textbox
24. 32 bit integer data
ulong - .NET alias
Variable (C# requirements)
Data structures
Int32 - Size
25. (&& or || or & or |)
decimal - .NET alias
Inheritance
Conditional Operator
uint - Size
26. Groups classes together so that they have a unique identifier
Incrementing / Decrementing Variables
uint - Size
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Namespace
27. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Polymorphism
r
Base Class
Abstraction
28. (< or > or <= or >=)
Abstract Class Modifier
C#
Relational Operator
Inheritance
29. Represents the encapsulation of data and behaviors into a single unit.
Inheritance
Class
Int32 - Size
References (Visual Studio Solution
30. The process of hiding and restricting access to the implementation details of a data structure.
Window.xaml.cs
Parameter aka Argument
Encapsulation
Class
31. System.Single
Static Member
float - .NET alias
char - Size
Identifiers
32. System.UInt64
Constant
ulong - Size
ulong - .NET alias
short - .NET alias
33. A Class that can only have Static Members
Method
Static Class
Constant
Syntax
34. Code which signifies a carriage return. Symbolises a new line in a text box.
Stack
Static Class
r
Intermediate Language (IL)
35. Windows Presentation Foundation
Decimal (or decimal) - Size
int - Size
W.P.F
Intermediate Language (IL)
36. 32 bit integer data
ushort - Size
int - Size
char - .NET alias
FCL
37. true or false
Protected Internal Access Modifier
Encapsulation
char - .NET alias
Boolean - Size
38. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
using
Strong Typing
Console Application
Operator
39. Allows the definition of a Class to span multiple files (within the same Project)
Inheritance
Partial Class Modifier
Int32 - Size
sbyte - Size
40. 16 bit - signed integer data (-32768 to 32767)
short - Size
int - .NET alias
JITer
DateTime
41. (= or += or -= or = or /=)
Assignment Operator
Protected Internal Access Modifier
Field
Object
42. Names reserved by the compiler that coders are not allowed to use as identifiers.
ushort - Size
Keyword
Expression
Identifiers
43. Variables defined by a class
Public Keyword
Partial Class Modifier
Strong Typing
Field
44. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Array
Assignment Operator
Unary Operator
Primitive
45. System.Decimal
Syntax
int - Size
decimal - .NET alias
Method
46. Restricts access to a Member to the current Class.
Private Access Modifier
byte - Size
String (or string)
char - Size
47. A Class that inherits characteristics from another Class.
Identifiers
Encapsulation
Expression
Derived Class
48. Integrated Development Environment
IDE
short - Size
Equality Operator
Comments
49. 32 bit single precision floating point data
Object
Method
Float (or float) - Size
Strong Typing
50. Only requires one operand usually a count+1 or a count++ or a count--
Program
Incrementing / Decrementing Variables
Unary Operator
Constant