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. Sits behind GUI (Graphical User Interface) and provides event listeners
Method
long - Size
Window.xaml.cs
JIT
2. Extra information within a method
Parameter aka Argument
byte - Size
Encapsulation
W.P.F
3. A Member that cannot be accessed/invoked through an Object Instance.
Public Keyword
Static Member
Framework Class Library (FCL)
Heap
4. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Partial Class Modifier
String (or string)
Assembly
Comments
5. 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
Dot Notation
Visual Studio Solution
returnType methodName (parameterList)
Overloaded Method
6. Most common kind of reference type. They define objects. They must have at least one method and one field.
Class aka Type
Constructor
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Parameter aka Argument
7. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Keyword
Class Statement
Stack
Assembly
8. 8 bit - signed byte (-128 - 127)
W.P.F
Statement
sbyte - Size
Class aka Type
9. The process of compiling IL source into CPU-native code for execution.
long - .NET alias
Static Class
Just-in-time (JIT
long - Size
10. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Assembly
uint - Size
Just-in-time (JIT
If Statement
11. Something that has a different number of parameters to it's predecessor
bool - Size
Overloaded Method
ushort - Size
short - .NET alias
12. 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.
Static Class
Keyword
Identifiers
uint - Size
13. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
ushort - .NET alias
Statement
Object
Encapsulation
14. 64 bit double precision floating point data
Keyword
Inheritance
Double (or double) - Size
Abstract Class Modifier
15. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Statement
Label
Variable
W.P.F
16. Command Language Runtime
Public Keyword
Int64 - Size
Textbox
CLR
17. 64 bit integer data
Overloaded Method
Decimal (or decimal) - Size
Int64 - Size
Variable (C# requirements)
18. 16 bit - signed integer data (-32768 to 32767)
Visual Studio Solution
Value Type
short - Size
Class aka Type
19. A method that is called whenever an Object is created. The method uses the same name as the Class.
int - Size
Data structures
Protected Access Modifier
Constructor
20. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
Relational Operator
W.P.F
C#
Common Language Runtime (CLR)
21. Series of instructions which tell a computer what to do.
r
Common Language Runtime (CLR)
Program
Derived Class
22. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Precedence
Inheritance
Object
Strong Typing
23. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
char - .NET alias
Method
Array
Just-in-time (JIT
24. Restricts access to a Member to the current Class and any Derived Class.
Boolean - Size
Protected Access Modifier
Identifiers
Variable (C# requirements)
25. The .NET run-time environment that enables code to be compiled and executed.
Assignment Operator
Common Language Runtime (CLR)
Private Access Modifier
Statement
26. System.Char
Inheritance
Protected Internal Access Modifier
char - .NET alias
Window.xaml.cs
27. 64 bit - unsigned integer data
W.P.F
uint - Size
Static Member
ulong - Size
28. true or false
JIT
Boolean - Size
Object
Abstract Class Modifier
29. Used to display text that end user does not need to edit.
Syntax
ushort - .NET alias
Int64 - Size
Label
30. Command which runs repeatedly while (some) condition is true.
IDE
While Statement
Protected Internal Access Modifier
JITer
31. The process of hiding and restricting access to the implementation details of a data structure.
Double (or double) - Size
Encapsulation
Boolean - Size
Decimal (or decimal) - Size
32. System.Int64
double - .NET alias
Boolean Operator
long - .NET alias
Static Member
33. Must have a data type
Statement
uint - .NET alias
Variable (C# requirements)
byte - .NET alias
34. A Class that cannot be instantiated.
Protected Internal Access Modifier
Conditional Operator
Parameter aka Argument
Static Class
35. 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.
uint - .NET alias
Class aka Type
If Statement
Encapsulation
36. System.UInt32
int - Size
uint - .NET alias
Polymorphism
Int32 - Size
37. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Constructor
uint - Size
Strong Typing
sbyte - .NET alias
38. Text as Unicode characters
String (or string)
ulong - Size
Operator
Relational Operator
39. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Namespace
Base Class
Method
Private Access Modifier
40. System.Int32
char - .NET alias
Double (or double) - Size
Operator
int - .NET alias
41. 128 bit fixed precision (financial)
Decimal (or decimal) - Size
Conditional Operator
Data structures
Program
42. 32 bit integer data
Polymorphism
decimal - .NET alias
Int32 - Size
Expression
43. System.UInt64
ulong - .NET alias
Static Member
Keyword
Primitive Type
44. An instance of a class that exists at run-time and is typically referenced via a variable name.
Internal Access Modifier
Object
Inheritance
Static Member
45. Access is limited to the current Assembly
Expression
sbyte - Size
using
Internal Access Modifier
46. count = count+1 or count++ or count__. Both count variables are Unary Operators
Incrementing / Decrementing Variables
Field
returnType methodName (parameterList)
Variable (C# requirements)
47. Indicates that the Method can be overridden.
Operator
Virtual Method Modifier
W.P.F
Inheritance
48. 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
Namespace
Public Keyword
Double (or double) - Size
49. Microsoft's generic software framework for application development.
NET
References (Visual Studio Solution
Incrementing / Decrementing Variables
Class
50. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Polymorphism
byte - Size
Partial Method Modifier
DateTime
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