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. Extra information within a method
short - Size
Float (or float) - Size
Encapsulation
Parameter aka Argument
2. A symbol that specifies an operation to be performed on one or more variables.
Operator
NET
Variable (C# requirements)
References (Visual Studio Solution
3. Used to display text that end user does not need to edit.
Overloaded Method
Assembly
r
Label
4. A Class from which other classes can inherit characteristics.
Base Class
JIT
Parameter aka Argument
Constructor
5. Must have a data type
Variable (C# requirements)
Label
Namespace
Namespace
6. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
int - .NET alias
Stack
Class Statement
Textbox
7. 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.
Variable
Syntax
Operator
ulong - Size
8. Framework Class Library
Constant
While Statement
FCL
byte - Size
9. The lowest level or fundamental data types needed for representing data.
Abstract Class Modifier
Primitive Type
Overloaded Method
csc.exe
10. The .NET run-time environment that enables code to be compiled and executed.
Heap
Syntax
Relational Operator
Common Language Runtime (CLR)
11. 32 bit integer data
Int32 - Size
NET
Properties
Encapsulation
12. Access is limited to the current Assembly and Derived Types
Protected Internal Access Modifier
Class
Strong Typing
Precedence
13. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Intermediate Language (IL)
ulong - Size
Public Keyword
Sealed Class
14. A Class that can only have Static Members
Protected Access Modifier
Framework Class Library (FCL)
Expression
Static Class
15. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Array
Expression
byte - .NET alias
Boolean Operator
16. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Method
Comments
r
Incrementing / Decrementing Variables
17. 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.
Public Keyword
Encapsulation
Class
csc.exe
18. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Primitive Type
Partial Method Modifier
Object
Precedence
19. Restricts access to a Member to the current Class and any Derived Class.
Protected Access Modifier
DateTime
float - .NET alias
Static Class
20. System.Decimal
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Abstract Method Modifier
decimal - .NET alias
Double (or double) - Size
21. Something that has a different number of parameters to it's predecessor
bool - Size
Encapsulation
Base Class
Overloaded Method
22. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Just-in-time (JIT
Boolean - Size
Inheritance
Namespace
23. 64 bit integer data
Int64 - Size
ulong - .NET alias
Assembly
Boolean Operator
24. (< or > or <= or >=)
Encapsulation
Float (or float) - Size
Statement
Relational Operator
25. An instance of a class that exists at run-time and is typically referenced via a variable name.
Object
Polymorphism
Method
JIT
26. 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.
Static Class
Encapsulation
Internal Access Modifier
Identifiers
27. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Variable
Statement
bool - Size
Constructor
28. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
Variable
Textbox
csc.exe
long - .NET alias
29. Mathematical (+ or - or / or %)
Operator
char - .NET alias
returnType methodName (parameterList)
Parameter aka Argument
30. Command Language Runtime
Array
CLR
Namespace
Strong Typing
31. 8 bit - unsigned byte (0 - 255)
Assembly
byte - Size
uint - .NET alias
References (Visual Studio Solution
32. Allow access to types that exist in outside assemblies.
References (Visual Studio Solution
While Statement
NET
Window.xaml.cs
33. (== or !=)
Equality Operator
NET
Primitive
float - .NET alias
34. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
short - .NET alias
bool - Size
Statement
Operator
35. Sits behind GUI (Graphical User Interface) and provides event listeners
FCL
Protected Access Modifier
Inheritance
Window.xaml.cs
36. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
sbyte - .NET alias
Abstraction
Parameter aka Argument
Assembly
37. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Expression
Dot Notation
JITer
References (Visual Studio Solution
38. The member type of a Class that performs an action.
Method
Console Application
Int64 - Size
Int32 - Size
39. Command which runs repeatedly while (some) condition is true.
Virtual Method Modifier
Conditional Operator
While Statement
Overloaded Method
40. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
byte - Size
If Statement
int - .NET alias
Data structures
41. 8 bit - signed byte (-128 - 127)
sbyte - Size
Assembly
ulong - .NET alias
byte - .NET alias
42. true or false
Boolean - Size
Encapsulation
Object
Int32 - Size
43. 128 bit fixed precision (financial)
Decimal (or decimal) - Size
IDE
CLR
Static Class
44. Code which implements GUI (graphical User Interface).
Heap
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
JIT
Just-in-time (JIT
45. 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.
ulong - .NET alias
JITer
Dot Notation
Abstract Method Modifier
46. A Member that cannot be accessed/invoked through an Object Instance.
Array
Operator
Static Member
Statement
47. A representation of an area in the computer memory in which a value of a particular data type can be stored.
byte - Size
Protected Internal Access Modifier
Variable
long - Size
48. System.UInt16
Namespace
ushort - .NET alias
JITer
Expression
49. Keyword which exposes members to other classes OR Identifier which makes program elements public
FCL
short - Size
Method
Public Keyword
50. Series of instructions which tell a computer what to do.
short - .NET alias
Program
Assignment Operator
String (or string)