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 "Type" name of data that is stored on the Stack
Value Type
Assignment Operator
Heap
bool - Size
2. System.UInt32
Unary Operator
uint - .NET alias
byte - .NET alias
Expression
3. System.Int32
If Statement
sbyte - .NET alias
float - .NET alias
int - .NET alias
4. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
ushort - Size
Array
Float (or float) - Size
Abstraction
5. 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.
Console Application
Partial Method Modifier
Syntax
Internal Access Modifier
6. Code which implements GUI (graphical User Interface).
Internal Access Modifier
long - .NET alias
int - Size
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
7. Groups classes together so that they have a unique identifier
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
References (Visual Studio Solution
CLR
Namespace
8. 16 bit - unsigned integer data (0 to 65535)
ulong - .NET alias
Statement
ushort - Size
Class aka Type
9. 8 bit - signed byte (-128 - 127)
Overloaded Method
sbyte - Size
C#
Boolean - Size
10. 8 bit - unsigned byte (0 - 255)
byte - Size
Parameter aka Argument
float - .NET alias
Namespace
11. Variables defined by a class
Internal Access Modifier
Expression
Field
Properties
12. Syntax of a C# Method
sbyte - Size
Abstraction
Public Keyword
returnType methodName (parameterList)
13. Integrated Development Environment
IDE
Visual Studio Solution
Static Member
JIT
14. 32 bit integer data
Int32 - Size
Identifiers
long - Size
Primitive Type
15. Text as Unicode characters
String (or string)
Value Type
uint - .NET alias
float - .NET alias
16. Command Language Runtime
Statement
NET
CLR
Stack
17. 16 bit- unsigned word (U+0000 to U+ffff)
char - Size
Abstract Method Modifier
Internal Access Modifier
Textbox
18. 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
Properties
Derived Class
String (or string)
19. A symbol that specifies an operation to be performed on one or more variables.
DateTime
Namespace
String (or string)
Operator
20. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Class aka Type
Constant
Statement
Array
21. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
Properties
Decimal (or decimal) - Size
C#
Conditional Operator
22. Access is limited to the current Assembly and Derived Types
Protected Internal Access Modifier
Static Class
Variable (C# requirements)
Textbox
23. A Class that cannot be Inherited
Just-in-time (JIT
uint - .NET alias
Sealed Class
Intermediate Language (IL)
24. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
JITer
Partial Class Modifier
Abstraction
Static Member
25. 64 bit integer data
long - Size
short - .NET alias
ushort - Size
Namespace
26. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Primitive
long - Size
Polymorphism
References (Visual Studio Solution
27. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
Object
float - .NET alias
ushort - Size
If Statement
28. 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.
Textbox
Partial Method Modifier
Variable
Static Class
29. 16 bit - signed integer data (-32768 to 32767)
Statement
Partial Method Modifier
Keyword
short - Size
30. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Console Application
Heap
Statement
byte - .NET alias
31. 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)
C#
uint - .NET alias
IDE
32. The lowest level or fundamental data types needed for representing data.
Unary Operator
Visual Studio Solution
Keyword
Primitive Type
33. Series of instructions which tell a computer what to do.
Decimal (or decimal) - Size
Primitive
Program
Partial Class Modifier
34. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
csc.exe
Class aka Type
Method
Derived Class
35. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
JIT
Properties
Method
Reference Type
36. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
using
Inheritance
Protected Access Modifier
W.P.F
37. Compilation of classes. In C# Usually ends in .dll or .exe
Private Access Modifier
uint - .NET alias
Assembly
JITer
38. (== or !=)
Internal Access Modifier
Equality Operator
Conditional Operator
sbyte - Size
39. (&& or || or & or |)
Abstraction
Assembly
Conditional Operator
ushort - .NET alias
40. 64 bit double precision floating point data
Internal Access Modifier
Intermediate Language (IL)
Double (or double) - Size
Constructor
41. Code which signifies a carriage return. Symbolises a new line in a text box.
bool - Size
Strong Typing
Int64 - Size
r
42. System.Single
bool - Size
Unary Operator
float - .NET alias
Boolean - Size
43. 32 bit single precision floating point data
int - .NET alias
using
Method
Float (or float) - Size
44. Only requires one operand usually a count+1 or a count++ or a count--
Abstraction
Expression
Unary Operator
FCL
45. System.Char
Object
char - .NET alias
int - .NET alias
Sealed Class
46. (< or > or <= or >=)
Double (or double) - Size
Relational Operator
Method
Expression
47. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
ulong - Size
Comments
Assembly
sbyte - .NET alias
48. 32 bit - unsigned integer data
long - Size
If Statement
C#
uint - Size
49. Names reserved by the compiler that coders are not allowed to use as identifiers.
decimal - .NET alias
Namespace
Keyword
ulong - Size
50. System.Decimal
Reference Type
float - .NET alias
decimal - .NET alias
short - .NET alias