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. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Data structures
Textbox
Parameter aka Argument
CLR
2. Variables defined by a class
Sealed Class
Constant
short - Size
Field
3. Must have a data type
Overloaded Method
Variable (C# requirements)
Strong Typing
Sealed Class
4. Represents date and time data with a 100 ns resolution
DateTime
Incrementing / Decrementing Variables
Class Statement
Inheritance
5. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Textbox
Protected Access Modifier
Encapsulation
Statement
6. Most common kind of reference type. They define objects. They must have at least one method and one field.
JIT
Int32 - Size
Class aka Type
Primitive
7. 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.
Strong Typing
References (Visual Studio Solution
Assembly
Encapsulation
8. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
JITer
uint - Size
Decimal (or decimal) - Size
Constant
9. 64 bit integer data
Boolean Operator
ushort - .NET alias
Equality Operator
Int64 - Size
10. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Program
Console Application
Encapsulation
Properties
11. 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'.
Base Class
Textbox
Inheritance
char - .NET alias
12. System.Int32
int - .NET alias
Namespace
Class
Double (or double) - Size
13. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Stack
Protected Access Modifier
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Primitive
14. true or false
Boolean - Size
Static Member
Expression
While Statement
15. Only requires one operand usually a count+1 or a count++ or a count--
Constructor
Data structures
Object
Unary Operator
16. 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
Reference Type
Equality Operator
Inheritance
Dot Notation
17. The "Type" name of data that is stored on the Stack
References (Visual Studio Solution
Program
Console Application
Value Type
18. 32 bit integer data
int - Size
Syntax
Variable
Window.xaml.cs
19. System.Int16
short - .NET alias
Protected Access Modifier
ulong - Size
ushort - .NET alias
20. 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.
Inheritance
Identifiers
ulong - .NET alias
Object
21. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Namespace
Intermediate Language (IL)
Derived Class
Program
22. 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.
Partial Method Modifier
Class Statement
Int32 - Size
Strong Typing
23. (&& or || or & or |)
Class
Operator
Conditional Operator
Statement
24. A method that is called whenever an Object is created. The method uses the same name as the Class.
Internal Access Modifier
Constructor
JITer
CLR
25. System.Double
Boolean - Size
double - .NET alias
CLR
Keyword
26. Contains the class definitions that allow access to the functionality provided by .NET.
Partial Method Modifier
Comments
Static Class
Framework Class Library (FCL)
27. A type of statement that produces a value that might be tested or assigned to a variable.
Keyword
Label
long - .NET alias
Expression
28. Compilation of classes. In C# Usually ends in .dll or .exe
Inheritance
Class aka Type
Assembly
Private Access Modifier
29. System.Decimal
Variable
JITer
decimal - .NET alias
short - Size
30. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Object
Comments
Relational Operator
Encapsulation
31. Represents the encapsulation of data and behaviors into a single unit.
int - Size
Statement
Class
ushort - .NET alias
32. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
JITer
JIT
If Statement
Assembly
33. 8 bit - unsigned byte (0 - 255)
Sealed Class
ushort - Size
csc.exe
byte - Size
34. count = count+1 or count++ or count__. Both count variables are Unary Operators
Syntax
Partial Method Modifier
C#
Incrementing / Decrementing Variables
35. Code which signifies a carriage return. Symbolises a new line in a text box.
r
References (Visual Studio Solution
Precedence
using
36. System.Char
char - .NET alias
If Statement
Framework Class Library (FCL)
Primitive Type
37. (< or > or <= or >=)
char - Size
Abstract Method Modifier
Relational Operator
Method
38. Code which implements GUI (graphical User Interface).
Method
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Class aka Type
Base Class
39. The process of compiling IL source into CPU-native code for execution.
int - .NET alias
Common Language Runtime (CLR)
Encapsulation
Just-in-time (JIT
40. true or false
using
bool - Size
Just-in-time (JIT
Label
41. The lowest level or fundamental data types needed for representing data.
Primitive Type
Public Keyword
JITer
Protected Access Modifier
42. Sits behind GUI (Graphical User Interface) and provides event listeners
Incrementing / Decrementing Variables
Method
Window.xaml.cs
Statement
43. Just-in-time compilation
Inheritance
FCL
References (Visual Studio Solution
JIT
44. 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
using
Textbox
Object
Statement
45. 8 bit - signed byte (-128 - 127)
Keyword
sbyte - Size
Object
NET
46. System.Single
Console Application
float - .NET alias
String (or string)
Object
47. Symbols which transform and combine expressions
IDE
Operator
Statement
byte - .NET alias
48. 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.
long - .NET alias
Parameter aka Argument
Base Class
Variable
49. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Variable
Program
Protected Internal Access Modifier
Just-in-time (JIT
50. 16 bit - signed integer data (-32768 to 32767)
Dot Notation
W.P.F
short - Size
ushort - .NET alias