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. The member type of a Class that performs an action.
Label
CLR
Method
Primitive
2. Most common kind of reference type. They define objects. They must have at least one method and one field.
Float (or float) - Size
Label
Sealed Class
Class aka Type
3. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
using
Abstract Class Modifier
Label
Parameter aka Argument
4. Introduces a new class. Marked by curly brackets { }
Just-in-time (JIT
char - .NET alias
Data structures
Class Statement
5. 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
Common Language Runtime (CLR)
Class Statement
Polymorphism
6. 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
csc.exe
Int32 - Size
using
7. System.SByte
Namespace
sbyte - .NET alias
Float (or float) - Size
Boolean Operator
8. A method that is called whenever an Object is created. The method uses the same name as the Class.
Method
Console Application
Constructor
String (or string)
9. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Int32 - Size
Partial Class Modifier
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Variable
10. 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.
Console Application
Common Language Runtime (CLR)
Encapsulation
Operator
11. Groups classes together so that they have a unique identifier
Namespace
Operator
uint - .NET alias
Value Type
12. Something that has a different number of parameters to it's predecessor
Overloaded Method
Static Class
Expression
Class Statement
13. A Class that cannot be Inherited
ulong - .NET alias
Properties
uint - .NET alias
Sealed Class
14. A Class that inherits characteristics from another Class.
Identifiers
Namespace
Derived Class
Unary Operator
15. 32 bit integer data
Identifiers
Sealed Class
int - Size
Variable
16. (== or !=)
Statement
While Statement
Private Access Modifier
Equality Operator
17. The process of compiling IL source into CPU-native code for execution.
Just-in-time (JIT
Object
Assembly
Reference Type
18. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
Virtual Method Modifier
If Statement
FCL
int - Size
19. Used to display text that end user does not need to edit.
Label
byte - .NET alias
Derived Class
C#
20. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
Primitive Type
DateTime
Virtual Method Modifier
JITer
21. (&& or || or & or |)
Conditional Operator
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Encapsulation
Static Class
22. The "Type" name of data that is stored on the Stack
CLR
Incrementing / Decrementing Variables
Operator
Value Type
23. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
sbyte - Size
Static Class
Method
Syntax
24. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Variable
sbyte - .NET alias
References (Visual Studio Solution
Data structures
25. 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
IDE
Heap
byte - .NET alias
Constant
26. The lowest level or fundamental data types needed for representing data.
NET
ulong - Size
Primitive Type
Operator
27. 8 bit - signed byte (-128 - 127)
sbyte - Size
char - .NET alias
double - .NET alias
Boolean Operator
28. Allows a Method to be defined in a separate file (within the same Project). If no definition is found the compiler excludes the Method as an optimization.
Program
Partial Method Modifier
returnType methodName (parameterList)
Partial Class Modifier
29. 32 bit integer data
CLR
Variable
C#
Int32 - Size
30. count = count+1 or count++ or count__. Both count variables are Unary Operators
Incrementing / Decrementing Variables
Variable
Console Application
Data structures
31. 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.
Variable (C# requirements)
r
Syntax
Heap
32. System.Double
Statement
Parameter aka Argument
returnType methodName (parameterList)
double - .NET alias
33. Indicates that the Method can be overridden.
uint - Size
Virtual Method Modifier
bool - Size
long - Size
34. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
IDE
Abstract Method Modifier
Namespace
Private Access Modifier
35. Code which signifies a carriage return. Symbolises a new line in a text box.
r
While Statement
ulong - .NET alias
Namespace
36. 16 bit - signed integer data (-32768 to 32767)
int - .NET alias
uint - Size
Operator
short - Size
37. Represents date and time data with a 100 ns resolution
Decimal (or decimal) - Size
DateTime
Variable
Operator
38. System.Byte
Class
byte - .NET alias
DateTime
Base Class
39. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Int32 - Size
Console Application
int - .NET alias
Identifiers
40. Compilation of classes. In C# Usually ends in .dll or .exe
byte - Size
Precedence
NET
Assembly
41. Mathematical (+ or - or / or %)
returnType methodName (parameterList)
Program
Operator
Parameter aka Argument
42. Container for one or more Visual Studio Projects.
Assembly
Class Statement
Abstract Method Modifier
Visual Studio Solution
43. 32 bit single precision floating point data
Derived Class
Class aka Type
Float (or float) - Size
Operator
44. Represents the encapsulation of data and behaviors into a single unit.
Class aka Type
Strong Typing
Class
short - .NET alias
45. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Abstract Class Modifier
Value Type
Inheritance
Primitive
46. Field whose value can never change. Declared with 'const' keyword
JITer
Primitive Type
Constant
Data structures
47. System.Char
Keyword
Object
Unary Operator
char - .NET alias
48. Extra information within a method
Parameter aka Argument
FCL
Field
Constructor
49. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Variable (C# requirements)
Abstract Method Modifier
Assembly
Namespace
50. Integrated Development Environment
Object
Int64 - Size
IDE
Object
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