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 four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Method
Inheritance
Operator
Heap
2. 64 bit integer data
Float (or float) - Size
Value Type
long - Size
Dot Notation
3. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Just-in-time (JIT
short - .NET alias
While Statement
Data structures
4. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Partial Class Modifier
Value Type
Comments
Object
5. System.UInt32
Namespace
uint - .NET alias
int - .NET alias
Protected Internal Access Modifier
6. (= or += or -= or = or /=)
Statement
Assignment Operator
Label
Heap
7. Most common kind of reference type. They define objects. They must have at least one method and one field.
Static Class
Abstract Method Modifier
Class aka Type
Object
8. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
JITer
Data structures
Protected Access Modifier
Assembly
9. Command Language Runtime
Inheritance
Window.xaml.cs
CLR
Expression
10. Extra information within a method
Parameter aka Argument
Int64 - Size
Primitive Type
Int32 - Size
11. 16 bit - signed integer data (-32768 to 32767)
bool - Size
ushort - .NET alias
Protected Internal Access Modifier
short - Size
12. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Double (or double) - Size
Expression
Statement
Partial Class Modifier
13. System.Decimal
Inheritance
References (Visual Studio Solution
r
decimal - .NET alias
14. Keyword which exposes members to other classes OR Identifier which makes program elements public
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Public Keyword
decimal - .NET alias
Statement
15. Symbols which transform and combine expressions
Inheritance
Internal Access Modifier
Variable
Operator
16. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Method
Console Application
Array
References (Visual Studio Solution
17. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Polymorphism
returnType methodName (parameterList)
Static Class
Intermediate Language (IL)
18. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Variable
Boolean Operator
int - Size
Primitive
19. Used to display text that end user does not need to edit.
Dot Notation
char - .NET alias
Value Type
Label
20. The lowest level or fundamental data types needed for representing data.
Primitive Type
Variable
short - Size
W.P.F
21. System.Byte
sbyte - Size
Protected Access Modifier
r
byte - .NET alias
22. 8 bit - signed byte (-128 - 127)
Framework Class Library (FCL)
NET
Operator
sbyte - Size
23. 16 bit- unsigned word (U+0000 to U+ffff)
Reference Type
JIT
C#
char - Size
24. Mathematical (+ or - or / or %)
Operator
Primitive
Identifiers
Unary Operator
25. 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
Strong Typing
Just-in-time (JIT
Polymorphism
26. A symbol that specifies an operation to be performed on one or more variables.
Conditional Operator
Operator
NET
Class aka Type
27. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
C#
Variable
Equality Operator
using
28. Restricts access to a Member to the current Class and any Derived Class.
Abstract Method Modifier
Object
Partial Method Modifier
Protected Access Modifier
29. 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'.
Abstract Class Modifier
Textbox
Boolean Operator
decimal - .NET alias
30. A Class that cannot be Inherited
Inheritance
Static Member
Sealed Class
Class aka Type
31. Just-in-time compilation
NET
Base Class
JIT
long - Size
32. 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.
short - .NET alias
Abstraction
CLR
Variable
33. The .NET run-time environment that enables code to be compiled and executed.
r
Equality Operator
Common Language Runtime (CLR)
Keyword
34. A Class from which other classes can inherit characteristics.
byte - .NET alias
Protected Access Modifier
Method
Base Class
35. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Comments
Console Application
Unary Operator
Primitive Type
36. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Conditional Operator
Field
Properties
Constructor
37. 32 bit integer data
C#
Static Class
int - Size
Variable
38. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Inheritance
Class
Statement
Abstraction
39. A type of statement that produces a value that might be tested or assigned to a variable.
Heap
Object
Expression
Derived Class
40. 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.
Partial Method Modifier
JIT
Decimal (or decimal) - Size
float - .NET alias
41. 32 bit single precision floating point data
Sealed Class
Static Class
References (Visual Studio Solution
Float (or float) - Size
42. Introduces a new class. Marked by curly brackets { }
short - .NET alias
short - Size
Class Statement
Operator
43. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Primitive Type
Method
Value Type
Incrementing / Decrementing Variables
44. (== or !=)
Equality Operator
uint - Size
Operator
String (or string)
45. Allow access to types that exist in outside assemblies.
CLR
References (Visual Studio Solution
Console Application
Syntax
46. System.Double
Stack
Common Language Runtime (CLR)
double - .NET alias
Partial Method Modifier
47. The process of hiding and restricting access to the implementation details of a data structure.
Encapsulation
Expression
Abstraction
Relational Operator
48. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
char - .NET alias
Overloaded Method
Common Language Runtime (CLR)
Inheritance
49. (< or > or <= or >=)
Strong Typing
Relational Operator
Float (or float) - Size
byte - .NET alias
50. Access is limited to the current Assembly
int - .NET alias
Internal Access Modifier
Method
Double (or double) - Size
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