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. Allow access to types that exist in outside assemblies.
Expression
Double (or double) - Size
Encapsulation
References (Visual Studio Solution
2. System.Char
Boolean - Size
char - .NET alias
sbyte - .NET alias
short - Size
3. (< or > or <= or >=)
Statement
Dot Notation
Relational Operator
Incrementing / Decrementing Variables
4. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Label
Namespace
Comments
Constant
5. 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
Keyword
Unary Operator
Dot Notation
While Statement
6. Sits behind GUI (Graphical User Interface) and provides event listeners
Class Statement
Precedence
Window.xaml.cs
sbyte - .NET alias
7. A symbol that specifies an operation to be performed on one or more variables.
Heap
Operator
Stack
double - .NET alias
8. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Assembly
Array
Protected Internal Access Modifier
short - .NET alias
9. System.UInt32
uint - .NET alias
Virtual Method Modifier
Int32 - Size
JIT
10. When a sub class passes down all the behaviours of the original parent class
Label
Inheritance
Int64 - Size
char - Size
11. Most common kind of reference type. They define objects. They must have at least one method and one field.
Expression
CLR
Class aka Type
Base Class
12. System.Single
Equality Operator
Partial Class Modifier
Console Application
float - .NET alias
13. Compilation of classes. In C# Usually ends in .dll or .exe
Sealed Class
using
Assembly
Program
14. 32 bit single precision floating point data
Value Type
Int32 - Size
Primitive
Float (or float) - Size
15. Allows a Method to be defined in a separate file (within the same Project). If no definition is found the compiler excludes the Method as an optimization.
Syntax
Expression
Partial Method Modifier
ushort - Size
16. The process of compiling IL source into CPU-native code for execution.
Just-in-time (JIT
Console Application
ulong - Size
char - .NET alias
17. 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
Heap
Virtual Method Modifier
Encapsulation
Intermediate Language (IL)
18. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
Abstract Method Modifier
Conditional Operator
Encapsulation
C#
19. (&& or || or & or |)
CLR
Parameter aka Argument
ushort - Size
Conditional Operator
20. Keyword which exposes members to other classes OR Identifier which makes program elements public
Public Keyword
Conditional Operator
Protected Access Modifier
Statement
21. 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
Inheritance
W.P.F
Boolean Operator
22. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
using
Constant
Statement
Protected Access Modifier
23. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Strong Typing
Inheritance
Public Keyword
While Statement
24. 16 bit - signed integer data (-32768 to 32767)
Class aka Type
Syntax
short - Size
JITer
25. Symbols which transform and combine expressions
Incrementing / Decrementing Variables
Operator
Expression
JITer
26. System.UInt64
ulong - .NET alias
sbyte - .NET alias
Operator
bool - Size
27. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Intermediate Language (IL)
Console Application
returnType methodName (parameterList)
Operator
28. Series of instructions which tell a computer what to do.
Encapsulation
Object
Equality Operator
Program
29. System.Int64
long - .NET alias
Object
While Statement
Syntax
30. A Member that cannot be accessed/invoked through an Object Instance.
Reference Type
Static Member
decimal - .NET alias
ulong - Size
31. 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)
Parameter aka Argument
Syntax
Boolean Operator
Derived Class
32. 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.
Syntax
ulong - .NET alias
Primitive
Relational Operator
33. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Method
JIT
Polymorphism
Keyword
34. The "Type" name of data that is stored on the Heap
Just-in-time (JIT
Variable (C# requirements)
char - .NET alias
Reference Type
35. 16 bit- unsigned word (U+0000 to U+ffff)
char - Size
Inheritance
Abstract Method Modifier
Console Application
36. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Class
Dot Notation
Visual Studio Solution
Data structures
37. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Relational Operator
Derived Class
Namespace
Statement
38. Only requires one operand usually a count+1 or a count++ or a count--
Expression
Variable (C# requirements)
short - Size
Unary Operator
39. Microsoft's generic software framework for application development.
Class Statement
Window.xaml.cs
NET
ulong - .NET alias
40. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Base Class
Relational Operator
Abstract Class Modifier
ulong - .NET alias
41. Text as Unicode characters
Float (or float) - Size
String (or string)
Expression
Boolean Operator
42. Represents the encapsulation of data and behaviors into a single unit.
Inheritance
long - .NET alias
Class
Static Class
43. 32 bit - unsigned integer data
Abstract Class Modifier
sbyte - Size
uint - Size
using
44. Contains the class definitions that allow access to the functionality provided by .NET.
FCL
Identifiers
Framework Class Library (FCL)
Visual Studio Solution
45. Represents date and time data with a 100 ns resolution
bool - Size
C#
DateTime
Array
46. Variables defined by a class
Field
Assignment Operator
Partial Class Modifier
Array
47. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Properties
Variable (C# requirements)
float - .NET alias
NET
48. 8 bit - signed byte (-128 - 127)
Boolean Operator
long - Size
Inheritance
sbyte - Size
49. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Abstraction
Relational Operator
Method
If Statement
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.
Identifiers
ushort - .NET alias
ushort - Size
Inheritance