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. Keyword which exposes members to other classes OR Identifier which makes program elements public
Assembly
Public Keyword
short - .NET alias
Assembly
2. (= or += or -= or = or /=)
Assignment Operator
Class Statement
Inheritance
Protected Access Modifier
3. Code which implements GUI (graphical User Interface).
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Textbox
Inheritance
Equality Operator
4. Command Language Runtime
ulong - Size
Properties
Double (or double) - Size
CLR
5. Restricts access to a Member to the current Class.
Primitive
Identifiers
int - .NET alias
Private Access Modifier
6. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Conditional Operator
JIT
Properties
Program
7. The member type of a Class that performs an action.
r
Method
Field
Sealed Class
8. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
JIT
Namespace
JITer
Field
9. The lowest level or fundamental data types needed for representing data.
NET
Namespace
Primitive Type
Int64 - Size
10. Allows the definition of a Class to span multiple files (within the same Project)
While Statement
Variable
Partial Class Modifier
ushort - Size
11. The process of compiling IL source into CPU-native code for execution.
Just-in-time (JIT
If Statement
C#
Unary Operator
12. 32 bit - unsigned integer data
Window.xaml.cs
Internal Access Modifier
Keyword
uint - Size
13. Just-in-time compilation
String (or string)
Sealed Class
JIT
FCL
14. Must have a data type
long - Size
Operator
Variable (C# requirements)
Program
15. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Internal Access Modifier
Inheritance
Assembly
Double (or double) - Size
16. Contains the class definitions that allow access to the functionality provided by .NET.
csc.exe
short - Size
Framework Class Library (FCL)
Dot Notation
17. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Reference Type
Int32 - Size
If Statement
Comments
18. Command which runs repeatedly while (some) condition is true.
uint - Size
Polymorphism
While Statement
Primitive
19. Series of instructions which tell a computer what to do.
Method
Program
Label
Incrementing / Decrementing Variables
20. 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.
Partial Method Modifier
Statement
Variable
Syntax
21. Field whose value can never change. Declared with 'const' keyword
Constant
String (or string)
ushort - Size
Label
22. A method that is called whenever an Object is created. The method uses the same name as the Class.
Variable (C# requirements)
Derived Class
char - Size
Constructor
23. System.Char
char - .NET alias
using
short - .NET alias
Encapsulation
24. System.Single
Array
JITer
int - Size
float - .NET alias
25. count = count+1 or count++ or count__. Both count variables are Unary Operators
Unary Operator
Incrementing / Decrementing Variables
Virtual Method Modifier
ulong - Size
26. A Class that cannot be instantiated.
Static Class
Protected Internal Access Modifier
Visual Studio Solution
Framework Class Library (FCL)
27. true or false
Program
Virtual Method Modifier
Namespace
bool - Size
28. 16 bit - unsigned integer data (0 to 65535)
int - Size
Unary Operator
ushort - Size
csc.exe
29. (< or > or <= or >=)
Statement
Decimal (or decimal) - Size
If Statement
Relational Operator
30. 16 bit- unsigned word (U+0000 to U+ffff)
Strong Typing
Precedence
char - Size
Abstraction
31. Introduces a new class. Marked by curly brackets { }
Class Statement
Comments
Static Class
Operator
32. 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.
Visual Studio Solution
Class aka Type
Program
Encapsulation
33. Groups classes together so that they have a unique identifier
Visual Studio Solution
short - Size
Namespace
char - Size
34. (== or !=)
Equality Operator
byte - Size
Abstraction
Precedence
35. 128 bit fixed precision (financial)
char - .NET alias
Abstract Class Modifier
Object
Decimal (or decimal) - Size
36. When a sub class passes down all the behaviours of the original parent class
Inheritance
Encapsulation
Expression
Decimal (or decimal) - Size
37. Mathematical (+ or - or / or %)
Unary Operator
Public Keyword
Operator
Intermediate Language (IL)
38. Represents the encapsulation of data and behaviors into a single unit.
Textbox
String (or string)
Class
Static Member
39. The "Type" name of data that is stored on the Stack
Value Type
Operator
ushort - .NET alias
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
40. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Inheritance
JITer
Relational Operator
Primitive
41. Extra information within a method
Parameter aka Argument
Abstraction
int - .NET alias
Unary Operator
42. 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
r
FCL
bool - Size
43. Access is limited to the current Assembly
Internal Access Modifier
Class
Protected Access Modifier
Base Class
44. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Precedence
NET
Partial Method Modifier
Program
45. Variables defined by a class
Constructor
Sealed Class
Field
csc.exe
46. System.SByte
Array
sbyte - .NET alias
Inheritance
Static Class
47. System.Int16
using
Data structures
Keyword
short - .NET alias
48. 8 bit - signed byte (-128 - 127)
Sealed Class
Relational Operator
sbyte - Size
char - Size
49. 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
JIT
Array
Class
50. Compilation of classes. In C# Usually ends in .dll or .exe
Statement
int - Size
Assembly
Encapsulation