1 / 8

Lab 4 Compound Logical Statements

Lab 4 Compound Logical Statements. Qutaiba Albluwi Introduction to MIS (ITD2011). Question 1 (AND function with 3 statements). If a student got: Above 15 in exam1 AND Above 15 in exam2 AND Above 30 in the final (true) Excellent Student (false)  Average Student.

trella
Download Presentation

Lab 4 Compound Logical Statements

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Lab 4Compound Logical Statements Qutaiba AlbluwiIntroduction to MIS (ITD2011)

  2. Question 1(AND function with 3 statements) • If a student got: • Above 15 in exam1 AND • Above 15 in exam2 AND • Above 30 in the final • (true) Excellent Student • (false)  Average Student

  3. Question 2(Compound IF statement) • If a student has a grade in assignments greater than or equal to 16 (True) Good • (False)  If less than 7 • (True)  Lazy • (False)  OK

  4. Question 3(Series of conditional statements)

  5. Question 4(Compound AND-OR Statement) • If a student grade in exam 1, OR exam 2 is less than 10, AND his grade in the final is less than 25 • (true) bad examinee • (false)  average examinee

  6. Question 5(Compound OR-AND Statement) • IF a student’s grade in exam 1 AND exam 2 is greater than 15OR the final grade is greater than 25 • (True) Honour student • (False)  Average Student

  7. Question 6(Compound mathematical and logical statements) • If a student achieved the highest grade in Exam1, Exam2 or Final • (True) Top student • (false)  ordinary

  8. Question 7(Compound conditional and logical statements) • If a student has:Exam 1 >10 OR exam2 >15AND Final >= 30 • (True)Brilliant • (Fals)  If Exam 1 > 8 OR exam 2 > 13 AND Final >=28 • (True)Good(Fals) bad

More Related