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 Class that cannot be instantiated.
Program
Static Class
bool - Size
Overloaded Method
2. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Stack
Int64 - Size
Abstraction
Comments
3. Allows the definition of a Class to span multiple files (within the same Project)
Dot Notation
Class Statement
Partial Class Modifier
DateTime
4. Container for one or more Visual Studio Projects.
Visual Studio Solution
Unary Operator
Encapsulation
Textbox
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.
Float (or float) - Size
long - .NET alias
Method
Syntax
6. 64 bit double precision floating point data
Unary Operator
Strong Typing
Double (or double) - Size
Object
7. true or false
short - .NET alias
Static Class
Polymorphism
Boolean - Size
8. A symbol that specifies an operation to be performed on one or more variables.
Class Statement
Operator
Variable
Primitive
9. A method that is called whenever an Object is created. The method uses the same name as the Class.
Constructor
Boolean Operator
Console Application
Int64 - Size
10. An instance of a class that exists at run-time and is typically referenced via a variable name.
Class Statement
Relational Operator
uint - Size
Object
11. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Class
long - .NET alias
Incrementing / Decrementing Variables
Statement
12. Allow access to types that exist in outside assemblies.
References (Visual Studio Solution
CLR
Derived Class
Namespace
13. 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.
sbyte - Size
Encapsulation
byte - .NET alias
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
14. Integrated Development Environment
IDE
Inheritance
decimal - .NET alias
Variable (C# requirements)
15. 16 bit- unsigned word (U+0000 to U+ffff)
Double (or double) - Size
char - Size
Properties
Static Class
16. Represents date and time data with a 100 ns resolution
DateTime
Assembly
Inheritance
Strong Typing
17. 8 bit - signed byte (-128 - 127)
Incrementing / Decrementing Variables
Boolean - Size
sbyte - Size
Decimal (or decimal) - Size
18. System.SByte
sbyte - .NET alias
Relational Operator
While Statement
Window.xaml.cs
19. System.Single
String (or string)
float - .NET alias
References (Visual Studio Solution
Conditional Operator
20. 32 bit - unsigned integer data
uint - Size
Polymorphism
NET
Variable
21. The member type of a Class that performs an action.
Method
Just-in-time (JIT
Properties
Expression
22. A Class that cannot be Inherited
Int64 - Size
Precedence
Sealed Class
Double (or double) - Size
23. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
Statement
Protected Internal Access Modifier
byte - .NET alias
using
24. (&& or || or & or |)
Strong Typing
Encapsulation
Field
Conditional Operator
25. 128 bit fixed precision (financial)
csc.exe
Decimal (or decimal) - Size
char - .NET alias
Parameter aka Argument
26. System.Int32
csc.exe
Namespace
Operator
int - .NET alias
27. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Overloaded Method
Abstract Class Modifier
Derived Class
Visual Studio Solution
28. Names reserved by the compiler that coders are not allowed to use as identifiers.
long - Size
Protected Access Modifier
Keyword
Class
29. 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.
Variable
Expression
int - Size
Conditional Operator
30. Code which implements GUI (graphical User Interface).
Operator
Properties
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
JIT
31. Microsoft's generic software framework for application development.
NET
Encapsulation
Double (or double) - Size
using
32. Code which signifies a carriage return. Symbolises a new line in a text box.
C#
ushort - .NET alias
r
Object
33. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
Assembly
Expression
Window.xaml.cs
C#
34. Variables defined by a class
Boolean - Size
Field
returnType methodName (parameterList)
Primitive Type
35. Symbols which transform and combine expressions
JITer
Namespace
Syntax
Operator
36. Represents the encapsulation of data and behaviors into a single unit.
Static Member
Class Statement
Syntax
Class
37. System.Char
char - .NET alias
Partial Class Modifier
Properties
Internal Access Modifier
38. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Program
Object
short - Size
Assembly
39. 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
Double (or double) - Size
Keyword
ushort - .NET alias
40. The "Type" name of data that is stored on the Heap
Namespace
Label
Class aka Type
Reference Type
41. 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'.
Abstract Class Modifier
Textbox
Abstraction
Value Type
42. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Window.xaml.cs
Expression
long - .NET alias
Just-in-time (JIT
43. 64 bit integer data
long - Size
C#
ushort - .NET alias
Expression
44. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
sbyte - .NET alias
short - Size
Abstract Method Modifier
If Statement
45. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
byte - Size
Parameter aka Argument
Dot Notation
Intermediate Language (IL)
46. Text as Unicode characters
long - .NET alias
JITer
String (or string)
FCL
47. Mathematical (+ or - or / or %)
int - .NET alias
char - .NET alias
JIT
Operator
48. Keyword which exposes members to other classes OR Identifier which makes program elements public
C#
Static Class
uint - Size
Public Keyword
49. Windows Presentation Foundation
NET
If Statement
r
W.P.F
50. Series of instructions which tell a computer what to do.
Program
Abstraction
short - .NET alias
Double (or double) - Size