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. Box which can be typed into at runtime. Can display large amounts of scrollable text for the user. To create a scrollable one in Visual Studio set the multiline property to 'TRUE' and the Scrollbars property to 'VERTICAL'.
using
String (or string)
JITer
Textbox
2. System.Int32
sbyte - .NET alias
int - .NET alias
Int32 - Size
FCL
3. System.Byte
Expression
byte - .NET alias
While Statement
Just-in-time (JIT
4. Allows the definition of a Class to span multiple files (within the same Project)
Encapsulation
Partial Class Modifier
JIT
Conditional Operator
5. 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.
Encapsulation
bool - Size
Precedence
returnType methodName (parameterList)
6. System.Double
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
double - .NET alias
References (Visual Studio Solution
Syntax
7. System.Int16
short - .NET alias
Expression
String (or string)
short - Size
8. A Class that cannot be instantiated.
Static Class
sbyte - Size
Assignment Operator
long - .NET alias
9. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Variable
Protected Access Modifier
Operator
Intermediate Language (IL)
10. Only requires one operand usually a count+1 or a count++ or a count--
Unary Operator
Double (or double) - Size
Parameter aka Argument
Textbox
11. 32 bit integer data
If Statement
Object
Int32 - Size
W.P.F
12. Word that stores a value. Storage location that holds a value. Type and name of variable must be declared in a statement. Must be explicitly declared before use. Uses CamelCase notation.
returnType methodName (parameterList)
Array
Variable
Equality Operator
13. A Member that cannot be accessed/invoked through an Object Instance.
Static Member
Encapsulation
References (Visual Studio Solution
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
14. Container for one or more Visual Studio Projects.
using
short - .NET alias
Encapsulation
Visual Studio Solution
15. Mathematical (+ or - or / or %)
FCL
Operator
Label
Common Language Runtime (CLR)
16. Syntax of a C# Method
Protected Internal Access Modifier
returnType methodName (parameterList)
long - Size
ushort - Size
17. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Int32 - Size
Inheritance
ulong - .NET alias
DateTime
18. Access is limited to the current Assembly
Internal Access Modifier
csc.exe
Data structures
ushort - .NET alias
19. Names reserved by the compiler that coders are not allowed to use as identifiers.
short - .NET alias
bool - Size
Label
Keyword
20. The .NET run-time environment that enables code to be compiled and executed.
NET
Partial Method Modifier
Common Language Runtime (CLR)
csc.exe
21. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
csc.exe
Method
byte - Size
JITer
22. Code which implements GUI (graphical User Interface).
Field
short - .NET alias
Polymorphism
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
23. count = count+1 or count++ or count__. Both count variables are Unary Operators
Incrementing / Decrementing Variables
using
Int32 - Size
Properties
24. Introduces a new class. Marked by curly brackets { }
Expression
Method
Class Statement
FCL
25. Most common kind of reference type. They define objects. They must have at least one method and one field.
Class aka Type
short - .NET alias
Constant
Method
26. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Boolean Operator
Textbox
Static Class
Inheritance
27. An instance of a class that exists at run-time and is typically referenced via a variable name.
Console Application
Inheritance
Object
Base Class
28. The "Type" name of data that is stored on the Heap
r
Reference Type
Variable
Encapsulation
29. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Virtual Method Modifier
Abstract Method Modifier
Namespace
Abstract Class Modifier
30. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
JITer
Statement
Strong Typing
Properties
31. When a sub class passes down all the behaviours of the original parent class
Object
References (Visual Studio Solution
Class Statement
Inheritance
32. A Class from which other classes can inherit characteristics.
Precedence
byte - Size
Base Class
Array
33. System.SByte
sbyte - .NET alias
Encapsulation
Conditional Operator
Window.xaml.cs
34. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Class aka Type
Inheritance
Boolean - Size
Method
35. Compilation of classes. In C# Usually ends in .dll or .exe
ushort - .NET alias
Assembly
Window.xaml.cs
Sealed Class
36. System.Char
Class Statement
char - .NET alias
Protected Access Modifier
Int64 - Size
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.
Field
Identifiers
decimal - .NET alias
long - .NET alias
38. Framework Class Library
Data structures
FCL
IDE
Encapsulation
39. Groups classes together so that they have a unique identifier
Equality Operator
Namespace
Virtual Method Modifier
Abstract Class Modifier
40. Just-in-time compilation
JIT
Partial Class Modifier
Equality Operator
byte - .NET alias
41. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Abstract Method Modifier
FCL
Value Type
Namespace
42. 64 bit double precision floating point data
Double (or double) - Size
C#
Method
Static Class
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.
Syntax
C#
Just-in-time (JIT
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
44. Variables defined by a class
Abstract Class Modifier
long - .NET alias
Field
Heap
45. Extra information within a method
long - Size
Parameter aka Argument
Constant
Statement
46. Used to display text that end user does not need to edit.
String (or string)
Label
Inheritance
Partial Method Modifier
47. Microsoft's generic software framework for application development.
Console Application
NET
Framework Class Library (FCL)
Assembly
48. A Class that can only have Static Members
Field
int - Size
Static Class
sbyte - .NET alias
49. The process of compiling IL source into CPU-native code for execution.
Inheritance
Just-in-time (JIT
If Statement
int - .NET alias
50. Text as Unicode characters
String (or string)
sbyte - .NET alias
Keyword
Int64 - Size