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. The .NET run-time environment that enables code to be compiled and executed.
Statement
Boolean - Size
Common Language Runtime (CLR)
csc.exe
2. Compilation of classes. In C# Usually ends in .dll or .exe
Static Class
Assembly
Statement
Class
3. Symbols which transform and combine expressions
Properties
NET
Primitive
Operator
4. 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)
byte - .NET alias
Boolean Operator
Identifiers
Abstraction
5. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
uint - Size
short - Size
Strong Typing
Namespace
6. System.UInt32
ushort - Size
sbyte - Size
uint - .NET alias
decimal - .NET alias
7. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
Stack
Base Class
Console Application
C#
8. Command Language Runtime
long - .NET alias
float - .NET alias
CLR
Boolean Operator
9. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Data structures
Precedence
Encapsulation
Assembly
10. Container for one or more Visual Studio Projects.
Assignment Operator
Visual Studio Solution
Intermediate Language (IL)
Constant
11. Mathematical (+ or - or / or %)
FCL
Int64 - Size
long - .NET alias
Operator
12. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
IDE
Inheritance
Decimal (or decimal) - Size
Framework Class Library (FCL)
13. 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
short - Size
Method
Dot Notation
While Statement
14. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
Public Keyword
Statement
csc.exe
Inheritance
15. (&& or || or & or |)
If Statement
Conditional Operator
Unary Operator
Float (or float) - Size
16. The process of hiding and restricting access to the implementation details of a data structure.
Conditional Operator
Encapsulation
Abstract Method Modifier
Operator
17. A method that is called whenever an Object is created. The method uses the same name as the Class.
Assembly
Constructor
Equality Operator
Assembly
18. 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.
JIT
Dot Notation
Base Class
Partial Method Modifier
19. 8 bit - unsigned byte (0 - 255)
C#
bool - Size
byte - Size
Constructor
20. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Precedence
Decimal (or decimal) - Size
ushort - Size
Namespace
21. 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'.
Inheritance
Protected Internal Access Modifier
Expression
Textbox
22. Only requires one operand usually a count+1 or a count++ or a count--
Primitive
Unary Operator
Boolean Operator
Stack
23. Indicates that the Method can be overridden.
Virtual Method Modifier
Variable
Encapsulation
Object
24. The lowest level or fundamental data types needed for representing data.
Strong Typing
char - Size
Conditional Operator
Primitive Type
25. System.Single
ulong - .NET alias
bool - Size
float - .NET alias
Method
26. (== or !=)
ushort - Size
Equality Operator
Constant
Polymorphism
27. (= or += or -= or = or /=)
Unary Operator
Window.xaml.cs
Assignment Operator
using
28. 128 bit fixed precision (financial)
If Statement
r
byte - .NET alias
Decimal (or decimal) - Size
29. The "Type" name of data that is stored on the Stack
Identifiers
byte - Size
byte - .NET alias
Value Type
30. System.UInt16
float - .NET alias
Object
ushort - .NET alias
Class Statement
31. A Class that cannot be instantiated.
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Method
Partial Class Modifier
Static Class
32. Microsoft's generic software framework for application development.
sbyte - .NET alias
NET
Value Type
Dot Notation
33. A Member that cannot be accessed/invoked through an Object Instance.
Assembly
Static Member
ulong - Size
csc.exe
34. Must have a data type
int - Size
Variable (C# requirements)
Abstract Class Modifier
DateTime
35. A Class from which other classes can inherit characteristics.
Reference Type
Base Class
Protected Internal Access Modifier
Just-in-time (JIT
36. Variables defined by a class
Field
bool - Size
Equality Operator
char - .NET alias
37. Keyword which exposes members to other classes OR Identifier which makes program elements public
Method
sbyte - .NET alias
CLR
Public Keyword
38. Restricts access to a Member to the current Class and any Derived Class.
Class Statement
Protected Access Modifier
Array
char - .NET alias
39. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Int32 - Size
Strong Typing
ulong - Size
Internal Access Modifier
40. System.Int32
int - .NET alias
Method
sbyte - Size
Operator
41. 64 bit integer data
Primitive Type
int - .NET alias
Int64 - Size
uint - Size
42. 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.
Protected Access Modifier
Encapsulation
Strong Typing
Syntax
43. An instance of a class that exists at run-time and is typically referenced via a variable name.
Object
Window.xaml.cs
String (or string)
Precedence
44. 64 bit double precision floating point data
sbyte - .NET alias
Intermediate Language (IL)
Namespace
Double (or double) - Size
45. count = count+1 or count++ or count__. Both count variables are Unary Operators
Double (or double) - Size
Incrementing / Decrementing Variables
Primitive Type
int - .NET alias
46. Syntax of a C# Method
Identifiers
returnType methodName (parameterList)
String (or string)
Equality Operator
47. System.Int64
ushort - Size
long - .NET alias
Protected Access Modifier
Protected Internal Access Modifier
48. A Class that can only have Static Members
Variable (C# requirements)
Decimal (or decimal) - Size
ushort - .NET alias
Static Class
49. Field whose value can never change. Declared with 'const' keyword
Syntax
Static Class
short - Size
Constant
50. Contains the class definitions that allow access to the functionality provided by .NET.
JITer
Sealed Class
Console Application
Framework Class Library (FCL)