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. Command Language Runtime
using
uint - Size
Internal Access Modifier
CLR
2. Extra information within a method
Parameter aka Argument
W.P.F
Common Language Runtime (CLR)
Int64 - Size
3. 32 bit - unsigned integer data
Assembly
bool - Size
Constructor
uint - Size
4. 32 bit integer data
int - Size
Method
Assembly
decimal - .NET alias
5. System.Int64
long - .NET alias
short - Size
Static Member
Protected Access Modifier
6. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Boolean - Size
Variable
Internal Access Modifier
Primitive Type
7. System.SByte
Field
int - Size
Public Keyword
sbyte - .NET alias
8. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Private Access Modifier
long - Size
Intermediate Language (IL)
decimal - .NET alias
9. true or false
returnType methodName (parameterList)
Boolean - Size
Visual Studio Solution
Variable
10. Groups classes together so that they have a unique identifier
r
Decimal (or decimal) - Size
Encapsulation
Namespace
11. Code which implements GUI (graphical User Interface).
Assembly
Operator
Method
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
12. Series of instructions which tell a computer what to do.
Heap
Object
Int32 - Size
Program
13. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Static Class
Conditional Operator
Stack
Data structures
14. 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.
Operator
short - .NET alias
Identifiers
Variable (C# requirements)
15. System.Char
char - .NET alias
returnType methodName (parameterList)
Partial Class Modifier
float - .NET alias
16. Keyword which exposes members to other classes OR Identifier which makes program elements public
Properties
Protected Internal Access Modifier
Parameter aka Argument
Public Keyword
17. When a sub class passes down all the behaviours of the original parent class
Int64 - Size
JITer
Inheritance
Polymorphism
18. Windows Presentation Foundation
Intermediate Language (IL)
Float (or float) - Size
W.P.F
Double (or double) - Size
19. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Equality Operator
Polymorphism
Method
20. 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
Common Language Runtime (CLR)
Field
21. count = count+1 or count++ or count__. Both count variables are Unary Operators
Incrementing / Decrementing Variables
short - .NET alias
Constant
Syntax
22. Integrated Development Environment
Partial Method Modifier
IDE
Base Class
ulong - .NET alias
23. A Class that cannot be Inherited
Sealed Class
Intermediate Language (IL)
Primitive
byte - .NET alias
24. Allows the definition of a Class to span multiple files (within the same Project)
Protected Internal Access Modifier
Assembly
Encapsulation
Partial Class Modifier
25. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
Primitive Type
If Statement
NET
Namespace
26. 32 bit single precision floating point data
r
Float (or float) - Size
Dot Notation
Operator
27. true or false
Virtual Method Modifier
bool - Size
Unary Operator
Abstract Method Modifier
28. A Class that can only have Static Members
String (or string)
Statement
Assembly
Static Class
29. Represents date and time data with a 100 ns resolution
Namespace
DateTime
Partial Class Modifier
Polymorphism
30. 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'.
Textbox
long - Size
Assignment Operator
double - .NET alias
31. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
Boolean Operator
Primitive Type
csc.exe
FCL
32. 8 bit - signed byte (-128 - 127)
Namespace
Int64 - Size
CLR
sbyte - Size
33. A symbol that specifies an operation to be performed on one or more variables.
Label
byte - Size
Operator
Statement
34. System.Int16
Public Keyword
short - .NET alias
Static Class
Unary Operator
35. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Static Class
Console Application
long - Size
Protected Internal Access Modifier
36. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Syntax
Expression
Namespace
Inheritance
37. Text as Unicode characters
float - .NET alias
Heap
String (or string)
JITer
38. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
char - Size
Int64 - Size
Just-in-time (JIT
JITer
39. Most common kind of reference type. They define objects. They must have at least one method and one field.
Class aka Type
byte - .NET alias
Double (or double) - Size
Operator
40. A Class that inherits characteristics from another Class.
Derived Class
Keyword
Stack
Double (or double) - Size
41. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Statement
Decimal (or decimal) - Size
Identifiers
Conditional Operator
42. System.Int32
If Statement
bool - Size
Class Statement
int - .NET alias
43. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Expression
byte - .NET alias
Class Statement
Heap
44. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Overloaded Method
sbyte - Size
DateTime
Method
45. 16 bit- unsigned word (U+0000 to U+ffff)
Polymorphism
char - Size
IDE
sbyte - .NET alias
46. Names reserved by the compiler that coders are not allowed to use as identifiers.
Keyword
Method
Comments
String (or string)
47. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
ulong - Size
Abstract Class Modifier
Expression
Float (or float) - Size
48. Access is limited to the current Assembly
Internal Access Modifier
Class aka Type
Parameter aka Argument
Static Class
49. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Strong Typing
ulong - Size
Assembly
returnType methodName (parameterList)
50. 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.
Dot Notation
Variable (C# requirements)
Partial Method Modifier
Statement