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. 64 bit integer data
short - .NET alias
Int64 - Size
Virtual Method Modifier
returnType methodName (parameterList)
2. The .NET run-time environment that enables code to be compiled and executed.
Common Language Runtime (CLR)
Operator
String (or string)
Internal Access Modifier
3. 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
Protected Internal Access Modifier
Class
long - .NET alias
4. The member type of a Class that performs an action.
Internal Access Modifier
Method
uint - .NET alias
C#
5. 8 bit - signed byte (-128 - 127)
r
Variable
sbyte - Size
Protected Internal Access Modifier
6. A Class that can only have Static Members
Variable
Inheritance
Static Class
Abstract Class Modifier
7. 32 bit single precision floating point data
Just-in-time (JIT
Inheritance
Float (or float) - Size
JIT
8. 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
Console Application
Protected Access Modifier
Operator
9. Code which signifies a carriage return. Symbolises a new line in a text box.
Just-in-time (JIT
W.P.F
r
Double (or double) - Size
10. (&& or || or & or |)
Conditional Operator
Class aka Type
JIT
Method
11. Restricts access to a Member to the current Class and any Derived Class.
Protected Access Modifier
NET
Comments
Field
12. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
If Statement
int - .NET alias
char - Size
Boolean Operator
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.
Private Access Modifier
Internal Access Modifier
Encapsulation
Window.xaml.cs
14. Only requires one operand usually a count+1 or a count++ or a count--
Unary Operator
Encapsulation
char - .NET alias
float - .NET alias
15. Windows Presentation Foundation
Program
Protected Access Modifier
Precedence
W.P.F
16. Sits behind GUI (Graphical User Interface) and provides event listeners
CLR
Expression
Window.xaml.cs
bool - Size
17. 64 bit integer data
long - Size
Operator
Virtual Method Modifier
Static Class
18. A type of statement that produces a value that might be tested or assigned to a variable.
Statement
Expression
ulong - .NET alias
Base Class
19. The "Type" name of data that is stored on the Heap
long - Size
Reference Type
W.P.F
Label
20. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
C#
Window.xaml.cs
Sealed Class
short - Size
21. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Int64 - Size
sbyte - .NET alias
Polymorphism
Boolean - Size
22. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
IDE
Public Keyword
csc.exe
Operator
23. Indicates that the Method can be overridden.
sbyte - Size
Value Type
Virtual Method Modifier
Strong Typing
24. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
Int32 - Size
Abstraction
JITer
While Statement
25. Something that has a different number of parameters to it's predecessor
Console Application
Overloaded Method
Strong Typing
Unary Operator
26. Compilation of classes. In C# Usually ends in .dll or .exe
Assembly
Namespace
Expression
Protected Access Modifier
27. System.Char
char - .NET alias
References (Visual Studio Solution
Int32 - Size
Program
28. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
int - .NET alias
Parameter aka Argument
Stack
Overloaded Method
29. System.Single
float - .NET alias
Parameter aka Argument
Label
Primitive Type
30. 32 bit integer data
Framework Class Library (FCL)
short - .NET alias
int - Size
byte - .NET alias
31. Command which runs repeatedly while (some) condition is true.
Operator
Int64 - Size
While Statement
References (Visual Studio Solution
32. An instance of a class that exists at run-time and is typically referenced via a variable name.
Conditional Operator
Unary Operator
Object
FCL
33. Syntax of a C# Method
ushort - Size
Operator
double - .NET alias
returnType methodName (parameterList)
34. Contains the class definitions that allow access to the functionality provided by .NET.
double - .NET alias
Inheritance
While Statement
Framework Class Library (FCL)
35. Framework Class Library
Constant
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Visual Studio Solution
FCL
36. Calculation whose result is either true or false but cannot be both E.g. == Equal to. != Not Equal too. < Less than. <= Less than of equal to. > Greater than. >= Greaten than or equal to. && AND (Conditional) ->|| OR (Conditional)
Boolean - Size
uint - .NET alias
Encapsulation
Boolean Operator
37. Groups classes together so that they have a unique identifier
Abstract Class Modifier
Inheritance
Namespace
FCL
38. Must have a data type
Encapsulation
Assembly
Variable (C# requirements)
Static Class
39. 32 bit integer data
Public Keyword
Int32 - Size
Parameter aka Argument
Reference Type
40. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Encapsulation
Data structures
W.P.F
Assignment Operator
41. Block of memory where objects live. Whenever a new object is created it is allowed onto the heap. Old objects are regularly deallocate from the heap to save available memory
Overloaded Method
Protected Internal Access Modifier
Window.xaml.cs
Heap
42. System.Byte
sbyte - .NET alias
byte - .NET alias
returnType methodName (parameterList)
Boolean Operator
43. Text as Unicode characters
String (or string)
Variable
Relational Operator
Properties
44. 64 bit - unsigned integer data
Double (or double) - Size
ulong - Size
Inheritance
Class aka Type
45. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Inheritance
Operator
References (Visual Studio Solution
DateTime
46. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Static Class
short - .NET alias
Properties
Abstraction
47. Represents date and time data with a 100 ns resolution
DateTime
Sealed Class
Parameter aka Argument
sbyte - Size
48. 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.
Protected Internal Access Modifier
Heap
Unary Operator
Abstract Method Modifier
49. Symbols which transform and combine expressions
Operator
Abstract Class Modifier
Static Class
ushort - Size
50. Introduces a new class. Marked by curly brackets { }
Class Statement
Variable (C# requirements)
Constructor
Sealed Class