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 process of hiding and restricting access to the implementation details of a data structure.
Boolean - Size
DateTime
using
Encapsulation
2. System.Int16
sbyte - Size
Equality Operator
short - .NET alias
Variable
3. Access is limited to the current Assembly and Derived Types
char - Size
Statement
Protected Internal Access Modifier
Int64 - Size
4. Series of instructions which tell a computer what to do.
Console Application
Common Language Runtime (CLR)
Public Keyword
Program
5. The process of compiling IL source into CPU-native code for execution.
Method
short - Size
Just-in-time (JIT
ushort - .NET alias
6. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Method
Encapsulation
Inheritance
Operator
7. System.Double
C#
FCL
Operator
double - .NET alias
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)
Boolean Operator
int - Size
Common Language Runtime (CLR)
Relational Operator
9. The "Type" name of data that is stored on the Heap
ushort - Size
Identifiers
r
Reference Type
10. Most common kind of reference type. They define objects. They must have at least one method and one field.
Inheritance
Class aka Type
r
char - Size
11. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Intermediate Language (IL)
char - Size
float - .NET alias
ushort - Size
12. A type of statement that produces a value that might be tested or assigned to a variable.
Statement
While Statement
Operator
Expression
13. 64 bit integer data
Operator
Double (or double) - Size
Int64 - Size
Variable (C# requirements)
14. Syntax of a C# Method
Syntax
returnType methodName (parameterList)
ushort - .NET alias
byte - .NET alias
15. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
Properties
Object
csc.exe
Equality Operator
16. 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.
Window.xaml.cs
Derived Class
Variable
Keyword
17. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
Primitive
Static Class
char - .NET alias
If Statement
18. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Abstract Method Modifier
Partial Method Modifier
Polymorphism
csc.exe
19. The lowest level or fundamental data types needed for representing data.
Primitive Type
Statement
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Parameter aka Argument
20. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Data structures
Abstract Method Modifier
Inheritance
r
21. 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
byte - .NET alias
char - Size
Boolean - Size
22. 8 bit - signed byte (-128 - 127)
Int32 - Size
sbyte - Size
uint - .NET alias
Assembly
23. Compilation of classes. In C# Usually ends in .dll or .exe
csc.exe
byte - Size
Assembly
r
24. 64 bit double precision floating point data
Overloaded Method
Boolean Operator
Double (or double) - Size
Variable
25. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Field
Static Class
Expression
sbyte - .NET alias
26. 32 bit - unsigned integer data
uint - Size
Assembly
returnType methodName (parameterList)
Identifiers
27. Microsoft's generic software framework for application development.
NET
short - .NET alias
Program
Sealed Class
28. 64 bit integer data
References (Visual Studio Solution
long - Size
r
Assignment Operator
29. Allow access to types that exist in outside assemblies.
Object
References (Visual Studio Solution
Statement
IDE
30. 64 bit - unsigned integer data
DateTime
Console Application
Protected Internal Access Modifier
ulong - Size
31. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Partial Class Modifier
Constant
References (Visual Studio Solution
Statement
32. 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.
Relational Operator
Encapsulation
Partial Method Modifier
Boolean Operator
33. System.Decimal
decimal - .NET alias
Public Keyword
Console Application
Intermediate Language (IL)
34. 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'.
Inheritance
Textbox
Reference Type
byte - .NET alias
35. true or false
Boolean - Size
Encapsulation
int - .NET alias
double - .NET alias
36. A Class that cannot be Inherited
Primitive
Object
Derived Class
Sealed Class
37. Command which runs repeatedly while (some) condition is true.
Primitive
IDE
While Statement
FCL
38. count = count+1 or count++ or count__. Both count variables are Unary Operators
Incrementing / Decrementing Variables
Operator
Object
Abstraction
39. 8 bit - unsigned byte (0 - 255)
Properties
byte - Size
Window.xaml.cs
ulong - .NET alias
40. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
uint - .NET alias
Statement
byte - .NET alias
DateTime
41. (< or > or <= or >=)
Heap
Relational Operator
Internal Access Modifier
Dot Notation
42. A Member that cannot be accessed/invoked through an Object Instance.
Static Member
If Statement
Common Language Runtime (CLR)
Variable
43. Groups classes together so that they have a unique identifier
Identifiers
Window.xaml.cs
Namespace
Statement
44. Symbols which transform and combine expressions
Decimal (or decimal) - Size
CLR
Operator
byte - Size
45. (== or !=)
Precedence
uint - .NET alias
returnType methodName (parameterList)
Equality Operator
46. Text as Unicode characters
Operator
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
int - Size
String (or string)
47. System.UInt32
uint - .NET alias
short - .NET alias
Constant
Primitive
48. 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
bool - Size
byte - .NET alias
Boolean - Size
49. Something that has a different number of parameters to it's predecessor
Overloaded Method
Heap
Method
Precedence
50. System.Int32
Conditional Operator
int - .NET alias
ushort - Size
Framework Class Library (FCL)
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