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. A Member that cannot be accessed/invoked through an Object Instance.
Array
Static Member
csc.exe
Encapsulation
2. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Comments
Int64 - Size
Inheritance
Static Class
3. System.Double
r
double - .NET alias
bool - Size
Precedence
4. Variables defined by a class
Namespace
Primitive
Field
Assembly
5. 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.
Variable
Syntax
Derived Class
Operator
6. A symbol that specifies an operation to be performed on one or more variables.
C#
Operator
char - Size
Base Class
7. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
Heap
Int32 - Size
using
Double (or double) - Size
8. 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.
Method
JITer
Strong Typing
Encapsulation
9. (< or > or <= or >=)
Relational Operator
Framework Class Library (FCL)
Operator
Value Type
10. A Class that cannot be instantiated.
Assembly
Static Class
Float (or float) - Size
Method
11. Command Language Runtime
CLR
char - .NET alias
uint - Size
Assembly
12. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Virtual Method Modifier
Intermediate Language (IL)
Expression
uint - .NET alias
13. 32 bit single precision floating point data
Keyword
ulong - Size
Float (or float) - Size
Polymorphism
14. Integrated Development Environment
Operator
Static Member
Primitive
IDE
15. The "Type" name of data that is stored on the Stack
Class aka Type
Value Type
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Object
16. A representation of an area in the computer memory in which a value of a particular data type can be stored.
JIT
byte - Size
Variable
IDE
17. true or false
Overloaded Method
short - .NET alias
bool - Size
Abstract Class Modifier
18. Syntax of a C# Method
Abstraction
JIT
returnType methodName (parameterList)
Reference Type
19. When a sub class passes down all the behaviours of the original parent class
Inheritance
byte - .NET alias
Namespace
byte - Size
20. A method that is called whenever an Object is created. The method uses the same name as the Class.
Field
Int64 - Size
String (or string)
Constructor
21. The member type of a Class that performs an action.
W.P.F
Variable
int - Size
Method
22. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Primitive
uint - Size
Virtual Method Modifier
Float (or float) - Size
23. Access is limited to the current Assembly and Derived Types
byte - Size
Protected Internal Access Modifier
returnType methodName (parameterList)
Array
24. 64 bit double precision floating point data
int - .NET alias
Partial Class Modifier
sbyte - Size
Double (or double) - Size
25. Just-in-time compilation
Properties
ushort - Size
JIT
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
26. (= or += or -= or = or /=)
Comments
Assignment Operator
Array
Visual Studio Solution
27. Code which implements GUI (graphical User Interface).
FCL
Precedence
Protected Access Modifier
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
28. count = count+1 or count++ or count__. Both count variables are Unary Operators
Internal Access Modifier
Partial Method Modifier
Incrementing / Decrementing Variables
Object
29. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Array
Console Application
Visual Studio Solution
Assignment Operator
30. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
byte - Size
If Statement
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Abstract Class Modifier
31. 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
Boolean - Size
Window.xaml.cs
Dot Notation
uint - .NET alias
32. Something that has a different number of parameters to it's predecessor
Precedence
short - .NET alias
Just-in-time (JIT
Overloaded Method
33. Mathematical (+ or - or / or %)
Namespace
Operator
Intermediate Language (IL)
Protected Access Modifier
34. 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.
Operator
ulong - .NET alias
Abstract Method Modifier
Variable
35. Indicates that the Method can be overridden.
Virtual Method Modifier
Unary Operator
long - Size
Relational Operator
36. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
int - .NET alias
Statement
Reference Type
Namespace
37. 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
Encapsulation
Array
Precedence
38. Framework Class Library
uint - .NET alias
Static Member
FCL
Identifiers
39. Names reserved by the compiler that coders are not allowed to use as identifiers.
Keyword
ushort - .NET alias
Statement
Static Member
40. 16 bit- unsigned word (U+0000 to U+ffff)
uint - .NET alias
char - Size
Partial Method Modifier
String (or string)
41. System.UInt16
Assembly
Sealed Class
ushort - .NET alias
Variable (C# requirements)
42. Represents the encapsulation of data and behaviors into a single unit.
Class
Int32 - Size
Heap
Operator
43. Introduces a new class. Marked by curly brackets { }
Derived Class
JITer
CLR
Class Statement
44. The process of compiling IL source into CPU-native code for execution.
Just-in-time (JIT
Int64 - Size
sbyte - Size
Precedence
45. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Value Type
Virtual Method Modifier
Console Application
Abstract Class Modifier
46. The lowest level or fundamental data types needed for representing data.
C#
Protected Internal Access Modifier
Primitive Type
Incrementing / Decrementing Variables
47. true or false
Strong Typing
Polymorphism
Derived Class
Boolean - Size
48. A Class from which other classes can inherit characteristics.
CLR
ulong - Size
Encapsulation
Base Class
49. 64 bit - unsigned integer data
Operator
Static Class
ulong - Size
Protected Internal Access Modifier
50. Restricts access to a Member to the current Class.
ushort - Size
uint - Size
Private Access Modifier
returnType methodName (parameterList)