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. 32 bit integer data
csc.exe
byte - .NET alias
int - Size
ulong - .NET alias
2. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
FCL
Comments
ushort - .NET alias
Dot Notation
3. A type of statement that produces a value that might be tested or assigned to a variable.
Expression
Static Member
Abstraction
Double (or double) - Size
4. Container for one or more Visual Studio Projects.
Field
Assembly
Keyword
Visual Studio Solution
5. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
uint - Size
double - .NET alias
Method
If Statement
6. Compilation of classes. In C# Usually ends in .dll or .exe
Expression
float - .NET alias
Statement
Assembly
7. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Label
Encapsulation
Stack
csc.exe
8. System.UInt32
Textbox
Operator
uint - .NET alias
char - Size
9. A representation of an area in the computer memory in which a value of a particular data type can be stored.
JITer
Inheritance
Variable
Float (or float) - Size
10. (< or > or <= or >=)
Dot Notation
Relational Operator
Class
r
11. A Member that cannot be accessed/invoked through an Object Instance.
Program
char - .NET alias
Int32 - Size
Static Member
12. Text as Unicode characters
Expression
Assembly
References (Visual Studio Solution
String (or string)
13. Only requires one operand usually a count+1 or a count++ or a count--
Unary Operator
Framework Class Library (FCL)
Class aka Type
sbyte - .NET alias
14. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Expression
uint - .NET alias
short - .NET alias
Data structures
15. Code which signifies a carriage return. Symbolises a new line in a text box.
r
Data structures
Textbox
Field
16. Command which runs repeatedly while (some) condition is true.
While Statement
Inheritance
Incrementing / Decrementing Variables
Static Class
17. Syntax of a C# Method
returnType methodName (parameterList)
bool - Size
Equality Operator
Assignment Operator
18. 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.
Assembly
Abstract Method Modifier
Protected Internal Access Modifier
DateTime
19. Indicates that the Method can be overridden.
Virtual Method Modifier
CLR
W.P.F
Assembly
20. 64 bit integer data
long - Size
char - .NET alias
returnType methodName (parameterList)
Boolean - Size
21. Code which implements GUI (graphical User Interface).
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Just-in-time (JIT
Program
FCL
22. Represents date and time data with a 100 ns resolution
Base Class
DateTime
Primitive
Expression
23. An instance of a class that exists at run-time and is typically referenced via a variable name.
float - .NET alias
Strong Typing
Object
If Statement
24. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Private Access Modifier
Intermediate Language (IL)
CLR
csc.exe
25. (== or !=)
Equality Operator
Constructor
Field
Value Type
26. Must have a data type
Variable (C# requirements)
Comments
Int64 - Size
Class Statement
27. Series of instructions which tell a computer what to do.
Namespace
Program
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Keyword
28. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Operator
Abstract Class Modifier
Abstract Method Modifier
IDE
29. The member type of a Class that performs an action.
CLR
Method
Framework Class Library (FCL)
Int64 - Size
30. 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.
Boolean Operator
Syntax
Abstract Method Modifier
Unary Operator
31. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Value Type
Class aka Type
Heap
Inheritance
32. System.Double
Assembly
Statement
double - .NET alias
Private Access Modifier
33. The process of compiling IL source into CPU-native code for execution.
Object
Just-in-time (JIT
Static Class
Assembly
34. Windows Presentation Foundation
W.P.F
Class Statement
Expression
CLR
35. Just-in-time compilation
int - Size
JIT
int - .NET alias
NET
36. A symbol that specifies an operation to be performed on one or more variables.
Unary Operator
ushort - .NET alias
Operator
Precedence
37. System.SByte
Reference Type
Inheritance
sbyte - .NET alias
JITer
38. System.Char
Dot Notation
char - .NET alias
Conditional Operator
JITer
39. Most common kind of reference type. They define objects. They must have at least one method and one field.
Class aka Type
Boolean Operator
Assignment Operator
Polymorphism
40. Symbols which transform and combine expressions
Expression
ushort - .NET alias
Operator
char - Size
41. 32 bit - unsigned integer data
Primitive
Int32 - Size
uint - Size
Inheritance
42. Restricts access to a Member to the current Class and any Derived Class.
Expression
Protected Access Modifier
Label
Polymorphism
43. System.Int16
JITer
Identifiers
short - .NET alias
Public Keyword
44. The .NET run-time environment that enables code to be compiled and executed.
Dot Notation
Common Language Runtime (CLR)
C#
Variable
45. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Visual Studio Solution
Precedence
Assembly
Partial Method Modifier
46. When a sub class passes down all the behaviours of the original parent class
Inheritance
Abstract Method Modifier
CLR
Comments
47. Access is limited to the current Assembly and Derived Types
Class
ushort - Size
Protected Internal Access Modifier
Constructor
48. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
Dot Notation
int - .NET alias
If Statement
double - .NET alias
49. Contains the class definitions that allow access to the functionality provided by .NET.
Framework Class Library (FCL)
Stack
Operator
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
50. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
short - Size
bool - Size
Dot Notation
using