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. 8 bit - unsigned byte (0 - 255)
Syntax
If Statement
byte - Size
Class Statement
2. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Abstraction
Incrementing / Decrementing Variables
If Statement
CLR
3. A Class that inherits characteristics from another Class.
Variable
long - .NET alias
Derived Class
JIT
4. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Double (or double) - Size
C#
Comments
Boolean - Size
5. 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.
Incrementing / Decrementing Variables
Operator
Encapsulation
Primitive Type
6. (= or += or -= or = or /=)
Syntax
Object
Assignment Operator
Inheritance
7. Most common kind of reference type. They define objects. They must have at least one method and one field.
Class aka Type
Assignment Operator
Static Class
float - .NET alias
8. Box which can be typed into at runtime. Can display large amounts of scrollable text for the user. To create a scrollable one in Visual Studio set the multiline property to 'TRUE' and the Scrollbars property to 'VERTICAL'.
Textbox
Method
Static Class
Inheritance
9. System.Decimal
decimal - .NET alias
Protected Internal Access Modifier
uint - Size
byte - .NET alias
10. A Class that cannot be Inherited
Abstraction
Method
Array
Sealed Class
11. The "Type" name of data that is stored on the Heap
short - .NET alias
Private Access Modifier
Object
Reference Type
12. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Inheritance
Private Access Modifier
Method
Stack
13. 16 bit - signed integer data (-32768 to 32767)
ushort - .NET alias
Operator
Variable
short - Size
14. System.UInt64
Constructor
Decimal (or decimal) - Size
Field
ulong - .NET alias
15. The lowest level or fundamental data types needed for representing data.
Public Keyword
Heap
Primitive Type
uint - .NET alias
16. Must have a data type
Assignment Operator
Abstraction
short - Size
Variable (C# requirements)
17. A Class that can only have Static Members
Data structures
Static Class
DateTime
decimal - .NET alias
18. The process of compiling IL source into CPU-native code for execution.
Just-in-time (JIT
Derived Class
Private Access Modifier
JITer
19. Names reserved by the compiler that coders are not allowed to use as identifiers.
Method
Dot Notation
While Statement
Keyword
20. Allows the definition of a Class to span multiple files (within the same Project)
Partial Class Modifier
Comments
returnType methodName (parameterList)
Stack
21. An instance of a class that exists at run-time and is typically referenced via a variable name.
returnType methodName (parameterList)
short - .NET alias
Object
ushort - Size
22. A Member that cannot be accessed/invoked through an Object Instance.
byte - Size
Visual Studio Solution
Int32 - Size
Static Member
23. (&& or || or & or |)
returnType methodName (parameterList)
Conditional Operator
Expression
Relational Operator
24. 8 bit - signed byte (-128 - 127)
Syntax
Statement
sbyte - Size
Just-in-time (JIT
25. Keyword which exposes members to other classes OR Identifier which makes program elements public
Assignment Operator
Intermediate Language (IL)
Base Class
Public Keyword
26. 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
ulong - .NET alias
Object
Inheritance
Syntax
27. Series of instructions which tell a computer what to do.
Namespace
Constructor
using
Program
28. Windows Presentation Foundation
W.P.F
float - .NET alias
Polymorphism
char - Size
29. System.Char
char - .NET alias
String (or string)
ulong - .NET alias
byte - .NET alias
30. 64 bit double precision floating point data
Heap
Inheritance
Double (or double) - Size
While Statement
31. 32 bit integer data
Identifiers
int - Size
Abstract Method Modifier
Boolean Operator
32. 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.
Overloaded Method
Field
Constructor
Syntax
33. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Abstract Class Modifier
Just-in-time (JIT
Console Application
Unary Operator
34. Command which runs repeatedly while (some) condition is true.
r
Strong Typing
Assembly
While Statement
35. Command Language Runtime
Partial Class Modifier
Float (or float) - Size
Assignment Operator
CLR
36. 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
Namespace
Framework Class Library (FCL)
Expression
Heap
37. The .NET run-time environment that enables code to be compiled and executed.
Common Language Runtime (CLR)
While Statement
Comments
Abstract Method Modifier
38. 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.
Abstract Method Modifier
Constant
Method
Window.xaml.cs
39. A method that is called whenever an Object is created. The method uses the same name as the Class.
Syntax
Constructor
Statement
DateTime
40. A symbol that specifies an operation to be performed on one or more variables.
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Operator
int - .NET alias
Reference Type
41. Code which signifies a carriage return. Symbolises a new line in a text box.
float - .NET alias
Object
Field
r
42. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Float (or float) - Size
Int64 - Size
Variable
uint - .NET alias
43. Restricts access to a Member to the current Class and any Derived Class.
Protected Access Modifier
Variable
decimal - .NET alias
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
44. System.SByte
Encapsulation
ushort - Size
Protected Internal Access Modifier
sbyte - .NET alias
45. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
r
Strong Typing
Assembly
csc.exe
46. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
Assembly
NET
Variable
csc.exe
47. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Object
char - .NET alias
Statement
ulong - Size
48. 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.
Inheritance
Primitive
Intermediate Language (IL)
Partial Method Modifier
49. 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
Relational Operator
Abstraction
Static Class
50. System.Int32
Decimal (or decimal) - Size
int - .NET alias
Static Member
Inheritance
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