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# And Xna 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. Set up anything related to your game that's not content related
LoadContent (XNA method)
instance
Initialize (XNA method)
Using (C# statement)
2. Block of C# with particular name
Keywords (C#)
Method (C#)
Selection (C# statement)
Jump (C# statement)
3. Access not limited
static
Bug (C#)
Class (C# type)
public (C# Accessibility)
4. Handle any game logic - such as reading the keyboard or controllers or moving sprites or etc.
internal (C# Accessibility)
Initialize (XNA method)
Update (XNA method)
Iteration (C# statement)
5. Obtain a resource - execute a statement and then dispose of that resource
enum
Initialize (XNA method)
Declaration (C# statement)
Using (C# statement)
6. The action of the code - single step in program ends with ;
Statement (C#)
Comments (C#)
Breakpoint (C#)
Unsigned Simple types
7. Access limited to this program
Jump (C# statement)
Byte
Method (C#)
internal (C# Accessibility)
8. sybte - short - int - long
Boolean (C#)
Signed Simple types (C#)
Expression (C#)
Block (C# statement)
9. Select one of a number of possible statements for execution {if}
actions
Draw (XNA method)
Selection (C# statement)
Boolean (C#)
10. Declare local variables and constants - type followed by identifier
Objects (C#)
Modifiers (C#)
Declaration (C# statement)
Expression (C#)
11. Data structure that combines fields and methods in a single unit (may be user defined)
Class (C# type)
Update (XNA method)
Equality
Keywords (C#)
12. Access limited to this class or classes derived from this class
actions
Block (C# statement)
Iteration (C# statement)
protected (C# Accessibility)
13. byte - ushort - uint - ulong
protected (C# Accessibility)
enum
protected internal
Unsigned Simple types
14. Mark code or phrases that aren't read by program - marked with // or / and /
Comments (C#)
Boolean (C#)
Bug (C#)
Byte
15. Used to state a parameter as specifics - (float)
Declaration (C# statement)
Cast (C#)
Bit
Modifiers (C#)
16. Programs must describe two things... what data the program works on & what ______ the program does on the data
Content (C#)
Statement (C#)
actions
Breakpoint (C#)
17. Calls true or false for a code
static
Signed Simple types (C#)
Boolean (C#)
Parameters (C#)
18. Used to transfer control {goto - return}
Jump (C# statement)
Using (C# statement)
Program
Update (XNA method)
19. Holds content and programming code
Unsigned Simple types
public (C# Accessibility)
Jump (C# statement)
Solution
20. A types of operator
internal (C# Accessibility)
Operators (C#)
Equality
Program
21. Actual things such as images or videos or pictures or music
protected internal
protected (C# Accessibility)
Content (C#)
IDE (Integrated Development Environment)
22. A data type(C#)
Conditional executions (C#)
enum
static
Bug (C#)
23. Ahorthand for longer code
Operators (C#)
Breakpoint (C#)
Float (C#)
Expression (C# statement)
24. A Reference types (C#)
array
Unsigned Simple types
Breakpoint (C#)
Modifiers (C#)
25. Access limited to this class
internal (C# Accessibility)
Solution
private (C# Accessibility)
Access modifiers (C#)
26. Computer memory from 0 - 255 - each one composed of 8 bits
Bit
Class
Byte
Method (C#)
27. A value of 0 or 1
Bit
Byte
Solution
Parameters (C#)
28. Problems in code that prevent code from running or returns the wrong values
Using (C# statement)
Block (C# statement)
Bug (C#)
Iteration (C# statement)
29. Predefined - reserved identifiers that have special meanings
Equality
Iteration (C# statement)
Solution
Keywords (C#)
30. The testing of the code - computer's ability to make decisions based on variables
Equality
Class (C# type)
LoadContent (XNA method)
Conditional executions (C#)
31. Specifics of methods
enum
Parameters (C#)
Signed Simple types (C#)
Block (C# statement)
32. Game Content Pipeline: 1. Create content 2. Build into game 3. ______ game 4. Package game
Write and test
LoadContent (XNA method)
Bit
Solution
33. Consists of a list of statements written between delimiters { and }.
UnloadContent (XNA method)
Block (C# statement)
Update (XNA method)
Draw (XNA method)
34. Represent something programs need to work with - instances of classes
Signed Simple types (C#)
array
Parameters (C#)
Objects (C#)
35. Unload anything that's not part of the ContentManager
Method (C#)
UnloadContent (XNA method)
Access modifiers (C#)
Unsigned Simple types
36. A list of instructions that tell a computer what to do
protected (C# Accessibility)
Objects (C#)
Expression (C# statement)
Program
37. constructed from operand and operators
Declaration (C# statement)
protected internal (C# Accessibility)
Signed Simple types (C#)
Expression (C#)
38. Holds numbers with decimal places
enum
Iteration (C# statement)
Initialize (XNA method)
Float (C#)
39. Like a template for objects
Class
Using (C# statement)
Update (XNA method)
Bug (C#)
40. Draw everything to the screen
Expression (C#)
Draw (XNA method)
Jump (C# statement)
UnloadContent (XNA method)
41. Visual Studio is an _________.
IDE (Integrated Development Environment)
Class (C# type)
Initialize (XNA method)
Cast (C#)
42. Members that belong to classes
protected internal (C# Accessibility)
Content (C#)
static
protected (C# Accessibility)
43. Members that belong to objects
static
Conditional executions (C#)
protected internal
instance
44. Load sounds or music or graphics or fonts or anything else
enum
LoadContent (XNA method)
Expression (C#)
Update (XNA method)
45. Used to modify declarations of types and type members
Bug (C#)
Keywords (C#)
Modifiers (C#)
instance
46. Analyzes specific parts of code while running
Bit
array
Initialize (XNA method)
Breakpoint (C#)
47. Evaluate expression
Expression (C# statement)
Modifiers (C#)
array
Objects (C#)
48. Specify the declared accessibility of types an type members (private or public)
Block (C# statement)
Cast (C#)
public (C# Accessibility)
Access modifiers (C#)
49. A type of Accessibility (C#)
Using (C# statement)
Float (C#)
Write and test
protected internal
50. Repeatedly execute the statement {while - do - for - foreach}
Jump (C# statement)
Iteration (C# statement)
Using (C# statement)
internal (C# Accessibility)