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. System.Int16
ulong - Size
short - .NET alias
Virtual Method Modifier
Operator
2. Only requires one operand usually a count+1 or a count++ or a count--
Unary Operator
Operator
Inheritance
Namespace
3. The "Type" name of data that is stored on the Stack
Sealed Class
Conditional Operator
Value Type
Keyword
4. Contains the class definitions that allow access to the functionality provided by .NET.
JITer
Constant
short - .NET alias
Framework Class Library (FCL)
5. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Stack
Unary Operator
CLR
Encapsulation
6. Container for one or more Visual Studio Projects.
Statement
Console Application
Visual Studio Solution
Equality Operator
7. Names reserved by the compiler that coders are not allowed to use as identifiers.
Common Language Runtime (CLR)
Statement
Keyword
Variable
8. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Double (or double) - Size
Strong Typing
Abstract Method Modifier
Syntax
9. System.Int32
Encapsulation
Statement
int - .NET alias
csc.exe
10. System.UInt32
FCL
uint - .NET alias
int - Size
Framework Class Library (FCL)
11. Mathematical (+ or - or / or %)
Operator
Object
char - .NET alias
Class Statement
12. The .NET run-time environment that enables code to be compiled and executed.
FCL
Common Language Runtime (CLR)
Assembly
While Statement
13. System.Char
Base Class
char - .NET alias
NET
Incrementing / Decrementing Variables
14. 128 bit fixed precision (financial)
ushort - .NET alias
Decimal (or decimal) - Size
Object
Protected Access Modifier
15. Field whose value can never change. Declared with 'const' keyword
Constant
Protected Internal Access Modifier
Variable
Strong Typing
16. System.Int64
Class Statement
long - .NET alias
Variable (C# requirements)
IDE
17. 16 bit- unsigned word (U+0000 to U+ffff)
char - Size
Strong Typing
Assignment Operator
Static Member
18. 8 bit - signed byte (-128 - 127)
Encapsulation
sbyte - Size
Variable
JITer
19. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Int64 - Size
Constructor
DateTime
Expression
20. Restricts access to a Member to the current Class and any Derived Class.
Protected Access Modifier
Inheritance
JIT
Primitive
21. 32 bit integer data
Static Class
Dot Notation
Keyword
Int32 - Size
22. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
csc.exe
While Statement
Inheritance
Encapsulation
23. 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
W.P.F
Field
Primitive Type
24. count = count+1 or count++ or count__. Both count variables are Unary Operators
Abstract Class Modifier
Encapsulation
r
Incrementing / Decrementing Variables
25. Access is limited to the current Assembly and Derived Types
Program
If Statement
uint - .NET alias
Protected Internal Access Modifier
26. System.SByte
csc.exe
W.P.F
Statement
sbyte - .NET alias
27. true or false
C#
Abstract Class Modifier
byte - Size
Boolean - Size
28. 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
r
short - Size
FCL
Object
29. (&& or || or & or |)
Object
Overloaded Method
Conditional Operator
CLR
30. Code which implements GUI (graphical User Interface).
Decimal (or decimal) - Size
C#
Console Application
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
31. Command which runs repeatedly while (some) condition is true.
Protected Access Modifier
While Statement
Assembly
Conditional Operator
32. A Class that cannot be instantiated.
csc.exe
Static Class
Heap
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
33. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Identifiers
Assembly
If Statement
Constructor
34. Sits behind GUI (Graphical User Interface) and provides event listeners
Incrementing / Decrementing Variables
short - .NET alias
Encapsulation
Window.xaml.cs
35. Allows the definition of a Class to span multiple files (within the same Project)
Abstract Class Modifier
Public Keyword
Intermediate Language (IL)
Partial Class Modifier
36. The lowest level or fundamental data types needed for representing data.
Comments
Boolean Operator
Stack
Primitive Type
37. 32 bit - unsigned integer data
uint - Size
NET
Inheritance
W.P.F
38. The member type of a Class that performs an action.
Constant
Inheritance
Method
Encapsulation
39. A method that is called whenever an Object is created. The method uses the same name as the Class.
NET
Console Application
Field
Constructor
40. 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'.
Object
Comments
Assembly
Textbox
41. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
char - .NET alias
Method
using
csc.exe
42. A Class that can only have Static Members
Static Class
Encapsulation
Variable (C# requirements)
Common Language Runtime (CLR)
43. 32 bit single precision floating point data
Float (or float) - Size
Statement
NET
Assembly
44. An instance of a class that exists at run-time and is typically referenced via a variable name.
Object
Private Access Modifier
Expression
Abstract Method Modifier
45. 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.
Abstract Method Modifier
Int64 - Size
Unary Operator
Identifiers
46. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Protected Internal Access Modifier
Inheritance
Overloaded Method
ulong - .NET alias
47. Introduces a new class. Marked by curly brackets { }
Comments
Class Statement
While Statement
CLR
48. A Class from which other classes can inherit characteristics.
Internal Access Modifier
FCL
long - .NET alias
Base Class
49. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Inheritance
Console Application
Base Class
decimal - .NET alias
50. The process of hiding and restricting access to the implementation details of a data structure.
C#
Float (or float) - Size
Sealed Class
Encapsulation
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