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'.
Namespace
CLR
Label
Textbox
2. count = count+1 or count++ or count__. Both count variables are Unary Operators
Statement
Incrementing / Decrementing Variables
Static Class
Textbox
3. System.SByte
Class Statement
Variable
sbyte - .NET alias
W.P.F
4. System.Single
Float (or float) - Size
Namespace
float - .NET alias
Partial Method Modifier
5. A Class that inherits characteristics from another Class.
If Statement
Unary Operator
Common Language Runtime (CLR)
Derived Class
6. Framework Class Library
using
Inheritance
Keyword
FCL
7. Integrated Development Environment
IDE
Public Keyword
Parameter aka Argument
uint - .NET alias
8. Just-in-time compilation
JIT
Incrementing / Decrementing Variables
Label
If Statement
9. Restricts access to a Member to the current Class and any Derived Class.
Label
Protected Access Modifier
Variable (C# requirements)
Window.xaml.cs
10. 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
Operator
Int64 - Size
Protected Access Modifier
11. System.Int32
Constant
int - .NET alias
Encapsulation
Polymorphism
12. 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
Statement
Object
Expression
Array
13. A Class from which other classes can inherit characteristics.
Base Class
bool - Size
Data structures
Polymorphism
14. Variables defined by a class
Comments
Field
uint - .NET alias
csc.exe
15. 32 bit integer data
Precedence
Int32 - Size
int - .NET alias
W.P.F
16. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Expression
Data structures
Encapsulation
Encapsulation
17. System.Int64
IDE
char - .NET alias
long - .NET alias
Object
18. Command Language Runtime
Namespace
CLR
Framework Class Library (FCL)
Object
19. Code which implements GUI (graphical User Interface).
Variable (C# requirements)
Operator
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Virtual Method Modifier
20. Code which signifies a carriage return. Symbolises a new line in a text box.
Precedence
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
r
char - .NET alias
21. 32 bit single precision floating point data
Boolean Operator
Float (or float) - Size
Encapsulation
int - Size
22. Something that has a different number of parameters to it's predecessor
Overloaded Method
Inheritance
Reference Type
String (or string)
23. Syntax of a C# Method
Window.xaml.cs
returnType methodName (parameterList)
Private Access Modifier
Expression
24. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
sbyte - .NET alias
Derived Class
Comments
Statement
25. 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
Window.xaml.cs
Dot Notation
Class aka Type
CLR
26. 16 bit- unsigned word (U+0000 to U+ffff)
Abstract Method Modifier
char - Size
Field
ushort - .NET alias
27. The "Type" name of data that is stored on the Heap
char - .NET alias
Reference Type
bool - Size
Partial Class Modifier
28. (&& or || or & or |)
Conditional Operator
Precedence
bool - Size
Inheritance
29. 16 bit - unsigned integer data (0 to 65535)
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Expression
Class
ushort - Size
30. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
Constructor
If Statement
sbyte - Size
Internal Access Modifier
31. The .NET run-time environment that enables code to be compiled and executed.
Virtual Method Modifier
Data structures
Common Language Runtime (CLR)
Static Member
32. 64 bit double precision floating point data
Virtual Method Modifier
Double (or double) - Size
Derived Class
Object
33. Allows a Method to be defined in a separate file (within the same Project). If no definition is found the compiler excludes the Method as an optimization.
bool - Size
Common Language Runtime (CLR)
If Statement
Partial Method Modifier
34. Symbols which transform and combine expressions
Operator
Int64 - Size
char - .NET alias
Array
35. A Class that cannot be instantiated.
Static Class
Abstraction
DateTime
char - .NET alias
36. Container for one or more Visual Studio Projects.
Visual Studio Solution
Assignment Operator
Relational Operator
Int64 - Size
37. true or false
Class
Assembly
Namespace
bool - Size
38. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Base Class
sbyte - .NET alias
Precedence
While Statement
39. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
sbyte - .NET alias
Statement
using
Variable
40. System.UInt32
C#
JIT
uint - .NET alias
char - Size
41. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Identifiers
Comments
Intermediate Language (IL)
char - .NET alias
42. 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
char - .NET alias
Variable (C# requirements)
Heap
String (or string)
43. Contains the class definitions that allow access to the functionality provided by .NET.
Framework Class Library (FCL)
Textbox
Public Keyword
long - Size
44. 64 bit - unsigned integer data
Label
long - .NET alias
ulong - Size
Incrementing / Decrementing Variables
45. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Polymorphism
Statement
Static Class
CLR
46. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Namespace
Variable
Variable (C# requirements)
ulong - .NET alias
47. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Common Language Runtime (CLR)
Properties
decimal - .NET alias
IDE
48. System.Double
FCL
Operator
double - .NET alias
JITer
49. System.Int16
CLR
Assembly
short - .NET alias
Method
50. Used to display text that end user does not need to edit.
Abstract Method Modifier
char - .NET alias
Sealed Class
Label