Deck 1: Introduction to Computing and Programming
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/75
Play
Full screen (f)
Deck 1: Introduction to Computing and Programming
1
Good programmers often build test plans while they are in the implementation stage.
False
2
As far as the compiler is concerned,you could actually type the entire program without touching the Enter key.
True
3
Procedural programming is also called structured programming.
True
4
The System namespace contains classes that define commonly used types or classes.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
5
The European Computer Manufacturers Association ratified C# and its CLI specifications into international standards.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
6
Software consists of programs,which are sets of instructions telling you how to use the computer.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
7
The first step in the program development process is design.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
8
Classes and class diagrams are used most often with the structured procedural approach to software development.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
9
During the first phase of software development,you should make sure you understand the problem definition.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
10
Procedural and object-oriented are the two commonly used design methods.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
11
The Framework Class Library (FCL)consists of more than 2,000 classes.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
12
A forward slash followed by an asterisk /* marks the beginning of an in-line comment.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
13
Comments are considered instructions to the computer.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
14
The iterative approach in the software development process indicates that the application will never be fully developed.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
15
C# is considered native code.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
16
System software includes software such as the operating system.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
17
At the beginning of a program,comments are often written to identify how many pages are included in the program listing.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
18
IDE stands for Integrated Development Environment.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
19
The rule that every statement should end with a semicolon is an example of a syntax rule.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
20
Problem specifications often include the desired output of the program in terms of what is to be displayed,saved,or printed.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
21
If you write a program and,instead of multiplying two values together as intended,you divide one value by the other,you produce a(n)____ error.
A) syntax
B) analysis
C) logic
D) design
A) syntax
B) analysis
C) logic
D) design
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
22
Since C# is an object-oriented language,everything is designed around a class.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
23
Packaging data characteristics and behaviors into a class is called ____.
A) inheritance
B) instantiation
C) encapsulation
D) classes
A) inheritance
B) instantiation
C) encapsulation
D) classes
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
24
What object-oriented feature enables you to define subclasses that share some of the characteristics of other classes?
A) encapsulation
B) polymorphism
C) abstraction
D) inheritance
A) encapsulation
B) polymorphism
C) abstraction
D) inheritance
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
25
The Visual Studio IDE is an interactive environment that enables you to type the source code,compile,and execute without leaving the IDE program.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
26
Using the object-oriented approach,a(n)____ is a combined set of attributes and actions.
A) algorithm
B) prototype
C) abstraction
D) class
A) algorithm
B) prototype
C) abstraction
D) class
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
27
Each instruction statement has a semantic meaning-a specific way in which it should be used.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
28
A method call is the same as a method declaration.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
29
Misspelling a name or forgetting to end a statement with a semicolon are examples of runtime errors.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
30
Semicolons are placed at the end of method headings.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
31
IDEs include a number of useful development tools such as SensitiveWindows,pop-up windows with completion options.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
32
During which phase of software development should questions be asked to clarify the problem definition?
A) analysis
B) design
C) coding
D) testing
A) analysis
B) design
C) coding
D) testing
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
33
Prototypes range from being elaborate designs created with graphics,word processing,or paint programs,to being quite cryptic sketches created with paper and pencil.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
34
In C#,it is tradition to name the file containing the class the same name as the class name,except the file name will have a .c# extension affixed to the end of the name.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
35
The first step found in most software development methodologies is ____.
A) design
B) analysis
C) code
D) desk check
A) design
B) analysis
C) code
D) desk check
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
36
Several third-party vendors are also marketing .NET-compliant languages.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
37
The compiler is responsible for ____.
A) translating high-level programming language into machine-readable form
B) controlling the operation of the system
C) producing output from programming language such as C#
D) producing UML diagrams during the design phase
A) translating high-level programming language into machine-readable form
B) controlling the operation of the system
C) producing output from programming language such as C#
D) producing UML diagrams during the design phase
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
38
The set of rules that a language such as C# has to follow are called ____ rules.
A) syntax
B) semantic
C) compiler
D) language
A) syntax
B) semantic
C) compiler
D) language
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
39
The diagram used in object-oriented development to show the characteristics and behaviors of a class is a(n)____.
A) flowchart
B) structure chart
C) class diagram
D) UML
A) flowchart
B) structure chart
C) class diagram
D) UML
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
40
A(n)____ version of software has not been fully tested and may still contain bugs or errors.
A) alpha
B) maintenance
C) bug
D) beta
A) alpha
B) maintenance
C) bug
D) beta
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
41
In Visual Studio .NET,the feature that attempts to sense what you are going to type before you type it is called ____.
A) Help
B) Tools
C) IntelliSense
D) ToolTip
A) Help
B) Tools
C) IntelliSense
D) ToolTip
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
42
Which of the following statements would produce the output shown here? Live
Life to the fullest
A) Console.WriteLine("Live\nLife to the \tfullest");
B) Console.WriteLine("Live Life to the fullest");
C) Console.WriteLine("Live
Life to the fullest");
D) Console.WriteLine("Live\\nLife to the \\tfullest");
Life to the fullest
A) Console.WriteLine("Live\nLife to the \tfullest");
B) Console.WriteLine("Live Life to the fullest");
C) Console.WriteLine("Live
Life to the fullest");
D) Console.WriteLine("Live\\nLife to the \\tfullest");
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
43
Given the following output statement,what would be displayed? Console.Write("Ok\\ \"I\'m sure\"");
A) "Ok\\ \"I\'m sure\""
B) Ok\ "I'm sure"
C) Ok "I'm sure"
D) Ok I'm sure
A) "Ok\\ \"I\'m sure\""
B) Ok\ "I'm sure"
C) Ok "I'm sure"
D) Ok I'm sure
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
44
The compiler checks for ____.
A) semantic violations
B) files that are too large
C) debugger options
D) syntax rule violations
A) semantic violations
B) files that are too large
C) debugger options
D) syntax rule violations
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
45
Console is a ____ and WriteLine( )is a ____.
A) method, class
B) namespace, method
C) class, namespace
D) class, method
A) method, class
B) namespace, method
C) class, namespace
D) class, method
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
46
Which method of the Console class allows multiple characters to be input via the keyboard?
A) Write( )
B) Read( )
C) Input( )
D) ReadLine( )
A) Write( )
B) Read( )
C) Input( )
D) ReadLine( )
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
47
An IDE enables you to ____.
A) type your program statements into an editor
B) debug an application
C) compile an application
D) all of the above
A) type your program statements into an editor
B) debug an application
C) compile an application
D) all of the above
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
48
One class predefined as part of .NET is ____.
A) System
B) Console
C) namespace
D) main
A) System
B) Console
C) namespace
D) main
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
49
WriteLine( )differs from Write( )in that ____.
A) WriteLine( ) does not automatically advance to the next line
B) smaller items are printed using Write( )
C) WriteLine( ) was added in later releases of C#
D) WriteLine( ) advances to the next line after it finishes displaying output
A) WriteLine( ) does not automatically advance to the next line
B) smaller items are printed using Write( )
C) WriteLine( ) was added in later releases of C#
D) WriteLine( ) advances to the next line after it finishes displaying output
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
50
____ is normally part of the analysis phase of software development.
A) Making sure you understand the problem definition
B) Designing a prototype of the desired output
C) Coding the solution using an algorithm
D) Developing an algorithm to solve the problem
A) Making sure you understand the problem definition
B) Designing a prototype of the desired output
C) Coding the solution using an algorithm
D) Developing an algorithm to solve the problem
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
51
Run-time errors are more difficult to find than syntax errors because ____.
A) the program may compile and produce results with a run-time error
B) run-time errors are violations in the rules of the language
C) the program can never run if it has a run-time error
D) the program will never stop if it has a run-time error
A) the program may compile and produce results with a run-time error
B) run-time errors are violations in the rules of the language
C) the program can never run if it has a run-time error
D) the program will never stop if it has a run-time error
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
52
Which of the following would display "Good day!" on the screen?
A) WriteLine.Console("Good day!");
B) Console.WriteLine["Good day!"];
C) WriteLine.Console{"Good day!"};
D) Console.WriteLine("Good day!");
A) WriteLine.Console("Good day!");
B) Console.WriteLine["Good day!"];
C) WriteLine.Console{"Good day!"};
D) Console.WriteLine("Good day!");
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
53
Comments that use two forward slashes are called ____.
A) block
B) multiline
C) XML
D) inline
A) block
B) multiline
C) XML
D) inline
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
54
On a class diagram,the minus symbol shown beside the data member indicates the member is ____.
A) accessible to any methods that use the class
B) a behavior of the data
C) public
D) private
A) accessible to any methods that use the class
B) a behavior of the data
C) public
D) private
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
55
Which character is called the escape character in C#?
A) #
B) Esc
C) \
D) '
A) #
B) Esc
C) \
D) '
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
56
Program execution halts in a C# program when ____.
A) the last line in the program listing is executed
B) the last statement in Main( ) is executed
C) the stop statement is encountered
D) the Exit command from the File menu is selected
A) the last line in the program listing is executed
B) the last statement in Main( ) is executed
C) the stop statement is encountered
D) the Exit command from the File menu is selected
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
57
In a C# program,namespace is used to ____.
A) display information on the monitor
B) identify where the program begins
C) add a reference to the most common classes in .NET
D) group functionally related types under a single name
A) display information on the monitor
B) identify where the program begins
C) add a reference to the most common classes in .NET
D) group functionally related types under a single name
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
58
When should test plans be developed?
A) During the analysis and design phases
B) After the solution has been designed
C) During the implementation phase
D) After the solution has been coded
A) During the analysis and design phases
B) After the solution has been designed
C) During the implementation phase
D) After the solution has been coded
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
59
A(n)____ is a collection of one or more program statements combined to perform some action.
A) class
B) object
C) method
D) field
A) class
B) object
C) method
D) field
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
60
A quick way to identify a method is by looking for ____.
A) the keyword class
B) the { } combination
C) parentheses
D) a namespace
A) the keyword class
B) the { } combination
C) parentheses
D) a namespace
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
61
___________ marks the end of a block comment.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
62
The most important and frequently used __________ is System.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
63
When you use the ____________ approach to solving a problem,you break the problem into subtasks.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
64
The method ________ is the entry point for all applications.This is where the program begins execution.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
65
A(n)______________ is a user-supplied or user-created name.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
66
Programmers commonly verify that their design is correct by doing a(n)_____________.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
67
A(n)______________ is a clear,unambiguous,step-by-step process for solving a problem.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
68
Using the _________ approach,the focus is on determining the data characteristics and the methods or behaviors that operate on the data.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
69
C# has a set of rules,called _________,that must be followed.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
70
The Framework Class Library (FCL)includes a number of different __________.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
71
Windows 8,Android,Windows 7,and Linux are types of _____________.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
72
A(n)____________ is a mock-up of screens depicting the look of the final output.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
73
A(n)___________ is a collection of one or more statements combined to perform an action.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
74
The _________ identifies the range of the values an input item includes.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
75
An object is a(n)________ of the class.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck