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. Access is limited to the current Assembly
Textbox
Internal Access Modifier
Data structures
short - Size
2. 8 bit - unsigned byte (0 - 255)
byte - Size
sbyte - .NET alias
Array
Stack
3. Represents date and time data with a 100 ns resolution
DateTime
Parameter aka Argument
long - .NET alias
Static Class
4. Encapsulation is the process of providing access to an object only through it's messages while keeping the details private. Encapsulation controls the use of a class.
char - .NET alias
Encapsulation
References (Visual Studio Solution
Primitive
5. (< or > or <= or >=)
Stack
Statement
Relational Operator
short - Size
6. Windows Presentation Foundation
W.P.F
Unary Operator
Visual Studio Solution
Constructor
7. System.UInt64
Parameter aka Argument
Protected Access Modifier
ulong - .NET alias
Operator
8. The .NET run-time environment that enables code to be compiled and executed.
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Common Language Runtime (CLR)
Syntax
Intermediate Language (IL)
9. Compilation of classes. In C# Usually ends in .dll or .exe
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Statement
ulong - .NET alias
Assembly
10. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Expression
Encapsulation
Variable (C# requirements)
char - Size
11. Series of instructions which tell a computer what to do.
Program
Assembly
ushort - Size
Class
12. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Console Application
Method
Class Statement
Assignment Operator
13. System.Single
Console Application
float - .NET alias
Encapsulation
Value Type
14. When a sub class passes down all the behaviours of the original parent class
Class Statement
Inheritance
Strong Typing
Syntax
15. 8 bit - signed byte (-128 - 127)
Method
Framework Class Library (FCL)
sbyte - Size
Inheritance
16. 16 bit - unsigned integer data (0 to 65535)
Method
ushort - Size
Expression
Variable
17. The "Type" name of data that is stored on the Heap
Data structures
Operator
sbyte - .NET alias
Reference Type
18. Restricts access to a Member to the current Class and any Derived Class.
decimal - .NET alias
Decimal (or decimal) - Size
Protected Access Modifier
Program
19. A Class that can only have Static Members
Static Class
References (Visual Studio Solution
Internal Access Modifier
uint - Size
20. System.UInt16
using
ushort - .NET alias
Expression
Framework Class Library (FCL)
21. (== or !=)
Equality Operator
Abstraction
Strong Typing
Base Class
22. 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.
References (Visual Studio Solution
Framework Class Library (FCL)
Operator
Partial Method Modifier
23. The process of hiding and restricting access to the implementation details of a data structure.
Sealed Class
Encapsulation
Stack
Console Application
24. A Class that cannot be Inherited
bool - Size
uint - .NET alias
Sealed Class
uint - Size
25. A Member that cannot be accessed/invoked through an Object Instance.
Static Member
Object
Assembly
Encapsulation
26. Indicates that the Method can be overridden.
Just-in-time (JIT
Virtual Method Modifier
Abstract Method Modifier
Method
27. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
W.P.F
Properties
IDE
sbyte - .NET alias
28. Names reserved by the compiler that coders are not allowed to use as identifiers.
W.P.F
Namespace
If Statement
Keyword
29. 32 bit integer data
Namespace
Array
Int32 - Size
Double (or double) - Size
30. 16 bit - signed integer data (-32768 to 32767)
Internal Access Modifier
DateTime
Reference Type
short - Size
31. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
DateTime
Base Class
Assembly
ulong - .NET alias
32. true or false
ushort - .NET alias
Boolean - Size
byte - Size
Reference Type
33. Contains the class definitions that allow access to the functionality provided by .NET.
Derived Class
Variable
long - Size
Framework Class Library (FCL)
34. 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.
Virtual Method Modifier
double - .NET alias
Syntax
returnType methodName (parameterList)
35. Variables defined by a class
char - .NET alias
Abstract Class Modifier
Double (or double) - Size
Field
36. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Constructor
ulong - .NET alias
Array
Assembly
37. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
decimal - .NET alias
W.P.F
Heap
C#
38. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
decimal - .NET alias
short - .NET alias
Statement
Common Language Runtime (CLR)
39. Access is limited to the current Assembly and Derived Types
Properties
Int64 - Size
Protected Internal Access Modifier
String (or string)
40. 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
ulong - .NET alias
Expression
Heap
Variable
41. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Inheritance
sbyte - .NET alias
short - .NET alias
Partial Method Modifier
42. Code which implements GUI (graphical User Interface).
char - Size
Syntax
returnType methodName (parameterList)
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
43. Allow access to types that exist in outside assemblies.
NET
Expression
References (Visual Studio Solution
Virtual Method Modifier
44. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Primitive Type
Abstraction
sbyte - .NET alias
Object
45. A symbol that specifies an operation to be performed on one or more variables.
Namespace
Static Member
Operator
ulong - .NET alias
46. Code which signifies a carriage return. Symbolises a new line in a text box.
r
Abstraction
int - Size
sbyte - Size
47. Integrated Development Environment
Reference Type
bool - Size
short - Size
IDE
48. Used to display text that end user does not need to edit.
Label
Int64 - Size
Primitive Type
Encapsulation
49. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Strong Typing
ushort - Size
Abstract Class Modifier
returnType methodName (parameterList)
50. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Int32 - Size
Window.xaml.cs
Class Statement
Strong Typing