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. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Constructor
Private Access Modifier
Inheritance
Precedence
2. 32 bit integer data
bool - Size
Int32 - Size
JITer
Operator
3. 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.
Equality Operator
Int64 - Size
Abstract Method Modifier
References (Visual Studio Solution
4. Symbols which transform and combine expressions
byte - .NET alias
Abstract Method Modifier
Operator
int - Size
5. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Inheritance
Namespace
returnType methodName (parameterList)
Operator
6. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Assembly
float - .NET alias
Static Class
Protected Internal Access Modifier
7. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Data structures
Operator
Class
Field
8. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Private Access Modifier
Polymorphism
Static Class
Static Member
9. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
If Statement
long - Size
CLR
Class
10. A Class that can only have Static Members
Static Class
ulong - Size
DateTime
Abstraction
11. A Class that cannot be Inherited
Sealed Class
Class Statement
ushort - .NET alias
Keyword
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.
short - Size
Variable
sbyte - Size
Visual Studio Solution
13. Restricts access to a Member to the current Class.
sbyte - Size
Textbox
Private Access Modifier
Protected Access Modifier
14. System.UInt64
ulong - .NET alias
Intermediate Language (IL)
Just-in-time (JIT
Conditional Operator
15. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Properties
Statement
Intermediate Language (IL)
Inheritance
16. Command Language Runtime
IDE
CLR
Syntax
DateTime
17. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
CLR
Value Type
Namespace
Properties
18. A method that is called whenever an Object is created. The method uses the same name as the Class.
Statement
Abstract Method Modifier
ulong - .NET alias
Constructor
19. Used to display text that end user does not need to edit.
Label
Textbox
Object
Identifiers
20. Allows the definition of a Class to span multiple files (within the same Project)
Object
Boolean Operator
Partial Class Modifier
Static Member
21. The lowest level or fundamental data types needed for representing data.
Double (or double) - Size
Visual Studio Solution
Parameter aka Argument
Primitive Type
22. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
ushort - .NET alias
Abstraction
Abstract Method Modifier
Window.xaml.cs
23. Indicates that the Method can be overridden.
JIT
float - .NET alias
Primitive Type
Virtual Method Modifier
24. System.Double
Constructor
long - .NET alias
double - .NET alias
Derived Class
25. A type of statement that produces a value that might be tested or assigned to a variable.
Expression
Abstract Class Modifier
IDE
Just-in-time (JIT
26. count = count+1 or count++ or count__. Both count variables are Unary Operators
Incrementing / Decrementing Variables
Window.xaml.cs
ushort - .NET alias
r
27. Something that has a different number of parameters to it's predecessor
returnType methodName (parameterList)
Primitive
Unary Operator
Overloaded Method
28. Represents the encapsulation of data and behaviors into a single unit.
Class
ushort - Size
Label
int - Size
29. Access is limited to the current Assembly and Derived Types
Protected Internal Access Modifier
Class
Inheritance
If Statement
30. 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.
Syntax
Value Type
Decimal (or decimal) - Size
Class
31. 64 bit integer data
long - Size
Protected Access Modifier
Namespace
char - Size
32. 32 bit integer data
Heap
int - Size
Parameter aka Argument
Framework Class Library (FCL)
33. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
Equality Operator
W.P.F
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
JITer
34. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
References (Visual Studio Solution
Comments
Internal Access Modifier
Virtual Method Modifier
35. Extra information within a method
CLR
Parameter aka Argument
References (Visual Studio Solution
Primitive
36. Syntax of a C# Method
returnType methodName (parameterList)
Statement
FCL
Intermediate Language (IL)
37. 8 bit - unsigned byte (0 - 255)
Visual Studio Solution
bool - Size
returnType methodName (parameterList)
byte - Size
38. The process of compiling IL source into CPU-native code for execution.
References (Visual Studio Solution
Syntax
Just-in-time (JIT
Variable
39. 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
char - Size
JIT
Heap
Dot Notation
40. Represents date and time data with a 100 ns resolution
returnType methodName (parameterList)
Boolean - Size
double - .NET alias
DateTime
41. Field whose value can never change. Declared with 'const' keyword
Class aka Type
Inheritance
Constant
Partial Method Modifier
42. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Partial Method Modifier
Int64 - Size
Inheritance
Primitive
43. 128 bit fixed precision (financial)
CLR
Visual Studio Solution
Unary Operator
Decimal (or decimal) - Size
44. Must have a data type
Variable (C# requirements)
Class aka Type
Conditional Operator
Protected Internal Access Modifier
45. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Polymorphism
Assignment Operator
Namespace
using
46. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Derived Class
Abstract Class Modifier
Public Keyword
Variable
47. Windows Presentation Foundation
Class Statement
W.P.F
Strong Typing
Expression
48. An instance of a class that exists at run-time and is typically referenced via a variable name.
Object
Console Application
Field
Relational Operator
49. System.UInt16
ushort - .NET alias
using
W.P.F
Common Language Runtime (CLR)
50. Variables defined by a class
Assembly
Field
Abstract Method Modifier
Double (or double) - Size