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. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Statement
Common Language Runtime (CLR)
Int32 - Size
Variable
2. Most common kind of reference type. They define objects. They must have at least one method and one field.
Class aka Type
Unary Operator
Comments
Precedence
3. 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.
Intermediate Language (IL)
Identifiers
ulong - Size
Variable
4. System.UInt16
Encapsulation
ushort - .NET alias
Operator
int - Size
5. 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
Base Class
C#
Operator
6. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Protected Internal Access Modifier
short - .NET alias
Console Application
Data structures
7. 16 bit - unsigned integer data (0 to 65535)
ushort - Size
Identifiers
Static Class
Intermediate Language (IL)
8. 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.
short - .NET alias
Encapsulation
Method
Expression
9. 128 bit fixed precision (financial)
byte - Size
int - .NET alias
Keyword
Decimal (or decimal) - Size
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.
Variable
ulong - .NET alias
Namespace
Syntax
11. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
Base Class
csc.exe
Statement
float - .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.).
Namespace
NET
Operator
Expression
13. System.SByte
Equality Operator
Dot Notation
char - .NET alias
sbyte - .NET alias
14. Used to display text that end user does not need to edit.
String (or string)
Keyword
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Label
15. System.Char
While Statement
Properties
Base Class
char - .NET alias
16. 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
Program
Partial Method Modifier
Inheritance
17. Just-in-time compilation
Array
Virtual Method Modifier
Internal Access Modifier
JIT
18. A Class that cannot be Inherited
Constructor
Common Language Runtime (CLR)
Sealed Class
Object
19. Access is limited to the current Assembly
Base Class
csc.exe
Field
Internal Access Modifier
20. The "Type" name of data that is stored on the Heap
int - Size
Int32 - Size
Reference Type
Window.xaml.cs
21. 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
W.P.F
long - .NET alias
Variable (C# requirements)
Object
22. System.Double
double - .NET alias
byte - .NET alias
Partial Class Modifier
Public Keyword
23. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
C#
Static Member
Abstraction
Just-in-time (JIT
24. 32 bit integer data
IDE
int - Size
Precedence
Relational Operator
25. true or false
Variable (C# requirements)
Internal Access Modifier
bool - Size
Boolean Operator
26. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Precedence
Namespace
JIT
char - Size
27. Microsoft's generic software framework for application development.
NET
Value Type
Array
Method
28. A Class that inherits characteristics from another Class.
ulong - Size
Common Language Runtime (CLR)
Derived Class
Data structures
29. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Int64 - Size
Statement
Double (or double) - Size
Base Class
30. Syntax of a C# Method
double - .NET alias
Window.xaml.cs
int - .NET alias
returnType methodName (parameterList)
31. Names reserved by the compiler that coders are not allowed to use as identifiers.
Variable (C# requirements)
JIT
Keyword
Boolean - Size
32. 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.
char - .NET alias
Class Statement
Abstract Method Modifier
Strong Typing
33. Command which runs repeatedly while (some) condition is true.
uint - .NET alias
While Statement
Stack
Abstract Method Modifier
34. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Method
Variable
ushort - .NET alias
Base Class
35. Keyword which exposes members to other classes OR Identifier which makes program elements public
Properties
decimal - .NET alias
Public Keyword
Incrementing / Decrementing Variables
36. Mathematical (+ or - or / or %)
Heap
Common Language Runtime (CLR)
While Statement
Operator
37. Contains the class definitions that allow access to the functionality provided by .NET.
Variable (C# requirements)
JITer
Framework Class Library (FCL)
Assembly
38. Introduces a new class. Marked by curly brackets { }
Assembly
Class Statement
Encapsulation
Comments
39. A Class that cannot be instantiated.
Primitive
Inheritance
Program
Static Class
40. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
long - Size
Encapsulation
Int32 - Size
Console Application
41. A type of statement that produces a value that might be tested or assigned to a variable.
Expression
Double (or double) - Size
JITer
Operator
42. Framework Class Library
FCL
char - Size
IDE
Base Class
43. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Class
Method
Statement
Textbox
44. Field whose value can never change. Declared with 'const' keyword
Protected Internal Access Modifier
ushort - .NET alias
Object
Constant
45. Only requires one operand usually a count+1 or a count++ or a count--
Static Class
Partial Method Modifier
Conditional Operator
Unary Operator
46. System.Int32
int - .NET alias
byte - .NET alias
Program
ushort - .NET alias
47. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
byte - Size
sbyte - .NET alias
Stack
ulong - .NET alias
48. Text as Unicode characters
Unary Operator
Public Keyword
String (or string)
Operator
49. System.Single
Static Class
Assignment Operator
float - .NET alias
Primitive Type
50. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Expression
Int64 - Size
Program
W.P.F