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. 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
Constructor
long - .NET alias
If Statement
Dot Notation
2. 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
Variable
Common Language Runtime (CLR)
Primitive Type
3. System.UInt16
sbyte - .NET alias
ulong - .NET alias
Internal Access Modifier
ushort - .NET alias
4. System.Char
char - .NET alias
Visual Studio Solution
r
short - .NET alias
5. (== or !=)
Inheritance
Equality Operator
Partial Class Modifier
Public Keyword
6. A type of statement that produces a value that might be tested or assigned to a variable.
Abstraction
ushort - Size
Expression
Identifiers
7. System.UInt64
Encapsulation
long - Size
ushort - .NET alias
ulong - .NET alias
8. Used to display text that end user does not need to edit.
Static Member
Base Class
uint - Size
Label
9. 32 bit single precision floating point data
Int32 - Size
Encapsulation
If Statement
Float (or float) - Size
10. Access is limited to the current Assembly and Derived Types
Protected Internal Access Modifier
float - .NET alias
Equality Operator
sbyte - Size
11. Just-in-time compilation
JIT
Int32 - Size
Textbox
ulong - .NET alias
12. Command Language Runtime
Field
CLR
FCL
String (or string)
13. true or false
Boolean - Size
Static Class
JIT
NET
14. (&& or || or & or |)
Conditional Operator
using
Constructor
Window.xaml.cs
15. When a sub class passes down all the behaviours of the original parent class
Parameter aka Argument
Console Application
Inheritance
Object
16. 8 bit - unsigned byte (0 - 255)
Array
byte - Size
Expression
Namespace
17. Variables defined by a class
Field
Syntax
Framework Class Library (FCL)
Encapsulation
18. System.SByte
int - .NET alias
References (Visual Studio Solution
Parameter aka Argument
sbyte - .NET alias
19. Symbols which transform and combine expressions
Operator
Conditional Operator
Identifiers
Assembly
20. Field whose value can never change. Declared with 'const' keyword
Constant
float - .NET alias
ushort - .NET alias
W.P.F
21. 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
Data structures
Assignment Operator
Class Statement
Heap
22. Introduces a new class. Marked by curly brackets { }
Partial Class Modifier
Class Statement
Abstract Method Modifier
While Statement
23. 64 bit - unsigned integer data
ulong - Size
r
Partial Method Modifier
Comments
24. Most common kind of reference type. They define objects. They must have at least one method and one field.
Expression
Statement
Decimal (or decimal) - Size
Class aka Type
25. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Overloaded Method
Field
NET
Strong Typing
26. Encapsulation is the process of providing access to an object only through it's messages while keeping the details private. Encapsulation controls the use of a class.
Class aka Type
Operator
Encapsulation
Public Keyword
27. The process of hiding and restricting access to the implementation details of a data structure.
Static Member
decimal - .NET alias
Constant
Encapsulation
28. Extra information within a method
Variable (C# requirements)
short - Size
Parameter aka Argument
NET
29. 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'.
Partial Method Modifier
Boolean Operator
Textbox
Static Member
30. 128 bit fixed precision (financial)
Decimal (or decimal) - Size
Method
Variable (C# requirements)
Double (or double) - Size
31. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Precedence
ushort - .NET alias
Method
char - Size
32. Mathematical (+ or - or / or %)
Equality Operator
Primitive Type
int - .NET alias
Operator
33. A Class from which other classes can inherit characteristics.
Value Type
Base Class
Framework Class Library (FCL)
uint - Size
34. Represents the encapsulation of data and behaviors into a single unit.
Syntax
JIT
ushort - .NET alias
Class
35. A symbol that specifies an operation to be performed on one or more variables.
Window.xaml.cs
Expression
Operator
Constant
36. 16 bit- unsigned word (U+0000 to U+ffff)
char - Size
csc.exe
DateTime
Boolean Operator
37. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Statement
float - .NET alias
Properties
Variable (C# requirements)
38. 64 bit double precision floating point data
int - .NET alias
Double (or double) - Size
Derived Class
String (or string)
39. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Variable
Encapsulation
Class aka Type
Abstract Method Modifier
40. System.Single
Derived Class
Partial Class Modifier
float - .NET alias
Class aka Type
41. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Data structures
sbyte - .NET alias
int - .NET alias
Equality Operator
42. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Virtual Method Modifier
Statement
Strong Typing
Abstraction
43. (< or > or <= or >=)
JIT
uint - Size
Precedence
Relational Operator
44. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Syntax
DateTime
Intermediate Language (IL)
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
45. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Polymorphism
Operator
int - Size
Intermediate Language (IL)
46. Compilation of classes. In C# Usually ends in .dll or .exe
Conditional Operator
Assembly
NET
Inheritance
47. Microsoft's generic software framework for application development.
NET
Framework Class Library (FCL)
int - Size
Precedence
48. Allows the definition of a Class to span multiple files (within the same Project)
Partial Class Modifier
decimal - .NET alias
bool - Size
Expression
49. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
C#
decimal - .NET alias
Identifiers
Comments
50. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Inheritance
Operator
sbyte - .NET alias
Strong Typing