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. System.UInt16
Field
ushort - .NET alias
C#
Partial Class Modifier
2. 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)
short - .NET alias
ulong - Size
Parameter aka Argument
3. 64 bit - unsigned integer data
Parameter aka Argument
While Statement
Program
ulong - Size
4. Symbols which transform and combine expressions
Operator
Precedence
Static Class
Int32 - Size
5. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Expression
long - .NET alias
Conditional Operator
Array
6. 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'.
Unary Operator
sbyte - .NET alias
Textbox
Statement
7. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
returnType methodName (parameterList)
Class aka Type
Properties
Namespace
8. Access is limited to the current Assembly
long - .NET alias
Method
If Statement
Internal Access Modifier
9. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Operator
Textbox
Assembly
Console Application
10. 64 bit integer data
Encapsulation
Field
Relational Operator
Int64 - Size
11. 8 bit - signed byte (-128 - 127)
bool - Size
Just-in-time (JIT
Constant
sbyte - Size
12. Something that has a different number of parameters to it's predecessor
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
ulong - .NET alias
ushort - Size
Overloaded Method
13. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Primitive Type
Stack
Expression
Protected Internal Access Modifier
14. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Primitive
Statement
Inheritance
ulong - .NET alias
15. Represents the encapsulation of data and behaviors into a single unit.
Heap
short - Size
short - .NET alias
Class
16. true or false
Method
Program
byte - Size
bool - Size
17. System.Decimal
decimal - .NET alias
Operator
Int32 - Size
Int64 - Size
18. System.Int16
short - .NET alias
Protected Access Modifier
Static Class
uint - .NET alias
19. Compilation of classes. In C# Usually ends in .dll or .exe
Assembly
double - .NET alias
Parameter aka Argument
decimal - .NET alias
20. Field whose value can never change. Declared with 'const' keyword
Internal Access Modifier
Constant
Label
Float (or float) - Size
21. Instance of a type created when a program runs. Can be visible or invisible. Has properties and events and methods. Properties- determine appearance. Events - trigger a response. Methods - something the object does
ulong - Size
Class Statement
Operator
Object
22. System.Int64
Encapsulation
bool - Size
long - .NET alias
Method
23. Indicates that the Method can be overridden.
Virtual Method Modifier
Primitive
sbyte - Size
bool - Size
24. A Class that can only have Static Members
Operator
Static Class
Expression
Protected Access Modifier
25. Word that stores a value. Storage location that holds a value. Type and name of variable must be declared in a statement. Must be explicitly declared before use. Uses CamelCase notation.
long - Size
Primitive
Relational Operator
Variable
26. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Variable
Base Class
Precedence
Statement
27. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Incrementing / Decrementing Variables
Abstraction
If Statement
Conditional Operator
28. 64 bit integer data
Inheritance
r
float - .NET alias
long - Size
29. true or false
JIT
Boolean - Size
Stack
Partial Method Modifier
30. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
If Statement
Public Keyword
Class
While Statement
31. Extra information within a method
Comments
Static Member
Parameter aka Argument
Operator
32. The "Type" name of data that is stored on the Heap
Protected Access Modifier
byte - .NET alias
Sealed Class
Reference Type
33. The lowest level or fundamental data types needed for representing data.
Primitive Type
Inheritance
Window.xaml.cs
Common Language Runtime (CLR)
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.
Syntax
IDE
Internal Access Modifier
Data structures
35. Command Language Runtime
Field
Protected Internal Access Modifier
Base Class
CLR
36. System.Char
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Object
Double (or double) - Size
char - .NET alias
37. 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
Operator
Heap
Syntax
Boolean - Size
38. Mathematical (+ or - or / or %)
Operator
Constructor
Virtual Method Modifier
Derived Class
39. A Class that cannot be instantiated.
NET
Static Class
Boolean Operator
int - Size
40. (== or !=)
Strong Typing
float - .NET alias
Equality Operator
Constant
41. 128 bit fixed precision (financial)
Reference Type
Encapsulation
Decimal (or decimal) - Size
Variable
42. Allows the definition of a Class to span multiple files (within the same Project)
short - Size
Field
Primitive Type
Partial Class Modifier
43. Allow access to types that exist in outside assemblies.
Expression
Encapsulation
References (Visual Studio Solution
Double (or double) - Size
44. count = count+1 or count++ or count__. Both count variables are Unary Operators
Incrementing / Decrementing Variables
DateTime
Protected Access Modifier
char - Size
45. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
byte - .NET alias
Array
Expression
Static Member
46. Keyword which exposes members to other classes OR Identifier which makes program elements public
C#
Assembly
Public Keyword
byte - Size
47. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Static Class
Inheritance
Class
Variable
48. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Incrementing / Decrementing Variables
Method
short - Size
Protected Internal Access Modifier
49. System.SByte
Just-in-time (JIT
sbyte - Size
sbyte - .NET alias
String (or string)
50. Code which implements GUI (graphical User Interface).
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Field
Relational Operator
While Statement