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. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Statement
Assembly
Comments
Expression
2. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Relational Operator
Incrementing / Decrementing Variables
Inheritance
csc.exe
3. Mathematical (+ or - or / or %)
float - .NET alias
Virtual Method Modifier
char - Size
Operator
4. Access is limited to the current Assembly
double - .NET alias
Data structures
DateTime
Internal Access Modifier
5. 64 bit - unsigned integer data
JIT
float - .NET alias
C#
ulong - Size
6. The lowest level or fundamental data types needed for representing data.
Primitive Type
Double (or double) - Size
decimal - .NET alias
Constant
7. (&& or || or & or |)
Conditional Operator
Abstract Class Modifier
W.P.F
Equality Operator
8. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Reference Type
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
ushort - .NET alias
Namespace
9. Allow access to types that exist in outside assemblies.
byte - .NET alias
String (or string)
returnType methodName (parameterList)
References (Visual Studio Solution
10. Contains the class definitions that allow access to the functionality provided by .NET.
Equality Operator
Framework Class Library (FCL)
While Statement
Comments
11. The "Type" name of data that is stored on the Stack
uint - .NET alias
Static Class
Inheritance
Value Type
12. Object Oriented Programming relies on dot.notation. Dot Notation enables public methods to be fully accessible from outside an object. Member names are separated by a dot (.). Syntax is method-defined-in-class.bject-in-runtime-of-class
Dot Notation
Stack
Just-in-time (JIT
Variable (C# requirements)
13. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Overloaded Method
Internal Access Modifier
Expression
Array
14. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
JITer
csc.exe
Object
Window.xaml.cs
15. Something that has a different number of parameters to it's predecessor
Overloaded Method
Static Member
Sealed Class
Heap
16. Sits behind GUI (Graphical User Interface) and provides event listeners
Window.xaml.cs
W.P.F
Virtual Method Modifier
Abstraction
17. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
r
Partial Method Modifier
Statement
Relational Operator
18. A method that is called whenever an Object is created. The method uses the same name as the Class.
Assignment Operator
sbyte - .NET alias
Constructor
Method
19. Extra information within a method
Boolean - Size
Operator
Parameter aka Argument
Strong Typing
20. 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'.
Abstraction
JITer
Incrementing / Decrementing Variables
Textbox
21. System.UInt32
Base Class
uint - .NET alias
Object
Int32 - Size
22. Syntax of a C# Method
Inheritance
Stack
Variable
returnType methodName (parameterList)
23. 64 bit integer data
Equality Operator
char - Size
long - Size
Encapsulation
24. Text as Unicode characters
Static Class
Common Language Runtime (CLR)
String (or string)
int - .NET alias
25. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Common Language Runtime (CLR)
Properties
Strong Typing
Relational Operator
26. 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
uint - Size
Sealed Class
If Statement
27. Symbols which transform and combine expressions
Operator
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
sbyte - .NET alias
Base Class
28. A Class that cannot be instantiated.
Static Class
Relational Operator
using
Unary Operator
29. 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.
Internal Access Modifier
Comments
Syntax
Protected Access Modifier
30. (= or += or -= or = or /=)
ulong - .NET alias
Protected Internal Access Modifier
Assignment Operator
r
31. The .NET run-time environment that enables code to be compiled and executed.
byte - .NET alias
Partial Method Modifier
Common Language Runtime (CLR)
Syntax
32. The process of compiling IL source into CPU-native code for execution.
Float (or float) - Size
Relational Operator
Assembly
Just-in-time (JIT
33. 16 bit - unsigned integer data (0 to 65535)
ushort - Size
Overloaded Method
uint - .NET alias
Double (or double) - Size
34. 16 bit- unsigned word (U+0000 to U+ffff)
Polymorphism
Precedence
char - Size
byte - .NET alias
35. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Protected Internal Access Modifier
Properties
byte - .NET alias
Equality Operator
36. Access is limited to the current Assembly and Derived Types
Base Class
Equality Operator
Just-in-time (JIT
Protected Internal Access Modifier
37. 16 bit - signed integer data (-32768 to 32767)
r
CLR
short - Size
Base Class
38. Framework Class Library
Strong Typing
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Partial Method Modifier
FCL
39. Indicates that the Method can be overridden.
Strong Typing
Identifiers
Relational Operator
Virtual Method Modifier
40. Command Language Runtime
CLR
Keyword
Data structures
Common Language Runtime (CLR)
41. Represents date and time data with a 100 ns resolution
DateTime
C#
sbyte - .NET alias
Public Keyword
42. A Member that cannot be accessed/invoked through an Object Instance.
Boolean - Size
int - Size
Static Member
Assignment Operator
43. System.Int16
short - Size
Sealed Class
short - .NET alias
Intermediate Language (IL)
44. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
using
Assignment Operator
JIT
Equality Operator
45. Only requires one operand usually a count+1 or a count++ or a count--
Precedence
Window.xaml.cs
sbyte - Size
Unary Operator
46. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Abstract Class Modifier
Variable (C# requirements)
FCL
Field
47. 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.
Int32 - Size
Identifiers
Abstract Method Modifier
Protected Internal Access Modifier
48. System.SByte
Visual Studio Solution
Equality Operator
sbyte - .NET alias
IDE
49. Microsoft's generic software framework for application development.
NET
Int64 - Size
using
byte - Size
50. Names reserved by the compiler that coders are not allowed to use as identifiers.
Reference Type
Keyword
Inheritance
Incrementing / Decrementing Variables