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. Access is limited to the current Assembly and Derived Types
Intermediate Language (IL)
Console Application
Decimal (or decimal) - Size
Protected Internal Access Modifier
2. A type of statement that produces a value that might be tested or assigned to a variable.
Expression
Operator
Namespace
Intermediate Language (IL)
3. Restricts access to a Member to the current Class.
JITer
Private Access Modifier
Static Class
Protected Internal Access Modifier
4. Indicates that the Method can be overridden.
JIT
ushort - Size
Syntax
Virtual Method Modifier
5. Syntax of a C# Method
returnType methodName (parameterList)
Object
Incrementing / Decrementing Variables
Constructor
6. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Abstraction
sbyte - .NET alias
Partial Class Modifier
Just-in-time (JIT
7. Must have a data type
W.P.F
Constant
Program
Variable (C# requirements)
8. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Properties
Protected Access Modifier
Conditional Operator
If Statement
9. (&& or || or & or |)
Protected Internal Access Modifier
Virtual Method Modifier
Conditional Operator
Field
10. Command which runs repeatedly while (some) condition is true.
Intermediate Language (IL)
Data structures
int - .NET alias
While Statement
11. A Class that inherits characteristics from another Class.
Int64 - Size
Polymorphism
Derived Class
bool - Size
12. 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
Unary Operator
ulong - Size
While Statement
13. System.Int32
Reference Type
int - .NET alias
While Statement
Statement
14. System.SByte
int - .NET alias
Operator
sbyte - .NET alias
Heap
15. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Private Access Modifier
JITer
short - .NET alias
Namespace
16. A Class that cannot be instantiated.
Just-in-time (JIT
byte - .NET alias
short - .NET alias
Static Class
17. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Method
Protected Access Modifier
using
Overloaded Method
18. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Variable
Double (or double) - Size
Value Type
Operator
19. Represents the encapsulation of data and behaviors into a single unit.
Value Type
Class
Common Language Runtime (CLR)
Statement
20. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Strong Typing
Framework Class Library (FCL)
Assembly
Polymorphism
21. The process of compiling IL source into CPU-native code for execution.
Incrementing / Decrementing Variables
Float (or float) - Size
Just-in-time (JIT
Int64 - Size
22. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
Variable (C# requirements)
Public Keyword
If Statement
Method
23. 32 bit integer data
Syntax
Base Class
Int32 - Size
Strong Typing
24. A Class that can only have Static Members
long - .NET alias
Label
Static Class
returnType methodName (parameterList)
25. System.Double
NET
Polymorphism
Static Member
double - .NET alias
26. System.UInt32
References (Visual Studio Solution
byte - .NET alias
char - .NET alias
uint - .NET alias
27. 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
Int32 - Size
DateTime
Expression
Object
28. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
IDE
r
Sealed Class
Strong Typing
29. 32 bit single precision floating point data
Float (or float) - Size
Method
Decimal (or decimal) - Size
Overloaded Method
30. Field whose value can never change. Declared with 'const' keyword
Stack
sbyte - Size
Constant
uint - Size
31. Series of instructions which tell a computer what to do.
Program
ushort - Size
Primitive
Class aka Type
32. Symbols which transform and combine expressions
Derived Class
Operator
Textbox
Framework Class Library (FCL)
33. 16 bit - signed integer data (-32768 to 32767)
Operator
Keyword
Parameter aka Argument
short - Size
34. 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
Precedence
Heap
Statement
Properties
35. Command Language Runtime
CLR
Expression
Int64 - Size
Derived Class
36. 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.
Class aka Type
Identifiers
IDE
Window.xaml.cs
37. Groups classes together so that they have a unique identifier
Namespace
Int32 - Size
ulong - .NET alias
W.P.F
38. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
C#
String (or string)
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Strong Typing
39. true or false
int - Size
Dot Notation
JITer
Boolean - Size
40. (= or += or -= or = or /=)
Class Statement
Common Language Runtime (CLR)
Method
Assignment Operator
41. (== or !=)
Equality Operator
uint - Size
Constant
float - .NET alias
42. System.Char
FCL
char - .NET alias
Operator
Identifiers
43. 32 bit integer data
int - Size
Unary Operator
Textbox
Properties
44. Windows Presentation Foundation
Protected Internal Access Modifier
Equality Operator
W.P.F
Just-in-time (JIT
45. 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
Operator
Constant
byte - Size
46. Container for one or more Visual Studio Projects.
Variable (C# requirements)
References (Visual Studio Solution
Inheritance
Visual Studio Solution
47. The lowest level or fundamental data types needed for representing data.
Expression
int - Size
Primitive Type
Sealed Class
48. Just-in-time compilation
ushort - .NET alias
Partial Method Modifier
Dot Notation
JIT
49. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Public Keyword
Inheritance
References (Visual Studio Solution
Label
50. Allow access to types that exist in outside assemblies.
References (Visual Studio Solution
short - .NET alias
Class Statement
Int64 - Size