Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

What do these logical expressions evaluate to? a. true && true b. true || false

ID: 3806181 • Letter: W

Question

What do these logical expressions evaluate to?
a. true && true
b. true || false
c. false && !(true)
d. !(false) && !(false)

Write a script that prompts for a string of text and alerts the string made up of this value appended to itself twice. For example, if the user inputs "ho", your script should alert "hohoho". If the user inputs "888", your script should alert"888888888"..

Requirement # Requirements 3

What do these logical expressions evaluate to?
a. true && true
b. true || false
c. false && !(true)
d. !(false) && !(false)

Submit Answer

Explanation / Answer

problem 3:

a. true

b. true

c. false

d. true

problem 4:

var x = prompt("Enter a string");

alert(x +x +x);

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote