Thus, in symbolic form, we have to show whether the argument below is valid: uv V se se → (ms V vm) ~ms vm ... uv

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter2: Elements Of High-quality Programs
Section: Chapter Questions
Problem 9RQ
icon
Related questions
Question
Question text
Determine whether the ff hypotheses about a computer
program
• There is an undeclared variable or there is a syntax
error in the first five lines.
• If there is a syntax error in the first five lines, then there
is a missing semicolon or a variable name is
misspelled.
• There is not a missing semicolon.
• There is not a misspelled variable name.
lead to the conclusion
• There is an undeclared variable.
Let the following symbols represent the corresponding
statements:
uv - There is an undeclared variable.
se - There is a syntax error in the first five lines.
ms - There is a missing semicolon.
vm - There is a misspelled variable name.
Thus, in symbolic form, we have to show whether the
argument below is valid:
uv V se
se → (ms V vm)
~ ms
~ VM
... uv
Transcribed Image Text:Question text Determine whether the ff hypotheses about a computer program • There is an undeclared variable or there is a syntax error in the first five lines. • If there is a syntax error in the first five lines, then there is a missing semicolon or a variable name is misspelled. • There is not a missing semicolon. • There is not a misspelled variable name. lead to the conclusion • There is an undeclared variable. Let the following symbols represent the corresponding statements: uv - There is an undeclared variable. se - There is a syntax error in the first five lines. ms - There is a missing semicolon. vm - There is a misspelled variable name. Thus, in symbolic form, we have to show whether the argument below is valid: uv V se se → (ms V vm) ~ ms ~ VM ... uv
se - There is a syntax error in the first five lines.
ms - There is a missing semicolon.
vm - There is a misspelled variable name.
Thus, in symbolic form, we have to show whether the
argument below is valid:
uv V se
se → (ms V vm)
~ ms
~ VM
... uv
Consider the following:
step
1
2
3
4
5
6
7
8
uv V se
se → (ms V vm)
~ ms
~ vm
statements
~ se
î
(ms V vm)
So, is the argument valid?
reason
premise
premise
premise
premise
3,4
5, De Morgans'
2,6
1,7 elimination
Transcribed Image Text:se - There is a syntax error in the first five lines. ms - There is a missing semicolon. vm - There is a misspelled variable name. Thus, in symbolic form, we have to show whether the argument below is valid: uv V se se → (ms V vm) ~ ms ~ VM ... uv Consider the following: step 1 2 3 4 5 6 7 8 uv V se se → (ms V vm) ~ ms ~ vm statements ~ se î (ms V vm) So, is the argument valid? reason premise premise premise premise 3,4 5, De Morgans' 2,6 1,7 elimination
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Software Development
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage