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. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Stack
Assembly
Variable
Int32 - Size
2. Names reserved by the compiler that coders are not allowed to use as identifiers.
Console Application
IDE
While Statement
Keyword
3. (= or += or -= or = or /=)
Constant
Assignment Operator
NET
Statement
4. true or false
sbyte - Size
Method
Boolean - Size
Reference Type
5. A Class that inherits characteristics from another Class.
Method
Derived Class
Encapsulation
Static Class
6. 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
Expression
Statement
Heap
ulong - .NET alias
7. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Variable
Inheritance
ushort - .NET alias
Stack
8. 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.
Identifiers
DateTime
sbyte - Size
Keyword
9. Represents the encapsulation of data and behaviors into a single unit.
long - .NET alias
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Class
JIT
10. Access is limited to the current Assembly
Internal Access Modifier
byte - Size
Abstraction
Visual Studio Solution
11. A Class that can only have Static Members
ushort - Size
Static Class
Field
Reference Type
12. 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)
Console Application
Label
Boolean Operator
Base Class
13. Restricts access to a Member to the current Class and any Derived Class.
Protected Access Modifier
Method
Boolean Operator
Encapsulation
14. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
returnType methodName (parameterList)
NET
Program
Intermediate Language (IL)
15. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
String (or string)
Inheritance
Object
ulong - .NET alias
16. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Properties
Abstract Class Modifier
Textbox
17. System.Decimal
ulong - Size
Encapsulation
Textbox
decimal - .NET alias
18. Represents date and time data with a 100 ns resolution
Program
Abstract Method Modifier
DateTime
Int64 - Size
19. Sits behind GUI (Graphical User Interface) and provides event listeners
Internal Access Modifier
Window.xaml.cs
Constant
Data structures
20. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
csc.exe
If Statement
Value Type
Operator
21. 32 bit integer data
Static Class
int - Size
returnType methodName (parameterList)
IDE
22. Series of instructions which tell a computer what to do.
Operator
Array
Program
Statement
23. 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'.
W.P.F
Textbox
uint - .NET alias
Protected Access Modifier
24. 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
Static Class
Int64 - Size
Abstraction
Object
25. The lowest level or fundamental data types needed for representing data.
ulong - .NET alias
Primitive Type
Abstract Method Modifier
Operator
26. Indicates that the Method can be overridden.
Static Class
Class aka Type
uint - Size
Virtual Method Modifier
27. (< or > or <= or >=)
Intermediate Language (IL)
Comments
Relational Operator
Console Application
28. Most common kind of reference type. They define objects. They must have at least one method and one field.
Field
Class aka Type
Method
int - .NET alias
29. Field whose value can never change. Declared with 'const' keyword
Window.xaml.cs
Constant
Expression
Constructor
30. (== or !=)
Protected Access Modifier
Console Application
csc.exe
Equality Operator
31. Symbols which transform and combine expressions
Protected Internal Access Modifier
char - .NET alias
Operator
Properties
32. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Static Member
Protected Access Modifier
Statement
Partial Class Modifier
33. Must have a data type
Class
Intermediate Language (IL)
Protected Access Modifier
Variable (C# requirements)
34. Mathematical (+ or - or / or %)
References (Visual Studio Solution
Keyword
Assembly
Operator
35. When a sub class passes down all the behaviours of the original parent class
Inheritance
Keyword
Abstract Class Modifier
Abstraction
36. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Just-in-time (JIT
Syntax
FCL
Statement
37. true or false
Precedence
Method
sbyte - .NET alias
bool - Size
38. 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.
Abstract Method Modifier
ushort - Size
Incrementing / Decrementing Variables
short - .NET alias
39. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Properties
Internal Access Modifier
Polymorphism
If Statement
40. System.Single
Unary Operator
W.P.F
float - .NET alias
char - Size
41. 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.
Console Application
Inheritance
Expression
Variable
42. Windows Presentation Foundation
Variable
W.P.F
double - .NET alias
Abstract Class Modifier
43. Allow access to types that exist in outside assemblies.
Operator
Static Class
Class aka Type
References (Visual Studio Solution
44. 64 bit integer data
long - Size
Strong Typing
Conditional Operator
Base Class
45. Introduces a new class. Marked by curly brackets { }
Visual Studio Solution
returnType methodName (parameterList)
Class Statement
ulong - Size
46. count = count+1 or count++ or count__. Both count variables are Unary Operators
int - .NET alias
Constructor
Incrementing / Decrementing Variables
Array
47. System.UInt32
Variable
uint - .NET alias
Comments
Expression
48. 32 bit integer data
Intermediate Language (IL)
Int32 - Size
sbyte - Size
ushort - Size
49. Container for one or more Visual Studio Projects.
Primitive Type
Float (or float) - Size
Visual Studio Solution
Derived Class
50. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Precedence
byte - Size
Variable (C# requirements)
Encapsulation