1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
otez555 [7]
3 years ago
8

. What are the results of the following Boolean expressions, such that x- True, y- False, z- False, w True a) x and y b) x and y

and z c) xand y and z and w d) xory e) xory or z f) xory or z or w g) (x and y) or (z and w) h) (x ory) and (z or w) i) (notx) or y j) (not x) and (not y) k) not (x or y) l) (not z) or (not w) m) not (z and w) n) xand True o) y or True p) (x and y and z and w) or True
Computers and Technology
1 answer:
Debora [2.8K]3 years ago
6 0

Answer:

Given values of

x=true ,y=false, z=false, w=true

Rules:

1) Value of "(a and b)" will be "true" only all of them are "true" otherwise

it will be "false".

2)Value of "(a or b)" will be "true" if any of them are "true", value will be

"false" when both are "false".

3)"not(x)" will change the value of x. it will be "true" if x is "false" vice

versa.

#part(a):

(x and y)=true and false

(x and y)=false                   (Rule 1.)

#part(b):

(x and y and z) can be written as

((x and y) and z)

put the values in  expression

=((true and false) and false)

=(false and false)                (Rule 1.)

=false                                  (Rule 1.)

#part(c):

(x and y and z and w) can be written as

((x and y) and (z and w))

put the values in  expression

=((true and false) and (false and true)

=(false and false)                      (Rule 1.)

=false                                        (Rule 1.)

#part(d):

(x or y)

put the values in  expression

=(true or false)

=true                             (Rule 2.)

#part(e):

(x or y or z ) can be written as

=((x or y) or z))

put the values in  expression

=((true or false) or false )

=(true or false)                 (Rule 2.)

=true                                (Rule 2.)

#part(f):

(x or y or z or w) can be written as

((x or y) or (z or w))

put the values in  expression

=((true or false) or (false or true)

=(true or true)                  (Rule 2.)

=true                                (Rule 2.)

#part(g):

(x and y) or (z and w)

put the values in  expression

=(true and false) or (false and true)

=false or false                   (Rule 1.)

=false                                (Rule 2.)

#part(h):

(x or y) and (z or w)

put the values in  expression

=(true or false) and (false or true)

=true and true                      (Rule 2.)

=true                                     (Rule 1.)

#part(i):

(not x) or y

put the values in  expression

=(not true) or false

=false or false                     (Rule 3.)

=false                                  (Rule 2.)

#part(j):

(not x) and (not y)

put the values in  expression

=(not true) and (not false)

=false and false                    (Rule 3.)

=false                                    (Rule 1.)

#part(k):

not (x or y)

put the values in  expression

=not(true or false)

=not(true)                          (Rule 2.)

=false                                (Rule 3.)

#part(l):

(not z) or (not w)

put the values in  expression

=(not false) or (not true)

=true or false                      (Rule 3.)

=true                                  (Rule 2.)

#part(m):

not (z and w)

put the values in  expression

=not (false and true)               (Rule 1.)

=not (false)                           (Rule 3.)

=true

#part(n):

x and True

=true and True

=true                               (Rule 1.)

#Part(o):

y or True

=false or True

=true                               (Rule 2.)

#part(p):

(x and y and z and w) or True

=(((x and y) and (z and w)) or True)

put the values in  expression

=(((true and false) and (false and true)) or True)

=((false and false)or True

=false or True

=True

You might be interested in
Write a function called printBackwards() that will work with a C string. The function will print any C string backwards. You don
yaroslaw [1]

Answer:

void printBackwards(char s[])

{

   int n=strlen(s)-1;//finding the last index of the string..

   for(int i=n;i>=0;i--)//loop to print the string backwards..

   {

       printf("%c",s[i]);//printing the character of the string..

   }

}

Output:-

abcdefg

gfedcba

Explanation:

I have used strlen function that will be used after including the string.h header file.It returns the length of the string.After finding the last index I have iterated over the c string in reverse order and printing the character of the string one by one.

8 0
3 years ago
Belvedere Street is parallel to St. Anthony Street. Davidson Street is perpendicular to River Street. River Street is parallel t
Sergio039 [100]

Answer:

Davidson street is perpendicular to Belvedere street

Explanation:

Belevedere is street is parallel to Anthony street which is parallel to Rivers street. Also Davidson street is perpendicular to River street which we already know is parallel to Belvedere street since it is parallel to St Anthony street therefore Davidson street is perpendicular to belverdere street as it is perpendicular to all other street listed:Rivers street and St Anthony street

6 0
3 years ago
Ryan wants to ensure that all the words in this document are evenly spaced so that they look neat and readable . Which option in
natka813 [3]
To achieved a document that is evenly spaced so that they look neat and readable, the option in a word processing program will help to achieve this is the home setting. In the home of the word, you can see there various tabs, one of the tabs is the paragraph. You will click symbol of "justify". And there is simple code to do that, just press the "Ctrl" and "J" on your keyboard at the same time.
5 0
3 years ago
Let x = ["Red", 2.55,"Green", 3,"Black","false"], then solve the following:
blagie [28]

Answer:

  • Print(x) would be directly calling the x variable so it would print everything but the []
  • Print(x[10]) is calling the number 10 which results in E
  • 2 + d= 2d

3 0
2 years ago
An installation is:<br> please help asap
pogonyaev

Answer:  an installation is the act of putting something in, a device that stays in one place, a military base, or an art piece that often involves building and different types of materials.

Explanation:

Getting your new air conditioner put in is an example of an installation.

4 0
2 years ago
Other questions:
  • Paulene is using this table in Word,and she started with the cursor in the box that read “Flavor”. she then hits Alt+End,The the
    7·1 answer
  • For which task is the WordArt gallery most useful?
    15·2 answers
  • Can you block someone on Brainly?
    7·2 answers
  • Presently we can solve problem instances of size 30 in 1 minute using algorithm A, which is a algorithm. On the other hand, we w
    8·1 answer
  • What can your employer do to protect you from overhead power lines?
    13·1 answer
  • What happens when you call someone whose phone is off?
    6·2 answers
  • Importance of computer​
    15·1 answer
  • Prompts what is a row?
    7·1 answer
  • In 3-5 sentences describe whether or not files should be deleted from your computer explain your answer
    12·1 answer
  • Write an algorithm to display your name 10 times​
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!