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. Used to display text that end user does not need to edit.
int - Size
Label
While Statement
Partial Method Modifier
2. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Public Keyword
Operator
char - Size
Comments
3. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Sealed Class
Assembly
Variable
Internal Access Modifier
4. Mathematical (+ or - or / or %)
Class aka Type
Operator
Protected Access Modifier
Encapsulation
5. Compilation of classes. In C# Usually ends in .dll or .exe
Operator
Inheritance
If Statement
Assembly
6. The "Type" name of data that is stored on the Heap
Abstract Method Modifier
Reference Type
long - Size
short - .NET alias
7. An instance of a class that exists at run-time and is typically referenced via a variable name.
Object
Precedence
JIT
Inheritance
8. Represents the encapsulation of data and behaviors into a single unit.
ushort - .NET alias
Label
Class
ulong - .NET alias
9. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Program
Internal Access Modifier
Stack
FCL
10. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
Precedence
Protected Access Modifier
If Statement
float - .NET alias
11. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Expression
Derived Class
Precedence
Protected Access Modifier
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.).
Decimal (or decimal) - Size
C#
Encapsulation
Namespace
13. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
long - Size
char - .NET alias
ushort - .NET alias
Abstraction
14. 32 bit - unsigned integer data
uint - Size
Conditional Operator
CLR
Internal Access Modifier
15. Symbols which transform and combine expressions
sbyte - Size
FCL
If Statement
Operator
16. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
C#
Base Class
ulong - .NET alias
Static Member
17. 32 bit integer data
IDE
Int32 - Size
Label
Textbox
18. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
Comments
Public Keyword
csc.exe
Identifiers
19. A Class that cannot be Inherited
Expression
Assembly
Sealed Class
Base Class
20. 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.
Incrementing / Decrementing Variables
Operator
Variable
Data structures
21. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Statement
Partial Class Modifier
Inheritance
long - Size
22. Introduces a new class. Marked by curly brackets { }
Class
Class Statement
Heap
Abstract Class Modifier
23. A Class from which other classes can inherit characteristics.
Base Class
Visual Studio Solution
char - Size
JIT
24. The process of compiling IL source into CPU-native code for execution.
Expression
Just-in-time (JIT
Primitive Type
JIT
25. (< or > or <= or >=)
String (or string)
Relational Operator
short - Size
Data structures
26. 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.
JIT
Label
Abstract Method Modifier
Dot Notation
27. 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
Sealed Class
Object
Polymorphism
28. Field whose value can never change. Declared with 'const' keyword
ushort - .NET alias
Constant
Assignment Operator
Common Language Runtime (CLR)
29. true or false
JITer
Protected Internal Access Modifier
Boolean - Size
Overloaded Method
30. 16 bit- unsigned word (U+0000 to U+ffff)
char - Size
Constant
Precedence
Object
31. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Variable
Array
NET
Parameter aka Argument
32. Access is limited to the current Assembly
Internal Access Modifier
Primitive Type
Incrementing / Decrementing Variables
Overloaded Method
33. A Class that cannot be instantiated.
NET
Protected Access Modifier
Static Class
Object
34. 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
Polymorphism
Partial Method Modifier
Incrementing / Decrementing Variables
35. System.Single
int - .NET alias
Label
float - .NET alias
Statement
36. System.Decimal
decimal - .NET alias
Statement
If Statement
Partial Method Modifier
37. 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'.
ulong - Size
char - .NET alias
Textbox
Keyword
38. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
int - .NET alias
Intermediate Language (IL)
Console Application
Static Class
39. 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
Precedence
Object
Class aka Type
Public Keyword
40. Integrated Development Environment
Decimal (or decimal) - Size
IDE
CLR
FCL
41. The "Type" name of data that is stored on the Stack
Value Type
Base Class
Heap
Encapsulation
42. Keyword which exposes members to other classes OR Identifier which makes program elements public
Public Keyword
Protected Access Modifier
Static Class
Static Class
43. The process of hiding and restricting access to the implementation details of a data structure.
Namespace
Encapsulation
Static Class
Virtual Method Modifier
44. The member type of a Class that performs an action.
Overloaded Method
byte - Size
Method
Object
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.
Operator
Double (or double) - Size
Inheritance
Internal Access Modifier
46. 8 bit - signed byte (-128 - 127)
Internal Access Modifier
References (Visual Studio Solution
Boolean Operator
sbyte - Size
47. Just-in-time compilation
Variable (C# requirements)
Array
C#
JIT
48. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Properties
short - .NET alias
Operator
sbyte - Size
49. The .NET run-time environment that enables code to be compiled and executed.
Parameter aka Argument
ulong - .NET alias
Common Language Runtime (CLR)
Precedence
50. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Method
IDE
Object
float - .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