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
Reference Type
r
Textbox
2. The process of hiding and restricting access to the implementation details of a data structure.
Field
Heap
Encapsulation
char - .NET alias
3. count = count+1 or count++ or count__. Both count variables are Unary Operators
Precedence
uint - .NET alias
NET
Incrementing / Decrementing Variables
4. Code which signifies a carriage return. Symbolises a new line in a text box.
r
Common Language Runtime (CLR)
long - Size
References (Visual Studio Solution
5. A Class that inherits characteristics from another Class.
Stack
Derived Class
Reference Type
If Statement
6. A type of statement that produces a value that might be tested or assigned to a variable.
decimal - .NET alias
DateTime
IDE
Expression
7. A representation of an area in the computer memory in which a value of a particular data type can be stored.
decimal - .NET alias
short - .NET alias
Variable
ushort - .NET alias
8. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
If Statement
Class
Heap
int - Size
9. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Class
Common Language Runtime (CLR)
Strong Typing
byte - .NET alias
10. System.Decimal
Intermediate Language (IL)
decimal - .NET alias
Console Application
Parameter aka Argument
11. 32 bit - unsigned integer data
Identifiers
uint - Size
decimal - .NET alias
Constructor
12. A Member that cannot be accessed/invoked through an Object Instance.
Static Member
Assembly
Syntax
Double (or double) - Size
13. Windows Presentation Foundation
short - .NET alias
Statement
W.P.F
Encapsulation
14. An instance of a class that exists at run-time and is typically referenced via a variable name.
Object
double - .NET alias
Program
Heap
15. When a sub class passes down all the behaviours of the original parent class
Statement
Operator
Inheritance
ushort - .NET alias
16. 64 bit integer data
Double (or double) - Size
W.P.F
long - Size
DateTime
17. System.Int32
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Value Type
int - .NET alias
Parameter aka Argument
18. 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
Statement
Object
W.P.F
Class aka Type
19. 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.
Just-in-time (JIT
Variable
While Statement
Namespace
20. The process of compiling IL source into CPU-native code for execution.
byte - Size
Encapsulation
Just-in-time (JIT
Visual Studio Solution
21. Series of instructions which tell a computer what to do.
Program
Constructor
Variable (C# requirements)
sbyte - .NET alias
22. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Program
Equality Operator
Statement
Class Statement
23. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
Class Statement
Operator
Primitive
JITer
24. Syntax of a C# Method
returnType methodName (parameterList)
Comments
Abstract Method Modifier
Array
25. (&& or || or & or |)
Field
Textbox
Console Application
Conditional Operator
26. 64 bit - unsigned integer data
Field
Window.xaml.cs
C#
ulong - Size
27. A method that is called whenever an Object is created. The method uses the same name as the Class.
Identifiers
Constructor
Common Language Runtime (CLR)
Assembly
28. Restricts access to a Member to the current Class and any Derived Class.
CLR
Console Application
DateTime
Protected Access Modifier
29. (== or !=)
Namespace
Conditional Operator
Equality Operator
returnType methodName (parameterList)
30. 16 bit - unsigned integer data (0 to 65535)
Data structures
ushort - Size
uint - .NET alias
C#
31. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Double (or double) - Size
uint - .NET alias
Assembly
Stack
32. 32 bit single precision floating point data
char - .NET alias
Float (or float) - Size
Inheritance
Program
33. 8 bit - unsigned byte (0 - 255)
byte - Size
Dot Notation
CLR
W.P.F
34. true or false
Inheritance
Object
bool - Size
Relational Operator
35. Must have a data type
Intermediate Language (IL)
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Variable (C# requirements)
Assignment Operator
36. (= or += or -= or = or /=)
Window.xaml.cs
Assignment Operator
Public Keyword
Keyword
37. Compilation of classes. In C# Usually ends in .dll or .exe
Operator
Dot Notation
Protected Access Modifier
Assembly
38. System.Int16
ulong - .NET alias
Variable (C# requirements)
short - .NET alias
Boolean Operator
39. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
uint - Size
CLR
Properties
Static Class
40. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Textbox
Relational Operator
Double (or double) - Size
Inheritance
41. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Operator
Data structures
Assembly
r
42. 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
Abstraction
Partial Method Modifier
Operator
Heap
43. Contains the class definitions that allow access to the functionality provided by .NET.
Textbox
Framework Class Library (FCL)
Inheritance
Partial Method Modifier
44. System.UInt64
Operator
ulong - .NET alias
Namespace
Decimal (or decimal) - Size
45. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
Object
using
Primitive Type
uint - Size
46. 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)
long - .NET alias
byte - .NET alias
sbyte - .NET alias
Boolean Operator
47. true or false
Boolean - Size
returnType methodName (parameterList)
byte - .NET alias
Primitive
48. Mathematical (+ or - or / or %)
Dot Notation
Static Class
Internal Access Modifier
Operator
49. A Class that cannot be Inherited
Data structures
r
Sealed Class
Relational Operator
50. The lowest level or fundamental data types needed for representing data.
Primitive Type
short - Size
Partial Method Modifier
Variable (C# requirements)