Deck 7: Whats Wrong With It Syntax and Logic Errors

ملء الشاشة (f)
exit full mode
سؤال
Program bugs typically are caused by either syntax errors or logic errors.
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
In the Error List window, ____ indicate that the Code Editor has some suggestions for fixing the errors.

A) red jagged lines
C) red rectangles
B) blue jagged lines
D) blue triangles
سؤال
As the amount of code increases, so does the likelihood for errors.
سؤال
One advantage of variables and named constants is that their use requires fewer lines of code.
سؤال
The set of rules you must follow when using a programming language is called the language's ____.

A) syntax
C) order
B) rules
D) object
سؤال
Most syntax errors are a result of ____ errors that occur when entering instructions.

A) typing
C) computer
B) automatic
D) system
سؤال
Both constant and variable memory locations make your code more self-documenting and easier to understand.
سؤال
An error in a program's code is referred to as a ____.

A) feature
C) mental exercise
B) function
D) bug
سؤال
Logic errors are the easiest to find.
سؤال
A ____ error occurs when you break one of the language's rules.

A) compiler
C) syntax
B) linking
D) logic
سؤال
Some logic errors occur as a result of calculation statements that are correct syntactically, but incorrect mathematically.
سؤال
The ____ window provides a description of each error and the location of each error in the code.

A) Code
C) Project
B) Error List
D) Solution
سؤال
The process of locating and correcting any bugs in a program is called ____.

A) exterminating
C) compiling
B) debugging
D) linking
سؤال
Stepping through code one line at a time is the only way to search for logic errors.
سؤال
You can only use variable memory locations to control the data type of numbers used in calculations.
سؤال
In the Code Editor window, the ____ alert you that three lines of code contain a syntax error.

A) jagged red lines
C) thick red boxes
B) thin blue boxes
D) jagged blue lines
سؤال
The Error List window displays a red rectangle next to each error in the code.
سؤال
The Code Editor detects most syntax errors as you enter the instructions.
سؤال
You can use variables to store the values of processing items, which do not appear in a user interface.
سؤال
When debugging, while the execution of a procedure's code is paused, you can view the contents of controls and variables that appear in the highlighted statement, as well as in the statements above it in the procedure.
سؤال
A ____ error can occur for a variety of reasons, such as forgetting to enter an instruction or entering the instructions in the wrong order.

A) syntax
C) computer
B) function
D) logic
سؤال
A ____ error can occur in a program from entering instructions in the wrong order.

A) logic
C) function
B) sequential
D) composition
سؤال
When debugging, to execute the highlighted instruction, you can use either the Debug menu's Step Into option or the ____ key on your keyboard.

A) F2
C) F8
B) F6
D) F12
سؤال
While stepping through a program in the debugger, the ____ statements are skipped over because they are not considered executable by the debugger.

A) If
C) For
B) Next
D) Dim
سؤال
You can use a ____ to pause execution at a specific line in the code.

A) comment
C) function header
B) breakpoint
D) wait
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/25
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 7: Whats Wrong With It Syntax and Logic Errors
1
Program bugs typically are caused by either syntax errors or logic errors.
True
2
In the Error List window, ____ indicate that the Code Editor has some suggestions for fixing the errors.

A) red jagged lines
C) red rectangles
B) blue jagged lines
D) blue triangles
C
3
As the amount of code increases, so does the likelihood for errors.
True
4
One advantage of variables and named constants is that their use requires fewer lines of code.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
5
The set of rules you must follow when using a programming language is called the language's ____.

A) syntax
C) order
B) rules
D) object
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
6
Most syntax errors are a result of ____ errors that occur when entering instructions.

A) typing
C) computer
B) automatic
D) system
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
7
Both constant and variable memory locations make your code more self-documenting and easier to understand.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
8
An error in a program's code is referred to as a ____.

A) feature
C) mental exercise
B) function
D) bug
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
9
Logic errors are the easiest to find.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
10
A ____ error occurs when you break one of the language's rules.

A) compiler
C) syntax
B) linking
D) logic
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
11
Some logic errors occur as a result of calculation statements that are correct syntactically, but incorrect mathematically.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
12
The ____ window provides a description of each error and the location of each error in the code.

A) Code
C) Project
B) Error List
D) Solution
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
13
The process of locating and correcting any bugs in a program is called ____.

A) exterminating
C) compiling
B) debugging
D) linking
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
14
Stepping through code one line at a time is the only way to search for logic errors.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
15
You can only use variable memory locations to control the data type of numbers used in calculations.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
16
In the Code Editor window, the ____ alert you that three lines of code contain a syntax error.

A) jagged red lines
C) thick red boxes
B) thin blue boxes
D) jagged blue lines
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
17
The Error List window displays a red rectangle next to each error in the code.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
18
The Code Editor detects most syntax errors as you enter the instructions.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
19
You can use variables to store the values of processing items, which do not appear in a user interface.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
20
When debugging, while the execution of a procedure's code is paused, you can view the contents of controls and variables that appear in the highlighted statement, as well as in the statements above it in the procedure.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
21
A ____ error can occur for a variety of reasons, such as forgetting to enter an instruction or entering the instructions in the wrong order.

A) syntax
C) computer
B) function
D) logic
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
22
A ____ error can occur in a program from entering instructions in the wrong order.

A) logic
C) function
B) sequential
D) composition
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
23
When debugging, to execute the highlighted instruction, you can use either the Debug menu's Step Into option or the ____ key on your keyboard.

A) F2
C) F8
B) F6
D) F12
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
24
While stepping through a program in the debugger, the ____ statements are skipped over because they are not considered executable by the debugger.

A) If
C) For
B) Next
D) Dim
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
25
You can use a ____ to pause execution at a specific line in the code.

A) comment
C) function header
B) breakpoint
D) wait
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.