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. 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)
Private Access Modifier
byte - Size
Boolean Operator
Partial Class Modifier
2. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Class Statement
Constructor
Abstract Method Modifier
Assembly
3. 128 bit fixed precision (financial)
Precedence
Decimal (or decimal) - Size
decimal - .NET alias
Namespace
4. Represents the encapsulation of data and behaviors into a single unit.
Class
Class aka Type
Operator
Properties
5. Access is limited to the current Assembly and Derived Types
Protected Internal Access Modifier
Assignment Operator
short - Size
Static Class
6. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Object
Object
Overloaded Method
Data structures
7. Sits behind GUI (Graphical User Interface) and provides event listeners
Method
Double (or double) - Size
Abstract Class Modifier
Window.xaml.cs
8. 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
Primitive Type
Precedence
Object
IDE
9. 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.
ushort - Size
ulong - Size
Syntax
ulong - .NET alias
10. 16 bit - signed integer data (-32768 to 32767)
Partial Class Modifier
Abstract Class Modifier
int - .NET alias
short - Size
11. true or false
Boolean - Size
Operator
Data structures
Int32 - Size
12. A symbol that specifies an operation to be performed on one or more variables.
Operator
int - .NET alias
Assignment Operator
JITer
13. Only requires one operand usually a count+1 or a count++ or a count--
Boolean Operator
Expression
Variable
Unary Operator
14. Command Language Runtime
Float (or float) - Size
Assembly
Conditional Operator
CLR
15. Used to display text that end user does not need to edit.
Label
Static Class
Constructor
Protected Internal Access Modifier
16. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Console Application
Overloaded Method
Statement
byte - .NET alias
17. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
byte - Size
Console Application
Array
Method
18. An instance of a class that exists at run-time and is typically referenced via a variable name.
Encapsulation
Overloaded Method
Decimal (or decimal) - Size
Object
19. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Abstract Class Modifier
Intermediate Language (IL)
Double (or double) - Size
Textbox
20. A Class that cannot be instantiated.
W.P.F
Static Class
While Statement
Relational Operator
21. When a sub class passes down all the behaviours of the original parent class
Method
Syntax
Inheritance
Primitive Type
22. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Variable (C# requirements)
String (or string)
W.P.F
Strong Typing
23. The "Type" name of data that is stored on the Heap
r
Static Member
Reference Type
ulong - .NET alias
24. Something that has a different number of parameters to it's predecessor
returnType methodName (parameterList)
Overloaded Method
Encapsulation
String (or string)
25. 64 bit - unsigned integer data
Method
Window.xaml.cs
Unary Operator
ulong - Size
26. System.Single
returnType methodName (parameterList)
long - Size
float - .NET alias
Relational Operator
27. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Variable
ushort - .NET alias
Base Class
Object
28. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
Unary Operator
Expression
If Statement
Parameter aka Argument
29. System.Decimal
Statement
Abstraction
decimal - .NET alias
FCL
30. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Statement
Array
short - Size
Public Keyword
31. count = count+1 or count++ or count__. Both count variables are Unary Operators
Abstract Method Modifier
Relational Operator
Method
Incrementing / Decrementing Variables
32. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Partial Class Modifier
Int64 - Size
Namespace
JIT
33. Allow access to types that exist in outside assemblies.
Operator
While Statement
References (Visual Studio Solution
Console Application
34. 64 bit integer data
Object
String (or string)
long - Size
Encapsulation
35. Access is limited to the current Assembly
Int64 - Size
Internal Access Modifier
Overloaded Method
Strong Typing
36. Framework Class Library
Equality Operator
Variable
FCL
Int64 - Size
37. System.Byte
Private Access Modifier
byte - .NET alias
Stack
W.P.F
38. Series of instructions which tell a computer what to do.
decimal - .NET alias
Program
Field
Operator
39. System.Char
Comments
char - .NET alias
Just-in-time (JIT
Common Language Runtime (CLR)
40. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
bool - Size
Static Class
Inheritance
Method
41. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Polymorphism
float - .NET alias
Encapsulation
Assignment Operator
42. 16 bit- unsigned word (U+0000 to U+ffff)
double - .NET alias
char - Size
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Parameter aka Argument
43. The process of compiling IL source into CPU-native code for execution.
Boolean - Size
Just-in-time (JIT
Reference Type
Dot Notation
44. 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
Float (or float) - Size
Decimal (or decimal) - Size
While Statement
45. System.Double
double - .NET alias
JITer
short - .NET alias
Operator
46. true or false
C#
bool - Size
Object
Derived Class
47. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
Reference Type
long - .NET alias
Int32 - Size
JITer
48. Code which signifies a carriage return. Symbolises a new line in a text box.
Int32 - Size
long - .NET alias
Boolean Operator
r
49. The "Type" name of data that is stored on the Stack
W.P.F
Value Type
C#
Static Class
50. System.SByte
Boolean - Size
Just-in-time (JIT
sbyte - .NET alias
Label