SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
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. System.Int16
Object
Equality Operator
Variable
short - .NET alias
2. Introduces a new class. Marked by curly brackets { }
Protected Internal Access Modifier
Class Statement
Just-in-time (JIT
Parameter aka Argument
3. System.Single
Protected Internal Access Modifier
Variable (C# requirements)
float - .NET alias
Static Class
4. Field whose value can never change. Declared with 'const' keyword
Constant
Base Class
Keyword
Inheritance
5. Must have a data type
using
Variable (C# requirements)
Inheritance
Textbox
6. 32 bit - unsigned integer data
sbyte - Size
r
uint - Size
char - .NET alias
7. The "Type" name of data that is stored on the Stack
Assembly
Primitive Type
ulong - .NET alias
Value Type
8. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
returnType methodName (parameterList)
Abstraction
Parameter aka Argument
uint - Size
9. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Method
Syntax
Expression
Program
10. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
byte - Size
bool - Size
csc.exe
JIT
11. 64 bit integer data
Int64 - Size
sbyte - .NET alias
Float (or float) - Size
uint - .NET alias
12. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Console Application
Int64 - Size
Data structures
While Statement
13. Indicates that the Method can be overridden.
Strong Typing
Operator
Virtual Method Modifier
ushort - Size
14. Just-in-time compilation
Abstract Class Modifier
Heap
JIT
byte - Size
15. Code which signifies a carriage return. Symbolises a new line in a text box.
NET
Virtual Method Modifier
r
Heap
16. System.Double
Boolean Operator
Abstract Method Modifier
NET
double - .NET alias
17. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
Field
using
Internal Access Modifier
If Statement
18. Code which implements GUI (graphical User Interface).
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Method
ushort - .NET alias
Assembly
19. Restricts access to a Member to the current Class.
Private Access Modifier
Protected Access Modifier
ulong - .NET alias
Encapsulation
20. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Statement
uint - Size
Operator
Comments
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.
Expression
Identifiers
W.P.F
JIT
22. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Primitive
long - .NET alias
returnType methodName (parameterList)
Private Access Modifier
23. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
char - Size
Textbox
Strong Typing
Program
24. Allows the definition of a Class to span multiple files (within the same Project)
Partial Class Modifier
Comments
int - Size
Namespace
25. Windows Presentation Foundation
short - .NET alias
Inheritance
W.P.F
Common Language Runtime (CLR)
26. System.Decimal
decimal - .NET alias
Static Class
Data structures
Equality Operator
27. The .NET run-time environment that enables code to be compiled and executed.
r
Common Language Runtime (CLR)
using
Namespace
28. Integrated Development Environment
long - Size
Static Member
csc.exe
IDE
29. A type of statement that produces a value that might be tested or assigned to a variable.
Expression
Float (or float) - Size
Array
CLR
30. (= or += or -= or = or /=)
Variable (C# requirements)
Program
Assignment Operator
Stack
31. 32 bit single precision floating point data
Float (or float) - Size
uint - Size
NET
Method
32. (< or > or <= or >=)
Relational Operator
Identifiers
Sealed Class
Decimal (or decimal) - Size
33. A method that is called whenever an Object is created. The method uses the same name as the Class.
Assignment Operator
Primitive Type
Precedence
Constructor
34. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Parameter aka Argument
Inheritance
ushort - Size
Precedence
35. The process of hiding and restricting access to the implementation details of a data structure.
Visual Studio Solution
JITer
Encapsulation
Private Access Modifier
36. Used to display text that end user does not need to edit.
Console Application
References (Visual Studio Solution
Label
Parameter aka Argument
37. 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
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
ulong - .NET alias
Inheritance
Dot Notation
38. A Class from which other classes can inherit characteristics.
uint - .NET alias
Base Class
Constructor
Overloaded Method
39. 8 bit - signed byte (-128 - 127)
sbyte - Size
Static Class
Partial Method Modifier
Array
40. Names reserved by the compiler that coders are not allowed to use as identifiers.
Strong Typing
Assembly
Keyword
ulong - Size
41. System.UInt64
ulong - .NET alias
sbyte - .NET alias
String (or string)
Protected Access Modifier
42. 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
Inheritance
Relational Operator
Identifiers
Object
43. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Assembly
float - .NET alias
long - .NET alias
String (or string)
44. Command which runs repeatedly while (some) condition is true.
C#
ushort - Size
While Statement
char - .NET alias
45. System.SByte
Identifiers
Field
Reference Type
sbyte - .NET alias
46. When a sub class passes down all the behaviours of the original parent class
Relational Operator
Intermediate Language (IL)
returnType methodName (parameterList)
Inheritance
47. 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.
uint - .NET alias
Reference Type
Syntax
Sealed Class
48. System.UInt32
Static Member
Expression
Base Class
uint - .NET alias
49. Container for one or more Visual Studio Projects.
Assignment Operator
Visual Studio Solution
Abstract Class Modifier
Stack
50. System.Byte
Unary Operator
byte - .NET alias
Int64 - Size
Common Language Runtime (CLR)