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 - unsigned integer data
Equality Operator
char - Size
Data structures
ulong - Size
2. The "Type" name of data that is stored on the Stack
Value Type
Primitive Type
W.P.F
JITer
3. count = count+1 or count++ or count__. Both count variables are Unary Operators
Double (or double) - Size
Primitive
Incrementing / Decrementing Variables
Derived Class
4. System.Double
double - .NET alias
C#
Comments
Partial Method Modifier
5. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
returnType methodName (parameterList)
Double (or double) - Size
Precedence
Object
6. 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
Decimal (or decimal) - Size
Heap
int - .NET alias
IDE
7. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Properties
Sealed Class
Inheritance
Strong Typing
8. Code which implements GUI (graphical User Interface).
Boolean - Size
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Variable (C# requirements)
sbyte - Size
9. 16 bit- unsigned word (U+0000 to U+ffff)
Float (or float) - Size
Public Keyword
char - Size
Keyword
10. System.UInt16
ulong - .NET alias
ushort - .NET alias
char - .NET alias
Inheritance
11. Only requires one operand usually a count+1 or a count++ or a count--
Unary Operator
Virtual Method Modifier
Derived Class
Operator
12. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Identifiers
Operator
Statement
JIT
13. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Strong Typing
Encapsulation
Assembly
Array
14. Series of instructions which tell a computer what to do.
Relational Operator
Abstraction
uint - Size
Program
15. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Syntax
Primitive
Static Class
Abstract Class Modifier
16. The lowest level or fundamental data types needed for representing data.
IDE
Stack
ulong - Size
Primitive Type
17. 8 bit - signed byte (-128 - 127)
sbyte - Size
Boolean Operator
int - .NET alias
Protected Internal Access Modifier
18. Introduces a new class. Marked by curly brackets { }
Operator
Class Statement
If Statement
Dot Notation
19. A Class that can only have Static Members
Static Member
Window.xaml.cs
Static Class
Inheritance
20. Groups classes together so that they have a unique identifier
ushort - .NET alias
Namespace
uint - Size
Precedence
21. Compilation of classes. In C# Usually ends in .dll or .exe
Class
Assembly
short - .NET alias
While Statement
22. Command Language Runtime
CLR
Keyword
Expression
Double (or double) - Size
23. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Int32 - Size
FCL
Constructor
Primitive
24. System.Int16
Label
Constructor
short - .NET alias
Reference Type
25. 8 bit - unsigned byte (0 - 255)
Derived Class
Statement
byte - Size
Primitive
26. Sits behind GUI (Graphical User Interface) and provides event listeners
byte - .NET alias
Window.xaml.cs
Common Language Runtime (CLR)
float - .NET alias
27. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Statement
Intermediate Language (IL)
JIT
Static Member
28. true or false
int - .NET alias
Boolean - Size
Expression
Parameter aka Argument
29. 64 bit integer data
FCL
long - Size
Polymorphism
Precedence
30. Most common kind of reference type. They define objects. They must have at least one method and one field.
Partial Class Modifier
Stack
Class aka Type
Statement
31. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Polymorphism
Assembly
DateTime
ulong - .NET alias
32. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Namespace
Visual Studio Solution
r
Field
33. Represents date and time data with a 100 ns resolution
Constructor
Namespace
Stack
DateTime
34. (== or !=)
References (Visual Studio Solution
Private Access Modifier
Inheritance
Equality Operator
35. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Derived Class
Inheritance
Array
NET
36. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Dot Notation
Inheritance
IDE
Int64 - Size
37. Command which runs repeatedly while (some) condition is true.
Encapsulation
DateTime
While Statement
Constant
38. Access is limited to the current Assembly and Derived Types
DateTime
Int64 - Size
Protected Internal Access Modifier
Syntax
39. Represents the encapsulation of data and behaviors into a single unit.
Common Language Runtime (CLR)
Relational Operator
Array
Class
40. Restricts access to a Member to the current Class and any Derived Class.
sbyte - .NET alias
Protected Access Modifier
Method
Keyword
41. (&& or || or & or |)
byte - .NET alias
returnType methodName (parameterList)
Conditional Operator
Double (or double) - Size
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.
Incrementing / Decrementing Variables
Variable
short - Size
Decimal (or decimal) - Size
43. 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)
Operator
Dot Notation
Boolean Operator
Method
44. A Class from which other classes can inherit characteristics.
Base Class
ulong - .NET alias
Namespace
Label
45. Syntax of a C# Method
Statement
JITer
Protected Access Modifier
returnType methodName (parameterList)
46. 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
Expression
Assembly
Window.xaml.cs
47. 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.
Abstract Method Modifier
Decimal (or decimal) - Size
Variable
JITer
48. Contains the class definitions that allow access to the functionality provided by .NET.
using
Framework Class Library (FCL)
Constant
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
49. 64 bit double precision floating point data
Constructor
Relational Operator
Double (or double) - Size
long - Size
50. The process of hiding and restricting access to the implementation details of a data structure.
Textbox
int - Size
Encapsulation
Statement