Deck 6: An Introduction to Debugging

ملء الشاشة (f)
exit full mode
سؤال
The first step to take when debugging is to call tech support .
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
It is possible to have completely safe software if there has been extensive program testing .
سؤال
If your computer is not working, most likely it is your fault .
سؤال
You can be sure that software running safety-critical systems is perfect .
سؤال
Testing and other techniques can ensure confidence that software works under abnormal circumstances .
سؤال
The basic premise of fail-soft and fail-safe design strategies is to have the program continue to operate as long as productive service is safely provided, but when that is not possible, the program should avoid negative outcomes by stopping entirely .
سؤال
Debugging principles are not limited to use by IT professionals .
سؤال
It is practically impossible to have 100% bug-free software .
سؤال
Sometimes unnecessary changes are made during the debugging process .
سؤال
The term bug (that is, a glitch in a computer system) evolved from an incident with the Volkswagen Beetle .
سؤال
Debugging relies on logical reasoning and is learned by experience .
سؤال
A basic debugging strategy is to isolate the problem by dividing an operation into those parts that are working and those that are not .
سؤال
Often fixing one error can reveal other errors you didn't realize were present .
سؤال
The toughest bugs to fix are always the toughest bugs to find .
سؤال
In software, a program that stops operating to avoid harm is called

A) fail-safe
B) bug-safe
C) fail-soft
D) fault-tolerant
سؤال
In software, a program that continues to operate but with possibly degraded functionality is called

A) fault-tolerant
B) bug-safe
C) fail-soft
D) fail-safe
سؤال
What is the first step in the debugging process?

A) isolating the problem
B) checking obvious error sources
C) checking that the error is reproducible
D) generating a theory to explain the problem
سؤال
In Firefox, what tool can you use to see the errors on a web page?

A) the Web Console
B) the Tech Support section
C) the Help menu
D) Firefox has no such tool .
سؤال
How are hardware failures generally resolved?

A) The manufacturer uses techniques such as redundancy .
B) The manufacturer employs a 24-hour support staff .
C) The manufacturer tests using the specification .
D) The manufacturer creates only unbreakable hardware .
سؤال
A nanosecond is

A) 1/1,000,000th of a second
B) 1/1,000th of a second
C) 1/1,000,000,000th of a second
D) 1/100th of a second
سؤال
Software that translates a program written in a programming language into machine instructions is a(n)

A) algorithm
B) browser
C) driver
D) compiler
سؤال
To assist with HTML debugging, errors discovered by Firefox while rendering a page can be viewed by going to the

A) HTML Debugger
B) HTML Compiler
C) Web Console
D) Diagnostic Analyzer
سؤال
Most hardware failures caused by the manufacturing process show up after only a few hours of operation . This is known as

A) the redundancy factor property
B) the infant mortality property
C) the specification failure property
D) the early failure property
سؤال
If you have tried all the debugging steps you learned in this chapter and still can't fix the problem, what should you do before throwing up your hands in despair?

A) Take a break and come back to try to solve the problem again later .
B) Change to another computer .
C) Email your instructor and explain that you can't submit an assignment because your computer is broken .
D) Any of these
سؤال
Select all that apply . Which of the following is NOT a step to take when attempting to debug a problem with your computer?

A) Check to see if the error happens again if you do the same thing that caused the error in the first place .
B) Call a friend who uses the same software .
C) Define, for yourself, what exactly is the error .
D) Check for obvious error sources, such as typing a lowercase L instead of a 1 .
سؤال
Select all that apply . Which of the following statements is TRUE?

A) Given enough time, manufacturers can develop bug-free software .
B) Getting out and getting back in often works when an application is not working correctly .
C) Program testing reveals only the presence of bugs, never their absence .
D) Extensive and appropriate program testing will reveal all possible bugs .
سؤال
Select all that apply . If your printer suddenly stops working, which of the following do you already know?

