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. 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
sbyte - .NET alias
byte - Size
If Statement
2. System.UInt16
ulong - .NET alias
Visual Studio Solution
Just-in-time (JIT
ushort - .NET alias
3. 16 bit- unsigned word (U+0000 to U+ffff)
Internal Access Modifier
Sealed Class
char - Size
bool - Size
4. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Public Keyword
Statement
Strong Typing
W.P.F
5. System.Int64
Incrementing / Decrementing Variables
char - .NET alias
long - .NET alias
Variable
6. Must have a data type
Inheritance
Variable (C# requirements)
Partial Method Modifier
csc.exe
7. 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
References (Visual Studio Solution
Sealed Class
Heap
NET
8. 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.
Identifiers
uint - Size
Abstraction
Variable (C# requirements)
9. System.Char
Inheritance
Intermediate Language (IL)
Method
char - .NET alias
10. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Reference Type
double - .NET alias
Console Application
ushort - Size
11. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Namespace
Value Type
FCL
Abstraction
12. The lowest level or fundamental data types needed for representing data.
Operator
decimal - .NET alias
Primitive Type
Method
13. Most common kind of reference type. They define objects. They must have at least one method and one field.
Base Class
using
Class aka Type
Expression
14. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
ulong - .NET alias
Polymorphism
CLR
Stack
15. Introduces a new class. Marked by curly brackets { }
Class Statement
Assembly
Constant
Value Type
16. Restricts access to a Member to the current Class and any Derived Class.
ushort - .NET alias
byte - Size
DateTime
Protected Access Modifier
17. A Class that can only have Static Members
Static Class
Float (or float) - Size
Partial Class Modifier
csc.exe
18. Container for one or more Visual Studio Projects.
decimal - .NET alias
Visual Studio Solution
byte - Size
returnType methodName (parameterList)
19. The process of hiding and restricting access to the implementation details of a data structure.
Encapsulation
Comments
Overloaded Method
Int32 - Size
20. Allow access to types that exist in outside assemblies.
Static Class
Operator
Properties
References (Visual Studio Solution
21. 128 bit fixed precision (financial)
Decimal (or decimal) - Size
ulong - .NET alias
DateTime
bool - Size
22. The member type of a Class that performs an action.
byte - .NET alias
Method
Virtual Method Modifier
Decimal (or decimal) - Size
23. System.Byte
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
byte - .NET alias
Equality Operator
Method
24. The "Type" name of data that is stored on the Stack
Stack
Parameter aka Argument
short - Size
Value Type
25. Just-in-time compilation
Reference Type
char - .NET alias
csc.exe
JIT
26. Sits behind GUI (Graphical User Interface) and provides event listeners
Array
Window.xaml.cs
Inheritance
sbyte - .NET alias
27. 16 bit - signed integer data (-32768 to 32767)
NET
Static Member
short - Size
Derived Class
28. Allows the definition of a Class to span multiple files (within the same Project)
Window.xaml.cs
Sealed Class
Partial Class Modifier
IDE
29. 64 bit integer data
Class Statement
Primitive Type
Statement
long - Size
30. Names reserved by the compiler that coders are not allowed to use as identifiers.
Keyword
Variable
Identifiers
Class Statement
31. The .NET run-time environment that enables code to be compiled and executed.
Inheritance
Abstraction
Common Language Runtime (CLR)
ulong - Size
32. System.UInt64
Statement
r
Field
ulong - .NET alias
33. 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
double - .NET alias
Stack
Overloaded Method
34. Integrated Development Environment
Dot Notation
IDE
Common Language Runtime (CLR)
uint - Size
35. System.UInt32
Primitive
uint - .NET alias
Dot Notation
References (Visual Studio Solution
36. 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
Object
ushort - Size
Operator
long - Size
37. Groups classes together so that they have a unique identifier
Float (or float) - Size
Namespace
Private Access Modifier
sbyte - .NET alias
38. 32 bit - unsigned integer data
uint - Size
Just-in-time (JIT
Equality Operator
Relational Operator
39. Code which signifies a carriage return. Symbolises a new line in a text box.
short - Size
r
Variable (C# requirements)
Boolean Operator
40. Command Language Runtime
Parameter aka Argument
W.P.F
byte - Size
CLR
41. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Namespace
Int64 - Size
Parameter aka Argument
String (or string)
42. Only requires one operand usually a count+1 or a count++ or a count--
Variable (C# requirements)
Encapsulation
JITer
Unary Operator
43. Restricts access to a Member to the current Class.
Private Access Modifier
Unary Operator
CLR
Framework Class Library (FCL)
44. System.Int16
r
While Statement
short - .NET alias
Expression
45. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Precedence
Class aka Type
Expression
Operator
46. Mathematical (+ or - or / or %)
ulong - Size
NET
Operator
Equality Operator
47. (< or > or <= or >=)
Relational Operator
Derived Class
Inheritance
Static Member
48. 16 bit - unsigned integer data (0 to 65535)
Encapsulation
byte - .NET alias
Method
ushort - Size
49. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Double (or double) - Size
Assembly
Encapsulation
Virtual Method Modifier
50. (= or += or -= or = or /=)
Precedence
Just-in-time (JIT
Private Access Modifier
Assignment Operator
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