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. Code which signifies a carriage return. Symbolises a new line in a text box.
r
While Statement
Object
uint - Size
2. A type of statement that produces a value that might be tested or assigned to a variable.
Expression
Constant
Equality Operator
Static Class
3. Command which runs repeatedly while (some) condition is true.
Identifiers
String (or string)
While Statement
Assembly
4. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
Class aka Type
csc.exe
Intermediate Language (IL)
bool - Size
5. Contains the class definitions that allow access to the functionality provided by .NET.
JITer
Static Member
NET
Framework Class Library (FCL)
6. When a sub class passes down all the behaviours of the original parent class
Assignment Operator
Public Keyword
Inheritance
String (or string)
7. 64 bit double precision floating point data
Double (or double) - Size
References (Visual Studio Solution
Inheritance
DateTime
8. 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)
Inheritance
Relational Operator
Boolean Operator
String (or string)
9. Series of instructions which tell a computer what to do.
Program
Variable
Array
Method
10. 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.
Syntax
Comments
Properties
Private Access Modifier
11. Most common kind of reference type. They define objects. They must have at least one method and one field.
byte - .NET alias
Primitive
Class aka Type
short - .NET alias
12. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
ushort - Size
Namespace
sbyte - Size
Abstract Method Modifier
13. 8 bit - unsigned byte (0 - 255)
byte - Size
Overloaded Method
Namespace
Operator
14. The process of compiling IL source into CPU-native code for execution.
Equality Operator
Just-in-time (JIT
Protected Access Modifier
Primitive
15. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Boolean - Size
Parameter aka Argument
Assignment Operator
Primitive
16. 128 bit fixed precision (financial)
Array
Decimal (or decimal) - Size
char - .NET alias
Public Keyword
17. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
byte - .NET alias
Inheritance
Identifiers
Namespace
18. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Precedence
returnType methodName (parameterList)
int - .NET alias
Class aka Type
19. System.Int64
byte - .NET alias
sbyte - .NET alias
char - Size
long - .NET alias
20. Groups classes together so that they have a unique identifier
DateTime
Precedence
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Namespace
21. System.Byte
Partial Method Modifier
byte - .NET alias
Data structures
Program
22. (= or += or -= or = or /=)
Assignment Operator
Encapsulation
Properties
Class Statement
23. 8 bit - signed byte (-128 - 127)
While Statement
Equality Operator
sbyte - Size
References (Visual Studio Solution
24. Restricts access to a Member to the current Class and any Derived Class.
Dot Notation
Reference Type
Protected Access Modifier
If Statement
25. System.Char
Internal Access Modifier
char - .NET alias
Operator
Static Member
26. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Namespace
Variable (C# requirements)
Operator
Variable
27. Introduces a new class. Marked by curly brackets { }
Float (or float) - Size
bool - Size
Class Statement
Unary Operator
28. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Just-in-time (JIT
References (Visual Studio Solution
Statement
Primitive
29. Indicates that the Method can be overridden.
While Statement
Statement
Virtual Method Modifier
Operator
30. System.Int32
Boolean Operator
int - .NET alias
Assembly
Virtual Method Modifier
31. System.Single
ulong - Size
Primitive Type
Method
float - .NET alias
32. Allows the definition of a Class to span multiple files (within the same Project)
Int32 - Size
Class aka Type
Unary Operator
Partial Class Modifier
33. Code which implements GUI (graphical User Interface).
ushort - Size
Encapsulation
Data structures
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
34. 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.
Static Member
Abstract Method Modifier
NET
Dot Notation
35. 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.
Class
Partial Method Modifier
JIT
Console Application
36. Used to display text that end user does not need to edit.
Label
Value Type
Relational Operator
Just-in-time (JIT
37. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
uint - Size
byte - .NET alias
short - Size
Properties
38. System.Decimal
CLR
Assignment Operator
decimal - .NET alias
returnType methodName (parameterList)
39. (== or !=)
char - Size
Parameter aka Argument
Equality Operator
Base Class
40. 32 bit integer data
Relational Operator
CLR
int - Size
Just-in-time (JIT
41. 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
While Statement
Identifiers
Precedence
42. Access is limited to the current Assembly
Class Statement
CLR
Internal Access Modifier
byte - Size
43. 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.
bool - Size
Identifiers
Stack
Double (or double) - Size
44. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
uint - Size
Namespace
Keyword
Abstraction
45. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
Stack
Conditional Operator
Object
using
46. Field whose value can never change. Declared with 'const' keyword
CLR
short - .NET alias
Constant
ushort - .NET alias
47. Names reserved by the compiler that coders are not allowed to use as identifiers.
Partial Class Modifier
Statement
Textbox
Keyword
48. A Member that cannot be accessed/invoked through an Object Instance.
Variable (C# requirements)
Keyword
Static Member
Inheritance
49. 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
Heap
Value Type
If Statement
Static Class
50. Extra information within a method
Statement
Parameter aka Argument
Operator
ulong - .NET alias
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