14:12 14/09/2023 Question 11 Answer saved Marked out of 0.50 Test 1_a (page 2 of 2) Let Q(w) be the statement “the word w contains the letter e”. Find the true value of each of these statements: (i) Q(lemon) (ii) Q(false) a. (i): true, (ii): false b. (i): false, (ii): false c. (i): true, (ii): true d. (i): false, (ii): true Clear my choice Question 12 What is the value of x after this statement, assuming the initial value of x is 3? Answer saved ‘If x equals to one then x:=x+2 else x:=0’. Marked out of 0.50 a. 0 b. 3 c. 5 d. 2 Clear my choice https://lms-hcmuni.fpt.edu.vn/mod/quiz/attempt.php?attempt=600687&cmid=23594&page=1#question-675234-1 1/5 14:12 14/09/2023 Test 1_a (page 2 of 2) Question 13 Write the statement in the "If-then" form. Answer saved "It is necessary to score a goal to win the match". Marked out of 0.50 Which one is true? (i) If the team scores a goal, they will win the match. (ii) If the team doesn't score a goal, they don't win the match. a. Only (ii) b. Only (i) c. Both d. Neither Clear my choice Question 14 Answer saved Assume that p, q and r are propositions with truth values F, T and F respectively. Find the truth value of the following compound proposition. Marked out of 0.50 a. T or F b. T c. F d. None of the other choices is correct. Clear my choice https://lms-hcmuni.fpt.edu.vn/mod/quiz/attempt.php?attempt=600687&cmid=23594&page=1#question-675234-1 2/5 14:12 14/09/2023 Test 1_a (page 2 of 2) Question 15 Suppose that the variable x represents students, F(x) means “x is a freshman”, and M(x) means “x is a math major”. Answer saved Translate Marked out of 0.50 into English statement. a. Every math major is a freshman b. Some freshmen are math majors c. None of these d. No math major is a freshman Clear my choice Question 16 Answer saved Marked out of 0.50 Let p, q and r be the propositions. p: You get an A on the final exam. q: You do every exercise in this book. r: You get an A in this class. Write a proposition to express this sentence "Getting an A on the final and doing every exercise in this book is sufficient for getting an A in this class." a. p ∧ p∧t b. ( p ∧ q ) → r c. (p→q)→r d. p v p∧t Clear my choice https://lms-hcmuni.fpt.edu.vn/mod/quiz/attempt.php?attempt=600687&cmid=23594&page=1#question-675234-1 3/5 14:12 14/09/2023 Question 17 Answer saved Marked out of 0.50 Test 1_a (page 2 of 2) Let p and t be the proposition. p: I bought a lottery ticket this week. t: I won the million dollar jackpot on Monday. Express the English sentence "Either I did not buy a lottery ticket this week, or else I did buy one and win the million dollar jackpot" as a proposition. a. ¬ p v ( p ∧ t ) b. p ∧ (p∧t) c. ¬p ∧(pvt) d. p → ( p v t ) Clear my choice Question 18 Negation of " −1 < x ≤ 4 " is logically equivalent to Answer saved Marked out of 0.50 a. x ≤ −1 or x ≥ 4 b. x ≤ −1 or x > 4 c. x ≥ −1 or x > 4 d. x < −1 or x > 4 Clear my choice https://lms-hcmuni.fpt.edu.vn/mod/quiz/attempt.php?attempt=600687&cmid=23594&page=1#question-675234-1 4/5 14:12 14/09/2023 Test 1_a (page 2 of 2) Question 19 Which of the following statement is a proposition? Answer saved Marked out of 0.50 a. None of these. b. The only odd prime number is 2. c. God bless you! d. What is the time now? e. Get me a glass of milkshake Clear my choice Question 20 Answer saved Marked out of 0.50 Let us call P = "I am a student in FUHCM", Q = "I have a good job". Thus, P → Q means a. If I do not have a good job, I am not a student at FUHCM. b. The sufficient for me to have a good job is that I am a student at FUHCM. c. . If I have a good job, then I am a student at FUHCM. PREVIOUS ACTIVITY QUIZ 1 https://lms-hcmuni.fpt.edu.vn/mod/quiz/attempt.php?attempt=600687&cmid=23594&page=1#question-675234-1 NEXT ACTIVITY Test 1 5/5