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
uint - Size
Just-in-time (JIT
Value Type
Variable
2. Must have a data type
Just-in-time (JIT
Variable (C# requirements)
sbyte - Size
byte - .NET alias
3. 64 bit - unsigned integer data
ulong - Size
r
Class aka Type
Object
4. A Class that inherits characteristics from another Class.
Derived Class
Assignment Operator
Virtual Method Modifier
Abstraction
5. 8 bit - unsigned byte (0 - 255)
Program
Field
FCL
byte - Size
6. System.Int16
Heap
Conditional Operator
short - .NET alias
csc.exe
7. 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
Object
If Statement
char - Size
Class Statement
8. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Dot Notation
Label
Primitive Type
Console Application
9. A symbol that specifies an operation to be performed on one or more variables.
Partial Method Modifier
Namespace
JIT
Operator
10. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Statement
byte - .NET alias
char - .NET alias
Comments
11. 16 bit- unsigned word (U+0000 to U+ffff)
Overloaded Method
FCL
Static Class
char - Size
12. Syntax of a C# Method
Object
Heap
Abstract Method Modifier
returnType methodName (parameterList)
13. 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
ushort - Size
Identifiers
int - .NET alias
14. Used to display text that end user does not need to edit.
ulong - .NET alias
int - .NET alias
byte - Size
Label
15. Indicates that the Method can be overridden.
sbyte - .NET alias
Program
Virtual Method Modifier
Static Class
16. System.UInt32
Polymorphism
ulong - .NET alias
uint - .NET alias
Array
17. 64 bit integer data
Internal Access Modifier
Primitive Type
float - .NET alias
Int64 - Size
18. 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
Visual Studio Solution
Heap
References (Visual Studio Solution
Method
19. Access is limited to the current Assembly
short - .NET alias
Internal Access Modifier
Assembly
Field
20. 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.
sbyte - .NET alias
ulong - Size
Heap
Abstract Method Modifier
21. 64 bit double precision floating point data
decimal - .NET alias
Double (or double) - Size
Object
Abstract Method Modifier
22. A Class that cannot be instantiated.
Static Class
Abstract Method Modifier
Data structures
Float (or float) - Size
23. Introduces a new class. Marked by curly brackets { }
Static Member
Class Statement
DateTime
byte - Size
24. Command which runs repeatedly while (some) condition is true.
float - .NET alias
While Statement
r
Precedence
25. Contains the class definitions that allow access to the functionality provided by .NET.
Framework Class Library (FCL)
While Statement
Encapsulation
CLR
26. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Variable
Namespace
int - .NET alias
Expression
27. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
Reference Type
Assembly
Variable
If Statement
28. System.SByte
If Statement
sbyte - .NET alias
Primitive
Polymorphism
29. 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
Statement
Array
Sealed Class
30. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Properties
Assembly
Class
Namespace
31. Represents the encapsulation of data and behaviors into a single unit.
Common Language Runtime (CLR)
IDE
Class
Object
32. A method that is called whenever an Object is created. The method uses the same name as the Class.
Constructor
Static Member
Console Application
Precedence
33. When a sub class passes down all the behaviours of the original parent class
Constructor
While Statement
Inheritance
float - .NET alias
34. Groups classes together so that they have a unique identifier
Stack
Namespace
Inheritance
Label
35. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Array
sbyte - .NET alias
Assembly
Abstract Method Modifier
36. 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.
Encapsulation
Method
Variable
W.P.F
37. count = count+1 or count++ or count__. Both count variables are Unary Operators
Namespace
Operator
Incrementing / Decrementing Variables
Boolean - Size
38. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Abstraction
Class aka Type
Incrementing / Decrementing Variables
Console Application
39. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Unary Operator
Constant
IDE
Strong Typing
40. 32 bit integer data
Textbox
Parameter aka Argument
int - Size
csc.exe
41. Variables defined by a class
Base Class
Variable
Variable (C# requirements)
Field
42. System.Char
Base Class
Unary Operator
char - .NET alias
Partial Class Modifier
43. The "Type" name of data that is stored on the Heap
Reference Type
Sealed Class
Virtual Method Modifier
Operator
44. Access is limited to the current Assembly and Derived Types
decimal - .NET alias
Protected Internal Access Modifier
Framework Class Library (FCL)
Internal Access Modifier
45. 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
Static Class
Dot Notation
Abstract Class Modifier
Encapsulation
46. Represents date and time data with a 100 ns resolution
Float (or float) - Size
DateTime
Just-in-time (JIT
Program
47. Something that has a different number of parameters to it's predecessor
Inheritance
Constructor
Overloaded Method
Class
48. Compilation of classes. In C# Usually ends in .dll or .exe
Abstraction
Assembly
Expression
csc.exe
49. 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.
Label
If Statement
Syntax
long - .NET alias
50. Microsoft's generic software framework for application development.
NET
IDE
Static Class
Abstract Method Modifier