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. System.UInt32
uint - .NET alias
Statement
Comments
short - .NET alias
2. Allow access to types that exist in outside assemblies.
using
CLR
float - .NET alias
References (Visual Studio Solution
3. Restricts access to a Member to the current Class.
Private Access Modifier
Heap
double - .NET alias
Just-in-time (JIT
4. true or false
Boolean - Size
NET
Int32 - Size
Statement
5. System.SByte
char - .NET alias
Strong Typing
sbyte - .NET alias
Visual Studio Solution
6. System.Char
char - .NET alias
Operator
W.P.F
Program
7. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
JITer
Array
Stack
Method
8. System.Byte
Program
String (or string)
byte - .NET alias
Value Type
9. Allows the definition of a Class to span multiple files (within the same Project)
Partial Class Modifier
IDE
Comments
char - Size
10. 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.
Abstract Class Modifier
int - .NET alias
Syntax
Variable (C# requirements)
11. Access is limited to the current Assembly
Variable (C# requirements)
Heap
Just-in-time (JIT
Internal Access Modifier
12. Microsoft's generic software framework for application development.
Relational Operator
Properties
Strong Typing
NET
13. 16 bit - unsigned integer data (0 to 65535)
Equality Operator
decimal - .NET alias
ushort - Size
Overloaded Method
14. The process of hiding and restricting access to the implementation details of a data structure.
Encapsulation
decimal - .NET alias
short - Size
Unary Operator
15. Most common kind of reference type. They define objects. They must have at least one method and one field.
r
CLR
Class aka Type
Dot Notation
16. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
int - Size
using
CLR
sbyte - Size
17. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Syntax
Inheritance
Equality Operator
Class
18. Integrated Development Environment
DateTime
IDE
Namespace
Int32 - Size
19. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
Syntax
short - .NET alias
Abstract Class Modifier
csc.exe
20. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Program
Int64 - Size
Primitive
C#
21. The "Type" name of data that is stored on the Heap
Reference Type
Common Language Runtime (CLR)
uint - Size
short - .NET alias
22. Restricts access to a Member to the current Class and any Derived Class.
Internal Access Modifier
Abstraction
byte - .NET alias
Protected Access Modifier
23. A Class from which other classes can inherit characteristics.
Base Class
Class
Boolean - Size
Private Access Modifier
24. true or false
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
bool - Size
Inheritance
Polymorphism
25. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Double (or double) - Size
Base Class
Object
Precedence
26. A symbol that specifies an operation to be performed on one or more variables.
Common Language Runtime (CLR)
Operator
String (or string)
Variable
27. System.Decimal
Data structures
Field
using
decimal - .NET alias
28. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Constructor
csc.exe
Expression
Precedence
29. 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'.
Textbox
Constructor
Inheritance
CLR
30. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Abstract Class Modifier
Polymorphism
Boolean Operator
Variable
31. 32 bit single precision floating point data
int - .NET alias
Float (or float) - Size
Virtual Method Modifier
Variable
32. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Class
Assembly
Strong Typing
Constant
33. 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.
Base Class
float - .NET alias
Int32 - Size
Variable
34. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Static Class
Object
JITer
Intermediate Language (IL)
35. Compilation of classes. In C# Usually ends in .dll or .exe
Just-in-time (JIT
References (Visual Studio Solution
Assembly
using
36. Groups classes together so that they have a unique identifier
JIT
Boolean - Size
Namespace
Abstract Class Modifier
37. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
JIT
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Variable
Comments
38. Something that has a different number of parameters to it's predecessor
Abstraction
Properties
Overloaded Method
Decimal (or decimal) - Size
39. A Class that can only have Static Members
Method
Static Class
Primitive
r
40. 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.
Variable
Encapsulation
Object
Double (or double) - Size
41. 16 bit- unsigned word (U+0000 to U+ffff)
Inheritance
char - Size
IDE
Parameter aka Argument
42. 64 bit double precision floating point data
Operator
ushort - Size
Double (or double) - Size
Equality Operator
43. 8 bit - signed byte (-128 - 127)
Statement
Textbox
sbyte - Size
Class Statement
44. The "Type" name of data that is stored on the Stack
While Statement
Value Type
Label
r
45. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Stack
Polymorphism
Method
float - .NET alias
46. System.Int64
Framework Class Library (FCL)
long - .NET alias
Dot Notation
Inheritance
47. Represents the encapsulation of data and behaviors into a single unit.
Variable
Class
Statement
Data structures
48. Framework Class Library
Encapsulation
Class aka Type
FCL
Partial Method Modifier
49. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Expression
Inheritance
Array
Int64 - Size
50. Extra information within a method
short - .NET alias
Parameter aka Argument
decimal - .NET alias
IDE