A) The computer and printer were working in the past .
B) Printer settings often change without user input .
C) Part of the printer is mechanical .
D) Information must be transmitted back and forth between the computer and the printer .
سؤال
________ is the goal of software programs: to be reliable in safety-critical situations, such as life support .
سؤال
In programming, a precise definition of the input, how the system should behave, and how the output should be produced is known as a(n) ________ .
سؤال
When your car doesn't start, you figure out whether the battery is dead, whether the fuel tank is empty, or whether something else is wrong using the process of ________ .
سؤال
Bypassing an error with an alternative approach is called a(n) ________ .
سؤال
The print ________ is a place where printing tasks wait before being processed .
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/32
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 6: An Introduction to Debugging
1
The first step to take when debugging is to call tech support .
False
2
It is possible to have completely safe software if there has been extensive program testing .
False
3
If your computer is not working, most likely it is your fault .
True
4
You can be sure that software running safety-critical systems is perfect .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
5
Testing and other techniques can ensure confidence that software works under abnormal circumstances .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
6
The basic premise of fail-soft and fail-safe design strategies is to have the program continue to operate as long as productive service is safely provided, but when that is not possible, the program should avoid negative outcomes by stopping entirely .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
7
Debugging principles are not limited to use by IT professionals .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
8
It is practically impossible to have 100% bug-free software .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
9
Sometimes unnecessary changes are made during the debugging process .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
10
The term bug (that is, a glitch in a computer system) evolved from an incident with the Volkswagen Beetle .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
11
Debugging relies on logical reasoning and is learned by experience .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
12
A basic debugging strategy is to isolate the problem by dividing an operation into those parts that are working and those that are not .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
13
Often fixing one error can reveal other errors you didn't realize were present .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
14
The toughest bugs to fix are always the toughest bugs to find .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
15
In software, a program that stops operating to avoid harm is called

A) fail-safe
B) bug-safe
C) fail-soft
D) fault-tolerant
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
16
In software, a program that continues to operate but with possibly degraded functionality is called

A) fault-tolerant
B) bug-safe
C) fail-soft
D) fail-safe
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
17
What is the first step in the debugging process?

A) isolating the problem
B) checking obvious error sources
C) checking that the error is reproducible
D) generating a theory to explain the problem
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
18
In Firefox, what tool can you use to see the errors on a web page?

A) the Web Console
B) the Tech Support section
C) the Help menu
D) Firefox has no such tool .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
19
How are hardware failures generally resolved?

A) The manufacturer uses techniques such as redundancy .
B) The manufacturer employs a 24-hour support staff .
C) The manufacturer tests using the specification .
D) The manufacturer creates only unbreakable hardware .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
20
A nanosecond is

A) 1/1,000,000th of a second
B) 1/1,000th of a second
C) 1/1,000,000,000th of a second
D) 1/100th of a second
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
21
Software that translates a program written in a programming language into machine instructions is a(n)

A) algorithm
B) browser
C) driver
D) compiler
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
22
To assist with HTML debugging, errors discovered by Firefox while rendering a page can be viewed by going to the

A) HTML Debugger
B) HTML Compiler
C) Web Console
D) Diagnostic Analyzer
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
23
Most hardware failures caused by the manufacturing process show up after only a few hours of operation . This is known as

A) the redundancy factor property
B) the infant mortality property
C) the specification failure property
D) the early failure property
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
24
If you have tried all the debugging steps you learned in this chapter and still can't fix the problem, what should you do before throwing up your hands in despair?

A) Take a break and come back to try to solve the problem again later .
B) Change to another computer .
C) Email your instructor and explain that you can't submit an assignment because your computer is broken .
D) Any of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
25
Select all that apply . Which of the following is NOT a step to take when attempting to debug a problem with your computer?

A) Check to see if the error happens again if you do the same thing that caused the error in the first place .
B) Call a friend who uses the same software .
C) Define, for yourself, what exactly is the error .
D) Check for obvious error sources, such as typing a lowercase L instead of a 1 .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
26
Select all that apply . Which of the following statements is TRUE?

A) Given enough time, manufacturers can develop bug-free software .
B) Getting out and getting back in often works when an application is not working correctly .
C) Program testing reveals only the presence of bugs, never their absence .
D) Extensive and appropriate program testing will reveal all possible bugs .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
27
Select all that apply . If your printer suddenly stops working, which of the following do you already know?

A) The computer and printer were working in the past .
B) Printer settings often change without user input .
C) Part of the printer is mechanical .
D) Information must be transmitted back and forth between the computer and the printer .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
28
________ is the goal of software programs: to be reliable in safety-critical situations, such as life support .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
29
In programming, a precise definition of the input, how the system should behave, and how the output should be produced is known as a(n) ________ .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
30
When your car doesn't start, you figure out whether the battery is dead, whether the fuel tank is empty, or whether something else is wrong using the process of ________ .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
31
Bypassing an error with an alternative approach is called a(n) ________ .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
32
The print ________ is a place where printing tasks wait before being processed .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.