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. 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.
Encapsulation
IDE
Decimal (or decimal) - Size
Conditional Operator
2. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Internal Access Modifier
Static Class
Just-in-time (JIT
Method
3. 64 bit double precision floating point data
uint - Size
Internal Access Modifier
Double (or double) - Size
long - Size
4. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Array
decimal - .NET alias
Relational Operator
Statement
5. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Keyword
ushort - .NET alias
Inheritance
Class Statement
6. Allow access to types that exist in outside assemblies.
Variable
Expression
Abstract Class Modifier
References (Visual Studio Solution
7. Code which implements GUI (graphical User Interface).
Stack
Inheritance
sbyte - .NET alias
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
8. Syntax of a C# Method
Operator
returnType methodName (parameterList)
Strong Typing
JITer
9. System.UInt16
Int32 - Size
Assignment Operator
ushort - .NET alias
Overloaded Method
10. 32 bit - unsigned integer data
uint - Size
W.P.F
Abstract Class Modifier
Assembly
11. Text as Unicode characters
JIT
Encapsulation
String (or string)
Private Access Modifier
12. The member type of a Class that performs an action.
Float (or float) - Size
Method
Class Statement
ushort - .NET alias
13. When a sub class passes down all the behaviours of the original parent class
Inheritance
Protected Access Modifier
Assembly
Object
14. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
C#
Abstract Class Modifier
Abstraction
int - Size
15. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
JIT
Object
Statement
If Statement
16. System.Int32
Abstract Class Modifier
Parameter aka Argument
int - .NET alias
Partial Method Modifier
17. A Class that can only have Static Members
IDE
byte - .NET alias
Static Class
byte - Size
18. An instance of a class that exists at run-time and is typically referenced via a variable name.
String (or string)
Polymorphism
Object
Textbox
19. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Base Class
Abstract Class Modifier
Properties
Relational Operator
20. A type of statement that produces a value that might be tested or assigned to a variable.
String (or string)
Protected Access Modifier
Expression
bool - Size
21. 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
JITer
Heap
Textbox
NET
22. Groups classes together so that they have a unique identifier
Class
Namespace
Double (or double) - Size
Just-in-time (JIT
23. Only requires one operand usually a count+1 or a count++ or a count--
Float (or float) - Size
Object
Reference Type
Unary Operator
24. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Primitive
Internal Access Modifier
Assignment Operator
CLR
25. Access is limited to the current Assembly
short - .NET alias
JITer
Internal Access Modifier
Statement
26. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
Abstract Class Modifier
using
If Statement
Assembly
27. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Assembly
int - .NET alias
Intermediate Language (IL)
Namespace
28. Extra information within a method
Object
char - Size
Virtual Method Modifier
Parameter aka Argument
29. Restricts access to a Member to the current Class and any Derived Class.
Protected Internal Access Modifier
Inheritance
sbyte - Size
Protected Access Modifier
30. Variables defined by a class
Field
Protected Access Modifier
ushort - Size
Stack
31. The process of hiding and restricting access to the implementation details of a data structure.
JITer
double - .NET alias
Encapsulation
sbyte - .NET alias
32. (< or > or <= or >=)
Relational Operator
int - .NET alias
long - Size
Object
33. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Decimal (or decimal) - Size
Method
Comments
Expression
34. Contains the class definitions that allow access to the functionality provided by .NET.
Sealed Class
Common Language Runtime (CLR)
Framework Class Library (FCL)
Partial Method Modifier
35. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
If Statement
Intermediate Language (IL)
Internal Access Modifier
bool - Size
36. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
If Statement
Strong Typing
Inheritance
Inheritance
37. Represents date and time data with a 100 ns resolution
DateTime
bool - Size
Visual Studio Solution
Base Class
38. Something that has a different number of parameters to it's predecessor
Overloaded Method
Dot Notation
Float (or float) - Size
Operator
39. 64 bit integer data
Inheritance
sbyte - .NET alias
Overloaded Method
long - Size
40. 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
Polymorphism
long - Size
Value Type
41. 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 - .NET alias
Dot Notation
short - Size
Equality Operator
42. Compilation of classes. In C# Usually ends in .dll or .exe
Private Access Modifier
ulong - .NET alias
Overloaded Method
Assembly
43. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Comments
Abstraction
JIT
References (Visual Studio Solution
44. Allows the definition of a Class to span multiple files (within the same Project)
Partial Class Modifier
Equality Operator
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Abstract Method Modifier
45. A Class that cannot be Inherited
Sealed Class
Protected Internal Access Modifier
If Statement
Reference Type
46. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
decimal - .NET alias
Operator
JITer
Expression
47. 64 bit - unsigned integer data
Operator
Expression
ulong - Size
sbyte - .NET alias
48. 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)
Boolean Operator
Window.xaml.cs
Static Class
Heap
49. A symbol that specifies an operation to be performed on one or more variables.
Parameter aka Argument
Operator
Polymorphism
Namespace
50. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Float (or float) - Size
long - Size
Assembly
JITer
Sorry!:) No result found.
Can you answer 50 questions in 15 minutes?
Let me suggest you:
Browse all subjects
Browse all tests
Most popular tests
Major Subjects
Tests & Exams
AP
CLEP
DSST
GRE
SAT
GMAT
Certifications
CISSP go to https://www.isc2.org/
PMP
ITIL
RHCE
MCTS
More...
IT Skills
Android Programming
Data Modeling
Objective C Programming
Basic Python Programming
Adobe Illustrator
More...
Business Skills
Advertising Techniques
Business Accounting Basics
Business Strategy
Human Resource Management
Marketing Basics
More...
Soft Skills
Body Language
People Skills
Public Speaking
Persuasion
Job Hunting And Resumes
More...
Vocabulary
GRE Vocab
SAT Vocab
TOEFL Essential Vocab
Basic English Words For All
Global Words You Should Know
Business English
More...
Languages
AP German Vocab
AP Latin Vocab
SAT Subject Test: French
Italian Survival
Norwegian Survival
More...
Engineering
Audio Engineering
Computer Science Engineering
Aerospace Engineering
Chemical Engineering
Structural Engineering
More...
Health Sciences
Basic Nursing Skills
Health Science Language Fundamentals
Veterinary Technology Medical Language
Cardiology
Clinical Surgery
More...
English
Grammar Fundamentals
Literary And Rhetorical Vocab
Elements Of Style Vocab
Introduction To English Major
Complete Advanced Sentences
Literature
Homonyms
More...
Math
Algebra Formulas
Basic Arithmetic: Measurements
Metric Conversions
Geometric Properties
Important Math Facts
Number Sense Vocab
Business Math
More...
Other Major Subjects
Science
Economics
History
Law
Performing-arts
Cooking
Logic & Reasoning
Trivia
Browse all subjects
Browse all tests
Most popular tests