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. Keyword which exposes members to other classes OR Identifier which makes program elements public
Common Language Runtime (CLR)
Virtual Method Modifier
Public Keyword
Framework Class Library (FCL)
2. Only requires one operand usually a count+1 or a count++ or a count--
NET
IDE
Data structures
Unary Operator
3. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Operator
Assembly
Syntax
Protected Access Modifier
4. The member type of a Class that performs an action.
Properties
Method
sbyte - .NET alias
Assignment Operator
5. A method that is called whenever an Object is created. The method uses the same name as the Class.
Assembly
CLR
Class Statement
Constructor
6. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
Properties
Decimal (or decimal) - Size
float - .NET alias
csc.exe
7. Framework Class Library
Window.xaml.cs
Object
FCL
Label
8. Sits behind GUI (Graphical User Interface) and provides event listeners
Partial Class Modifier
Window.xaml.cs
CLR
int - Size
9. System.Int64
long - .NET alias
sbyte - .NET alias
Static Class
Boolean - Size
10. Symbols which transform and combine expressions
r
Operator
CLR
Incrementing / Decrementing Variables
11. 32 bit - unsigned integer data
Abstraction
uint - Size
short - .NET alias
Int64 - Size
12. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Primitive
Console Application
Derived Class
Variable
13. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
If Statement
Identifiers
C#
Array
14. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Comments
Precedence
Encapsulation
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
15. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Static Class
Statement
Syntax
While Statement
16. Something that has a different number of parameters to it's predecessor
Identifiers
Overloaded Method
Internal Access Modifier
Array
17. Mathematical (+ or - or / or %)
Encapsulation
Precedence
Operator
Abstract Class Modifier
18. true or false
Boolean - Size
Double (or double) - Size
Partial Method Modifier
Identifiers
19. 32 bit single precision floating point data
char - .NET alias
returnType methodName (parameterList)
Field
Float (or float) - Size
20. Field whose value can never change. Declared with 'const' keyword
Private Access Modifier
Data structures
uint - .NET alias
Constant
21. Groups classes together so that they have a unique identifier
Double (or double) - Size
Parameter aka Argument
Private Access Modifier
Namespace
22. A Class from which other classes can inherit characteristics.
Base Class
int - Size
Incrementing / Decrementing Variables
csc.exe
23. 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.
Partial Method Modifier
Assembly
Visual Studio Solution
Encapsulation
24. 8 bit - unsigned byte (0 - 255)
ushort - .NET alias
Float (or float) - Size
byte - Size
uint - .NET alias
25. count = count+1 or count++ or count__. Both count variables are Unary Operators
Incrementing / Decrementing Variables
Encapsulation
If Statement
Common Language Runtime (CLR)
26. 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.
Value Type
Relational Operator
Boolean - Size
Partial Method Modifier
27. 8 bit - signed byte (-128 - 127)
Abstract Method Modifier
String (or string)
Comments
sbyte - Size
28. 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.
Constant
Abstract Method Modifier
Protected Internal Access Modifier
JITer
29. The lowest level or fundamental data types needed for representing data.
Primitive Type
ulong - .NET alias
int - Size
Object
30. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Virtual Method Modifier
Properties
Console Application
sbyte - Size
31. System.Int16
short - .NET alias
Derived Class
String (or string)
Common Language Runtime (CLR)
32. Access is limited to the current Assembly and Derived Types
Constructor
Expression
Protected Internal Access Modifier
char - .NET alias
33. Command Language Runtime
CLR
int - .NET alias
Partial Class Modifier
Identifiers
34. When a sub class passes down all the behaviours of the original parent class
If Statement
Polymorphism
Value Type
Inheritance
35. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Private Access Modifier
Polymorphism
DateTime
If Statement
36. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Namespace
Syntax
Statement
Boolean Operator
37. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
byte - Size
Assembly
int - Size
Inheritance
38. System.Byte
returnType methodName (parameterList)
Constant
byte - .NET alias
Assembly
39. Restricts access to a Member to the current Class.
Boolean - Size
Heap
Static Member
Private Access Modifier
40. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Inheritance
Class
Statement
Class Statement
41. A symbol that specifies an operation to be performed on one or more variables.
Operator
Variable
While Statement
Textbox
42. Allow access to types that exist in outside assemblies.
Abstraction
Boolean Operator
References (Visual Studio Solution
Intermediate Language (IL)
43. 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.
W.P.F
DateTime
ushort - .NET alias
Syntax
44. 16 bit - signed integer data (-32768 to 32767)
Operator
short - Size
Dot Notation
Program
45. 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
Relational Operator
Comments
Virtual Method Modifier
Dot Notation
46. Allows the definition of a Class to span multiple files (within the same Project)
Relational Operator
Partial Class Modifier
Framework Class Library (FCL)
uint - .NET alias
47. 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)
Encapsulation
Boolean Operator
Public Keyword
Primitive Type
48. Container for one or more Visual Studio Projects.
Assembly
Double (or double) - Size
Visual Studio Solution
Namespace
49. System.Char
char - .NET alias
Encapsulation
short - Size
Boolean - Size
50. 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
Textbox
Class Statement
Relational Operator
Heap