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. Represents the encapsulation of data and behaviors into a single unit.
Class
uint - Size
Textbox
Strong Typing
2. System.Int64
csc.exe
Inheritance
long - .NET alias
Namespace
3. Series of instructions which tell a computer what to do.
short - .NET alias
Program
Boolean - Size
If Statement
4. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Namespace
Class Statement
Abstract Class Modifier
Variable
5. 8 bit - unsigned byte (0 - 255)
Partial Method Modifier
Double (or double) - Size
Protected Internal Access Modifier
byte - Size
6. Text as Unicode characters
Namespace
String (or string)
char - Size
Encapsulation
7. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
While Statement
Class
If Statement
Stack
8. Integrated Development Environment
returnType methodName (parameterList)
IDE
Static Class
Abstraction
9. System.Int32
char - .NET alias
Protected Internal Access Modifier
int - .NET alias
Abstraction
10. Names reserved by the compiler that coders are not allowed to use as identifiers.
Private Access Modifier
decimal - .NET alias
References (Visual Studio Solution
Keyword
11. 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'.
String (or string)
Int64 - Size
Heap
Textbox
12. System.UInt64
Method
ulong - .NET alias
Value Type
Relational Operator
13. Indicates that the Method can be overridden.
Virtual Method Modifier
Field
Private Access Modifier
Just-in-time (JIT
14. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
bool - Size
Overloaded Method
Inheritance
Operator
15. (&& or || or & or |)
Conditional Operator
Int32 - Size
Variable (C# requirements)
Variable
16. Access is limited to the current Assembly
Internal Access Modifier
double - .NET alias
Derived Class
Stack
17. Windows Presentation Foundation
Class Statement
Encapsulation
W.P.F
Variable
18. Mathematical (+ or - or / or %)
C#
Operator
Equality Operator
Assembly
19. 128 bit fixed precision (financial)
Textbox
Decimal (or decimal) - Size
Namespace
short - Size
20. Code which implements GUI (graphical User Interface).
byte - Size
Namespace
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Operator
21. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Protected Access Modifier
C#
Intermediate Language (IL)
Variable (C# requirements)
22. The lowest level or fundamental data types needed for representing data.
Primitive Type
Public Keyword
Inheritance
Data structures
23. A type of statement that produces a value that might be tested or assigned to a variable.
C#
Expression
Dot Notation
Variable (C# requirements)
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
Conditional Operator
Variable (C# requirements)
r
Object
25. 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)
Method
Boolean Operator
sbyte - .NET alias
C#
26. Command which runs repeatedly while (some) condition is true.
double - .NET alias
While Statement
Protected Access Modifier
Parameter aka Argument
27. (< or > or <= or >=)
Assignment Operator
char - Size
returnType methodName (parameterList)
Relational Operator
28. The "Type" name of data that is stored on the Stack
Value Type
Unary Operator
Window.xaml.cs
Static Class
29. System.Double
Heap
Syntax
Program
double - .NET alias
30. System.Char
Virtual Method Modifier
Relational Operator
Method
char - .NET alias
31. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Parameter aka Argument
Statement
Framework Class Library (FCL)
Equality Operator
32. Sits behind GUI (Graphical User Interface) and provides event listeners
Class Statement
Boolean Operator
Window.xaml.cs
Constant
33. Contains the class definitions that allow access to the functionality provided by .NET.
Variable
Conditional Operator
Stack
Framework Class Library (FCL)
34. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Properties
Protected Internal Access Modifier
Value Type
Syntax
35. (= or += or -= or = or /=)
DateTime
Expression
Assignment Operator
Identifiers
36. When a sub class passes down all the behaviours of the original parent class
Statement
While Statement
Window.xaml.cs
Inheritance
37. 64 bit integer data
Field
Properties
long - Size
Class aka Type
38. Access is limited to the current Assembly and Derived Types
Abstract Method Modifier
Protected Internal Access Modifier
Inheritance
Encapsulation
39. Allow access to types that exist in outside assemblies.
While Statement
Base Class
References (Visual Studio Solution
Strong Typing
40. Allows the definition of a Class to span multiple files (within the same Project)
Partial Class Modifier
IDE
Virtual Method Modifier
Heap
41. Command Language Runtime
Boolean - Size
CLR
Class
Data structures
42. A Class that cannot be Inherited
JIT
Assembly
Partial Method Modifier
Sealed Class
43. Restricts access to a Member to the current Class and any Derived Class.
Operator
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Protected Access Modifier
Boolean Operator
44. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
Boolean - Size
Dot Notation
csc.exe
sbyte - .NET alias
45. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Assembly
Array
Internal Access Modifier
Static Member
46. 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 Member
Internal Access Modifier
String (or string)
Dot Notation
47. Field whose value can never change. Declared with 'const' keyword
Constant
byte - .NET alias
Constructor
Class
48. 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
JIT
Namespace
Data structures
49. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
csc.exe
Label
Inheritance
Operator
50. 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.
Inheritance
Array
Variable
Label