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. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Conditional Operator
Unary Operator
Stack
IDE
2. A Class that cannot be Inherited
Sealed Class
sbyte - .NET alias
Conditional Operator
Double (or double) - Size
3. System.SByte
Static Class
Protected Internal Access Modifier
Encapsulation
sbyte - .NET alias
4. 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
int - .NET alias
Heap
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Assembly
5. A representation of an area in the computer memory in which a value of a particular data type can be stored.
char - .NET alias
Boolean - Size
Variable
Dot Notation
6. Text as Unicode characters
Internal Access Modifier
Operator
Class Statement
String (or string)
7. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Partial Class Modifier
Class
IDE
Assembly
8. 128 bit fixed precision (financial)
Static Member
short - .NET alias
Decimal (or decimal) - Size
Overloaded Method
9. Only requires one operand usually a count+1 or a count++ or a count--
While Statement
Identifiers
Base Class
Unary Operator
10. Restricts access to a Member to the current Class.
Private Access Modifier
JITer
Operator
Encapsulation
11. Introduces a new class. Marked by curly brackets { }
Namespace
Label
Class Statement
Program
12. Most common kind of reference type. They define objects. They must have at least one method and one field.
Incrementing / Decrementing Variables
Class aka Type
returnType methodName (parameterList)
Common Language Runtime (CLR)
13. 8 bit - unsigned byte (0 - 255)
byte - Size
Inheritance
CLR
Window.xaml.cs
14. System.Byte
Encapsulation
ulong - .NET alias
byte - .NET alias
decimal - .NET alias
15. A Class that inherits characteristics from another Class.
C#
Heap
Static Class
Derived Class
16. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
bool - Size
ulong - Size
Abstraction
sbyte - .NET alias
17. (== or !=)
Polymorphism
Boolean - Size
Equality Operator
While Statement
18. Used to display text that end user does not need to edit.
Reference Type
Variable (C# requirements)
Label
Operator
19. The lowest level or fundamental data types needed for representing data.
Constructor
Primitive Type
Inheritance
returnType methodName (parameterList)
20. true or false
Boolean - Size
long - Size
Object
byte - Size
21. Integrated Development Environment
String (or string)
IDE
JITer
Array
22. 16 bit- unsigned word (U+0000 to U+ffff)
Textbox
char - Size
Namespace
Class Statement
23. 16 bit - unsigned integer data (0 to 65535)
ushort - Size
Boolean - Size
Statement
Keyword
24. The process of compiling IL source into CPU-native code for execution.
Just-in-time (JIT
Dot Notation
If Statement
Unary Operator
25. Command Language Runtime
Field
short - Size
Abstraction
CLR
26. Indicates that the Method can be overridden.
Virtual Method Modifier
Float (or float) - Size
bool - Size
Primitive Type
27. 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.
Boolean Operator
Namespace
Abstract Method Modifier
Method
28. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Console Application
Int32 - Size
Array
Inheritance
29. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
DateTime
csc.exe
returnType methodName (parameterList)
Encapsulation
30. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Assembly
ushort - Size
Precedence
While Statement
31. Groups classes together so that they have a unique identifier
Field
Identifiers
bool - Size
Namespace
32. 64 bit integer data
decimal - .NET alias
ushort - .NET alias
long - Size
Conditional Operator
33. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Polymorphism
Statement
Private Access Modifier
Static Class
34. Something that has a different number of parameters to it's predecessor
Protected Internal Access Modifier
Overloaded Method
returnType methodName (parameterList)
Stack
35. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Keyword
Statement
Protected Access Modifier
Static Class
36. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
Derived Class
Identifiers
Keyword
If Statement
37. Command which runs repeatedly while (some) condition is true.
While Statement
Sealed Class
Float (or float) - Size
Method
38. The process of hiding and restricting access to the implementation details of a data structure.
Encapsulation
char - Size
Static Class
Float (or float) - Size
39. System.UInt64
ulong - .NET alias
Protected Internal Access Modifier
W.P.F
ushort - .NET alias
40. 16 bit - signed integer data (-32768 to 32767)
byte - .NET alias
Private Access Modifier
short - Size
Overloaded Method
41. Keyword which exposes members to other classes OR Identifier which makes program elements public
ushort - .NET alias
Public Keyword
Common Language Runtime (CLR)
Decimal (or decimal) - Size
42. Mathematical (+ or - or / or %)
Operator
Class Statement
Abstract Class Modifier
Static Class
43. Compilation of classes. In C# Usually ends in .dll or .exe
Syntax
Assembly
W.P.F
char - Size
44. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Console Application
Strong Typing
byte - .NET alias
Heap
45. Container for one or more Visual Studio Projects.
Visual Studio Solution
bool - Size
NET
byte - .NET alias
46. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Array
Conditional Operator
Method
Class
47. Restricts access to a Member to the current Class and any Derived Class.
Value Type
Protected Access Modifier
uint - Size
Abstract Method Modifier
48. 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.
Expression
Visual Studio Solution
Identifiers
Dot Notation
49. Symbols which transform and combine expressions
Intermediate Language (IL)
Abstract Method Modifier
Operator
long - Size
50. 64 bit double precision floating point data
Intermediate Language (IL)
long - Size
Protected Access Modifier
Double (or double) - Size