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. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Primitive
Float (or float) - Size
Relational Operator
ulong - Size
2. Code which implements GUI (graphical User Interface).
Label
Derived Class
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Data structures
3. 128 bit fixed precision (financial)
References (Visual Studio Solution
Window.xaml.cs
short - .NET alias
Decimal (or decimal) - Size
4. 16 bit - signed integer data (-32768 to 32767)
Protected Access Modifier
Class aka Type
Namespace
short - Size
5. 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.
Protected Internal Access Modifier
long - .NET alias
Abstraction
Abstract Method Modifier
6. Access is limited to the current Assembly
Internal Access Modifier
Abstract Class Modifier
int - .NET alias
returnType methodName (parameterList)
7. System.UInt32
Int32 - Size
Variable (C# requirements)
uint - .NET alias
double - .NET alias
8. Represents date and time data with a 100 ns resolution
Partial Method Modifier
DateTime
FCL
Object
9. System.UInt16
short - .NET alias
ushort - .NET alias
Int32 - Size
Internal Access Modifier
10. A Class from which other classes can inherit characteristics.
Operator
Expression
Base Class
FCL
11. 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
Double (or double) - Size
Dot Notation
Object
Heap
12. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
decimal - .NET alias
Inheritance
Expression
Properties
13. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Strong Typing
Variable (C# requirements)
Int32 - Size
Method
14. System.Double
Double (or double) - Size
using
Value Type
double - .NET alias
15. System.Int32
int - .NET alias
Dot Notation
Operator
using
16. true or false
Double (or double) - Size
Boolean - Size
int - Size
Common Language Runtime (CLR)
17. The lowest level or fundamental data types needed for representing data.
Statement
csc.exe
Static Class
Primitive Type
18. The "Type" name of data that is stored on the Stack
Value Type
Private Access Modifier
Assembly
Polymorphism
19. The .NET run-time environment that enables code to be compiled and executed.
Namespace
long - .NET alias
Incrementing / Decrementing Variables
Common Language Runtime (CLR)
20. Names reserved by the compiler that coders are not allowed to use as identifiers.
Keyword
Double (or double) - Size
Static Class
long - Size
21. 16 bit - unsigned integer data (0 to 65535)
ushort - Size
Protected Access Modifier
FCL
Statement
22. A Class that cannot be instantiated.
byte - Size
Keyword
Static Class
Boolean - Size
23. System.Char
Overloaded Method
char - Size
JITer
char - .NET alias
24. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
Equality Operator
C#
Polymorphism
Class aka Type
25. Just-in-time compilation
Heap
JIT
Static Member
Protected Internal Access Modifier
26. System.UInt64
Visual Studio Solution
Int32 - Size
ulong - .NET alias
Derived Class
27. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Strong Typing
Overloaded Method
Protected Internal Access Modifier
Comments
28. 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.
Data structures
ulong - Size
Primitive Type
Syntax
29. 32 bit integer data
returnType methodName (parameterList)
int - Size
CLR
Method
30. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
Derived Class
Syntax
long - .NET alias
using
31. Indicates that the Method can be overridden.
Class aka Type
Virtual Method Modifier
int - .NET alias
Assembly
32. Text as Unicode characters
Console Application
char - Size
String (or string)
short - .NET alias
33. Calculation whose result is either true or false but cannot be both E.g. == Equal to. != Not Equal too. < Less than. <= Less than of equal to. > Greater than. >= Greaten than or equal to. && AND (Conditional) ->|| OR (Conditional)
W.P.F
If Statement
Boolean Operator
Strong Typing
34. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Dot Notation
Virtual Method Modifier
Console Application
Equality Operator
35. 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.
Variable
Syntax
Label
Virtual Method Modifier
36. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Console Application
Array
Method
CLR
37. The "Type" name of data that is stored on the Heap
Namespace
Array
Reference Type
References (Visual Studio Solution
38. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
Protected Access Modifier
JITer
long - Size
Statement
39. An instance of a class that exists at run-time and is typically referenced via a variable name.
W.P.F
Expression
Object
References (Visual Studio Solution
40. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
Keyword
byte - .NET alias
csc.exe
Primitive Type
41. 8 bit - signed byte (-128 - 127)
Assembly
sbyte - Size
Heap
int - Size
42. System.Decimal
decimal - .NET alias
Identifiers
Encapsulation
Inheritance
43. System.Int16
short - .NET alias
C#
Operator
Reference Type
44. Something that has a different number of parameters to it's predecessor
Heap
Float (or float) - Size
Partial Method Modifier
Overloaded Method
45. Introduces a new class. Marked by curly brackets { }
Class Statement
String (or string)
Derived Class
using
46. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Statement
long - .NET alias
Polymorphism
Properties
47. Series of instructions which tell a computer what to do.
Inheritance
Program
Sealed Class
Private Access Modifier
48. (= or += or -= or = or /=)
Assignment Operator
Private Access Modifier
Partial Class Modifier
ulong - Size
49. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Common Language Runtime (CLR)
long - Size
Precedence
Abstraction
50. count = count+1 or count++ or count__. Both count variables are Unary Operators
Abstraction
Static Member
References (Visual Studio Solution
Incrementing / Decrementing Variables